/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@as3web/flash@0.1.119/bundle/as3web-flash.umd.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@awayjs/scene"),require("@awayjs/core"),require("@awayjs/view"),require("@awayjs/materials"),require("@awayjs/stage"),require("@awayjs/graphics")):"function"==typeof define&&define.amd?define(["exports","@awayjs/scene","@awayjs/core","@awayjs/view","@awayjs/materials","@awayjs/stage","@awayjs/graphics"],t):t(e.AwayjsView=e.AwayjsView||{},e.AwayjsScene,e.AwayjsCore,e.AwayjsView,e.AwayjsMaterials,e.AwayjsStage,e.AwayjsGraphics)}(this,(function(e,t,n,o,r,i,l){"use strict";var a=function(){function e(){}return Object.defineProperty(e.prototype,"formats",{get:function(){return console.log("formats not implemented yet in flash/Clipboard"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"generalClipboard",{get:function(){return console.log("generalClipboard not implemented yet in flash/Clipboard"),null},enumerable:!0,configurable:!0}),e.prototype.clear=function(){console.log("clear not implemented yet in flash/Clipboard")},e.prototype.clearData=function(e){console.log("clearData not implemented yet in flash/Clipboard")},e.prototype.getData=function(e,t){return void 0===t&&(t="originalPreferred"),console.log("getData not implemented yet in flash/Clipboard"),null},e.prototype.hasFormat=function(e){return console.log("hasFormat not implemented yet in flash/Clipboard"),!1},e.prototype.setData=function(e,t,n){return void 0===n&&(n=!0),console.log("setData not implemented yet in flash/Clipboard"),!1},e.prototype.setDataHandler=function(e,t,n){return void 0===n&&(n=!0),console.log("setDataHandler not implemented yet in flash/Clipboard"),!1},e}(),p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},p(e,t)};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */function s(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var c=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t}(Object);c.BITMAP_FORMAT="air:bitmap",c.FILE_LIST_FORMAT="air:file list",c.FILE_PROMISE_LIST_FORMAT="air:file promise list",c.HTML_FORMAT="air:html",c.RICH_TEXT_FORMAT="air:rtf",c.TEXT_FORMAT="air:text",c.URL_FORMAT="air:url";var u=function(e){function t(t,n,o){return void 0===n&&(n=!1),void 0===o&&(o=!1),e.call(this,t)||this}return s(t,e),t.prototype.axCallPublicProperty=function(e,t){return null},t.prototype.axGetPublicProperty=function(e){return null},t.prototype.axSetPublicProperty=function(e){return null},Object.defineProperty(t.prototype,"bubbles",{get:function(){return console.log("bubbles not implemented yet in flash/Event"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cancelable",{get:function(){return console.log("cancelable not implemented yet in flash/Event"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTarget",{get:function(){return this._currentTarget},set:function(e){this._currentTarget=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventPhase",{get:function(){return console.log("eventPhase not implemented yet in flash/Event"),0},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/Event"),null},t.prototype.fillFromAway=function(e){console.log("flash/Event.cloneFromAway should be implemented in SubClass")},t.prototype.formatToString=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.log("formatToString not implemented yet in flash/Event"),""},t.prototype.isDefaultPrevented=function(){return console.log("isDefaultPrevented not implemented yet in flash/Event"),!1},t.prototype.preventDefault=function(){console.log("preventDefault not implemented yet in flash/Event")},t.prototype.stopImmediatePropagation=function(){console.log("stopImmediatePropagation not implemented yet in flash/Event")},t.prototype.stopPropagation=function(){console.log("stopPropagation not implemented yet in flash/Event")},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/Event"),""},t}(n.EventBase);u.ACTIVATE="activate",u.ADDED="added",u.ADDED_TO_STAGE="addedToStage",u.CANCEL="cancel",u.CHANGE="change",u.CLEAR="clear",u.CLOSE="close",u.COMPLETE="complete",u.CONNECT="connect",u.COPY="copy",u.CUT="cut",u.DEACTIVATE="deactivate",u.ENTER_FRAME="enterFrame",u.EXIT_FRAME="exitFrame",u.FRAME_CONSTRUCTED="frameConstructed",u.FULLSCREEN="fullScreen",u.ID3="id3",u.INIT="init",u.MOUSE_LEAVE="mouseLeave",u.OPEN="open",u.PASTE="paste",u.REMOVED="removed",u.REMOVED_FROM_STAGE="removedFromStage",u.RENDER="render",u.RESIZE="resize",u.SCROLL="scroll",u.SELECT="select",u.SELECT_ALL="selectAll",u.SOUND_COMPLETE="soundComplete",u.TAB_CHILDREN_CHANGE="tabChildrenChange",u.TAB_ENABLED_CHANGE="tabEnabledChange",u.TAB_INDEX_CHANGE="tabIndexChange",u.TEXT_INTERACTION_MODE_CHANGE="textInteractionModeChange",u.UNLOAD="unload";var d=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this,t)||this;return n.eventMapping={},n.eventMappingDummys={},n.eventMappingExtern={},n.eventMappingInvert={},n._activateCallbackDelegate=function(e){return n.activateCallback(e)},n.eventMapping[u.ACTIVATE]={adaptedType:"",addListener:n.initActivateListener,removeListener:n.removeActivateListener,callback:n._activateCallbackDelegate},n._deactivateCallbackDelegate=function(e){return n.deactivateCallback(e)},n.eventMapping[u.DEACTIVATE]={adaptedType:"",addListener:n.initDeactivateListener,removeListener:n.removeDeactivateListener,callback:n._deactivateCallbackDelegate},n}return s(t,e),t.prototype.initActivateListener=function(e,t){window.onfocus=t},t.prototype.removeActivateListener=function(e,t){window.onfocus=null},t.prototype.activateCallback=function(e){void 0===e&&(e=null),this.dispatchEvent(new u(u.ACTIVATE))},t.prototype.initDeactivateListener=function(e,t){window.onblur=t},t.prototype.removeDeactivateListener=function(e,t){window.onblur=null},t.prototype.deactivateCallback=function(e){void 0===e&&(e=null),this.dispatchEvent(new u(u.DEACTIVATE))},t.prototype.addEventListener=function(t,n,o,r,i){if(void 0===o&&(o=!1),void 0===r&&(r=0),void 0===i&&(i=!1),this.eventMappingExtern.hasOwnProperty(t))e.prototype.addEventListener.call(this,t,n);else if(!this.eventMappingDummys.hasOwnProperty(t))return this.eventMapping.hasOwnProperty(t)?(e.prototype.addEventListener.call(this,t,n),void this.eventMapping[t].addListener.call(this,this.eventMapping[t].adaptedType,this.eventMapping[t].callback)):void 0},t.prototype.removeEventListener=function(t,n){e.prototype.removeEventListener.call(this,t,n),this.eventMapping.hasOwnProperty(t)&&this.eventMapping[t].removeListener.call(this,this.eventMapping[t].adaptedType,this.eventMapping[t].callback)},t}(n.EventDispatcher),f=function(e){function r(n){void 0===n&&(n=null);var o=e.call(this)||this;return o._blockedByScript=!1,o._ctBlockedByScript=!1,o._visibilityByScript=!1,o.adaptee=n||new t.DisplayObject,o._stage=r.activeStage,o.eventMappingExtern[u.ENTER_FRAME]="",o.eventMappingExtern[u.FRAME_CONSTRUCTED]="",o.eventMappingExtern[u.EXIT_FRAME]="",o.eventMappingExtern[u.RENDER]="",o.eventMappingExtern[u.REMOVED]="",o.eventMappingExtern[u.ADDED]="",o}return s(r,e),Object.defineProperty(r,"activeStage",{get:function(){return r._activeStage,r._activeStage},set:function(e){r._activeStage=e},enumerable:!0,configurable:!0}),r.prototype.dispatchEventRecursive=function(e){this.dispatchEvent(e)},Object.defineProperty(r.prototype,"adaptee",{get:function(){return this._adaptee},set:function(e){this._adaptee!=e&&(this._adaptee&&(this._adaptee.adapter=null),this._adaptee=e,this._adaptee&&(this._adaptee.partition||(this._adaptee.partition=new t.SceneGraphPartition(this._adaptee)),this._adaptee.adapter=this))},enumerable:!0,configurable:!0}),r.prototype.doInitEvents=function(){},r.prototype.isBlockedByScript=function(){return this._blockedByScript},r.prototype.isVisibilityByScript=function(){return this._visibilityByScript},r.prototype.isColorTransformByScript=function(){return this._ctBlockedByScript},r.prototype.freeFromScript=function(){this._blockedByScript=!1,this._ctBlockedByScript=!1,this._visibilityByScript=!1},r.prototype.clone=function(){return new r(this._adaptee.clone())},r.prototype.dispose=function(){throw new n.AbstractMethodError},r.prototype.disposeValues=function(){this.adaptee=null},Object.defineProperty(r.prototype,"accessibilityProperties",{get:function(){return console.log("accessibilityProperties not implemented yet in flash/DisplayObject"),null},set:function(e){console.log("accessibilityProperties not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"alpha",{get:function(){return this.adaptee.alpha},set:function(e){this._ctBlockedByScript=!0,this.adaptee.alpha=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"blendMode",{get:function(){return console.log("blendMode not implemented yet in flash/DisplayObject"),""},set:function(e){console.log("blendMode not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"blendShader",{set:function(e){console.log("blendShader not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cacheAsBitmap",{get:function(){return console.log("cacheAsBitmap not implemented yet in flash/DisplayObject"),!1},set:function(e){console.log("cacheAsBitmap not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"filters",{get:function(){return[]},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){if(!this._adaptee.partition)return console.warn("Trying to get Display.height on orphan child!"),100;var e=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).getBoxBounds(this.adaptee);return null==e?0:e.height},set:function(e){isNaN(e)||(this._adaptee.partition?o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).height=e:console.warn("Trying to set Display.height on orphan child!"))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"loaderInfo",{get:function(){return this._loaderInfo},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mask",{get:function(){return null==this.adaptee.masks||0==this.adaptee.masks.length?null:this.adaptee.masks[0].adapter},set:function(e){if(null==e)return null!=this.adaptee.masks&&(this.adaptee.masks[0].maskMode=!1),void(this.adaptee.masks=null);e.adaptee.maskMode=!0,this.adaptee.masks=[e.adaptee]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"metaData",{get:function(){return console.log("mask not implemented yet in flash/DisplayObject"),null},set:function(e){console.log("mask not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mouseX",{get:function(){return this.adaptee.transform.globalToLocal(new n.Point(this.stage.mouseX,0)).x},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mouseY",{get:function(){return this.adaptee.transform.globalToLocal(new n.Point(0,this.stage.mouseY)).y},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this.adaptee.name},set:function(e){this.adaptee.name=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opaqueBackground",{get:function(){return console.log("opaqueBackground not implemented yet in flash/DisplayObject"),null},set:function(e){console.log("opaqueBackground not implemented yet in flash/DisplayObject")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parent",{get:function(){return null==this.adaptee.parent?null:this.adaptee.parent.adapter},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"root",{get:function(){return console.log("root not implemented yet in flash/DisplayObject"),null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotation",{get:function(){return this.adaptee.rotationZ},set:function(e){this.adaptee.rotationZ=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotationX",{get:function(){return this.adaptee.rotationX},set:function(e){this.adaptee.rotationX=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotationY",{get:function(){return this.adaptee.rotationY},set:function(e){this.adaptee.rotationY=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotationZ",{get:function(){return this.adaptee.rotationZ},set:function(e){this.adaptee.rotationZ=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scale9Grid",{get:function(){return this.adaptee.scale9Grid},set:function(e){this.adaptee.scale9Grid=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scaleX",{get:function(){return this.adaptee.scaleX},set:function(e){this.adaptee.scaleX=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scaleY",{get:function(){return this.adaptee.scaleY},set:function(e){this.adaptee.scaleY=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scaleZ",{get:function(){return this.adaptee.scaleZ},set:function(e){this.adaptee.scaleZ=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scrollRect",{get:function(){return this.adaptee.scrollRect},set:function(e){this.adaptee.scrollRect=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"stage",{get:function(){return this._stage},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"transform",{get:function(){return this._ctBlockedByScript=!0,this.adaptee.transform},set:function(e){console.log("DisplayObject:setter for transform not yet implemented")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"visible",{get:function(){return this.adaptee.visible},set:function(e){this._visibilityByScript=!0,this.adaptee.visible=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){if(!this.adaptee.partition)return console.warn("Trying to get Display.width on orphan child!"),100;var e=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).getBoxBounds(this.adaptee);return null==e?0:e.width},set:function(e){this.adaptee.partition?isNaN(e)||(o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).width=e):console.warn("Trying to set Display.width on orphan child!")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.adaptee.x},set:function(e){this.adaptee.x=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.adaptee.y},set:function(e){this.adaptee.y=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"z",{get:function(){return this.adaptee.z},set:function(e){this.adaptee.z=e},enumerable:!0,configurable:!0}),r.prototype.getBounds=function(e){var t=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).getBoxBounds(this.adaptee);return new n.Rectangle(t.x,t.y,t.width,t.height)},r.prototype.getRect=function(e){return console.log("DisplayObject:getRect not yet implemented"),new n.Rectangle},r.prototype.globalToLocal=function(e){return this.adaptee.transform.globalToLocal(e)},r.prototype.globalToLocal3D=function(e){return console.log("DisplayObject:globalToLocal3D not yet implemented"),new n.Vector3D},r.prototype.hitTestObject=function(e){return o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).hitTestObject(o.PickGroup.getInstance(this._stage.view).getBoundsPicker(e.adaptee.partition))},r.prototype.hitTestPoint=function(e,t,n){return void 0===n&&(n=!1),o.PickGroup.getInstance(this._stage.view).getBoundsPicker(this.adaptee.partition).hitTestPoint(e,t,n)},r.prototype._getObjectsUnderPointInternal=function(e,t){},r.prototype.local3DToGlobal=function(e){return console.log("DisplayObject:local3DToGlobal not yet implemented"),new n.Point},r.prototype.localToGlobal=function(e){return this.adaptee.transform.localToGlobal(e)},r}(d);f._activeStage=null;var m=function(e){function n(n,o,i){var l;void 0===n&&(n=null),void 0===o&&(o="auto"),void 0===i&&(i=!1);var a=n?new r.MethodMaterial(n.adaptee):new r.MethodMaterial(0);return a.alphaBlending=!0,a.useColorTransform=!0,(l=e.call(this,t.Billboard.getNewBillboard(a,o,i))||this)._bitmapData=n,l._bitmapData&&l._bitmapData._addOwner(l),l}return s(n,e),n.getNewBitmap=function(e,o,i){if(void 0===e&&(e=null),void 0===o&&(o="auto"),void 0===i&&(i=!1),n._bitmaps.length){var l=e?new r.MethodMaterial(e.adaptee):new r.MethodMaterial(0);l.alphaBlending=!0,l.useColorTransform=!0;var a=n._bitmaps.pop();return a.adaptee=t.Billboard.getNewBillboard(l,o,i),a}return new n(e,o,i)},n.prototype.clone=function(){var e=n.getNewBitmap(this._bitmapData);return this._adaptee.copyTo(e.adaptee),e},n.prototype.dispose=function(){this.disposeValues(),n._bitmaps.push(this)},n.prototype.disposeValues=function(){this.bitmapData=null,e.prototype.disposeValues.call(this)},Object.defineProperty(n.prototype,"bitmapData",{get:function(){return this._bitmapData},set:function(e){if(this._bitmapData!=e){this._bitmapData&&this._bitmapData._removeOwner(this),this._bitmapData=e,this._bitmapData&&this._bitmapData._addOwner(this);var t=this._adaptee.material;this._bitmapData?(t.ambientMethod.texture||(t.ambientMethod.texture=new r.ImageTexture2D),t.style.image=this._bitmapData.adaptee):(t.ambientMethod.texture&&(t.ambientMethod.texture=null),t.style.image=null,t.style.color=0),t.invalidateTextures()}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pixelSnapping",{get:function(){return""},set:function(e){console.log("pixelSnapping not implemented yet in flash/Bitmap")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"smoothing",{get:function(){return console.log("smoothing not implemented yet in flash/Bitmap"),!1},set:function(e){console.log("smoothing not implemented yet in flash/Bitmap")},enumerable:!0,configurable:!0}),n}(f);m._bitmaps=new Array;var y=function(){function e(e,n,o,r){void 0===o&&(o=!0),void 0===r&&(r=4294967295),this._owners=new Array,this._adaptee=new t.SceneImage2D(e,n,o,r,!1,i.StageManager.getInstance().getStageAt(0)),this._adaptee.adapter=this}return e.prototype.compare=function(e){return!0},Object.defineProperty(e.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!0,configurable:!0}),e.loadBitmap=function(e){return console.log("loadBitmap not implemented yet in flash/BitmapData"),null},Object.defineProperty(e.prototype,"transparent",{get:function(){return this._adaptee.transparent},set:function(e){this._adaptee.transparent=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._adaptee.width},set:function(e){this._adaptee.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._adaptee.height},set:function(e){this._adaptee.height=e},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var t=new e(this._adaptee.width,this._adaptee.height,this._adaptee.transparent,0);return t.copyPixels(this,this.rect,new n.Point),t},Object.defineProperty(e.prototype,"rect",{get:function(){return this._adaptee.rect},enumerable:!0,configurable:!0}),e.prototype.getPixel=function(e,t){return this._adaptee.getPixel(e,t)},e.prototype.getPixel32=function(e,t){return this._adaptee.getPixel32(e,t)},e.prototype.setPixel=function(e,t,n){this._adaptee.setPixel(e,t,n)},e.prototype.setPixel32=function(e,t,n){this._adaptee.setPixel32(e,t,n)},e.prototype.applyFilter=function(e,t,n,o){return console.log("applyFilter not implemented yet in flash/BitmapData"),0},e.prototype.colorTransform=function(e,t){this._adaptee.colorTransform(e,t)},e.prototype.copyChannel=function(e,t,n,o,r){this._adaptee.copyChannel(e.adaptee,t,n,o,r)},e.prototype.copyPixels=function(e,t,n,o,r,i){void 0===o&&(o=null),void 0===r&&(r=null),void 0===i&&(i=!1),this._adaptee.copyPixels(e.adaptee,t,n)},e.prototype.dispose=function(){this._adaptee.dispose(),this._adaptee=null},e.prototype.draw=function(e,t,n,o,r,i){void 0===n&&(n=null),void 0===o&&(o=""),void 0===r&&(r=null),void 0===i&&(i=!1),this._adaptee.draw(e.adaptee,t,n,o,r,i)},e.prototype.fillRect=function(e,t){this._adaptee.fillRect(e,t)},e.prototype.floodFill=function(e,t,n){console.log("floodFill not implemented yet in flash/BitmapData")},e.prototype.generateFilterRect=function(e,t){return console.log("generateFilterRect not implemented yet in flash/BitmapData"),null},e.prototype.getColorBoundsRect=function(e,t,n){return console.log("getColorBoundsRect not implemented yet in flash/BitmapData"),null},e.prototype.hitTest=function(e,t,o,r,i){return void 0===r&&(r=new n.Point(0,0)),void 0===i&&(i=0),console.log("hitTest not implemented yet in flash/BitmapData"),!1},e.prototype.lock=function(){this._adaptee.lock()},e.prototype.merge=function(e,t,n,o,r,i,l){this._adaptee.merge(e.adaptee,e.rect,n,o,r,i,l)},e.prototype.noise=function(e,t,n,o,r){console.log("noise not implemented yet in flash/BitmapData")},e.prototype.paletteMap=function(e,t,n,o,r,i,l){console.log("paletteMap not implemented yet in flash/BitmapData")},e.prototype.perlinNoise=function(e,t,n,o,r,i,l,a,p){console.log("perlinNoise not implemented yet in flash/BitmapData")},e.prototype.pixelDissolve=function(e,t,n,o,r,i){return console.log("pixelDissolve not implemented yet in flash/BitmapData"),0},e.prototype.scroll=function(e,t){console.log("scroll not implemented yet in flash/BitmapData")},e.prototype.threshold=function(e,t,n,o,r,i,l,a){return console.log("threshold not implemented yet in flash/BitmapData"),0},e.prototype.unlock=function(){this._adaptee.unlock()},e.prototype._addOwner=function(e){-1==this._owners.indexOf(e)&&this._owners.push(e)},e.prototype._removeOwner=function(e){var t=this._owners.indexOf(e);-1!=t&&this._owners.splice(t,1),this._owners.length||this._adaptee.clear()},e}(),g=function(e){function t(t,n,o,r,i,l,a,p,s,c,u){void 0===n&&(n=!0),void 0===o&&(o=!1),void 0===r&&(r=null),void 0===i&&(i=null),void 0===l&&(l=null),void 0===a&&(a=!1),void 0===p&&(p=!1),void 0===s&&(s=!1),void 0===c&&(c=!1),void 0===u&&(u=0);var d=e.call(this,t,n,o)||this;return d.localX=r,d.localY=i,d.relatedObject=l,d.ctrlKey=a,d.altKey=p,d.shiftKey=s,d.buttonDown=c,d.delta=u,d}return s(t,e),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buttonDown",{get:function(){return this._buttonDown},set:function(e){this._buttonDown=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delta",{get:function(){return this._delta},set:function(e){this._delta=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRelatedObjectInaccessible",{get:function(){return this._isRelatedObjectInaccessible},set:function(e){this._isRelatedObjectInaccessible=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localX",{get:function(){return this._localX},set:function(e){this._localX=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localY",{get:function(){return this._localY},set:function(e){this._localY=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"movementX",{get:function(){return this._movementX},set:function(e){this._movementX=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"movementY",{get:function(){return this._movementY},set:function(e){this._movementY=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relatedObject",{get:function(){return this._relatedObject},set:function(e){this._relatedObject=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stageX",{get:function(){return this._stageX},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stageY",{get:function(){return this._stageY},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return null},t.prototype.fillFromJS=function(e){this._stageX=null!=e.clientX?e.clientX:e.changedTouches[0].clientX,this._stageY=null!=e.clientY?e.clientY:e.changedTouches[0].clientY,this.delta=e.delta,this._stageY<0&&(this._stageY=0),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey},t.prototype.fillFromAway=function(e){this.target=e.target,this.delta=e.delta,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this._stageX=e.screenX,this._stageY=e.screenY},t.prototype.toString=function(){return""},t.prototype.updateAfterEvent=function(){},t}(u);g.CLICK="click",g.CONTEXT_MENU="contextMenu",g.DOUBLE_CLICK="doubleClick",g.MIDDLE_CLICK="middleClick",g.MIDDLE_MOUSE_DOWN="middleMouseDown",g.MIDDLE_MOUSE_UP="middleMouseUp",g.MOUSE_DOWN="mouseDown",g.MOUSE_MOVE="mouseMove",g.MOUSE_OUT="mouseOut",g.MOUSE_OVER="mouseOver",g.MOUSE_UP="mouseUp",g.MOUSE_WHEEL="mouseWheel",g.RIGHT_CLICK="rightClick",g.RIGHT_MOUSE_DOWN="rightMouseDown",g.RIGHT_MOUSE_UP="rightMouseUp",g.ROLL_OUT="rollOut",g.ROLL_OVER="rollOver";var h=function(e){function t(t,n,o,r,i,l,a,p,s){return void 0===n&&(n=!0),void 0===o&&(o=!1),void 0===r&&(r=0),void 0===i&&(i=0),void 0===l&&(l=0),void 0===a&&(a=!1),void 0===p&&(p=!1),void 0===s&&(s=!1),e.call(this,t,n,o)||this}return s(t,e),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"charCode",{get:function(){return this._charCode},set:function(e){this._charCode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyCode",{get:function(){return this._keyCode},set:function(e){this._keyCode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyLocation",{get:function(){return console.log("keyLocation not implemented yet in flash/KeyboardEvent"),0},set:function(e){console.log("keyLocation not implemented yet in flash/KeyboardEvent")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=e},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/KeyboardEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/KeyboardEvent"),""},t.prototype.updateAfterEvent=function(){console.log("updateAfterEvent not implemented yet in flash/KeyboardEvent")},t}(u);h.KEY_DOWN="keyDown",h.KEY_UP="keyUp";var b=function(e){function n(n){void 0===n&&(n=null);var o=e.call(this,n)||this;return o.eventMappingDummys[g.RIGHT_MOUSE_UP]="InteractiveObject:MouseEvent.RIGHT_MOUSE_UP",o.eventMappingDummys[g.RIGHT_MOUSE_DOWN]="InteractiveObject:MouseEvent.RIGHT_MOUSE_DOWN",o.eventMappingDummys[g.RIGHT_MOUSE_DOWN]="InteractiveObject:MouseEvent.RIGHT_MOUSE_DOWN",o.eventMappingDummys[g.RIGHT_CLICK]="InteractiveObject:MouseEvent.RIGHT_CLICK",o.eventMappingDummys[g.MIDDLE_MOUSE_UP]="InteractiveObject:MouseEvent.MIDDLE_MOUSE_UP",o.eventMappingDummys[g.MIDDLE_MOUSE_DOWN]="InteractiveObject:MouseEvent.MIDDLE_MOUSE_DOWN",o.eventMappingDummys[g.MIDDLE_CLICK]="InteractiveObject:MouseEvent.MIDDLE_CLICK",o._keyUpCallbackDelegate=function(e){return o.keyUpCallback(e)},o.eventMapping[h.KEY_UP]={adaptedType:"",addListener:o.initKeyUpListener,removeListener:o.removeKeyUpListener,callback:o._keyUpCallbackDelegate},o._keyDownCallbackDelegate=function(e){return o.keyDownCallback(e)},o.eventMapping[h.KEY_DOWN]={adaptedType:"",addListener:o.initKeyDownListener,removeListener:o.removeKeyDownListener,callback:o._keyDownCallbackDelegate},o._mouseCallbackDelegate=function(e){return o.mouseCallback(e)},o.eventMappingInvert[t.MouseEvent.MOUSE_WHEEL]=g.MOUSE_WHEEL,o.eventMapping[g.MOUSE_WHEEL]={adaptedType:t.MouseEvent.MOUSE_WHEEL,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_UP]=g.MOUSE_UP,o.eventMapping[g.MOUSE_UP]={adaptedType:t.MouseEvent.MOUSE_UP,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_OVER]=g.MOUSE_OVER,o.eventMapping[g.MOUSE_OVER]={adaptedType:t.MouseEvent.MOUSE_OVER,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_OUT]=g.MOUSE_OUT,o.eventMapping[g.MOUSE_OUT]={adaptedType:t.MouseEvent.MOUSE_OUT,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_MOVE]=g.MOUSE_MOVE,o.eventMapping[g.MOUSE_MOVE]={adaptedType:t.MouseEvent.MOUSE_MOVE,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_DOWN]=g.MOUSE_DOWN,o.eventMapping[g.MOUSE_DOWN]={adaptedType:t.MouseEvent.MOUSE_DOWN,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.DOUBLE_CLICK]=g.DOUBLE_CLICK,o.eventMapping[g.DOUBLE_CLICK]={adaptedType:t.MouseEvent.DOUBLE_CLICK,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.CLICK]=g.CLICK,o.eventMapping[g.CLICK]={adaptedType:t.MouseEvent.CLICK,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_OUT]=g.ROLL_OUT,o.eventMapping[g.ROLL_OUT]={adaptedType:t.MouseEvent.MOUSE_OUT,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o.eventMappingInvert[t.MouseEvent.MOUSE_OVER]=g.ROLL_OVER,o.eventMapping[g.ROLL_OVER]={adaptedType:t.MouseEvent.MOUSE_OVER,addListener:o.initMouseListener,removeListener:o.removeMouseListener,callback:o._mouseCallbackDelegate},o}return s(n,e),n.prototype.initKeyUpListener=function(e,t){document.addEventListener("keyup",t),document.addEventListener("keypress",t)},n.prototype.removeKeyUpListener=function(e,t){document.removeEventListener("keyup",t)},n.prototype.keyUpCallback=function(e){void 0===e&&(e=null),window.event&&(window.event.returnValue=!1),e.preventDefault?e.preventDefault():e.returnValue=!1;var t=new h(h.KEY_UP);return t.keyCode=e.keyCode,t.charCode=e.charCode,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.altKey=e.altKey,this.dispatchEvent(t),!1},n.prototype.initKeyDownListener=function(e,t){document.addEventListener("keydown",t),document.addEventListener("keypress",t)},n.prototype.removeKeyDownListener=function(e,t){document.removeEventListener("keydown",t),document.removeEventListener("keypress",t)},n.prototype.keyDownCallback=function(e){void 0===e&&(e=null),window.event&&(window.event.returnValue=!1),e.preventDefault?e.preventDefault():e.returnValue=!1;var t=new h(h.KEY_DOWN);return t.keyCode=e.keyCode,t.charCode=e.charCode,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.altKey=e.altKey,this.dispatchEvent(t),!1},n.prototype.initMouseListener=function(e,t){this.adaptee.addEventListener(e,t)},n.prototype.removeMouseListener=function(e,t){this.adaptee.removeEventListener(e,t)},n.prototype.mouseCallback=function(e){var t=new g(this.eventMappingInvert[e.type]);t.fillFromAway(e),t.target=this,t.currentTarget=this,this.dispatchEvent(t)},Object.defineProperty(n.prototype,"accessibilityImplementation",{get:function(){return console.log("accessibilityImplementation not implemented yet in flash/InteractiveObject"),null},set:function(e){console.log("accessibilityImplementation not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"contextMenu",{get:function(){return console.log("contextMenu not implemented yet in flash/InteractiveObject"),null},set:function(e){console.log("contextMenu not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"doubleClickEnabled",{get:function(){return console.log("doubleClickEnabled not implemented yet in flash/InteractiveObject"),!1},set:function(e){console.log("doubleClickEnabled not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"focusRect",{get:function(){return console.log("focusRect not implemented yet in flash/InteractiveObject"),null},set:function(e){console.log("focusRect not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mouseEnabled",{get:function(){return this.adaptee.mouseEnabled},set:function(e){this.adaptee.mouseEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"needsSoftKeyboard",{get:function(){return console.log("needsSoftKeyboard not implemented yet in flash/InteractiveObject"),!1},set:function(e){console.log("needsSoftKeyboard not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"softKeyboardInputAreaOfInterest",{get:function(){return console.log("softKeyboardInputAreaOfInterest not implemented yet in flash/InteractiveObject"),null},set:function(e){console.log("softKeyboardInputAreaOfInterest not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tabEnabled",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return console.log("tabIndex not implemented yet in flash/InteractiveObject"),0},set:function(e){console.log("tabIndex not implemented yet in flash/InteractiveObject")},enumerable:!0,configurable:!0}),n.prototype.requestSoftKeyboard=function(){return console.log("requestSoftKeyboard not implemented yet in flash/InteractiveObject"),!1},n}(f),v=function(e){function n(n){void 0===n&&(n=null);var o=e.call(this,n||new t.DisplayObjectContainer)||this;return o._eventRemoved=new u(u.REMOVED),o._eventAdded=new u(u.ADDED),o}return s(n,e),n.prototype.addTimelineObjectAtDepth=function(e,t){},n.prototype.getTimelineObjectAtDepth=function(e){return null},n.prototype._lookupChildByName=function(e,t){void 0===t&&(t=null)},n.prototype._lookupChildByIndex=function(e,t){void 0===t&&(t=null)},n.prototype.clone=function(){return new n(this._adaptee.clone())},n.prototype.advanceFrame=function(e){this.dispatchEvent(e[0]);for(var n=this._adaptee._children.length;n>0;){n--;var o=this._adaptee._children[n];o.isAsset(t.DisplayObjectContainer)||o.isAsset(t.Sprite)?o.adapter&&o.adapter.advanceFrame(e):o.isAsset(t.MovieClip)&&o.update(e)}this.dispatchEvent(e[1])},n.prototype.debugDisplayGraph=function(e){e.object=this,e.rectangle="x:"+this.x+", y:"+this.y+", width:"+this.width+", height:"+this.height,e.children={};var n=0;for(n=0;n<this._adaptee.numChildren;n++){var r=this._adaptee.getChildAt(n),i="child_"+n+" "+r.adapter.constructor.name;if(r.isAsset(t.Sprite)||r.isAsset(t.DisplayObjectContainer))r.adapter&&(e.children[i]={},r.adapter.debugDisplayGraph(e.children[i]));else if(r.isAsset(t.Billboard)){e.children[i]={},e.children[i].object=r.adapter,e.children[i].name=r.name,e.children[i].rectangle="x:"+r.x+", y:"+r.y;var l=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(r.partition).getBoxBounds(r);e.children[i].width=null==l?0:l.width,e.children[i].height=null==l?0:l.height}else if(r.isAsset(t.MovieClip)){e.children[i]={},e.children[i].object=r.adapter,e.children[i].name=r.name,e.children[i].rectangle="x:"+r.x+", y:"+r.y;l=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(r.partition).getBoxBounds(r);e.children[i].width=null==l?0:l.width,e.children[i].height=null==l?0:l.height}else if(r.isAsset(t.TextField)){e.children[i]={},e.children[i].object=r.adapter,e.children[i].text=r.text,e.children[i].rectangle="x:"+r.x+", y:"+r.y;l=o.PickGroup.getInstance(this._stage.view).getBoundsPicker(r.partition).getBoxBounds(r);e.children[i].width=null==l?0:l.width,e.children[i].height=null==l?0:l.height}}},Object.defineProperty(n.prototype,"mouseChildren",{get:function(){return this._adaptee.mouseChildren},set:function(e){this._adaptee.mouseChildren=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"numChildren",{get:function(){return this._adaptee.numChildren},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tabChildren",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textSnapshot",{get:function(){throw"textSnapshot not implemented yet in flash/DisplayObjectContainer"},enumerable:!0,configurable:!0}),n.prototype.addChild=function(e){return e.dispatchEvent(this._eventAdded),this._adaptee.addChild(e.adaptee),e},n.prototype.addChildAt=function(e,t){e.dispatchEvent(this._eventAdded);for(var n=[],o=0;o<this._adaptee.numChildren;o++)e.adaptee.id!=this._adaptee._children[o].id&&(n[n.length]=this._adaptee._children[o]);for(o=0;o<n.length;o++)this._adaptee.removeChild(n[o]);var r=0;for(o=0;o<n.length+1;o++)o==t?this._adaptee.addChild(e.adaptee):this._adaptee.addChild(n[r++]);return e},n.prototype.areInaccessibleObjectsUnderPoint=function(e){throw"areInaccessibleObjectsUnderPoint not implemented yet in flash/DisplayObjectContainer"},n.prototype.contains=function(e){return this._adaptee.contains(e.adaptee)},n.prototype.getChildAt=function(e){return this._adaptee.getChildAt(e).adapter},n.prototype.getChildByName=function(e){return this._adaptee.getChildByName(e)?this._adaptee.getChildByName(e).adapter:null},n.prototype.getChildIndex=function(e){return this._adaptee.getChildIndex(e.adaptee)},n.prototype.getObjectsUnderPoint=function(e){var t=[];return this._getObjectsUnderPointInternal(e,t),t},n.prototype._getObjectsUnderPointInternal=function(e,t){for(var n,r=this._adaptee.numChildren,i=0;i<r;i++)(n=this._adaptee._children[i]).visible&&(o.PickGroup.getInstance(this._stage.view).getBoundsPicker(n.adaptee.partition).hitTestPoint(e.x,e.y,!0)&&t.push(n.adapter),n.adapter._getObjectsUnderPointInternal(e,t))},n.prototype.removeChild=function(e){return e.dispatchEvent(this._eventRemoved),this._adaptee.removeChild(e.adaptee),e},n.prototype.removeChildAt=function(e){var t=this._adaptee.removeChildAt(e).adapter;return t.dispatchEvent(new u(u.REMOVED)),t},n.prototype.removeChildren=function(e,t){void 0===e&&(e=0),void 0===t&&(t=2147483647),t>=this._adaptee.numChildren&&(t=this._adaptee.numChildren-1);for(var n=e;n<=t;n++){var o=this._adaptee._children[n];o.adapter&&o.adapter.dispatchEvent(this._eventRemoved)}this._adaptee.removeChildren(e,t+1)},n.prototype.setChildIndex=function(e,t){for(var n=[],o=0;o<this._adaptee.numChildren;o++)n[n.length]=this._adaptee._children[o];for(o=0;o<n.length;o++)this._adaptee.removeChild(n[o]);var r,i=0;for(o=0;o<n.length;o++)o==t?this._adaptee.addChild(e.adaptee):((r=n[i++]).id!=e.adaptee.id||(r=n[i++]),this._adaptee.addChild(r))},n.prototype.stopAllMovieClips=function(){throw"stopAllMovieClips not implemented yet in flash/DisplayObjectContainer"},n.prototype.swapChildren=function(e,t){this._adaptee.swapChildren(e.adaptee,t.adaptee)},n.prototype.swapChildrenAt=function(e,t){throw"swapChildrenAt not implemented yet in flash/DisplayObjectContainer"},n}(b),_=function(e){function t(t,n,o,r){return void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===r&&(r=""),e.call(this,t,n,o)||this}return s(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return console.log("text not implemented yet in flash/IOErrorEvent"),""},set:function(e){console.log("text not implemented yet in flash/IOErrorEvent")},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/IOErrorEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/IOErrorEvent"),""},t}(u);_.LINK="link",_.TEXT_INPUT="textInput",_.NETWORK_ERROR="networkError",_.VERIFY_ERROR="verifyError";var O=function(e){function t(t,n,o,r,i){return void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===r&&(r=""),void 0===i&&(i=0),e.call(this,t,n,o,r)||this}return s(t,e),Object.defineProperty(t.prototype,"errorID",{get:function(){return console.log("errorID not implemented yet in flash/ErrorEvent"),0},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/ErrorEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/ErrorEvent"),""},t}(_);O.ERROR="error";var P=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/IOErrorEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/IOErrorEvent"),""},t}(O);P.IO_ERROR="ioError",P.DISK_ERROR="diskError",P.NETWORK_ERROR="networkError",P.VERIFY_ERROR="verifyError";var S=function(e){function t(t,n,o,r,i){void 0===n&&(n=!0),void 0===o&&(o=!1),void 0===r&&(r=0),void 0===i&&(i=0);var l=e.call(this,t,n,o)||this;return l._byteLoaded=r,l._bytesTotal=i,l}return s(t,e),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return this._bytesTotal},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return this._byteLoaded},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return new t(this.type,null,null,this._byteLoaded,this._bytesTotal)},t}(u);S.PROGRESS="progress",S.SOCKET_DATA="socketData",S.STANDARD_ERROR_DATA="standardErrorData",S.STANDARD_OUTPUT_DATA="standardOutputData";var L=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this,t)||this;return n.eventMappingExtern[u.COMPLETE]="LoaderInfo:Event.COMPLETE",n.eventMappingExtern[S.PROGRESS]="LoaderInfo:ProgressEvent.PROGRESS",n.eventMappingDummys[u.UNLOAD]="LoaderInfo:Event.UNLOAD",n.eventMappingDummys[P.IO_ERROR]="LoaderInfo:IOErrorEvent.IO_ERROR",n.eventMappingDummys[u.OPEN]="LoaderInfo:Event.OPEN",n.eventMappingDummys[u.INIT]="LoaderInfo:Event.INIT",n}return s(t,e),Object.defineProperty(t.prototype,"actionScriptVersion",{get:function(){return console.log("actionScriptVersion not implemented yet in flash/LoaderInfo"),0},enumerable:!0,configurable:!0}),t.prototype.getSymbolById=function(e){},Object.defineProperty(t.prototype,"applicationDomain",{get:function(){return this._applicationDomain},set:function(e){this._applicationDomain=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytes",{get:function(){return console.log("bytes not implemented yet in flash/LoaderInfo"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return console.log("bytesLoaded not implemented yet in flash/LoaderInfo"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return console.log("bytesTotal not implemented yet in flash/LoaderInfo"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childAllowsParent",{get:function(){return console.log("childAllowsParent not implemented yet in flash/LoaderInfo"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childSandboxBridge",{get:function(){return console.log("childSandboxBridge not implemented yet in flash/LoaderInfo"),null},set:function(e){console.log("childSandboxBridge not implemented yet in flash/LoaderInfo")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentType",{get:function(){return console.log("contentType not implemented yet in flash/LoaderInfo"),""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"frameRate",{get:function(){return console.log("frameRate not implemented yet in flash/LoaderInfo"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isURLInaccessible",{get:function(){return console.log("isURLInaccessible not implemented yet in flash/LoaderInfo"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loader",{get:function(){return console.log("loader not implemented yet in flash/LoaderInfo"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loaderURL",{get:function(){return console.log("loaderURL not implemented yet in flash/LoaderInfo"),""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parameters",{get:function(){return console.log("parameters not implemented yet in flash/LoaderInfo"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentAllowsChild",{get:function(){return console.log("parentAllowsChild not implemented yet in flash/LoaderInfo"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentSandboxBridge",{get:function(){return console.log("parentSandboxBridge not implemented yet in flash/LoaderInfo"),null},set:function(e){console.log("parentSandboxBridge not implemented yet in flash/LoaderInfo")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sameDomain",{get:function(){return console.log("sameDomain not implemented yet in flash/LoaderInfo"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sharedEvents",{get:function(){return console.log("sharedEvents not implemented yet in flash/LoaderInfo"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swfVersion",{get:function(){return console.log("swfVersion not implemented yet in flash/LoaderInfo"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uncaughtErrorEvents",{get:function(){return console.log("uncaughtErrorEvents not implemented yet in flash/LoaderInfo"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return console.log("url not implemented yet in flash/LoaderInfo"),""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return 0},enumerable:!0,configurable:!0}),t.getLoaderInfoByDefinition=function(e){return console.log("getLoaderInfoByDefinition not implemented yet in flash/LoaderInfo"),null},t}(d),E=function(e){function n(n){return void 0===n&&(n=null),e.call(this,n||t.Sprite.getNewSprite())||this}return s(n,e),n.getNewSprite=function(e){if(n._sprites.length){var t=n._sprites.pop();return t.adaptee=e,t}return new n(e)},n.prototype.clone=function(){var e=n.getNewSprite(t.Sprite.getNewSprite(null,this.adaptee.material));return this.adaptee.copyTo(e.adaptee),e},n.prototype.dispose=function(){this.disposeValues(),n._sprites.push(this)},Object.defineProperty(n.prototype,"buttonMode",{get:function(){return console.log("buttonMode not implemented yet in flash/Sprite"),!1},set:function(e){console.log("buttonMode not implemented yet in flash/Sprite")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dropTarget",{get:function(){return console.log("dropTarget not implemented yet in flash/Sprite"),null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"graphics",{get:function(){return this._adaptee.graphics},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hitArea",{get:function(){return console.log("hitArea not implemented yet in flash/Sprite"),null},set:function(e){console.log("hitArea not implemented yet in flash/Sprite")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"soundTransform",{get:function(){return console.log("soundTransform not implemented yet in flash/Sprite"),null},set:function(e){console.log("soundTransform not implemented yet in flash/Sprite")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"useHandCursor",{get:function(){return console.log("useHandCursor not implemented yet in flash/Sprite"),!1},set:function(e){console.log("useHandCursor not implemented yet in flash/Sprite")},enumerable:!0,configurable:!0}),n.prototype.startDrag=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=null),console.log("startDrag not implemented yet in flash/Sprite")},n.prototype.startTouchDrag=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=null),console.log("startTouchDrag not implemented yet in flash/Sprite")},n.prototype.stopDrag=function(){console.log("startTouchDrag not implemented yet in flash/Sprite")},n.prototype.stopTouchDrag=function(e){console.log("startTouchDrag not implemented yet in flash/Sprite")},n}(v);E._sprites=new Array;var T=function(e){function n(n){return void 0===n&&(n=null),e.call(this,n||t.MovieClip.getNewMovieClip())||this}return s(n,e),n.getNewMovieClip=function(e){if(n._movieClips.length){var t=n._movieClips.pop();return t.adaptee=e,t}return new n(e)},n.prototype._getAbsFrameNumber=function(e,t){return 0},n.prototype.callFrame=function(e){},n.prototype._callFrame=function(e){},n.prototype.addScript=function(e){return e},n.prototype.executeScript=function(e){for(var t=0;t<e.length;t++)e[t].apply(this)},n.prototype.evalScript=function(e){var t=document.createElement("script");t.text="var __framescript__ = function() {\n"+e+"\n}";var n=document.scripts[0];n.parentNode.insertBefore(t,n).parentNode.removeChild(t);var o=__framescript__;return window.__framescript__=null,o},n.prototype.registerScriptObject=function(e){e.name&&(this[e.name]=e._adapter?e.adapter:e)},n.prototype.unregisterScriptObject=function(e){delete this[e.name],e.isAsset(t.MovieClip)&&e.removeButtonListeners()},n.prototype.freeFromScript=function(){e.prototype.freeFromScript.call(this)},n.prototype.clone=function(){var e=n.getNewMovieClip(t.MovieClip.getNewMovieClip(this.adaptee.timeline));return this.adaptee.copyTo(e.adaptee),e},n.prototype.dispose=function(){this.disposeValues(),n._movieClips.push(this)},Object.defineProperty(n.prototype,"currentFrame",{get:function(){return this._adaptee.currentFrameIndex+1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"currentFrameLabel",{get:function(){return console.log("currentFrameLabel not implemented yet in flash/MovieClip"),null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"currentLabel",{get:function(){return console.log("currentLabel not implemented yet in flash/MovieClip"),null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"currentLabels",{get:function(){return console.log("currentFrameLabel not implemented yet in flash/MovieClip"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"currentScene",{get:function(){return console.log("currentScene not implemented yet in flash/MovieClip"),null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"framesLoaded",{get:function(){return console.log("framesLoaded not implemented yet in flash/MovieClip"),0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isPlaying",{get:function(){return console.log("isPlaying not implemented yet in flash/MovieClip"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scenes",{get:function(){return console.log("scenes not implemented yet in flash/MovieClip"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"totalFrames",{get:function(){return this._adaptee.numFrames},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"trackAsMenu",{get:function(){return console.log("trackAsMenu not implemented yet in flash/MovieClip"),!1},set:function(e){console.log("trackAsMenu not implemented yet in flash/MovieClip")},enumerable:!0,configurable:!0}),n.prototype.addFrameScript=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.log("addFrameScript not implemented yet in flash/MovieClip")},n.prototype.gotoAndPlay=function(e,t){if(void 0===t&&(t=null),null!=e)return"string"==typeof e&&null==this.adaptee.timeline._labels[e.toLowerCase()]?(e=parseInt(e),void(isNaN(e)||(this.adaptee.currentFrameIndex=e-1,this.adaptee.play()))):void("number"==typeof e&&e<=0||(this.play(),this._gotoFrame(e)))},n.prototype.gotoAndStop=function(e,t){if(void 0===t&&(t=null),null!=e)return"string"==typeof e&&null==this.adaptee.timeline._labels[e.toLowerCase()]?(e=parseInt(e),void(isNaN(e)||(this.adaptee.currentFrameIndex=e-1,this.adaptee.stop()))):void("number"==typeof e&&e<=0||(this.stop(),this._gotoFrame(e)))},n.prototype._gotoFrame=function(e){"string"!=typeof e?"number"==typeof e&&e<=0||(this._adaptee.currentFrameIndex=e-1):this._adaptee.jumpToLabel(e)},n.prototype.nextFrame=function(){console.log("nextFrame not implemented yet in flash/MovieClip")},n.prototype.nextScene=function(){console.log("nextScene not implemented yet in flash/MovieClip")},n.prototype.play=function(){return this._adaptee.play()},n.prototype.prevFrame=function(){this._adaptee.currentFrameIndex>0&&(this._adaptee.currentFrameIndex=this._adaptee.currentFrameIndex-1)},n.prototype.prevScene=function(){console.log("prevScene not implemented yet in flash/MovieClip")},n.prototype.stop=function(){return this._adaptee.stop()},n}(E);T._movieClips=new Array;var M=function(e){function n(n){void 0===n&&(n=null);var o=e.call(this,n||t.TextField.getNewTextField())||this;return o.adaptee.autoSize=t.TextFieldAutoSize.NONE,o.adaptee.textFormat.align=t.TextFormatAlign.CENTER,o.eventMappingDummys[_.TEXT_INPUT]="TextField:TextEvent.TEXT_INPUT",o.eventMappingDummys[_.LINK]="TextField:TextEvent.LINK",o.eventMappingDummys[u.SCROLL]="TextField:Event.SCROLL",o.eventMappingDummys[u.CHANGE]="TextField:Event.CHANGE",o.eventMappingDummys[u.TEXT_INTERACTION_MODE_CHANGE]="TextField:Event.TEXT_INTERACTION_MODE_CHANGE",o}return s(n,e),n.getNewTextField=function(e){if(void 0===e&&(e=null),n._textFields.length){var o=n._textFields.pop();return o.adaptee=e||t.TextField.getNewTextField(),o}return new n(e)},n.prototype.dispatchKeyEvent=function(e,t,n,o){},n.prototype.selectTextField=function(){},n.prototype.clone=function(){var e=n.getNewTextField(t.TextField.getNewTextField());return this.adaptee.copyTo(e.adaptee),e},n.prototype.dispose=function(){this.disposeValues(),n._textFields.push(this)},Object.defineProperty(n.prototype,"alwaysShowSelection",{get:function(){return this._adaptee.alwaysShowSelection},set:function(e){this._adaptee.alwaysShowSelection=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"antiAliasType",{get:function(){return""},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"autoSize",{get:function(){return this._adaptee.autoSize},set:function(e){this._adaptee.autoSize=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return this._adaptee.background},set:function(e){this._adaptee.background=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return this._adaptee.backgroundColor},set:function(e){this._adaptee.backgroundColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"border",{get:function(){return this._adaptee.border},set:function(e){this._adaptee.border=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return this._adaptee.borderColor},set:function(e){this._adaptee.borderColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bottomScrollV",{get:function(){throw"bottomScrollV not implemented yet in flash/TextField"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"caretIndex",{get:function(){throw"caretIndex not implemented yet in flash/TextField"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"condenseWhite",{get:function(){throw"condenseWhite not implemented yet in flash/TextField"},set:function(e){throw"condenseWhite not implemented yet in flash/TextField"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"defaultTextFormat",{get:function(){return this._adaptee.textFormat},set:function(e){this._adaptee.textFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"displayAsPassword",{get:function(){return this._adaptee.displayAsPassword},set:function(e){this._adaptee.displayAsPassword=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"embedFonts",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"gridFitType",{get:function(){return""},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"htmlText",{get:function(){return this.adaptee.htmlText},set:function(e){this.adaptee.htmlText=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this._adaptee.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxChars",{get:function(){return console.log("maxChars not implemented yet in flash/TextField"),0},set:function(e){console.log("maxChars not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxScrollH",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxScrollV",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mouseWheelEnabled",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiline",{get:function(){return this._adaptee.multiline},set:function(e){this._adaptee.multiline=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"numLines",{get:function(){return console.log("numLines not implemented yet in flash/TextField"),this._adaptee.numLines},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"restrict",{get:function(){return this.adaptee.restrict},set:function(e){this.adaptee.restrict=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollH",{get:function(){return console.log("scrollH not implemented yet in flash/TextField"),0},set:function(e){console.log("scrollH not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollV",{get:function(){return console.log("scrollV not implemented yet in flash/TextField"),0},set:function(e){console.log("scrollV not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectable",{get:function(){return!1},set:function(e){this._adaptee.selectable=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedText",{get:function(){return console.log("selectedText not implemented yet in flash/TextField"),""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionBeginIndex",{get:function(){return console.log("selectionBeginIndex not implemented yet in flash/TextField"),0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionEndIndex",{get:function(){return console.log("selectionEndIndex not implemented yet in flash/TextField"),0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sharpness",{get:function(){return console.log("sharpness not implemented yet in flash/TextField"),0},set:function(e){console.log("sharpness not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"styleSheet",{get:function(){return console.log("styleSheet not implemented yet in flash/TextField"),null},set:function(e){console.log("styleSheet not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this._adaptee.text},set:function(e){this._adaptee.text=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return this._adaptee.textColor},set:function(e){this._adaptee.textColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textHeight",{get:function(){return this._adaptee.textHeight},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textInteractionMode",{get:function(){return console.log("textInteractionMode not implemented yet in flash/TextField"),""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textWidth",{get:function(){return this._adaptee.textWidth},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"thickness",{get:function(){return console.log("thickness not implemented yet in flash/TextField"),0},set:function(e){console.log("thickness not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return console.log("type not implemented yet in flash/TextField"),""},set:function(e){console.log("type not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"useRichTextClipboard",{get:function(){return console.log("useRichTextClipboard not implemented yet in flash/TextField"),!1},set:function(e){console.log("useRichTextClipboard not implemented yet in flash/TextField")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"wordWrap",{get:function(){return this._adaptee.wordWrap},set:function(e){this._adaptee.wordWrap=e},enumerable:!0,configurable:!0}),n.prototype.appendText=function(e){this._adaptee.appendText(e)},n.prototype.copyRichText=function(){return console.log("copyRichText not implemented yet in flash/TextField"),""},n.prototype.getCharBoundaries=function(e){return console.log("getCharBoundaries not implemented yet in flash/TextField"),null},n.prototype.getCharIndexAtPoint=function(e,t){return console.log("getCharIndexAtPoint not implemented yet in flash/TextField"),0},n.prototype.getFirstCharInParagraph=function(e){return console.log("getFirstCharInParagraph not implemented yet in flash/TextField"),0},n.prototype.getImageReference=function(e){return console.log("getImageReference not implemented yet in flash/TextField"),null},n.prototype.getLineIndexAtPoint=function(e,t){return console.log("getLineIndexAtPoint not implemented yet in flash/TextField"),0},n.prototype.getLineIndexOfChar=function(e){return console.log("getLineIndexOfChar not implemented yet in flash/TextField"),0},n.prototype.getLineLength=function(e){return console.log("getLineLength not implemented yet in flash/TextField"),0},n.prototype.getLineMetrics=function(e){return console.log("getLineMetrics not implemented yet in flash/TextField"),null},n.prototype.getLineOffset=function(e){return console.log("getLineOffset not implemented yet in flash/TextField"),0},n.prototype.getLineText=function(e){return console.log("getLineText not implemented yet in flash/TextField"),""},n.prototype.getParagraphLength=function(e){return console.log("getParagraphLength not implemented yet in flash/TextField"),0},n.prototype.getRawText=function(){return console.log("getRawText not implemented yet in flash/TextField"),""},n.prototype.getTextFormat=function(e,t){return void 0===e&&(e=-1),void 0===t&&(t=-1),this._adaptee.textFormat},n.prototype.getTextRuns=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=2147483647),console.log("getTextRuns not implemented yet in flash/TextField"),[]},n.prototype.getXMLText=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=2147483647),console.log("getXMLText not implemented yet in flash/TextField"),""},n.prototype.insertXMLText=function(e,t,n,o){void 0===o&&(o=!1),console.log("insertXMLText not implemented yet in flash/TextField")},n.isFontCompatible=function(e,t){return console.log("isFontCompatible not implemented yet in flash/TextField"),!1},n.prototype.pasteRichText=function(e){return console.log("pasteRichText not implemented yet in flash/TextField"),!1},n.prototype.replaceSelectedText=function(e){console.log("replaceSelectedText not implemented yet in flash/TextField")},n.prototype.replaceText=function(e,t,n){console.log("replaceText not implemented yet in flash/TextField")},n.prototype.setSelection=function(e,t){console.log("setSelection not implemented yet in flash/TextField")},n.prototype.setTextFormat=function(e,t,n){void 0===t&&(t=-1),void 0===n&&(n=-1),this._adaptee.setTextFormat(e,t,n)},n}(b);M._textFields=new Array;var C=function(e){function n(){var t=e.apply(this,arguments)||this;return t.imageStore={},t}return s(n,e),n.prototype.creatematerial=function(){return null},n.prototype.createSprite=function(e,n){return void 0===e&&(e=null),void 0===n&&(n=null),new E(t.Sprite.getNewSprite(n)).adaptee},n.prototype.createDisplayObjectContainer=function(){return(new v).adaptee},n.prototype.createMovieClip=function(e){return void 0===e&&(e=null),new T(new t.MovieClip(e)).adaptee},n.prototype.createTextField=function(){return(new M).adaptee},n.prototype.createBillboard=function(e){return new m(e.style.image.adapter).adaptee},n.prototype.createImage2D=function(e,t,n,o,r){return void 0===n&&(n=!0),void 0===o&&(o=null),void 0===r&&(r=!0),new y(e,t,n,o).adaptee},n}(t.DefaultSceneGraphFactory),j=function(e){function o(t){var n=e.call(this)||this;return n._onLoaderProgressDelegate=function(e){return n.onLoaderProgress(e)},n._onLoaderCompleteDelegate=function(e){return n.onLoaderComplete(e)},n._onAssetCompleteDelegate=function(e){return n.onAssetComplete(e)},n._parser=t,n._loaderInfo=new L,n._factory=new C,n}return s(o,e),o.prototype.onLoaderProgress=function(e){var t=new S(S.PROGRESS,null,null,e.urlLoader.bytesLoaded,e.urlLoader.bytesTotal);t.currentTarget=this._loaderInfo,this._loaderInfo.dispatchEvent(t)},o.prototype.onLoaderComplete=function(e){var t=new u(u.COMPLETE);t.currentTarget=this._loaderInfo,this._loaderInfo.dispatchEvent(t),this._loader.removeEventListener(n.LoaderEvent.LOAD_COMPLETE,this._onLoaderCompleteDelegate),this._loader.removeEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),this._loader=null},o.prototype.onAssetComplete=function(e){var o=e.asset;o.isAsset(t.TextField)?this._loaderContext.applicationDomain.addDefinition(o.name,o):o.isAsset(t.SceneImage2D)?(this._loaderContext.applicationDomain.addDefinition(o.name,o),this._isImage&&this.addChild(this._loaderInfo.content=new m(o.adapter))):o.isAsset(n.WaveAudio)?this._loaderContext.applicationDomain.addAudioDefinition(o.name,o):o.isAsset(t.Font)?this._loaderContext.applicationDomain.addFontDefinition(o.name,o):o.isAsset(t.Sprite)?this._loaderContext.applicationDomain.addDefinition(o.name,o):o.isAsset(t.MovieClip)&&(this._loaderContext.applicationDomain.addDefinition(o.name,o),"Scene 1"!=o.name&&"scene"!=o.name||this.addChild(this._loaderInfo.content=o.adapter))},o.prototype.load=function(e,t){void 0===t&&(t=null),console.log("start loading the url:"+e.url);var o=e.url.substr(-3);this._isImage="jpg"==o||"png"==o,e.url=e.url.replace(".swf",".awd"),this._loaderContext=t,this._loaderInfo.applicationDomain=t.applicationDomain,this._loader=new n.Loader,this._loader.addEventListener(n.URLLoaderEvent.LOAD_PROGRESS,this._onLoaderProgressDelegate),this._loader.addEventListener(n.LoaderEvent.LOAD_COMPLETE,this._onLoaderCompleteDelegate),this._loader.addEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),this._loader.load(e,null,null,this._isImage?new i.Image2DParser(this._factory):this._parser)},o.prototype.loadData=function(e,t){void 0===t&&(t=null),console.log("start loading swfdata",e),this._loaderContext=t,this._loaderInfo.applicationDomain=t.applicationDomain,this._loader=new n.Loader,this._loader.addEventListener(n.URLLoaderEvent.LOAD_PROGRESS,this._onLoaderProgressDelegate),this._loader.addEventListener(n.LoaderEvent.LOAD_COMPLETE,this._onLoaderCompleteDelegate),this._loader.addEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),this._loader.loadData(e,null,null,null,this._parser)},Object.defineProperty(o.prototype,"contentLoaderInfo",{get:function(){return this._loaderInfo},set:function(e){this._loaderInfo=e},enumerable:!0,configurable:!0}),o}(v),D=function(e){function t(t,n,o,r){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===r&&(r=null),e.call(this)||this}return s(t,e),Object.defineProperty(t.prototype,"downState",{get:function(){return console.log("downState not implemented yet in flash/SimpleButton"),null},set:function(e){console.log("downState not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return console.log("enabled not implemented yet in flash/SimpleButton"),!1},set:function(e){console.log("enabled not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hitTestState",{get:function(){return console.log("hitTestState not implemented yet in flash/SimpleButton"),null},set:function(e){console.log("hitTestState not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overState",{get:function(){return console.log("overState not implemented yet in flash/SimpleButton"),null},set:function(e){console.log("overState not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"soundTransform",{get:function(){return console.log("soundTransform not implemented yet in flash/SimpleButton"),null},set:function(e){console.log("soundTransform not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trackAsMenu",{get:function(){return console.log("trackAsMenu not implemented yet in flash/SimpleButton"),!1},set:function(e){console.log("trackAsMenu not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"upState",{get:function(){return console.log("upState not implemented yet in flash/SimpleButton"),null},set:function(e){console.log("upState not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"useHandCursor",{get:function(){return console.log("useHandCursor not implemented yet in flash/SimpleButton"),!1},set:function(e){console.log("useHandCursor not implemented yet in flash/SimpleButton")},enumerable:!0,configurable:!0}),t}(b),x=function(){};x.BOTTOM="B",x.BOTTOM_LEFT="BL",x.BOTTOM_RIGHT="BR",x.LEFT="L",x.RIGHT="R",x.TOP="T",x.TOP_LEFT="TL",x.TOP_RIGHT="TR";var w=function(){};w.EXACT_FIT="EXACT_FIT",w.NO_BORDER="noBorder",w.NO_SCALE="noScale",w.SHOW_ALL="showAll";var I=function(e){function i(o,a,p,s,c,d){void 0===a&&(a=550),void 0===p&&(p=400),void 0===s&&(s=null),void 0===c&&(c=30),void 0===d&&(d=!1);var m=e.call(this)||this;return m._frameRate=30,m._currentFps=0,m._time=0,m.SHOW_FRAME_RATE=!1,m._debugtimer=0,m.SHOW_FRAME_RATE=d,m._stageWidth=a,m._stageHeight=p,m._eventOnEnter=new u(u.ENTER_FRAME),m._eventFrameConstructed=new u(u.FRAME_CONSTRUCTED),m._eventExitFrame=new u(u.EXIT_FRAME),m._eventRender=new u(u.RENDER),m._events=[m._eventOnEnter,m._eventExitFrame],m._scaleMode=w.NO_SCALE,m._align=x.TOP_LEFT,m._stage3Ds=[],n.AudioManager.setVolume(1),l.Graphics.get_material_for_color=function(e,t){void 0===t&&(t=1),0==e&&(e=1),16744704==e&&(t=1);var n={};if(i._useTextureAtlasForColors)return n=l.TextureAtlas.getTextureForColor(e,t),i._colorMaterials[n.bitmap.id]?(n.material=i._colorMaterials[n.bitmap.id],n):((o=new r.MethodMaterial(n.bitmap)).alphaBlending=!0,o.useColorTransform=!0,o.bothSides=!0,i._colorMaterials[n.bitmap.id]=o,n.material=o,n);var o,a=e+"_"+Math.round(100*t).toString();return i._colorMaterials[a]?(n.material=i._colorMaterials[a],n):((o=new r.MethodMaterial(e,t)).alphaBlending=!0,o.useColorTransform=!0,o.bothSides=!0,n.material=o,i._colorMaterials[a]=o,n)},l.Graphics.get_material_for_gradient=function(e){var t=l.TextureAtlas.getTextureForGradient(e),n=t.bitmap.id+e.type;if(i._textureMaterials[n])return t.material=i._textureMaterials[n],t;var o=new r.MethodMaterial(t.bitmap);return o.useColorTransform=!0,o.alphaBlending=!0,o.bothSides=!0,i._textureMaterials[n]=o,t.material=o,t},m._resizeCallbackDelegate=function(e){return m.resizeCallback(e)},m.eventMapping[u.RESIZE]={adaptedType:"",addListener:m.initResizeListener,removeListener:m.removeResizeListener,callback:m._resizeCallbackDelegate},m._mouseLeaveCallbackDelegate=function(e){return m.mouseLeaveCallback(e)},m.eventMapping[u.MOUSE_LEAVE]={adaptedType:"",addListener:m.initMouseLeaveListener,removeListener:m.removeMouseLeaveListener,callback:m._mouseLeaveCallbackDelegate},f.activeStage=m,m._stage=m,m.initEninge(),m._resizeCallbackDelegate(null),m.adaptee.partition=new t.SceneGraphPartition(m.adaptee,!0),m._scene.root.addChild(m.adaptee),m._scene.renderer.view.backgroundColor=isNaN(s)?16777215:s,m._frameRate=c,m.SHOW_FRAME_RATE&&(m._fpsTextField=document.createElement("div"),m._fpsTextField.style.cssFloat="none",m._fpsTextField.style.position="fixed",m._fpsTextField.style.top="5px",m._fpsTextField.style.width="100px",m._fpsTextField.style.height="20px",m._fpsTextField.style.right="5px",m._fpsTextField.style.textAlign="center",m._fpsTextField.style.color="#ff0000",m._fpsTextField.style.fontSize="16",m._fpsTextField.innerHTML="",document.body.appendChild(m._fpsTextField),setInterval((function(){return m.updateFPS()}),1e3)),o&&(m._mainSprite=new o,m.addChild(m._mainSprite),m.initListeners(),console.log("constructed Stage and create the entranceclass")),m._rendererStage.container.style.visibility="visible",m}return s(i,e),i.prototype.init=function(e){this._mainSprite=new e,this.addChild(this._mainSprite),this.initListeners(),this._resizeCallbackDelegate(null),this._rendererStage.container.style.visibility="visible"},Object.defineProperty(i.prototype,"view",{get:function(){return this._scene.renderer.view},enumerable:!0,configurable:!0}),i.prototype.updateFPS=function(){this._fpsTextField.innerText=this._currentFps.toFixed(2)+"/"+this._frameRate+" fps",this._currentFps=0},Object.defineProperty(i.prototype,"onlyMouseEnabled",{set:function(e){},enumerable:!0,configurable:!0}),i.prototype.initResizeListener=function(e,t){window.addEventListener("resize",t)},i.prototype.removeResizeListener=function(e,t){window.removeEventListener("resize",t)},i.prototype.resizeCallback=function(e){void 0===e&&(e=null);var t=window.innerWidth,n=window.innerHeight,o=0,r=0;switch(this.scaleMode){case w.NO_SCALE:this._projection.fieldOfView=360*Math.atan(window.innerHeight/1e3/2)/Math.PI;break;case w.SHOW_ALL:n=window.innerHeight,(t=this._stageWidth/this._stageHeight*n)>window.innerWidth&&(n=(t=window.innerWidth)*(this._stageHeight/this._stageWidth)),o=(window.innerWidth-t)/2,r=(window.innerHeight-n)/2,this._projection.fieldOfView=360*Math.atan(this._stageHeight/1e3/2)/Math.PI;break;case w.EXACT_FIT:case w.NO_BORDER:default:throw"Stage: only implemented StageScaleMode are NO_SCALE, SHOW_ALL"}if(this.align!==x.TOP_LEFT)throw"Stage: only implemented StageAlign is TOP_LEFT";this._scene.renderer.view.y=0,this._scene.renderer.view.x=0,this._mainSprite&&(this._mainSprite.graphics.clear(),this._mainSprite.graphics.beginFill(16777215,0),this._mainSprite.graphics.drawRect(0,0,t,n),this._mainSprite.graphics.endFill()),this.updateSize(o,r,t,n),this.dispatchEvent(new u(u.RESIZE))},i.prototype.show=function(){},i.prototype.initMouseLeaveListener=function(e,t){window.addEventListener("mouseleave",t)},i.prototype.removeMouseLeaveListener=function(e,t){window.removeEventListener("mouseleave",t)},i.prototype.mouseLeaveCallback=function(e){void 0===e&&(e=null),this.dispatchEvent(new u(u.MOUSE_LEAVE))},i.prototype.initEninge=function(){this._scene=new t.Scene(new o.BasicPartition(new t.DisplayObjectContainer)),this._rendererStage=this._scene.view.stage,this._rendererStage.container.style.visibility="hidden",this._rendererStage.antiAlias=0,this._scene.renderer.renderableSorter=null,this._projection=new n.PerspectiveProjection,this._projection.coordinateSystem=n.CoordinateSystem.RIGHT_HANDED,this._projection.originX=-1,this._projection.originY=1;var e=new t.Camera;e.projection=this._projection,this._scene.camera=e,this._projection.fieldOfView=360*Math.atan(window.innerHeight/1e3/2)/Math.PI},i.prototype.updateSize=function(e,t,n,o){this._scene.view.x=e,this._scene.view.y=t,this._rendererStage.x=e,this._rendererStage.y=t,this._rendererStage.width=n,this._rendererStage.height=o,this._scene.view.width=n,this._scene.view.height=o,this._fpsTextField&&(this._fpsTextField.style.left=.5*window.innerWidth-100+"px")},i.prototype.initListeners=function(){console.log("init listeners"),window.addEventListener("resize",this._resizeCallbackDelegate),this._timer=new n.RequestAnimationFrame(this.onEnterFrame,this),this._timer.start(),this._resizeCallbackDelegate(null)},i.prototype.onEnterFrame=function(e){var t=Math.floor(1e3/this._frameRate);this._time+=Math.min(e,t),this._time>=t&&(this._time-=t,this._rendererStage.clear(),this.advanceFrame(this._events),this._scene.render(),this._currentFps++)},i.prototype.render=function(){this._rendererStage.clear(),this.advanceFrame(this._events),this._scene.render()},Object.defineProperty(i.prototype,"rendererStage",{get:function(){return this._rendererStage},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mouseX",{get:function(){return this._scene.mouseX},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mouseY",{get:function(){return this._scene.mouseY},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"accessibilityImplementation",{set:function(e){console.log("textSnapshot not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"align",{get:function(){return this._align},set:function(e){this._align},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"allowsFullScreen",{get:function(){return console.log("allowsFullScreen not implemented yet in flash/Stage"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"allowsFullScreenInteractive",{get:function(){return console.log("allowsFullScreenInteractive not implemented yet in flash/Stage"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"browserZoomFactor",{get:function(){return console.log("browserZoomFactor not implemented yet in flash/Stage"),0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"color",{get:function(){return this._scene.renderer.view.backgroundColor},set:function(e){this._scene.renderer.view.backgroundColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"colorCorrection",{get:function(){return console.log("colorCorrection not implemented yet in flash/Stage"),""},set:function(e){console.log("colorCorrection not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"colorCorrectionSupport",{get:function(){return console.log("colorCorrectionSupport not implemented yet in flash/Stage"),""},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"contentsScaleFactor",{get:function(){return console.log("contentsScaleFactor not implemented yet in flash/Stage"),0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"displayContextInfo",{get:function(){return console.log("displayContextInfo not implemented yet in flash/Stage"),""},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"displayState",{get:function(){return console.log("displayState not implemented yet in flash/Stage"),""},set:function(e){console.log("displayState not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"focus",{get:function(){return null},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"frameRate",{get:function(){return this._frameRate},set:function(e){this._frameRate=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"fullScreenHeight",{get:function(){return console.log("fullScreenHeight not implemented yet in flash/Stage"),0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"fullScreenSourceRect",{get:function(){return console.log("fullScreenSourceRect not implemented yet in flash/Stage"),null},set:function(e){console.log("fullScreenSourceRect not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"fullScreenWidth",{get:function(){return console.log("fullScreenWidth not implemented yet in flash/Stage"),0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mouseLock",{get:function(){return console.log("mouseLock not implemented yet in flash/Stage"),!1},set:function(e){console.log("mouseLock not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"quality",{get:function(){return""},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scaleMode",{get:function(){return this._scaleMode},set:function(e){this._scaleMode=e,this._resizeCallbackDelegate(null)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"showDefaultContextMenu",{get:function(){return console.log("showDefaultContextMenu not implemented yet in flash/Stage"),!1},set:function(e){console.log("showDefaultContextMenu not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"softKeyboardRect",{get:function(){return console.log("softKeyboardRect not implemented yet in flash/Stage"),null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"stage3Ds",{get:function(){return console.log("stage3Ds not implemented yet in flash/Stage"),this._stage3Ds},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"stageFocusRect",{get:function(){return console.log("stageFocusRect not implemented yet in flash/Stage"),!1},set:function(e){console.log("stageFocusRect not implemented yet in flash/Stage")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"stageHeight",{get:function(){return this._stageHeight},set:function(e){this._stageHeight=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"stageVideos",{get:function(){return console.log("stageVideos not implemented yet in flash/Stage"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"stageWidth",{get:function(){return this._stageWidth},set:function(e){this._stageWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabChildren",{get:function(){return console.log("tabChildren not implemented yet in flash/Stage"),!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textSnapshot",{get:function(){return console.log("textSnapshot not implemented yet in flash/Stage"),null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"wmodeGPU",{get:function(){return console.log("wmodeGPU not implemented yet in flash/Stage"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"accessibilityProperties",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"alpha",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"blendMode",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cacheAsBitmap",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"contextMenu",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"filters",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"focusRect",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"loaderInfo",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mask",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"opaqueBackground",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"name",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rotation",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rotationX",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rotationY",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rotationZ",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scale9Grid",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scaleX",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scaleY",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scaleZ",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scrollRect",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabEnabled",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabIndex",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"transform",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visible",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"x",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"y",{set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"z",{set:function(e){},enumerable:!0,configurable:!0}),i.prototype.invalidate=function(){console.log("invalidate not implemented yet in flash/Stage")},i.prototype.isFocusInaccessible=function(){return console.log("isFocusInaccessible not implemented yet in flash/Stage"),!1},i}(E);I._colorMaterials={},I._textureMaterials={},I._useTextureAtlasForColors=!0;var F=function(){function e(){}return e.fromBitmapData=function(e){return console.log("fromBitmapData not implemented yet in flash/Texture"),null},e.prototype.uploadCompressedTextureFromByteArray=function(e,t,n){void 0===n&&(n=!1),console.log("uploadCompressedTextureFromByteArray not implemented yet in flash/Texture")},e.prototype.uploadFromBitmapData=function(e,t){void 0===t&&(t=0),console.log("uploadFromBitmapData not implemented yet in flash/Texture")},e.prototype.uploadFromByteArray=function(e,t,n){void 0===n&&(n=0),console.log("uploadFromByteArray not implemented yet in flash/Texture")},e}(),R=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"isRelatedObjectInaccessible",{get:function(){return console.log("isRelatedObjectInaccessible not implemented yet in flash/FocusEvent"),!1},set:function(e){console.log("isRelatedObjectInaccessible not implemented yet in flash/FocusEvent")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyCode",{get:function(){return console.log("keyCode not implemented yet in flash/FocusEvent"),0},set:function(e){console.log("keyCode not implemented yet in flash/FocusEvent")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relatedObject",{get:function(){return console.log("relatedObject not implemented yet in flash/FocusEvent"),null},set:function(e){console.log("relatedObject not implemented yet in flash/FocusEvent")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return console.log("shiftKey not implemented yet in flash/FocusEvent"),!1},set:function(e){console.log("shiftKey not implemented yet in flash/FocusEvent")},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/IOErrorEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/FocusEvent"),""},t}(u);R.FOCUS_IN="focusIn",R.FOCUS_OUT="focusOut",R.KEY_FOCUS_CHANGE="keyFocusChange",R.MOUSE_FOCUS_CHANGE="mouseFocusChange";var N=function(e){function t(t,n,o,r,i){return void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===r&&(r=0),void 0===i&&(i=null),e.call(this,t,n,o)||this}return s(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return console.log("data not implemented yet in flash/SampleDataEvent"),null},set:function(e){console.log("data not implemented yet in flash/SampleDataEvent")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return console.log("position not implemented yet in flash/SampleDataEvent"),0},set:function(e){console.log("position not implemented yet in flash/SampleDataEvent")},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/SampleDataEvent"),null},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/SampleDataEvent"),""},t}(u);N.SAMPLE_DATA="sampleData";var A=function(e){function t(t,n,o,r,i,l,a,p,s,c,u,d,f,m){return void 0===n&&(n=!0),void 0===o&&(o=!1),void 0===r&&(r=0),void 0===i&&(i=!1),void 0===l&&(l=NaN),void 0===a&&(a=NaN),void 0===p&&(p=NaN),void 0===s&&(s=NaN),void 0===c&&(c=NaN),void 0===u&&(u=null),void 0===d&&(d=!1),void 0===f&&(f=!1),void 0===m&&(m=!1),e.call(this,t,n,o)||this}return s(t,e),Object.defineProperty(t.prototype,"altKey",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPrimaryTouchPoint",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRelatedObjectInaccessible",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localX",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localY",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pressure",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relatedObject",{get:function(){return null},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sizeX",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sizeY",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stageX",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stageY",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touchPointID",{get:function(){return 0},set:function(e){},enumerable:!0,configurable:!0}),t.prototype.clone=function(){return null},t.prototype.toString=function(){return""},t.prototype.updateAfterEvent=function(){},t}(u);A.TOUCH_BEGIN="touchBegin",A.TOUCH_END="touchEnd",A.TOUCH_MOVE="touchMove",A.TOUCH_OUT="touchOut",A.TOUCH_OVER="touchOver",A.TOUCH_ROLL_OUT="touchRollOut",A.TOUCH_ROLL_OVER="touchRollOver",A.TOUCH_TAP="touchTap";var k=function(){function e(){}return e.addCallback=function(e,t,n){return console.log("addCallback not implemented yet in flash/ExternalInterface"),!1},e.call=function(e,t){return console.log("methodName not implemented yet in flash/ExternalInterface"),null},e}(),B=function(){},U=function(e){function t(t,n,o,r,i,l,a,p,s,c,u){return void 0===o&&(o=16777215),void 0===r&&(r=1),void 0===i&&(i=1),void 0===l&&(l=1),void 0===a&&(a=1),void 0===p&&(p=1),void 0===s&&(s=!1),void 0===c&&(c=!1),void 0===u&&(u=!1),e.call(this)||this}return s(t,e),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/DropShadowFilter"),null},t}(B),X=function(e){function t(t,n,o,r,i,l,a,p){return void 0===t&&(t=16777215),void 0===n&&(n=1),void 0===o&&(o=1),void 0===r&&(r=1),void 0===i&&(i=1),void 0===l&&(l=1),void 0===a&&(a=!1),void 0===p&&(p=!1),e.call(this)||this}return s(t,e),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/GlowFilter"),null},t}(B),G=function(e){function t(t,n,o,r,i,l,a,p,s,c,u){return e.call(this)||this}return s(t,e),t.prototype.clone=function(){return console.log("clone not implemented yet in flash/GradientBevelFilter"),null},t}(B),K=function(){function e(e){}return Object.defineProperty(e.prototype,"actualLocaleIDName",{get:function(){return console.log("actualLocaleIDName not implemented yet in flash/NumberFormatter"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"decimalSeparator",{get:function(){return console.log("decimalSeparator not implemented yet in flash/NumberFormatter"),""},set:function(e){console.log("decimalSeparator not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"digitsType",{get:function(){return console.log("digitsType not implemented yet in flash/NumberFormatter"),0},set:function(e){console.log("digitsType not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fractionalDigits",{get:function(){return console.log("fractionalDigits not implemented yet in flash/NumberFormatter"),0},set:function(e){console.log("fractionalDigits not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupingPattern",{get:function(){return console.log("groupingPattern not implemented yet in flash/NumberFormatter"),""},set:function(e){console.log("groupingPattern not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupingSeparator",{get:function(){return console.log("groupingSeparator not implemented yet in flash/NumberFormatter"),""},set:function(e){console.log("groupingSeparator not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastOperationStatus",{get:function(){return console.log("lastOperationStatus not implemented yet in flash/NumberFormatter"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingZero",{get:function(){return console.log("leadingZero not implemented yet in flash/NumberFormatter"),!1},set:function(e){console.log("leadingZero not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"negativeNumberFormat",{get:function(){return console.log("negativeNumberFormat not implemented yet in flash/NumberFormatter"),0},set:function(e){console.log("negativeNumberFormat not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"negativeSymbol",{get:function(){return console.log("negativeSymbol not implemented yet in flash/NumberFormatter"),""},set:function(e){console.log("negativeSymbol not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestedLocaleIDName",{get:function(){return console.log("requestedLocaleIDName not implemented yet in flash/NumberFormatter"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trailingZeros",{get:function(){return console.log("trailingZeros not implemented yet in flash/NumberFormatter"),!1},set:function(e){console.log("trailingZeros not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useGrouping",{get:function(){return console.log("useGrouping not implemented yet in flash/NumberFormatter"),!1},set:function(e){console.log("useGrouping not implemented yet in flash/NumberFormatter")},enumerable:!0,configurable:!0}),e.prototype.formatInt=function(e){return console.log("formatInt not implemented yet in flash/NumberFormatter"),""},e.prototype.formatNumber=function(e){return console.log("formatNumber not implemented yet in flash/NumberFormatter"),""},e.prototype.formatUint=function(e){return console.log("formatUint not implemented yet in flash/NumberFormatter"),""},e.getAvailableLocaleIDNames=function(){return console.log("getAvailableLocaleIDNames not implemented yet in flash/NumberFormatter"),[]},e.prototype.parse=function(e){return console.log("parse not implemented yet in flash/NumberFormatter"),null},e.prototype.parseNumber=function(e){return console.log("parseNumber not implemented yet in flash/NumberFormatter"),0},e}(),H=function(){function e(e){}return Object.defineProperty(e.prototype,"actualLocaleIDName",{get:function(){return console.log("actualLocaleIDName not implemented yet in flash/StringTools"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastOperationStatus",{get:function(){return console.log("lastOperationStatus not implemented yet in flash/StringTools"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestedLocaleIDName",{get:function(){return console.log("requestedLocaleIDName not implemented yet in flash/StringTools"),""},enumerable:!0,configurable:!0}),e.getAvailableLocaleIDNames=function(){return console.log("getAvailableLocaleIDNames not implemented yet in flash/StringTools"),[]},e.prototype.toLowerCase=function(e){return console.log("toLowerCase not implemented yet in flash/StringTools"),""},e.prototype.toUpperCase=function(e){return console.log("toUpperCase not implemented yet in flash/StringTools"),""},e}(),V=function(){},W=function(e){function t(){return e.call(this)||this}return s(t,e),t.prototype.axCallPublicProperty=function(e,t){return null},t.prototype.axGetPublicProperty=function(e){return null},t.prototype.axSetPublicProperty=function(e,t){return null},t.prototype.axHasPublicProperty=function(e){return null},t.prototype.axDeletePublicProperty=function(e){return null},t.prototype.axGetEnumerableKeys=function(){return[]},Object.defineProperty(t.prototype,"leftPeak",{get:function(){return console.log("leftPeak not implemented yet in flash/SoundChannel"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return console.log("position not implemented yet in flash/SoundChannel"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rightPeak",{get:function(){return console.log("rightPeak not implemented yet in flash/SoundChannel"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"soundTransform",{get:function(){return this._sndtranform},set:function(e){this._sound&&(this._sound.adaptee.volume=e.volume,this._sound.adaptee.pan=e.pan),this._sndtranform=e},enumerable:!0,configurable:!0}),t.prototype.stop=function(){this._sound.stop()},t}(d),Y=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;return o.loopsToPlay=0,o}return s(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},set:function(e){this._adaptee=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return console.log("bytesLoaded not implemented yet in flash/Sound"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return console.log("bytesTotal not implemented yet in flash/Sound"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id3",{get:function(){return console.log("id3 not implemented yet in flash/Sound"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBuffering",{get:function(){return console.log("isBuffering not implemented yet in flash/Sound"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isURLInaccessible",{get:function(){return console.log("isURLInaccessible not implemented yet in flash/Sound"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return console.log("length not implemented yet in flash/Sound"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return console.log("url not implemented yet in flash/Sound"),""},enumerable:!0,configurable:!0}),t.prototype.close=function(){console.log("close not implemented yet in flash/Sound")},t.prototype.extract=function(e,t,n){return void 0===n&&(n=-1),console.log("extract not implemented yet in flash/Sound"),0},t.prototype.load=function(e,t){void 0===t&&(t=null),console.log("load not implemented yet in flash/Sound")},t.prototype.loadCompressedDataFromByteArray=function(e,t){console.log("loadCompressedDataFromByteArray not implemented yet in flash/Sound")},t.prototype.loadPCMFromByteArray=function(e,t,n,o,r){void 0===n&&(n="float"),void 0===o&&(o=!0),void 0===r&&(r=44100),console.log("loadPCMFromByteArray not implemented yet in flash/Sound")},t.prototype.soundCompleteInternal=function(){this.loopsToPlay--,this.loopsToPlay>0?(this.stop(),this.adaptee.play(0,!1)):this._onCompleteCallback&&this._onCompleteCallback()},t.prototype.play=function(e,t,n){var o=this;void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=null),n&&(this.adaptee.volume=n.volume,this.adaptee.pan=n.pan),t=isNaN(t)||t<1?1:Math.floor(t),this.loopsToPlay=t,this._adaptee.onSoundComplete=function(){return o.soundCompleteInternal()},this._adaptee.play(e,!1);var r=new W;return r._sound=this,r.soundTransform=n,r},t.prototype.stop=function(){this._adaptee.stop()},t}(d),z=function(e,t){void 0===e&&(e=1e3),void 0===t&&(t=!1)},q=function(){function e(e,t){void 0===e&&(e=1),void 0===t&&(t=0),this._vol=1,this._pan=.5}return e.prototype.axCallPublicProperty=function(e,t){return null},e.prototype.axGetPublicProperty=function(e){return null},e.prototype.axSetPublicProperty=function(e,t){return null},e.prototype.axHasPublicProperty=function(e){return null},e.prototype.axDeletePublicProperty=function(e){return null},e.prototype.axGetEnumerableKeys=function(){return[]},Object.defineProperty(e.prototype,"leftToLeft",{get:function(){return console.log("leftToLeft not implemented yet in flash/SoundTransform"),0},set:function(e){console.log("leftToLeft not implemented yet in flash/SoundTransform")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftToRight",{get:function(){return console.log("leftToRight not implemented yet in flash/SoundTransform"),0},set:function(e){console.log("leftToRight not implemented yet in flash/SoundTransform")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pan",{get:function(){return this._pan},set:function(e){this._pan=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightToLeft",{get:function(){return console.log("rightToLeft not implemented yet in flash/SoundTransform"),0},set:function(e){console.log("rightToLeft not implemented yet in flash/SoundTransform")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightToRight",{get:function(){return console.log("rightToRight not implemented yet in flash/SoundTransform"),0},set:function(e){console.log("rightToRight not implemented yet in flash/SoundTransform")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this._vol},set:function(e){this._vol=e},enumerable:!0,configurable:!0}),e}();var Z=function(e){function t(){return e.call(this)||this}return s(t,e),t.prototype.browse=function(e){return console.log("browse not implemented yet in flash/FileReference"),!1},t.prototype.upload=function(e){return console.log("upload not implemented yet in flash/FileReference"),!1},t.prototype.load=function(){console.log("load not implemented yet in flash/FileReference")},t.prototype.save=function(e,t){void 0===t&&(t=null),console.log("save not implemented yet in flash/FileReference")},t.prototype.requestPermission=function(){console.log("upload not implemented yet in flash/FileReference")},t.prototype.download=function(e,t){return console.log("download not implemented yet in flash/FileReference"),!1},t.prototype.cancel=function(){console.log("cancel not implemented yet in flash/FileReference")},t}(d),J=function(e){function t(){var t=e.call(this)||this;return t._adaptee=new n.URLLoader,t._completeCallbackDelegate=function(e){return t.completeCallback(e)},t._progressCallbackDelegate=function(e){return t.progressCallback(e)},t.eventMapping[u.COMPLETE]={adaptedType:n.URLLoaderEvent.LOAD_COMPLETE,addListener:t.initListener,removeListener:t.removeListener,callback:t._completeCallbackDelegate},t.eventMapping[S.PROGRESS]={adaptedType:n.URLLoaderEvent.LOAD_PROGRESS,addListener:t.initListener,removeListener:t.removeListener,callback:t._progressCallbackDelegate},t}return s(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this._adaptee.data},enumerable:!0,configurable:!0}),t.prototype.initListener=function(e,t){this._adaptee.addEventListener(e,t)},t.prototype.removeListener=function(e,t){this._adaptee.removeEventListener(e,t)},t.prototype.progressCallback=function(e){void 0===e&&(e=null);var t=new S(S.PROGRESS,null,null,e.urlLoader.bytesLoaded,e.urlLoader.bytesTotal);t.currentTarget=this,this.dispatchEvent(t)},t.prototype.completeCallback=function(e){void 0===e&&(e=null);var t=new u(u.COMPLETE);t.currentTarget=this,this.dispatchEvent(t)},t.prototype.load=function(e){this._adaptee.load(e)},t}(d),Q=function(){function e(e){this._object_name=e,"undefined"!=typeof Storage&&(this.data=JSON.parse(localStorage.getItem(e))),null==this.data&&(console.log("no shared object found"),this.data={})}return e.getLocal=function(t,n,o){return new e(t)},e.getRemote=function(t,n,o,r){return new e(t)},e.prototype.flush=function(e){void 0===e&&(e=0),"undefined"!=typeof Storage?localStorage.setItem(this._object_name,JSON.stringify(this.data)):console.log("no local storage available")},e.prototype.clear=function(){},e.prototype.close=function(){},e.prototype.connect=function(e,t){void 0===t&&(t=null)},e.prototype.setDirty=function(e){},e.prototype.setProperty=function(e,t){},e.prototype.send=function(e){},e}(),$=function(){},ee=function(e){function t(){return e.call(this)||this}return s(t,e),Object.defineProperty(t.prototype,"object",{get:function(){return console.log("object not implemented yet in flash/NewObjectSample"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return console.log("size not implemented yet in flash/NewObjectSample"),0},enumerable:!0,configurable:!0}),t}($),te=function(){function e(t){void 0===t&&(t=null),null==t&&null!=e._currentDomain&&(e.currentDomain,t=e.getSystemDomain()),this._parentDomain=t,this._definitions={},this._font_definitions={},this._audio_definitions={}}return e.getSystemDomain=function(){return null==e._systemDomain&&(e._systemDomain=new e),e._systemDomain},Object.defineProperty(e,"currentDomain",{get:function(){return null==e._systemDomain&&(e._systemDomain=new e),null==e._currentDomain&&(e._currentDomain=new e(e._systemDomain)),e._currentDomain},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"domainMemory",{get:function(){return console.log("domainMemory not implemented yet in flash/ApplicationDomain"),null},set:function(e){console.log("domainMemory not implemented yet in flash/ApplicationDomain")},enumerable:!0,configurable:!0}),Object.defineProperty(e,"MIN_DOMAIN_MEMORY_LENGTH",{get:function(){return console.log("MIN_DOMAIN_MEMORY_LENGTH not implemented yet in flash/ApplicationDomain"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentDomain",{get:function(){return this._parentDomain},enumerable:!0,configurable:!0}),e.prototype.addDefinition=function(e,t){this._definitions[e]=t},e.prototype.addAudioDefinition=function(e,t){this._audio_definitions[e]=t},e.prototype.addFontDefinition=function(e,t){this._font_definitions[e]=t},e.prototype.getDefinition=function(e){if(this._definitions[e]){var n=this._definitions[e].adapter.clone();return n.adaptee.isAsset(t.MovieClip)&&(n.adaptee.currentFrameIndex=0),n}if(this._font_definitions[e])return this._font_definitions[e];if(this._audio_definitions[e]){var o=new Y;return o.adaptee=this._audio_definitions[e],o}return null},e.prototype.getFontDefinition=function(e){return this._font_definitions[e]},e.prototype.getAudioDefinition=function(e){var t=new Y;return t.adaptee=this._audio_definitions[e],t},e.prototype.getQualifiedDefinitionNames=function(){var e=[];for(var t in this._definitions)this._definitions.hasOwnProperty(t)&&(e[e.length]=t);return e},e.prototype.hasDefinition=function(e){return this._definitions.hasOwnProperty(e)},e.prototype.hasFontDefinition=function(e){return this._font_definitions.hasOwnProperty(e)},e.prototype.hasAudioDefinition=function(e){return this._audio_definitions.hasOwnProperty(e)},e}(),ne=function(){function e(){}return Object.defineProperty(e,"playerType",{get:function(){return"StandAlone"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"touchscreenType",{get:function(){return"none"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"screenDPI",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"screenResolutionX",{get:function(){return screen.width},enumerable:!0,configurable:!0}),Object.defineProperty(e,"screenResolutionY",{get:function(){return screen.height},enumerable:!0,configurable:!0}),e}(),oe=function(e){function t(){return e.call(this)||this}return s(t,e),Object.defineProperty(t,"conversionMode",{get:function(){return console.log("conversionMode not implemented yet in flash/IME"),""},set:function(e){console.log("conversionMode not implemented yet in flash/IME")},enumerable:!0,configurable:!0}),Object.defineProperty(t,"enabled",{get:function(){return console.log("enabled not implemented yet in flash/IME"),!1},set:function(e){console.log("enabled not implemented yet in flash/IME")},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isSupported",{get:function(){return console.log("isSupported not implemented yet in flash/IME"),!1},enumerable:!0,configurable:!0}),t.compositionAbandoned=function(){console.log("compositionAbandoned not implemented yet in flash/IME")},t.compositionSelectionChanged=function(e,t){console.log("compositionSelectionChanged not implemented yet in flash/IME")},t.doConversion=function(){console.log("doConversion not implemented yet in flash/IME")},t.setCompositionString=function(e){console.log("setCompositionString not implemented yet in flash/IME")},t}(d),re=function(){function e(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=null),void 0===n&&(n=null),this._applicationDomain=t}return Object.defineProperty(e.prototype,"applicationDomain",{get:function(){return this._applicationDomain},set:function(e){this._applicationDomain=e},enumerable:!0,configurable:!0}),e}(),ie=function(){},le=function(){function e(){}return Object.defineProperty(e,"freeMemory",{get:function(){return console.log("freeMemory not implemented yet in flash/System"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"ime",{get:function(){return console.log("ime not implemented yet in flash/System"),null},enumerable:!0,configurable:!0}),Object.defineProperty(e,"privateMemory",{get:function(){return console.log("privateMemory not implemented yet in flash/System"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"processCPUUsage",{get:function(){return console.log("processCPUUsage not implemented yet in flash/System"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"totalMemory",{get:function(){return console.log("totalMemory not implemented yet in flash/System"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"totalMemoryNumber",{get:function(){return console.log("totalMemoryNumber not implemented yet in flash/System"),0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"useCodePage",{get:function(){return console.log("useCodePage not implemented yet in flash/System"),!1},set:function(e){console.log("useCodePage not implemented yet in flash/System")},enumerable:!0,configurable:!0}),Object.defineProperty(e,"vmVersion",{get:function(){return console.log("vmVersion not implemented yet in flash/System"),""},enumerable:!0,configurable:!0}),e.disposeXML=function(e){console.log("disposeXML not implemented yet in flash/System")},e.exit=function(e){console.log("exit not implemented yet in flash/System")},e.gc=function(){console.log("gc not implemented yet in flash/System")},e.pause=function(){console.log("pause not implemented yet in flash/System")},e.pauseForGCIfCollectionImminent=function(e){void 0===e&&(e=.75),console.log("pauseForGCIfCollectionImminent not implemented yet in flash/System")},e.resume=function(){console.log("resume not implemented yet in flash/System")},e.setClipboard=function(e){console.log("setClipboard not implemented yet in flash/System")},e}(),ae=function(e){function t(){return e.call(this)||this}return s(t,e),Object.defineProperty(t.prototype,"styleNames",{get:function(){return console.log("styleNames not implemented yet in flash/Stylesheet"),[]},enumerable:!0,configurable:!0}),t.prototype.clear=function(){console.log("clear not implemented yet in flash/Stylesheet")},t.prototype.getStyle=function(e){return console.log("getStyle not implemented yet in flash/Stylesheet"),null},t.prototype.parseCSS=function(e){console.log("parseCSS not implemented yet in flash/Stylesheet")},t.prototype.setStyle=function(e,t){console.log("setStyle not implemented yet in flash/Stylesheet")},t.prototype.transform=function(e){return console.log("transform not implemented yet in flash/Stylesheet"),null},t}(d),pe=function(){function e(){}return Object.defineProperty(e,"cursor",{get:function(){return e._cursor},set:function(t){e._cursor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportsCursor",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportsNativeCursor",{get:function(){return!0},enumerable:!0,configurable:!0}),e.hide=function(){},e.show=function(){},e.registerCursor=function(e,t){},e.unregisterCursor=function(e){},e}(),se=function(){function e(){}return Object.defineProperty(e,"inputMode",{get:function(){return""},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(e,"mapTouchToMouse",{get:function(){return!1},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(e,"maxTouchPoints",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportedGestures",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportsGestureEvents",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportsTouchEvents",{get:function(){return!1},enumerable:!0,configurable:!0}),e}(),ce=function(){};ce.GESTURE="gesture",ce.NONE="none",ce.TOUCH_POINT="touchPoint";var ue=window.clearInterval,de=window.clearTimeout,fe=window.setInterval,me=window.setTimeout,ye=function(){function e(e,t,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0)}return e.UTC=function(e,t,n,o,r,i,l){return 0},e.prototype.getDate=function(){return 0},e.prototype.getDay=function(){return 0},e.prototype.getFullYear=function(){return 0},e.prototype.getHours=function(){return 0},e.prototype.getMilliseconds=function(){return 0},e.prototype.getMinutes=function(){return 0},e.prototype.getMonth=function(){return 0},e.prototype.getSeconds=function(){return 0},e.prototype.getTime=function(){return 0},e.prototype.getTimezoneOffset=function(){return 0},e.prototype.getUTCDate=function(){return 0},e.prototype.getUTCDay=function(){return 0},e.prototype.getUTCFullYear=function(){return 0},e.prototype.getUTCHours=function(){return 0},e.prototype.getUTCMilliseconds=function(){return 0},e.prototype.getUTCMinutes=function(){return 0},e.prototype.getUTCMonth=function(){return 0},e.prototype.getUTCSeconds=function(){return 0},e.prototype.getYear=function(){return 0},e.prototype.setDate=function(e){return 0},e.prototype.setFullYear=function(e,t,n){return 0},e.prototype.setHours=function(e){return 0},e.prototype.setMilliseconds=function(e){return 0},e.prototype.setMinutes=function(e){return 0},e.prototype.setMonth=function(e,t){return 0},e.prototype.setSeconds=function(e){return 0},e.prototype.setTime=function(e){return 0},e.prototype.setUTCDate=function(e){return 0},e.prototype.setUTCFullYear=function(e,t,n){return 0},e.prototype.setUTCHours=function(e,t,n,o){return 0},e.prototype.setUTCMilliseconds=function(e){return 0},e.prototype.setUTCMinutes=function(e,t,n){return 0},e.prototype.setUTCMonth=function(e,t){return 0},e.prototype.setUTCSeconds=function(e,t){return 0},e.prototype.setYear=function(e){return 0},e.prototype.toString=function(){return""},e.prototype.valueOf=function(){return 0},e.prototype.getLocaleLongDate=function(){return""},e.prototype.getLocaleShortDate=function(){return""},e.prototype.getLocaleTime=function(){return""},e}(),ge=Object,he=function(){};he.BIG_ENDIAN="bigEndian",he.LITTLE_ENDIAN="littleEndian";var be=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.getLevel=function(e){return void 0===e&&(e=2),console.log("getLevel is not implemented yet in flash/Trace"),0},t.getListener=function(){return console.log("getListener is not implemented yet in flash/Trace"),null},t.setLevel=function(e,t){void 0===t&&(t=2),console.log("setLevel is not implemented yet in flash/Trace")},t.setListener=function(e){console.log("setListener is not implemented yet in flash/Trace")},t}(Object),ve=function(){function e(e,t){}return e.prototype.axCallPublicProperty=function(e,t){return null},e.prototype.axGetPublicProperty=function(e){return null},e.prototype.axSetPublicProperty=function(e,t){return null},e.prototype.removeChild=function(e){},Object.defineProperty(e.prototype,"attributes",{get:function(){return console.log("attributes not implemented yet in flash/XMLNode"),null},set:function(e){console.log("attributes not implemented yet in flash/XMLNode")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return console.log("childNodes not implemented yet in flash/XMLNode"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localName",{get:function(){return console.log("localName not implemented yet in flash/XMLNode"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return console.log("namespaceURI not implemented yet in flash/XMLNode"),""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"prefix",{get:function(){return console.log("prefix not implemented yet in flash/XMLNode"),""},enumerable:!0,configurable:!0}),e.prototype.appendChild=function(e){console.log("appendChild not implemented yet in flash/XMLNode")},e.prototype.cloneNode=function(e){return console.log("cloneNode not implemented yet in flash/XMLNode"),null},e.prototype.getNamespaceForPrefix=function(e){return console.log("getNamespaceForPrefix not implemented yet in flash/XMLNode"),""},e.prototype.getPrefixForNamespace=function(e){return console.log("getPrefixForNamespace not implemented yet in flash/XMLNode"),""},e.prototype.hasChildNodes=function(){return console.log("hasChildNodes not implemented yet in flash/XMLNode"),!1},e.prototype.insertBefore=function(e,t){console.log("insertBefore not implemented yet in flash/XMLNode")},e.prototype.removeNode=function(){console.log("removeNode not implemented yet in flash/XMLNode")},e.prototype.toString=function(){return console.log("toString not implemented yet in flash/XMLNode"),""},e}(),_e=function(){};_e.CDATA_NODE=100,_e.COMMENT_NODE=101,_e.DOCUMENT_TYPE_NODE=102,_e.ELEMENT_NODE=1,_e.PROCESSING_INSTRUCTION_NODE=103,_e.TEXT_NODE=3,_e.XML_DECLARATION=104;var Oe=function(e){function t(t){return e.call(this,_e.XML_DECLARATION,"null")||this}return s(t,e),t.prototype.addRequestHeader=function(e,t){console.log("addRequestHeader not implemented yet in flash/XML")},t.prototype.createElement=function(e){return console.log("createElement not implemented yet in flash/XML"),null},t.prototype.createTextNode=function(e){return console.log("createTextNode not implemented yet in flash/XML"),null},t.prototype.getBytesLoaded=function(){return console.log("getBytesLoaded not implemented yet in flash/XML"),0},t.prototype.getBytesTotal=function(){return console.log("getBytesTotal not implemented yet in flash/XML"),0},t.prototype.getRequestHeaders=function(){return console.log("getRequestHeaders not implemented yet in flash/XML"),null},t.prototype.getRequestHeader=function(e){return console.log("getRequestHeader not implemented yet in flash/XML"),null},t.prototype.getResponseHeaders=function(){return console.log("getResponseHeaders not implemented yet in flash/XML"),null},t.prototype.getResponseHeader=function(e){return console.log("getResponseHeader not implemented yet in flash/XML"),null},t.prototype.getResponseBody=function(){return console.log("getResponseBody not implemented yet in flash/XML"),null},t.prototype.load=function(e){return console.log("load not implemented yet in flash/XML"),!1},t.prototype.parseXML=function(e){console.log("parseXML not implemented yet in flash/XML")},t.prototype.send=function(e,t,n){return console.log("send not implemented yet in flash/XML"),!1},t.prototype.sendAndLoad=function(e,t){console.log("sendAndLoad not implemented yet in flash/XML")},t.prototype.onLoad=function(e){console.log("onLoad not implemented yet in flash/XML")},t.prototype.onData=function(e){console.log("onData not implemented yet in flash/XML")},t}(ve),Pe=function(e){function t(t){return void 0===t&&(t=null),e.call(this,_e.DOCUMENT_TYPE_NODE,"null")||this}return s(t,e),t.prototype.axCallPublicProperty=function(e,t){return null},t.prototype.axGetPublicProperty=function(e){return null},t.prototype.axSetPublicProperty=function(e,t){return null},t.prototype.createElement=function(e){return console.log("createElement not implemented yet in flash/XMLDocument"),null},t.prototype.createTextNode=function(e){return console.log("createTextNode not implemented yet in flash/XMLDocument"),null},t.prototype.parseXML=function(e){console.log("parseXML not implemented yet in flash/XMLDocument")},t.prototype.toString=function(){return console.log("toString not implemented yet in flash/XMLDocument"),""},t}(ve),Se=function(){function e(e){void 0===e&&(e=null)}return e.prototype.addNamespace=function(e){return console.log("addNamespace not implemented yet in flash/XMLList"),null},e.prototype.appendChild=function(e){return console.log("appendChild not implemented yet in flash/XMLList"),null},e.prototype.attribute=function(e){return console.log("attribute not implemented yet in flash/XMLList"),null},e.prototype.attributes=function(){return console.log("attributes not implemented yet in flash/XMLList"),null},e.prototype.child=function(e){return console.log("child not implemented yet in flash/XMLList"),null},e.prototype.childIndex=function(){return console.log("childIndex not implemented yet in flash/XMLList"),0},e.prototype.children=function(){return console.log("children not implemented yet in flash/XMLList"),null},e.prototype.comments=function(){return console.log("comments not implemented yet in flash/XMLList"),null},e.prototype.contains=function(e){return console.log("contains not implemented yet in flash/XMLList"),!1},e.prototype.copy=function(){return console.log("copy not implemented yet in flash/XMLList"),null},e.prototype.descendants=function(e){return void 0===e&&(e="*"),console.log("descendants not implemented yet in flash/XMLList"),null},e.prototype.elements=function(e){return void 0===e&&(e="*"),console.log("elements not implemented yet in flash/XMLList"),null},e.prototype.hasComplexContent=function(){return console.log("hasComplexContent not implemented yet in flash/XMLList"),!1},e.prototype.hasOwnProperty=function(e){return void 0===e&&(e=null),console.log("hasOwnProperty not implemented yet in flash/XMLList"),!1},e.prototype.hasSimpleContent=function(){return console.log("hasSimpleContent not implemented yet in flash/XMLList"),!1},e.prototype.inScopeNamespaces=function(){return console.log("inScopeNamespaces not implemented yet in flash/XMLList"),[]},e.prototype.insertChildAfter=function(e,t){return console.log("insertChildAfter not implemented yet in flash/XMLList"),null},e.prototype.insertChildBefore=function(e,t){return console.log("insertChildBefore not implemented yet in flash/XMLList"),null},e.prototype.length=function(){return console.log("length not implemented yet in flash/XMLList"),0},e.prototype.localName=function(){return console.log("localName not implemented yet in flash/XMLList"),null},e.prototype.name=function(){return console.log("name not implemented yet in flash/XMLList"),null},e.prototype.namespace=function(e){return void 0===e&&(e=null),console.log("namespace not implemented yet in flash/XMLList"),null},e.prototype.namespaceDeclarations=function(){return console.log("namespaceDeclarations not implemented yet in flash/XMLList"),[]},e.prototype.nodeKind=function(){return console.log("nodeKind not implemented yet in flash/XMLList"),""},e.prototype.normalize=function(){return console.log("normalize not implemented yet in flash/XMLList"),null},e.prototype.parent=function(){return console.log("parent not implemented yet in flash/XMLList"),null},e.prototype.prependChild=function(e){return console.log("prependChild not implemented yet in flash/XMLList"),null},e.prototype.processingInstructions=function(e){return void 0===e&&(e="*"),console.log("processingInstructions not implemented yet in flash/XMLList"),null},e.prototype.propertyIsEnumerable=function(e){return void 0===e&&(e=null),console.log("propertyIsEnumerable not implemented yet in flash/XMLList"),!1},e.prototype.removeNamespace=function(e){return console.log("removeNamespace not implemented yet in flash/XMLList"),null},e.prototype.replace=function(e,t){return console.log("replace not implemented yet in flash/XMLList"),null},e.prototype.setChildren=function(e){return console.log("setChildren not implemented yet in flash/XMLList"),null},e.prototype.setLocalName=function(e){console.log("setLocalName not implemented yet in flash/XMLList")},e.prototype.setName=function(e){console.log("setName not implemented yet in flash/XMLList")},e.prototype.setNamespace=function(e){console.log("setNamespace not implemented yet in flash/XMLList")},e.prototype.text=function(){return console.log("text not implemented yet in flash/XMLList"),null},e.prototype.toJSON=function(e){return console.log("toJSON not implemented yet in flash/XMLList"),null},e.prototype.toString=function(){return console.log("toString not implemented yet in flash/XMLList"),""},e.prototype.toXMLString=function(){return console.log("toXMLString not implemented yet in flash/XMLList"),""},e.prototype.valueOf=function(){return console.log("valueOf not implemented yet in flash/XMLList"),null},e}(),Le=function(){};n.Loader.enableParser(n.WaveAudioParser),n.Loader.enableParser(i.Image2DParser),n.Loader.enableParser(i.ImageCubeParser),n.Loader.enableParser(i.TextureAtlasParser);var Ee=function(){};Ee.platform="AwayJS";var Te=function(){},Me=function(){},Ce=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t}(n.EventBase),je=function(e){function t(t,n,o){return void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),e.call(this)||this}return s(t,e),t}(E),De=function(){},xe=function(e){function t(t,n,o,r,i,l){return void 0===o&&(o=null),void 0===r&&(r=null),void 0===i&&(i="auto"),void 0===l&&(l="baselineConstrained"),e.call(this)||this}return s(t,e),Object.defineProperty(t,"all",{get:function(){return console.log("all not implemented yet in starling/Starling"),[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"antiAliasing",{get:function(){return console.log("antiAliasing not implemented yet in starling/Starling"),0},set:function(e){console.log("antiAliasing not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backBufferHeight",{get:function(){return console.log("backBufferHeight not implemented yet in starling/Starling"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backBufferPixelsPerPoint",{get:function(){return console.log("backBufferPixelsPerPoint not implemented yet in starling/Starling"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backBufferWidth",{get:function(){return console.log("backBufferWidth not implemented yet in starling/Starling"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentScaleFactor",{get:function(){return console.log("contentScaleFactor not implemented yet in starling/Starling"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t,"contentScaleFactor",{get:function(){return console.log("contentScaleFactor not implemented yet in starling/Starling"),0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return console.log("context not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t,"context",{get:function(){return console.log("context not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contextData",{get:function(){return console.log("contextData not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contextValid",{get:function(){return console.log("contextValid not implemented yet in starling/Starling"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return console.log("current not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enableErrorChecking",{get:function(){return console.log("enableErrorChecking not implemented yet in starling/Starling"),!1},set:function(e){console.log("enableErrorChecking not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t,"handleLostContext",{get:function(){return console.log("handleLostContext not implemented yet in starling/Starling"),!1},set:function(e){console.log("handleLostContext not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isStarted",{get:function(){return console.log("isStarted not implemented yet in starling/Starling"),!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"juggler",{get:function(){return console.log("juggler not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t,"juggler",{get:function(){return console.log("juggler not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t,"multitouchEnabled",{get:function(){return console.log("multitouchEnabled not implemented yet in starling/Starling"),!1},set:function(e){console.log("multitouchEnabled not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeOverlay",{get:function(){return console.log("nativeOverlay not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeStage",{get:function(){return console.log("nativeStage not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"profile",{get:function(){return console.log("profile not implemented yet in starling/Starling"),""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return console.log("root not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootClass",{get:function(){return console.log("rootClass not implemented yet in starling/Starling"),null},set:function(e){console.log("rootClass not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shareContext",{get:function(){return console.log("shareContext not implemented yet in starling/Starling"),!1},set:function(e){console.log("shareContext not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showStats",{get:function(){return console.log("showStats not implemented yet in starling/Starling"),!1},set:function(e){console.log("showStats not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"simulateMultitouch",{get:function(){return console.log("simulateMultitouch not implemented yet in starling/Starling"),!1},set:function(e){console.log("simulateMultitouch not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stage",{get:function(){return console.log("stage not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stage3D",{get:function(){return console.log("stage3D not implemented yet in starling/Starling"),null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"supportHighResolutions",{get:function(){return console.log("supportHighResolutions not implemented yet in starling/Starling"),!1},set:function(e){console.log("supportHighResolutions not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touchProcessor",{get:function(){return console.log("touchProcessor not implemented yet in starling/Starling"),null},set:function(e){console.log("touchProcessor not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewPort",{get:function(){return console.log("viewPort not implemented yet in starling/Starling"),null},set:function(e){console.log("viewPort not implemented yet in starling/Starling")},enumerable:!0,configurable:!0}),t.prototype.advanceTime=function(e){console.log("advanceTime not implemented yet in starling/Starling")},t.prototype.deleteProgram=function(e){console.log("deleteProgram not implemented yet in starling/Starling")},t.prototype.dispose=function(){console.log("dispose not implemented yet in starling/Starling")},t.prototype.getProgram=function(e){return console.log("getProgram not implemented yet in starling/Starling"),null},t.prototype.hasProgram=function(e){return console.log("hasProgram not implemented yet in starling/Starling"),!1},t.prototype.makeCurrent=function(){console.log("makeCurrent not implemented yet in starling/Starling")},t.prototype.nextFrame=function(){console.log("nextFrame not implemented yet in starling/Starling")},t.prototype.registerProgram=function(e,t,n){return console.log("registerProgram not implemented yet in starling/Starling"),null},t.prototype.registerProgramFromSource=function(e,t,n){return console.log("registerProgramFromSource not implemented yet in starling/Starling"),null},t.prototype.render=function(){console.log("render not implemented yet in starling/Starling")},t.prototype.showStatsAt=function(e,t,n){void 0===e&&(e="left"),void 0===t&&(t="top"),void 0===n&&(n=1),console.log("showStatsAt not implemented yet in starling/Starling")},t.prototype.start=function(){console.log("start not implemented yet in starling/Starling")},t.prototype.stop=function(e){void 0===e&&(e=!1),console.log("stop not implemented yet in starling/Starling")},t.prototype.stopWithFatalError=function(e){console.log("stopWithFatalError not implemented yet in starling/Starling")},t}(d);xe.VERSION="1.7",e.Clipboard=a,e.ClipboardFormats=c,e.Bitmap=m,e.BitmapData=y,e.BitmapDataChannel=i.BitmapImageChannel,e.BlendMode=i.BlendMode,e.CapsStyle=l.CapsStyle,e.DisplayObject=f,e.DisplayObjectContainer=v,e.GradientType=l.GradientType,e.Graphics=l.Graphics,e.GraphicsPath=l.GraphicsPath,e.GraphicsPathCommand=l.GraphicsPathCommand,e.GraphicsPathWinding=l.GraphicsPathWinding,e.InteractiveObject=b,e.InterpolationMethod=l.InterpolationMethod,e.JointStyle=l.JointStyle,e.LineScaleMode=l.LineScaleMode,e.Loader=j,e.LoaderInfo=L,e.MovieClip=T,e.PixelSnapping=l.PixelSnapping,e.Shape=E,e.SimpleButton=D,e.SpreadMethod=l.SpreadMethod,e.Sprite=E,e.Stage=I,e.StageAlign=x,e.StageScaleMode=w,e.TriangleCulling=l.TriangleCulling,e.Context3D=i.ContextWebGL,e.Context3DClearMask=i.ContextGLClearMask,e.Context3DProgramType=i.ContextGLProgramType,e.Texture=F,e.ErrorEvent=O,e.Event=u,e.EventDispatcher=d,e.FocusEvent=R,e.IOErrorEvent=P,e.KeyboardEvent=h,e.MouseEvent=g,e.ProgressEvent=S,e.SampleDataEvent=N,e.TextEvent=_,e.TimerEvent=n.TimerEvent,e.TouchEvent=A,e.ExternalInterface=k,e.FlashSceneGraphFactory=C,e.BitmapFilter=B,e.DropShadowFilter=U,e.GlowFilter=X,e.GradientBevelFilter=G,e.NumberFormatter=K,e.StringTools=H,e.ColorTransform=n.ColorTransform,e.Matrix=n.Matrix,e.Matrix3D=n.Matrix3D,e.Orientation3D=n.Orientation3D,e.PerspectiveProjection=n.PerspectiveProjection,e.Point=n.Point,e.Rectangle=n.Rectangle,e.Transform=n.Transform,e.Utils3D=n.Matrix3D,e.Vector3D=n.Vector3D,e.ID3Info=V,e.Sound=Y,e.SoundChannel=W,e.SoundLoaderContext=z,e.SoundTransform=q,e.navigateToURL=function(e,t){window.open(e.url,"_blank")},e.FileReference=Z,e.URLLoader=J,e.URLLoaderDataFormat=n.URLLoaderDataFormat,e.URLRequest=n.URLRequest,e.URLRequestMethod=n.URLRequestMethod,e.URLVariables=n.URLVariables,e.SharedObject=Q,e.NewObjectSample=ee,e.Sample=$,e.ApplicationDomain=te,e.Capabilities=ne,e.IME=oe,e.LoaderContext=re,e.SecurityDomain=ie,e.System=le,e.AntiAliasType=t.AntiAliasType,e.Font=t.Font,e.GridFitType=t.GridFitType,e.StyleSheet=ae,e.TextField=M,e.TextFieldAutoSize=t.TextFieldAutoSize,e.TextFieldType=t.TextFieldType,e.TextFormat=t.TextFormat,e.TextFormatAlign=t.TextFormatAlign,e.TextInteractionMode=t.TextInteractionMode,e.TextLineMetrics=t.TextLineMetrics,e.Keyboard=n.Keyboard,e.Mouse=pe,e.Multitouch=se,e.MultitouchInputMode=ce,e.clearInterval=ue,e.clearTimeout=de,e.describeType=function(e){console.log("describeType is not implemented yet in flash/utils")},e.escapeMultiByte=function(e){return console.log("escapeMultiByte is not implemented yet in flash/utils"),""},e.getAliasName=function(e){return console.log("getAliasName is not implemented yet in flash/utils"),""},e.getDefinitionByName=function(e){throw"getDefinitionByName is not implemented yet in flash/utils"},e.getQualifiedClassName=function(e){return e.name?e.name:e.constructor.name},e.getQualifiedSuperclassName=function(e){return console.log("getQualifiedSuperclassName is not implemented yet in flash/utils"),""},e.getTimer=n.getTimer,e.setInterval=fe,e.setTimeout=me,e.unescapeMultiByte=function(e){return console.log("unescapeMultiByte is not implemented yet in flash/utils"),""},e.AwayDate=ye,e.ByteArray=n.ByteArray,e.Dictionary=ge,e.Endian=he,e.Timer=n.Timer,e.Trace=be,e.XML=Oe,e.XMLDocumentAway=Pe,e.XMLList=Se,e.XMLNode=ve,e.XMLNodeType=_e,e.AssetLibrary=n.AssetLibrary,e.SystemUtil=Ee,e.RenderTexture=Te,e.Touch=Me,e.ResizeEvent=Ce,e.Quad=je,e.Image=De,e.Starling=xe,e.RegisterCode=Le,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=/sm/66ddff804a32af79613facbea97c62a393f7459d75afff08cd273b55b172771e.map