@afterswf/playerglobal 0.0.0-stage → 0.2.460

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1076) hide show
  1. package/.eslintrc +101 -0
  2. package/.gitattributes +1 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
  4. package/.prettierrc +8 -0
  5. package/LICENSE +201 -0
  6. package/README.md +1 -3
  7. package/bundle/awayfl-playerglobal.umd.js +2 -0
  8. package/bundle/awayfl-playerglobal.umd.js.map +1 -0
  9. package/copyVersionToIndex.js +24 -0
  10. package/dist/index.d.ts +15 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +15 -0
  13. package/dist/lib/ILoader.d.ts +10 -0
  14. package/dist/lib/ILoader.d.ts.map +1 -0
  15. package/dist/lib/ILoader.js +1 -0
  16. package/dist/lib/PlayerGlobal.d.ts +28 -0
  17. package/dist/lib/PlayerGlobal.d.ts.map +1 -0
  18. package/dist/lib/PlayerGlobal.js +223 -0
  19. package/dist/lib/SecurityDomain.d.ts +195 -0
  20. package/dist/lib/SecurityDomain.d.ts.map +1 -0
  21. package/dist/lib/SecurityDomain.js +205 -0
  22. package/dist/lib/Settings.d.ts +5 -0
  23. package/dist/lib/Settings.d.ts.map +1 -0
  24. package/dist/lib/Settings.js +7 -0
  25. package/dist/lib/desktop/Clipboard.d.ts +251 -0
  26. package/dist/lib/desktop/Clipboard.d.ts.map +1 -0
  27. package/dist/lib/desktop/Clipboard.js +289 -0
  28. package/dist/lib/desktop/ClipboardFormats.d.ts +43 -0
  29. package/dist/lib/desktop/ClipboardFormats.d.ts.map +1 -0
  30. package/dist/lib/desktop/ClipboardFormats.js +45 -0
  31. package/dist/lib/display/Bitmap.d.ts +91 -0
  32. package/dist/lib/display/Bitmap.d.ts.map +1 -0
  33. package/dist/lib/display/Bitmap.js +168 -0
  34. package/dist/lib/display/BitmapData.d.ts +63 -0
  35. package/dist/lib/display/BitmapData.d.ts.map +1 -0
  36. package/dist/lib/display/BitmapData.js +315 -0
  37. package/dist/lib/display/BitmapDataChannel.d.ts +12 -0
  38. package/dist/lib/display/BitmapDataChannel.d.ts.map +1 -0
  39. package/dist/lib/display/BitmapDataChannel.js +21 -0
  40. package/dist/lib/display/DisplayObject.d.ts +986 -0
  41. package/dist/lib/display/DisplayObject.d.ts.map +1 -0
  42. package/dist/lib/display/DisplayObject.js +1553 -0
  43. package/dist/lib/display/DisplayObjectContainer.d.ts +327 -0
  44. package/dist/lib/display/DisplayObjectContainer.d.ts.map +1 -0
  45. package/dist/lib/display/DisplayObjectContainer.js +599 -0
  46. package/dist/lib/display/FrameLabel.d.ts +11 -0
  47. package/dist/lib/display/FrameLabel.d.ts.map +1 -0
  48. package/dist/lib/display/FrameLabel.js +34 -0
  49. package/dist/lib/display/Graphics.d.ts +94 -0
  50. package/dist/lib/display/Graphics.d.ts.map +1 -0
  51. package/dist/lib/display/Graphics.js +473 -0
  52. package/dist/lib/display/GraphicsBitmapFill.d.ts +13 -0
  53. package/dist/lib/display/GraphicsBitmapFill.d.ts.map +1 -0
  54. package/dist/lib/display/GraphicsBitmapFill.js +36 -0
  55. package/dist/lib/display/GraphicsEndFill.d.ts +7 -0
  56. package/dist/lib/display/GraphicsEndFill.d.ts.map +1 -0
  57. package/dist/lib/display/GraphicsEndFill.js +11 -0
  58. package/dist/lib/display/GraphicsGradientFill.d.ts +16 -0
  59. package/dist/lib/display/GraphicsGradientFill.d.ts.map +1 -0
  60. package/dist/lib/display/GraphicsGradientFill.js +28 -0
  61. package/dist/lib/display/GraphicsPath.d.ts +22 -0
  62. package/dist/lib/display/GraphicsPath.d.ts.map +1 -0
  63. package/dist/lib/display/GraphicsPath.js +63 -0
  64. package/dist/lib/display/GraphicsSolidFill.d.ts +9 -0
  65. package/dist/lib/display/GraphicsSolidFill.d.ts.map +1 -0
  66. package/dist/lib/display/GraphicsSolidFill.js +16 -0
  67. package/dist/lib/display/GraphicsStroke.d.ts +14 -0
  68. package/dist/lib/display/GraphicsStroke.d.ts.map +1 -0
  69. package/dist/lib/display/GraphicsStroke.js +26 -0
  70. package/dist/lib/display/GraphicsTrianglePath.d.ts +11 -0
  71. package/dist/lib/display/GraphicsTrianglePath.d.ts.map +1 -0
  72. package/dist/lib/display/GraphicsTrianglePath.js +20 -0
  73. package/dist/lib/display/IBitmapDataOwner.d.ts +6 -0
  74. package/dist/lib/display/IBitmapDataOwner.d.ts.map +1 -0
  75. package/dist/lib/display/IBitmapDataOwner.js +1 -0
  76. package/dist/lib/display/IBitmapDrawable.d.ts +10 -0
  77. package/dist/lib/display/IBitmapDrawable.d.ts.map +1 -0
  78. package/dist/lib/display/IBitmapDrawable.js +1 -0
  79. package/dist/lib/display/IGraphicsData.d.ts +13 -0
  80. package/dist/lib/display/IGraphicsData.d.ts.map +1 -0
  81. package/dist/lib/display/IGraphicsData.js +1 -0
  82. package/dist/lib/display/IVirtualSceneGraphItem.d.ts +9 -0
  83. package/dist/lib/display/IVirtualSceneGraphItem.d.ts.map +1 -0
  84. package/dist/lib/display/IVirtualSceneGraphItem.js +1 -0
  85. package/dist/lib/display/InteractiveObject.d.ts +502 -0
  86. package/dist/lib/display/InteractiveObject.d.ts.map +1 -0
  87. package/dist/lib/display/InteractiveObject.js +927 -0
  88. package/dist/lib/display/Loader.d.ts +492 -0
  89. package/dist/lib/display/Loader.d.ts.map +1 -0
  90. package/dist/lib/display/Loader.js +704 -0
  91. package/dist/lib/display/LoaderInfo.d.ts +480 -0
  92. package/dist/lib/display/LoaderInfo.d.ts.map +1 -0
  93. package/dist/lib/display/LoaderInfo.js +765 -0
  94. package/dist/lib/display/MovieClip.d.ts +201 -0
  95. package/dist/lib/display/MovieClip.d.ts.map +1 -0
  96. package/dist/lib/display/MovieClip.js +540 -0
  97. package/dist/lib/display/NativeMenu.d.ts +8 -0
  98. package/dist/lib/display/NativeMenu.d.ts.map +1 -0
  99. package/dist/lib/display/NativeMenu.js +13 -0
  100. package/dist/lib/display/NativeMenuItem.d.ts +11 -0
  101. package/dist/lib/display/NativeMenuItem.d.ts.map +1 -0
  102. package/dist/lib/display/NativeMenuItem.js +35 -0
  103. package/dist/lib/display/Scene.d.ts +23 -0
  104. package/dist/lib/display/Scene.d.ts.map +1 -0
  105. package/dist/lib/display/Scene.js +70 -0
  106. package/dist/lib/display/Shape.d.ts +38 -0
  107. package/dist/lib/display/Shape.d.ts.map +1 -0
  108. package/dist/lib/display/Shape.js +80 -0
  109. package/dist/lib/display/SimpleButton.d.ts +175 -0
  110. package/dist/lib/display/SimpleButton.d.ts.map +1 -0
  111. package/dist/lib/display/SimpleButton.js +522 -0
  112. package/dist/lib/display/Sprite.d.ts +204 -0
  113. package/dist/lib/display/Sprite.d.ts.map +1 -0
  114. package/dist/lib/display/Sprite.js +671 -0
  115. package/dist/lib/display/Stage.d.ts +723 -0
  116. package/dist/lib/display/Stage.d.ts.map +1 -0
  117. package/dist/lib/display/Stage.js +1298 -0
  118. package/dist/lib/errors/EOFError.d.ts +8 -0
  119. package/dist/lib/errors/EOFError.d.ts.map +1 -0
  120. package/dist/lib/errors/EOFError.js +18 -0
  121. package/dist/lib/errors/IOError.d.ts +8 -0
  122. package/dist/lib/errors/IOError.d.ts.map +1 -0
  123. package/dist/lib/errors/IOError.js +18 -0
  124. package/dist/lib/errors/IllegalOperationError.d.ts +8 -0
  125. package/dist/lib/errors/IllegalOperationError.d.ts.map +1 -0
  126. package/dist/lib/errors/IllegalOperationError.js +18 -0
  127. package/dist/lib/errors/InvalidSWFError.d.ts +8 -0
  128. package/dist/lib/errors/InvalidSWFError.d.ts.map +1 -0
  129. package/dist/lib/errors/InvalidSWFError.js +18 -0
  130. package/dist/lib/errors/MemoryError.d.ts +8 -0
  131. package/dist/lib/errors/MemoryError.d.ts.map +1 -0
  132. package/dist/lib/errors/MemoryError.js +18 -0
  133. package/dist/lib/errors/ScriptTimeoutError.d.ts +8 -0
  134. package/dist/lib/errors/ScriptTimeoutError.d.ts.map +1 -0
  135. package/dist/lib/errors/ScriptTimeoutError.js +18 -0
  136. package/dist/lib/errors/StackOverflowError.d.ts +8 -0
  137. package/dist/lib/errors/StackOverflowError.d.ts.map +1 -0
  138. package/dist/lib/errors/StackOverflowError.js +18 -0
  139. package/dist/lib/events/AccelerometerEvent.d.ts +13 -0
  140. package/dist/lib/events/AccelerometerEvent.d.ts.map +1 -0
  141. package/dist/lib/events/AccelerometerEvent.js +26 -0
  142. package/dist/lib/events/ActivityEvent.d.ts +10 -0
  143. package/dist/lib/events/ActivityEvent.d.ts.map +1 -0
  144. package/dist/lib/events/ActivityEvent.js +20 -0
  145. package/dist/lib/events/AsyncErrorEvent.d.ts +13 -0
  146. package/dist/lib/events/AsyncErrorEvent.d.ts.map +1 -0
  147. package/dist/lib/events/AsyncErrorEvent.js +31 -0
  148. package/dist/lib/events/ContextMenuEvent.d.ts +13 -0
  149. package/dist/lib/events/ContextMenuEvent.d.ts.map +1 -0
  150. package/dist/lib/events/ContextMenuEvent.js +24 -0
  151. package/dist/lib/events/DataEvent.d.ts +10 -0
  152. package/dist/lib/events/DataEvent.d.ts.map +1 -0
  153. package/dist/lib/events/DataEvent.js +19 -0
  154. package/dist/lib/events/ErrorEvent.d.ts +30 -0
  155. package/dist/lib/events/ErrorEvent.d.ts.map +1 -0
  156. package/dist/lib/events/ErrorEvent.js +53 -0
  157. package/dist/lib/events/Event.d.ts +87 -0
  158. package/dist/lib/events/Event.d.ts.map +1 -0
  159. package/dist/lib/events/Event.js +213 -0
  160. package/dist/lib/events/EventDispatcher.d.ts +57 -0
  161. package/dist/lib/events/EventDispatcher.d.ts.map +1 -0
  162. package/dist/lib/events/EventDispatcher.js +233 -0
  163. package/dist/lib/events/EventDispatcherBase.d.ts +61 -0
  164. package/dist/lib/events/EventDispatcherBase.d.ts.map +1 -0
  165. package/dist/lib/events/EventDispatcherBase.js +258 -0
  166. package/dist/lib/events/EventPhase.d.ts +26 -0
  167. package/dist/lib/events/EventPhase.d.ts.map +1 -0
  168. package/dist/lib/events/EventPhase.js +33 -0
  169. package/dist/lib/events/FocusEvent.d.ts +50 -0
  170. package/dist/lib/events/FocusEvent.d.ts.map +1 -0
  171. package/dist/lib/events/FocusEvent.js +102 -0
  172. package/dist/lib/events/FullScreenEvent.d.ts +12 -0
  173. package/dist/lib/events/FullScreenEvent.d.ts.map +1 -0
  174. package/dist/lib/events/FullScreenEvent.js +23 -0
  175. package/dist/lib/events/GameInputEvent.d.ts +27 -0
  176. package/dist/lib/events/GameInputEvent.d.ts.map +1 -0
  177. package/dist/lib/events/GameInputEvent.js +38 -0
  178. package/dist/lib/events/GeolocationEvent.d.ts +9 -0
  179. package/dist/lib/events/GeolocationEvent.d.ts.map +1 -0
  180. package/dist/lib/events/GeolocationEvent.js +25 -0
  181. package/dist/lib/events/GestureEvent.d.ts +33 -0
  182. package/dist/lib/events/GestureEvent.d.ts.map +1 -0
  183. package/dist/lib/events/GestureEvent.js +121 -0
  184. package/dist/lib/events/GesturePhase.d.ts +12 -0
  185. package/dist/lib/events/GesturePhase.d.ts.map +1 -0
  186. package/dist/lib/events/GesturePhase.js +18 -0
  187. package/dist/lib/events/HTTPStatusEvent.d.ts +40 -0
  188. package/dist/lib/events/HTTPStatusEvent.d.ts.map +1 -0
  189. package/dist/lib/events/HTTPStatusEvent.js +88 -0
  190. package/dist/lib/events/IEventMapper.d.ts +7 -0
  191. package/dist/lib/events/IEventMapper.d.ts.map +1 -0
  192. package/dist/lib/events/IEventMapper.js +1 -0
  193. package/dist/lib/events/IMEEvent.d.ts +11 -0
  194. package/dist/lib/events/IMEEvent.d.ts.map +1 -0
  195. package/dist/lib/events/IMEEvent.js +23 -0
  196. package/dist/lib/events/IOErrorEvent.d.ts +30 -0
  197. package/dist/lib/events/IOErrorEvent.d.ts.map +1 -0
  198. package/dist/lib/events/IOErrorEvent.js +46 -0
  199. package/dist/lib/events/KeyboardEvent.d.ts +46 -0
  200. package/dist/lib/events/KeyboardEvent.d.ts.map +1 -0
  201. package/dist/lib/events/KeyboardEvent.js +115 -0
  202. package/dist/lib/events/MouseEvent.d.ts +88 -0
  203. package/dist/lib/events/MouseEvent.d.ts.map +1 -0
  204. package/dist/lib/events/MouseEvent.js +267 -0
  205. package/dist/lib/events/NetDataEvent.d.ts +12 -0
  206. package/dist/lib/events/NetDataEvent.d.ts.map +1 -0
  207. package/dist/lib/events/NetDataEvent.js +22 -0
  208. package/dist/lib/events/NetStatusEvent.d.ts +29 -0
  209. package/dist/lib/events/NetStatusEvent.d.ts.map +1 -0
  210. package/dist/lib/events/NetStatusEvent.js +52 -0
  211. package/dist/lib/events/OutputProgressEvent.d.ts +11 -0
  212. package/dist/lib/events/OutputProgressEvent.d.ts.map +1 -0
  213. package/dist/lib/events/OutputProgressEvent.js +22 -0
  214. package/dist/lib/events/PressAndTapGestureEvent.d.ts +11 -0
  215. package/dist/lib/events/PressAndTapGestureEvent.d.ts.map +1 -0
  216. package/dist/lib/events/PressAndTapGestureEvent.js +28 -0
  217. package/dist/lib/events/ProgressEvent.d.ts +33 -0
  218. package/dist/lib/events/ProgressEvent.d.ts.map +1 -0
  219. package/dist/lib/events/ProgressEvent.js +65 -0
  220. package/dist/lib/events/SampleDataEvent.d.ts +108 -0
  221. package/dist/lib/events/SampleDataEvent.d.ts.map +1 -0
  222. package/dist/lib/events/SampleDataEvent.js +140 -0
  223. package/dist/lib/events/ShaderEvent.d.ts +11 -0
  224. package/dist/lib/events/ShaderEvent.d.ts.map +1 -0
  225. package/dist/lib/events/ShaderEvent.js +20 -0
  226. package/dist/lib/events/SoftKeyboardEvent.d.ts +12 -0
  227. package/dist/lib/events/SoftKeyboardEvent.d.ts.map +1 -0
  228. package/dist/lib/events/SoftKeyboardEvent.js +17 -0
  229. package/dist/lib/events/SoftKeyboardTrigger.d.ts +10 -0
  230. package/dist/lib/events/SoftKeyboardTrigger.d.ts.map +1 -0
  231. package/dist/lib/events/SoftKeyboardTrigger.js +16 -0
  232. package/dist/lib/events/StageVideoAvailabilityEvent.d.ts +10 -0
  233. package/dist/lib/events/StageVideoAvailabilityEvent.d.ts.map +1 -0
  234. package/dist/lib/events/StageVideoAvailabilityEvent.js +21 -0
  235. package/dist/lib/events/StageVideoEvent.d.ts +14 -0
  236. package/dist/lib/events/StageVideoEvent.d.ts.map +1 -0
  237. package/dist/lib/events/StageVideoEvent.js +26 -0
  238. package/dist/lib/events/StaticEvents.d.ts +4 -0
  239. package/dist/lib/events/StaticEvents.d.ts.map +1 -0
  240. package/dist/lib/events/StaticEvents.js +7 -0
  241. package/dist/lib/events/StatusEvent.d.ts +15 -0
  242. package/dist/lib/events/StatusEvent.d.ts.map +1 -0
  243. package/dist/lib/events/StatusEvent.js +46 -0
  244. package/dist/lib/events/SyncEvent.d.ts +10 -0
  245. package/dist/lib/events/SyncEvent.d.ts.map +1 -0
  246. package/dist/lib/events/SyncEvent.js +21 -0
  247. package/dist/lib/events/TextEvent.d.ts +31 -0
  248. package/dist/lib/events/TextEvent.d.ts.map +1 -0
  249. package/dist/lib/events/TextEvent.js +55 -0
  250. package/dist/lib/events/ThrottleEvent.d.ts +11 -0
  251. package/dist/lib/events/ThrottleEvent.d.ts.map +1 -0
  252. package/dist/lib/events/ThrottleEvent.js +23 -0
  253. package/dist/lib/events/ThrottleType.d.ts +11 -0
  254. package/dist/lib/events/ThrottleType.d.ts.map +1 -0
  255. package/dist/lib/events/ThrottleType.js +17 -0
  256. package/dist/lib/events/TimerEvent.d.ts +13 -0
  257. package/dist/lib/events/TimerEvent.d.ts.map +1 -0
  258. package/dist/lib/events/TimerEvent.js +26 -0
  259. package/dist/lib/events/TouchEvent.d.ts +430 -0
  260. package/dist/lib/events/TouchEvent.d.ts.map +1 -0
  261. package/dist/lib/events/TouchEvent.js +550 -0
  262. package/dist/lib/events/TransformGestureEvent.d.ts +12 -0
  263. package/dist/lib/events/TransformGestureEvent.d.ts.map +1 -0
  264. package/dist/lib/events/TransformGestureEvent.js +31 -0
  265. package/dist/lib/events/UncaughtErrorEvent.d.ts +9 -0
  266. package/dist/lib/events/UncaughtErrorEvent.d.ts.map +1 -0
  267. package/dist/lib/events/UncaughtErrorEvent.js +19 -0
  268. package/dist/lib/events/UncaughtErrorEvents.d.ts +23 -0
  269. package/dist/lib/events/UncaughtErrorEvents.d.ts.map +1 -0
  270. package/dist/lib/events/UncaughtErrorEvents.js +29 -0
  271. package/dist/lib/events/VideoEvent.d.ts +13 -0
  272. package/dist/lib/events/VideoEvent.d.ts.map +1 -0
  273. package/dist/lib/events/VideoEvent.js +24 -0
  274. package/dist/lib/external/ExternalInterface.d.ts +27 -0
  275. package/dist/lib/external/ExternalInterface.d.ts.map +1 -0
  276. package/dist/lib/external/ExternalInterface.js +298 -0
  277. package/dist/lib/factories/FlashSceneGraphFactory.d.ts +33 -0
  278. package/dist/lib/factories/FlashSceneGraphFactory.d.ts.map +1 -0
  279. package/dist/lib/factories/FlashSceneGraphFactory.js +175 -0
  280. package/dist/lib/filters/BevelFilter.d.ts +66 -0
  281. package/dist/lib/filters/BevelFilter.d.ts.map +1 -0
  282. package/dist/lib/filters/BevelFilter.js +207 -0
  283. package/dist/lib/filters/BitmapFilter.d.ts +27 -0
  284. package/dist/lib/filters/BitmapFilter.d.ts.map +1 -0
  285. package/dist/lib/filters/BitmapFilter.js +116 -0
  286. package/dist/lib/filters/BitmapFilterType.d.ts +26 -0
  287. package/dist/lib/filters/BitmapFilterType.d.ts.map +1 -0
  288. package/dist/lib/filters/BitmapFilterType.js +36 -0
  289. package/dist/lib/filters/BlurFilter.d.ts +23 -0
  290. package/dist/lib/filters/BlurFilter.d.ts.map +1 -0
  291. package/dist/lib/filters/BlurFilter.js +64 -0
  292. package/dist/lib/filters/ColorMatrixFilter.d.ts +39 -0
  293. package/dist/lib/filters/ColorMatrixFilter.d.ts.map +1 -0
  294. package/dist/lib/filters/ColorMatrixFilter.js +69 -0
  295. package/dist/lib/filters/ConvolutionFilter.d.ts +54 -0
  296. package/dist/lib/filters/ConvolutionFilter.d.ts.map +1 -0
  297. package/dist/lib/filters/ConvolutionFilter.js +180 -0
  298. package/dist/lib/filters/DisplacementMapFilter.d.ts +57 -0
  299. package/dist/lib/filters/DisplacementMapFilter.d.ts.map +1 -0
  300. package/dist/lib/filters/DisplacementMapFilter.js +159 -0
  301. package/dist/lib/filters/DropShadowFilter.d.ts +63 -0
  302. package/dist/lib/filters/DropShadowFilter.d.ts.map +1 -0
  303. package/dist/lib/filters/DropShadowFilter.js +185 -0
  304. package/dist/lib/filters/FilterBuilder.d.ts +6 -0
  305. package/dist/lib/filters/FilterBuilder.d.ts.map +1 -0
  306. package/dist/lib/filters/FilterBuilder.js +33 -0
  307. package/dist/lib/filters/GlowFilter.d.ts +53 -0
  308. package/dist/lib/filters/GlowFilter.d.ts.map +1 -0
  309. package/dist/lib/filters/GlowFilter.js +145 -0
  310. package/dist/lib/filters/GradientBevelFilter.d.ts +68 -0
  311. package/dist/lib/filters/GradientBevelFilter.d.ts.map +1 -0
  312. package/dist/lib/filters/GradientBevelFilter.js +228 -0
  313. package/dist/lib/filters/GradientGlowFilter.d.ts +59 -0
  314. package/dist/lib/filters/GradientGlowFilter.d.ts.map +1 -0
  315. package/dist/lib/filters/GradientGlowFilter.js +223 -0
  316. package/dist/lib/geom/ColorTransform.d.ts +91 -0
  317. package/dist/lib/geom/ColorTransform.d.ts.map +1 -0
  318. package/dist/lib/geom/ColorTransform.js +259 -0
  319. package/dist/lib/geom/Matrix.d.ts +288 -0
  320. package/dist/lib/geom/Matrix.d.ts.map +1 -0
  321. package/dist/lib/geom/Matrix.js +414 -0
  322. package/dist/lib/geom/Matrix3D.d.ts +45 -0
  323. package/dist/lib/geom/Matrix3D.d.ts.map +1 -0
  324. package/dist/lib/geom/Matrix3D.js +213 -0
  325. package/dist/lib/geom/PerspectiveProjection.d.ts +2 -0
  326. package/dist/lib/geom/PerspectiveProjection.d.ts.map +1 -0
  327. package/dist/lib/geom/PerspectiveProjection.js +1 -0
  328. package/dist/lib/geom/Point.d.ts +123 -0
  329. package/dist/lib/geom/Point.d.ts.map +1 -0
  330. package/dist/lib/geom/Point.js +196 -0
  331. package/dist/lib/geom/Rectangle.d.ts +310 -0
  332. package/dist/lib/geom/Rectangle.d.ts.map +1 -0
  333. package/dist/lib/geom/Rectangle.js +478 -0
  334. package/dist/lib/geom/Transform.d.ts +42 -0
  335. package/dist/lib/geom/Transform.d.ts.map +1 -0
  336. package/dist/lib/geom/Transform.js +112 -0
  337. package/dist/lib/geom/Vector3D.d.ts +324 -0
  338. package/dist/lib/geom/Vector3D.d.ts.map +1 -0
  339. package/dist/lib/geom/Vector3D.js +434 -0
  340. package/dist/lib/globalization/LocaleID.d.ts +38 -0
  341. package/dist/lib/globalization/LocaleID.d.ts.map +1 -0
  342. package/dist/lib/globalization/LocaleID.js +92 -0
  343. package/dist/lib/globalization/NumberFormatter.d.ts +391 -0
  344. package/dist/lib/globalization/NumberFormatter.d.ts.map +1 -0
  345. package/dist/lib/globalization/NumberFormatter.js +555 -0
  346. package/dist/lib/link.d.ts +2 -0
  347. package/dist/lib/link.d.ts.map +1 -0
  348. package/dist/lib/link.js +619 -0
  349. package/dist/lib/media/ID3Info.d.ts +60 -0
  350. package/dist/lib/media/ID3Info.d.ts.map +1 -0
  351. package/dist/lib/media/ID3Info.js +13 -0
  352. package/dist/lib/media/Sound.d.ts +353 -0
  353. package/dist/lib/media/Sound.d.ts.map +1 -0
  354. package/dist/lib/media/Sound.js +496 -0
  355. package/dist/lib/media/SoundChannel.d.ts +65 -0
  356. package/dist/lib/media/SoundChannel.d.ts.map +1 -0
  357. package/dist/lib/media/SoundChannel.js +152 -0
  358. package/dist/lib/media/SoundLoaderContext.d.ts +99 -0
  359. package/dist/lib/media/SoundLoaderContext.d.ts.map +1 -0
  360. package/dist/lib/media/SoundLoaderContext.js +21 -0
  361. package/dist/lib/media/SoundMixer.d.ts +49 -0
  362. package/dist/lib/media/SoundMixer.d.ts.map +1 -0
  363. package/dist/lib/media/SoundMixer.js +126 -0
  364. package/dist/lib/media/SoundTransform.d.ts +64 -0
  365. package/dist/lib/media/SoundTransform.d.ts.map +1 -0
  366. package/dist/lib/media/SoundTransform.js +146 -0
  367. package/dist/lib/net/FileFilter.d.ts +13 -0
  368. package/dist/lib/net/FileFilter.d.ts.map +1 -0
  369. package/dist/lib/net/FileFilter.js +40 -0
  370. package/dist/lib/net/FileReference.d.ts +49 -0
  371. package/dist/lib/net/FileReference.d.ts.map +1 -0
  372. package/dist/lib/net/FileReference.js +271 -0
  373. package/dist/lib/net/LocalConnection.d.ts +26 -0
  374. package/dist/lib/net/LocalConnection.d.ts.map +1 -0
  375. package/dist/lib/net/LocalConnection.js +251 -0
  376. package/dist/lib/net/NetConnection.d.ts +80 -0
  377. package/dist/lib/net/NetConnection.d.ts.map +1 -0
  378. package/dist/lib/net/NetConnection.js +447 -0
  379. package/dist/lib/net/Responder.d.ts +30 -0
  380. package/dist/lib/net/Responder.d.ts.map +1 -0
  381. package/dist/lib/net/Responder.js +49 -0
  382. package/dist/lib/net/SharedObject.d.ts +66 -0
  383. package/dist/lib/net/SharedObject.d.ts.map +1 -0
  384. package/dist/lib/net/SharedObject.js +323 -0
  385. package/dist/lib/net/Socket.d.ts +66 -0
  386. package/dist/lib/net/Socket.d.ts.map +1 -0
  387. package/dist/lib/net/Socket.js +248 -0
  388. package/dist/lib/net/URLLoader.d.ts +26 -0
  389. package/dist/lib/net/URLLoader.d.ts.map +1 -0
  390. package/dist/lib/net/URLLoader.js +116 -0
  391. package/dist/lib/net/URLLoaderDataFormat.d.ts +2 -0
  392. package/dist/lib/net/URLLoaderDataFormat.d.ts.map +1 -0
  393. package/dist/lib/net/URLLoaderDataFormat.js +1 -0
  394. package/dist/lib/net/URLRequest.d.ts +43 -0
  395. package/dist/lib/net/URLRequest.d.ts.map +1 -0
  396. package/dist/lib/net/URLRequest.js +141 -0
  397. package/dist/lib/net/URLVariables.d.ts +12 -0
  398. package/dist/lib/net/URLVariables.d.ts.map +1 -0
  399. package/dist/lib/net/URLVariables.js +67 -0
  400. package/dist/lib/system/ApplicationDomain.d.ts +104 -0
  401. package/dist/lib/system/ApplicationDomain.d.ts.map +1 -0
  402. package/dist/lib/system/ApplicationDomain.js +269 -0
  403. package/dist/lib/system/Capabilities.d.ts +58 -0
  404. package/dist/lib/system/Capabilities.d.ts.map +1 -0
  405. package/dist/lib/system/Capabilities.js +361 -0
  406. package/dist/lib/system/FSCommand.d.ts +5 -0
  407. package/dist/lib/system/FSCommand.d.ts.map +1 -0
  408. package/dist/lib/system/FSCommand.js +14 -0
  409. package/dist/lib/system/IME.d.ts +125 -0
  410. package/dist/lib/system/IME.d.ts.map +1 -0
  411. package/dist/lib/system/IME.js +163 -0
  412. package/dist/lib/system/LoaderContext.d.ts +421 -0
  413. package/dist/lib/system/LoaderContext.d.ts.map +1 -0
  414. package/dist/lib/system/LoaderContext.js +62 -0
  415. package/dist/lib/system/Security.d.ts +45 -0
  416. package/dist/lib/system/Security.d.ts.map +1 -0
  417. package/dist/lib/system/Security.js +107 -0
  418. package/dist/lib/system/SecurityDomain.d.ts +5 -0
  419. package/dist/lib/system/SecurityDomain.d.ts.map +1 -0
  420. package/dist/lib/system/SecurityDomain.js +18 -0
  421. package/dist/lib/system/System.d.ts +150 -0
  422. package/dist/lib/system/System.d.ts.map +1 -0
  423. package/dist/lib/system/System.js +238 -0
  424. package/dist/lib/system/TouchscreenType.d.ts +26 -0
  425. package/dist/lib/system/TouchscreenType.d.ts.map +1 -0
  426. package/dist/lib/system/TouchscreenType.js +35 -0
  427. package/dist/lib/text/CSMSettings.d.ts +11 -0
  428. package/dist/lib/text/CSMSettings.d.ts.map +1 -0
  429. package/dist/lib/text/CSMSettings.js +20 -0
  430. package/dist/lib/text/Font.d.ts +18 -0
  431. package/dist/lib/text/Font.d.ts.map +1 -0
  432. package/dist/lib/text/Font.js +70 -0
  433. package/dist/lib/text/FontType.d.ts +11 -0
  434. package/dist/lib/text/FontType.d.ts.map +1 -0
  435. package/dist/lib/text/FontType.js +17 -0
  436. package/dist/lib/text/StaticText.d.ts +13 -0
  437. package/dist/lib/text/StaticText.d.ts.map +1 -0
  438. package/dist/lib/text/StaticText.js +41 -0
  439. package/dist/lib/text/StyleSheet.d.ts +168 -0
  440. package/dist/lib/text/StyleSheet.d.ts.map +1 -0
  441. package/dist/lib/text/StyleSheet.js +198 -0
  442. package/dist/lib/text/TextColorType.d.ts +10 -0
  443. package/dist/lib/text/TextColorType.d.ts.map +1 -0
  444. package/dist/lib/text/TextColorType.js +15 -0
  445. package/dist/lib/text/TextDisplayMode.d.ts +11 -0
  446. package/dist/lib/text/TextDisplayMode.d.ts.map +1 -0
  447. package/dist/lib/text/TextDisplayMode.js +16 -0
  448. package/dist/lib/text/TextExtent.d.ts +11 -0
  449. package/dist/lib/text/TextExtent.d.ts.map +1 -0
  450. package/dist/lib/text/TextExtent.js +20 -0
  451. package/dist/lib/text/TextField.d.ts +911 -0
  452. package/dist/lib/text/TextField.d.ts.map +1 -0
  453. package/dist/lib/text/TextField.js +1398 -0
  454. package/dist/lib/text/TextFormat.d.ts +61 -0
  455. package/dist/lib/text/TextFormat.d.ts.map +1 -0
  456. package/dist/lib/text/TextFormat.js +266 -0
  457. package/dist/lib/text/TextFormatDisplay.d.ts +10 -0
  458. package/dist/lib/text/TextFormatDisplay.d.ts.map +1 -0
  459. package/dist/lib/text/TextFormatDisplay.js +19 -0
  460. package/dist/lib/text/TextLineMetrics.d.ts +57 -0
  461. package/dist/lib/text/TextLineMetrics.d.ts.map +1 -0
  462. package/dist/lib/text/TextLineMetrics.js +38 -0
  463. package/dist/lib/text/TextRenderer.d.ts +15 -0
  464. package/dist/lib/text/TextRenderer.d.ts.map +1 -0
  465. package/dist/lib/text/TextRenderer.js +71 -0
  466. package/dist/lib/text/TextRun.d.ts +19 -0
  467. package/dist/lib/text/TextRun.d.ts.map +1 -0
  468. package/dist/lib/text/TextRun.js +54 -0
  469. package/dist/lib/text/TextSnapshot.d.ts +15 -0
  470. package/dist/lib/text/TextSnapshot.d.ts.map +1 -0
  471. package/dist/lib/text/TextSnapshot.js +83 -0
  472. package/dist/lib/text/engine/BreakOpportunity.d.ts +11 -0
  473. package/dist/lib/text/engine/BreakOpportunity.d.ts.map +1 -0
  474. package/dist/lib/text/engine/BreakOpportunity.js +16 -0
  475. package/dist/lib/text/engine/CFFHinting.d.ts +9 -0
  476. package/dist/lib/text/engine/CFFHinting.d.ts.map +1 -0
  477. package/dist/lib/text/engine/CFFHinting.js +14 -0
  478. package/dist/lib/text/engine/ContentElement.d.ts +37 -0
  479. package/dist/lib/text/engine/ContentElement.d.ts.map +1 -0
  480. package/dist/lib/text/engine/ContentElement.js +123 -0
  481. package/dist/lib/text/engine/DigitCase.d.ts +10 -0
  482. package/dist/lib/text/engine/DigitCase.d.ts.map +1 -0
  483. package/dist/lib/text/engine/DigitCase.js +16 -0
  484. package/dist/lib/text/engine/DigitWidth.d.ts +10 -0
  485. package/dist/lib/text/engine/DigitWidth.d.ts.map +1 -0
  486. package/dist/lib/text/engine/DigitWidth.js +16 -0
  487. package/dist/lib/text/engine/EastAsianJustifier.d.ts +12 -0
  488. package/dist/lib/text/engine/EastAsianJustifier.d.ts.map +1 -0
  489. package/dist/lib/text/engine/EastAsianJustifier.js +50 -0
  490. package/dist/lib/text/engine/ElementFormat.d.ts +69 -0
  491. package/dist/lib/text/engine/ElementFormat.d.ts.map +1 -0
  492. package/dist/lib/text/engine/ElementFormat.js +291 -0
  493. package/dist/lib/text/engine/FontDescription.d.ts +31 -0
  494. package/dist/lib/text/engine/FontDescription.d.ts.map +1 -0
  495. package/dist/lib/text/engine/FontDescription.js +113 -0
  496. package/dist/lib/text/engine/FontLookup.d.ts +9 -0
  497. package/dist/lib/text/engine/FontLookup.d.ts.map +1 -0
  498. package/dist/lib/text/engine/FontLookup.js +15 -0
  499. package/dist/lib/text/engine/FontMetrics.d.ts +18 -0
  500. package/dist/lib/text/engine/FontMetrics.d.ts.map +1 -0
  501. package/dist/lib/text/engine/FontMetrics.js +24 -0
  502. package/dist/lib/text/engine/FontPosture.d.ts +9 -0
  503. package/dist/lib/text/engine/FontPosture.d.ts.map +1 -0
  504. package/dist/lib/text/engine/FontPosture.js +15 -0
  505. package/dist/lib/text/engine/FontWeight.d.ts +9 -0
  506. package/dist/lib/text/engine/FontWeight.d.ts.map +1 -0
  507. package/dist/lib/text/engine/FontWeight.js +15 -0
  508. package/dist/lib/text/engine/GraphicElement.d.ts +16 -0
  509. package/dist/lib/text/engine/GraphicElement.d.ts.map +1 -0
  510. package/dist/lib/text/engine/GraphicElement.js +72 -0
  511. package/dist/lib/text/engine/GroupElement.d.ts +23 -0
  512. package/dist/lib/text/engine/GroupElement.d.ts.map +1 -0
  513. package/dist/lib/text/engine/GroupElement.js +102 -0
  514. package/dist/lib/text/engine/JustificationStyle.d.ts +10 -0
  515. package/dist/lib/text/engine/JustificationStyle.d.ts.map +1 -0
  516. package/dist/lib/text/engine/JustificationStyle.js +16 -0
  517. package/dist/lib/text/engine/Kerning.d.ts +10 -0
  518. package/dist/lib/text/engine/Kerning.d.ts.map +1 -0
  519. package/dist/lib/text/engine/Kerning.js +16 -0
  520. package/dist/lib/text/engine/LigatureLevel.d.ts +12 -0
  521. package/dist/lib/text/engine/LigatureLevel.d.ts.map +1 -0
  522. package/dist/lib/text/engine/LigatureLevel.js +18 -0
  523. package/dist/lib/text/engine/LineJustification.d.ts +11 -0
  524. package/dist/lib/text/engine/LineJustification.d.ts.map +1 -0
  525. package/dist/lib/text/engine/LineJustification.js +17 -0
  526. package/dist/lib/text/engine/NativehacksForTLF.d.ts +22 -0
  527. package/dist/lib/text/engine/NativehacksForTLF.d.ts.map +1 -0
  528. package/dist/lib/text/engine/NativehacksForTLF.js +70 -0
  529. package/dist/lib/text/engine/RenderingMode.d.ts +9 -0
  530. package/dist/lib/text/engine/RenderingMode.d.ts.map +1 -0
  531. package/dist/lib/text/engine/RenderingMode.js +15 -0
  532. package/dist/lib/text/engine/SpaceJustifier.d.ts +20 -0
  533. package/dist/lib/text/engine/SpaceJustifier.d.ts.map +1 -0
  534. package/dist/lib/text/engine/SpaceJustifier.js +58 -0
  535. package/dist/lib/text/engine/TabAlignment.d.ts +11 -0
  536. package/dist/lib/text/engine/TabAlignment.d.ts.map +1 -0
  537. package/dist/lib/text/engine/TabAlignment.js +17 -0
  538. package/dist/lib/text/engine/TabStop.d.ts +13 -0
  539. package/dist/lib/text/engine/TabStop.d.ts.map +1 -0
  540. package/dist/lib/text/engine/TabStop.js +66 -0
  541. package/dist/lib/text/engine/TextBaseline.d.ts +14 -0
  542. package/dist/lib/text/engine/TextBaseline.d.ts.map +1 -0
  543. package/dist/lib/text/engine/TextBaseline.js +20 -0
  544. package/dist/lib/text/engine/TextBlock.d.ts +76 -0
  545. package/dist/lib/text/engine/TextBlock.d.ts.map +1 -0
  546. package/dist/lib/text/engine/TextBlock.js +500 -0
  547. package/dist/lib/text/engine/TextElement.d.ts +12 -0
  548. package/dist/lib/text/engine/TextElement.d.ts.map +1 -0
  549. package/dist/lib/text/engine/TextElement.js +45 -0
  550. package/dist/lib/text/engine/TextJustifier.d.ts +15 -0
  551. package/dist/lib/text/engine/TextJustifier.d.ts.map +1 -0
  552. package/dist/lib/text/engine/TextJustifier.js +46 -0
  553. package/dist/lib/text/engine/TextLine.d.ts +86 -0
  554. package/dist/lib/text/engine/TextLine.d.ts.map +1 -0
  555. package/dist/lib/text/engine/TextLine.js +381 -0
  556. package/dist/lib/text/engine/TextLineCreationResult.d.ts +11 -0
  557. package/dist/lib/text/engine/TextLineCreationResult.d.ts.map +1 -0
  558. package/dist/lib/text/engine/TextLineCreationResult.js +17 -0
  559. package/dist/lib/text/engine/TextLineMirrorRegion.d.ts +17 -0
  560. package/dist/lib/text/engine/TextLineMirrorRegion.d.ts.map +1 -0
  561. package/dist/lib/text/engine/TextLineMirrorRegion.js +75 -0
  562. package/dist/lib/text/engine/TextLineValidity.d.ts +11 -0
  563. package/dist/lib/text/engine/TextLineValidity.d.ts.map +1 -0
  564. package/dist/lib/text/engine/TextLineValidity.js +17 -0
  565. package/dist/lib/text/engine/TextRotation.d.ts +12 -0
  566. package/dist/lib/text/engine/TextRotation.d.ts.map +1 -0
  567. package/dist/lib/text/engine/TextRotation.js +18 -0
  568. package/dist/lib/text/engine/TypographicCase.d.ts +14 -0
  569. package/dist/lib/text/engine/TypographicCase.d.ts.map +1 -0
  570. package/dist/lib/text/engine/TypographicCase.js +20 -0
  571. package/dist/lib/text/ime/CompositionAttributeRange.d.ts +12 -0
  572. package/dist/lib/text/ime/CompositionAttributeRange.d.ts.map +1 -0
  573. package/dist/lib/text/ime/CompositionAttributeRange.js +20 -0
  574. package/dist/lib/ui/ContextMenu.d.ts +29 -0
  575. package/dist/lib/ui/ContextMenu.d.ts.map +1 -0
  576. package/dist/lib/ui/ContextMenu.js +128 -0
  577. package/dist/lib/ui/ContextMenuBuiltInItems.d.ts +31 -0
  578. package/dist/lib/ui/ContextMenuBuiltInItems.d.ts.map +1 -0
  579. package/dist/lib/ui/ContextMenuBuiltInItems.js +112 -0
  580. package/dist/lib/ui/ContextMenuClipboardItems.d.ts +24 -0
  581. package/dist/lib/ui/ContextMenuClipboardItems.d.ts.map +1 -0
  582. package/dist/lib/ui/ContextMenuClipboardItems.js +99 -0
  583. package/dist/lib/ui/ContextMenuItem.d.ts +19 -0
  584. package/dist/lib/ui/ContextMenuItem.d.ts.map +1 -0
  585. package/dist/lib/ui/ContextMenuItem.js +62 -0
  586. package/dist/lib/ui/GameInput.d.ts +12 -0
  587. package/dist/lib/ui/GameInput.d.ts.map +1 -0
  588. package/dist/lib/ui/GameInput.js +49 -0
  589. package/dist/lib/ui/GameInputControl.d.ts +17 -0
  590. package/dist/lib/ui/GameInputControl.d.ts.map +1 -0
  591. package/dist/lib/ui/GameInputControl.js +95 -0
  592. package/dist/lib/ui/GameInputControlType.d.ts +14 -0
  593. package/dist/lib/ui/GameInputControlType.d.ts.map +1 -0
  594. package/dist/lib/ui/GameInputControlType.js +23 -0
  595. package/dist/lib/ui/GameInputDevice.d.ts +21 -0
  596. package/dist/lib/ui/GameInputDevice.d.ts.map +1 -0
  597. package/dist/lib/ui/GameInputDevice.js +105 -0
  598. package/dist/lib/ui/GameInputFinger.d.ts +12 -0
  599. package/dist/lib/ui/GameInputFinger.d.ts.map +1 -0
  600. package/dist/lib/ui/GameInputFinger.js +21 -0
  601. package/dist/lib/ui/GameInputHand.d.ts +11 -0
  602. package/dist/lib/ui/GameInputHand.d.ts.map +1 -0
  603. package/dist/lib/ui/GameInputHand.js +20 -0
  604. package/dist/lib/ui/Keyboard.d.ts +36 -0
  605. package/dist/lib/ui/Keyboard.d.ts.map +1 -0
  606. package/dist/lib/ui/Keyboard.js +383 -0
  607. package/dist/lib/ui/Mouse.d.ts +14 -0
  608. package/dist/lib/ui/Mouse.d.ts.map +1 -0
  609. package/dist/lib/ui/Mouse.js +78 -0
  610. package/dist/lib/ui/MouseCursorData.d.ts +24 -0
  611. package/dist/lib/ui/MouseCursorData.d.ts.map +1 -0
  612. package/dist/lib/ui/MouseCursorData.js +55 -0
  613. package/dist/lib/ui/Multitouch.d.ts +78 -0
  614. package/dist/lib/ui/Multitouch.d.ts.map +1 -0
  615. package/dist/lib/ui/Multitouch.js +135 -0
  616. package/dist/lib/ui/MultitouchInputMode.d.ts +26 -0
  617. package/dist/lib/ui/MultitouchInputMode.d.ts.map +1 -0
  618. package/dist/lib/ui/MultitouchInputMode.js +29 -0
  619. package/dist/lib/utils/ByteArray.d.ts +2 -0
  620. package/dist/lib/utils/ByteArray.d.ts.map +1 -0
  621. package/dist/lib/utils/ByteArray.js +1 -0
  622. package/dist/lib/utils/CompressionAlgorithm.d.ts +7 -0
  623. package/dist/lib/utils/CompressionAlgorithm.d.ts.map +1 -0
  624. package/dist/lib/utils/CompressionAlgorithm.js +13 -0
  625. package/dist/lib/utils/IDataInput.d.ts +175 -0
  626. package/dist/lib/utils/IDataInput.d.ts.map +1 -0
  627. package/dist/lib/utils/IDataInput.js +1 -0
  628. package/dist/lib/utils/IDataOutput.d.ts +131 -0
  629. package/dist/lib/utils/IDataOutput.d.ts.map +1 -0
  630. package/dist/lib/utils/IDataOutput.js +1 -0
  631. package/dist/lib/utils/IExternalizable.d.ts +35 -0
  632. package/dist/lib/utils/IExternalizable.d.ts.map +1 -0
  633. package/dist/lib/utils/IExternalizable.js +1 -0
  634. package/dist/lib/utils/Timer.d.ts +28 -0
  635. package/dist/lib/utils/Timer.d.ts.map +1 -0
  636. package/dist/lib/utils/Timer.js +115 -0
  637. package/index.ts +21 -0
  638. package/lib/ILoader.ts +14 -0
  639. package/lib/PlayerGlobal.ts +278 -0
  640. package/lib/RegisterCode.ts +10 -0
  641. package/lib/SecurityDomain.ts +194 -0
  642. package/lib/Settings.ts +15 -0
  643. package/lib/_shumway_flash/accessibility/Accessibility.ts +40 -0
  644. package/lib/_shumway_flash/accessibility/AccessibilityImplementation.ts +40 -0
  645. package/lib/_shumway_flash/accessibility/AccessibilityProperties.ts +29 -0
  646. package/lib/_shumway_flash/accessibility/ISearchableText.ts +4 -0
  647. package/lib/_shumway_flash/accessibility/ISimpleTextSelection.ts +4 -0
  648. package/lib/_shumway_flash/automation/ActionGenerator.ts +14 -0
  649. package/lib/_shumway_flash/automation/AutomationAction.ts +14 -0
  650. package/lib/_shumway_flash/automation/Configuration.ts +23 -0
  651. package/lib/_shumway_flash/automation/KeyboardAutomationAction.ts +16 -0
  652. package/lib/_shumway_flash/automation/MouseAutomationAction.ts +20 -0
  653. package/lib/_shumway_flash/automation/StageCapture.ts +50 -0
  654. package/lib/_shumway_flash/automation/StageCaptureEvent.ts +21 -0
  655. package/lib/_shumway_flash/desktop/ClipboardTransferMode.ts +24 -0
  656. package/lib/_shumway_flash/display/AVM1Movie.ts +157 -0
  657. package/lib/_shumway_flash/display/ActionScriptVersion.ts +21 -0
  658. package/lib/_shumway_flash/display/BitmapEncodingColorSpace.ts +24 -0
  659. package/lib/_shumway_flash/display/ColorCorrection.ts +50 -0
  660. package/lib/_shumway_flash/display/ColorCorrectionSupport.ts +50 -0
  661. package/lib/_shumway_flash/display/FocusDirection.ts +23 -0
  662. package/lib/_shumway_flash/display/GraphicsBitmapFill.ts +35 -0
  663. package/lib/_shumway_flash/display/GraphicsEndFill.ts +23 -0
  664. package/lib/_shumway_flash/display/GraphicsGradientFill.ts +31 -0
  665. package/lib/_shumway_flash/display/GraphicsShaderFill.ts +30 -0
  666. package/lib/_shumway_flash/display/GraphicsSolidFill.ts +28 -0
  667. package/lib/_shumway_flash/display/GraphicsStroke.ts +48 -0
  668. package/lib/_shumway_flash/display/GraphicsTrianglePath.ts +38 -0
  669. package/lib/_shumway_flash/display/JPEGEncoderOptions.ts +25 -0
  670. package/lib/_shumway_flash/display/JPEGXREncoderOptions.ts +24 -0
  671. package/lib/_shumway_flash/display/MorphShape.ts +70 -0
  672. package/lib/_shumway_flash/display/PNGEncoderOptions.ts +25 -0
  673. package/lib/_shumway_flash/display/SWFVersion.ts +34 -0
  674. package/lib/_shumway_flash/display/Shader.ts +46 -0
  675. package/lib/_shumway_flash/display/ShaderData.ts +20 -0
  676. package/lib/_shumway_flash/display/ShaderInput.ts +63 -0
  677. package/lib/_shumway_flash/display/ShaderJob.ts +81 -0
  678. package/lib/_shumway_flash/display/ShaderParameter.ts +43 -0
  679. package/lib/_shumway_flash/display/ShaderParameterType.ts +37 -0
  680. package/lib/_shumway_flash/display/ShaderPrecision.ts +24 -0
  681. package/lib/_shumway_flash/display/Stage3D.ts +64 -0
  682. package/lib/_shumway_flash/display/StageAlign.ts +69 -0
  683. package/lib/_shumway_flash/display/StageDisplayState.ts +50 -0
  684. package/lib/_shumway_flash/display/StageQuality.ts +75 -0
  685. package/lib/_shumway_flash/display/StageScaleMode.ts +66 -0
  686. package/lib/_shumway_flash/display/interfaces.ts +6 -0
  687. package/lib/_shumway_flash/display3D/Context3DBlendFactor.ts +50 -0
  688. package/lib/_shumway_flash/display3D/Context3DCompareMode.ts +48 -0
  689. package/lib/_shumway_flash/display3D/Context3DProfile.ts +42 -0
  690. package/lib/_shumway_flash/display3D/Context3DRenderMode.ts +42 -0
  691. package/lib/_shumway_flash/display3D/Context3DStencilAction.ts +48 -0
  692. package/lib/_shumway_flash/display3D/Context3DTextureFormat.ts +43 -0
  693. package/lib/_shumway_flash/display3D/Context3DTriangleFace.ts +44 -0
  694. package/lib/_shumway_flash/display3D/Context3DVertexBufferFormat.ts +45 -0
  695. package/lib/_shumway_flash/display3D/IndexBuffer3D.ts +53 -0
  696. package/lib/_shumway_flash/display3D/Program3D.ts +48 -0
  697. package/lib/_shumway_flash/display3D/VertexBuffer3D.ts +35 -0
  698. package/lib/_shumway_flash/display3D/textures/CubeTexture.ts +50 -0
  699. package/lib/_shumway_flash/display3D/textures/TextureBase.ts +39 -0
  700. package/lib/_shumway_flash/filters/BitmapFilterQuality.ts +25 -0
  701. package/lib/_shumway_flash/filters/DisplacementMapFilterMode.ts +25 -0
  702. package/lib/_shumway_flash/filters/ShaderFilter.ts +43 -0
  703. package/lib/_shumway_flash/globalization/Collator.ts +148 -0
  704. package/lib/_shumway_flash/globalization/CollatorMode.ts +37 -0
  705. package/lib/_shumway_flash/globalization/CurrencyFormatter.ts +232 -0
  706. package/lib/_shumway_flash/globalization/CurrencyParseResult.ts +57 -0
  707. package/lib/_shumway_flash/globalization/DateTimeFormatter.ts +110 -0
  708. package/lib/_shumway_flash/globalization/DateTimeNameContext.ts +42 -0
  709. package/lib/_shumway_flash/globalization/DateTimeNameStyle.ts +43 -0
  710. package/lib/_shumway_flash/globalization/DateTimeStyle.ts +45 -0
  711. package/lib/_shumway_flash/globalization/LastOperationStatus.ts +57 -0
  712. package/lib/_shumway_flash/globalization/LocaleID.ts +86 -0
  713. package/lib/_shumway_flash/globalization/NationalDigitsType.ts +72 -0
  714. package/lib/_shumway_flash/globalization/NumberParseResult.ts +63 -0
  715. package/lib/_shumway_flash/media/AudioDecoder.ts +44 -0
  716. package/lib/_shumway_flash/media/Camera.ts +167 -0
  717. package/lib/_shumway_flash/media/H264Level.ts +54 -0
  718. package/lib/_shumway_flash/media/H264Profile.ts +40 -0
  719. package/lib/_shumway_flash/media/H264VideoStreamSettings.ts +48 -0
  720. package/lib/_shumway_flash/media/Microphone.ts +217 -0
  721. package/lib/_shumway_flash/media/MicrophoneEnhancedMode.ts +43 -0
  722. package/lib/_shumway_flash/media/MicrophoneEnhancedOptions.ts +49 -0
  723. package/lib/_shumway_flash/media/SoundCodec.ts +42 -0
  724. package/lib/_shumway_flash/media/StageVideo.ts +119 -0
  725. package/lib/_shumway_flash/media/StageVideoAvailability.ts +40 -0
  726. package/lib/_shumway_flash/media/Video.ts +151 -0
  727. package/lib/_shumway_flash/media/VideoCodec.ts +41 -0
  728. package/lib/_shumway_flash/media/VideoStatus.ts +41 -0
  729. package/lib/_shumway_flash/media/VideoStreamSettings.ts +56 -0
  730. package/lib/_shumway_flash/net/DynamicPropertyOutput.ts +45 -0
  731. package/lib/_shumway_flash/net/FileFilter.ts +66 -0
  732. package/lib/_shumway_flash/net/FileReferenceList.ts +39 -0
  733. package/lib/_shumway_flash/net/GroupSpecifier.ts +67 -0
  734. package/lib/_shumway_flash/net/IDynamicPropertyOutput.ts +25 -0
  735. package/lib/_shumway_flash/net/IDynamicPropertyWriter.ts +28 -0
  736. package/lib/_shumway_flash/net/LocalConnection.ts +249 -0
  737. package/lib/_shumway_flash/net/NetConnection.ts +268 -0
  738. package/lib/_shumway_flash/net/NetGroup.ts +88 -0
  739. package/lib/_shumway_flash/net/NetGroupInfo.ts +54 -0
  740. package/lib/_shumway_flash/net/NetGroupReceiveMode.ts +37 -0
  741. package/lib/_shumway_flash/net/NetGroupReplicationStrategy.ts +40 -0
  742. package/lib/_shumway_flash/net/NetGroupSendMode.ts +37 -0
  743. package/lib/_shumway_flash/net/NetGroupSendResult.ts +38 -0
  744. package/lib/_shumway_flash/net/NetMonitor.ts +38 -0
  745. package/lib/_shumway_flash/net/NetStream.ts +1078 -0
  746. package/lib/_shumway_flash/net/NetStreamAppendBytesAction.ts +38 -0
  747. package/lib/_shumway_flash/net/NetStreamInfo.ts +119 -0
  748. package/lib/_shumway_flash/net/NetStreamMulticastInfo.ts +103 -0
  749. package/lib/_shumway_flash/net/NetStreamPlayOptions.ts +45 -0
  750. package/lib/_shumway_flash/net/NetStreamPlayTransitions.ts +45 -0
  751. package/lib/_shumway_flash/net/Responder.ts +40 -0
  752. package/lib/_shumway_flash/net/SecureSocket.ts +60 -0
  753. package/lib/_shumway_flash/net/SharedObjectFlushStatus.ts +37 -0
  754. package/lib/_shumway_flash/net/Socket.ts +230 -0
  755. package/lib/_shumway_flash/net/URLRequestHeader.ts +22 -0
  756. package/lib/_shumway_flash/net/URLStream.ts +206 -0
  757. package/lib/_shumway_flash/net/XMLSocket.ts +32 -0
  758. package/lib/_shumway_flash/printing/PrintJob.ts +42 -0
  759. package/lib/_shumway_flash/printing/PrintJobOptions.ts +25 -0
  760. package/lib/_shumway_flash/printing/PrintJobOrientation.ts +24 -0
  761. package/lib/_shumway_flash/profiler/Telemetry.ts +48 -0
  762. package/lib/_shumway_flash/sampler/ClassFactory.ts +22 -0
  763. package/lib/_shumway_flash/sampler/DeleteObjectSample.ts +20 -0
  764. package/lib/_shumway_flash/sampler/StackFrame.ts +22 -0
  765. package/lib/_shumway_flash/security/CertificateStatus.ts +28 -0
  766. package/lib/_shumway_flash/security/X500DistinguishedName.ts +56 -0
  767. package/lib/_shumway_flash/security/X509Certificate.ts +87 -0
  768. package/lib/_shumway_flash/sensors/Accelerometer.ts +35 -0
  769. package/lib/_shumway_flash/sensors/Geolocation.ts +33 -0
  770. package/lib/_shumway_flash/system/ApplicationInstaller.ts +57 -0
  771. package/lib/_shumway_flash/system/AuthorizedFeatures.ts +58 -0
  772. package/lib/_shumway_flash/system/AuthorizedFeaturesLoader.ts +49 -0
  773. package/lib/_shumway_flash/system/DomainMemoryWithStage3D.ts +33 -0
  774. package/lib/_shumway_flash/system/IMEConversionMode.ts +43 -0
  775. package/lib/_shumway_flash/system/ImageDecodingPolicy.ts +36 -0
  776. package/lib/_shumway_flash/system/JPEGLoaderContext.ts +42 -0
  777. package/lib/_shumway_flash/system/MessageChannel.ts +65 -0
  778. package/lib/_shumway_flash/system/MessageChannelState.ts +38 -0
  779. package/lib/_shumway_flash/system/SecurityPanel.ts +42 -0
  780. package/lib/_shumway_flash/system/SystemUpdater.ts +36 -0
  781. package/lib/_shumway_flash/system/SystemUpdaterType.ts +37 -0
  782. package/lib/_shumway_flash/ui/KeyLocation.ts +39 -0
  783. package/lib/_shumway_flash/ui/KeyboardType.ts +37 -0
  784. package/lib/_shumway_flash/ui/MouseCursor.ts +75 -0
  785. package/lib/_shumway_flash/ui/MouseCursorData.ts +72 -0
  786. package/lib/_shumway_flash/utils/CompressionAlgorithm.ts +20 -0
  787. package/lib/_shumway_flash/utils/IDataInput2.ts +9 -0
  788. package/lib/_shumway_flash/utils/IDataOutput2.ts +9 -0
  789. package/lib/_shumway_flash/utils/IExternalizable.ts +13 -0
  790. package/lib/_shumway_flash/utils/SetIntervalTimer.ts +20 -0
  791. package/lib/_shumway_flash/utils/Timer.ts +111 -0
  792. package/lib/desktop/Clipboard.ts +292 -0
  793. package/lib/desktop/ClipboardFormats.ts +51 -0
  794. package/lib/display/Bitmap.ts +189 -0
  795. package/lib/display/BitmapData.ts +496 -0
  796. package/lib/display/BitmapDataChannel.ts +24 -0
  797. package/lib/display/BlendMode.ts +1 -0
  798. package/lib/display/CapsStyle.ts +1 -0
  799. package/lib/display/DisplayObject.ts +1601 -0
  800. package/lib/display/DisplayObjectContainer.ts +640 -0
  801. package/lib/display/FrameLabel.ts +30 -0
  802. package/lib/display/GradientType.ts +1 -0
  803. package/lib/display/Graphics.ts +609 -0
  804. package/lib/display/GraphicsBitmapFill.ts +39 -0
  805. package/lib/display/GraphicsEndFill.ts +11 -0
  806. package/lib/display/GraphicsGradientFill.ts +31 -0
  807. package/lib/display/GraphicsPath.ts +75 -0
  808. package/lib/display/GraphicsPathCommand.ts +1 -0
  809. package/lib/display/GraphicsPathWinding.ts +1 -0
  810. package/lib/display/GraphicsSolidFill.ts +16 -0
  811. package/lib/display/GraphicsStroke.ts +33 -0
  812. package/lib/display/GraphicsTrianglePath.ts +24 -0
  813. package/lib/display/IBitmapDataOwner.ts +7 -0
  814. package/lib/display/IBitmapDrawable.ts +11 -0
  815. package/lib/display/IGraphicsData.ts +15 -0
  816. package/lib/display/IVirtualSceneGraphItem.ts +9 -0
  817. package/lib/display/InteractiveObject.ts +986 -0
  818. package/lib/display/InterpolationMethod.ts +1 -0
  819. package/lib/display/JointStyle.ts +1 -0
  820. package/lib/display/LineScaleMode.ts +1 -0
  821. package/lib/display/Loader.ts +777 -0
  822. package/lib/display/LoaderInfo.ts +743 -0
  823. package/lib/display/MovieClip.ts +570 -0
  824. package/lib/display/NativeMenu.ts +11 -0
  825. package/lib/display/NativeMenuItem.ts +34 -0
  826. package/lib/display/PixelSnapping.ts +1 -0
  827. package/lib/display/Scene.ts +69 -0
  828. package/lib/display/Shape.ts +89 -0
  829. package/lib/display/SimpleButton.ts +555 -0
  830. package/lib/display/SpreadMethod.ts +1 -0
  831. package/lib/display/Sprite.ts +774 -0
  832. package/lib/display/Stage.ts +1143 -0
  833. package/lib/display/TriangleCulling.ts +1 -0
  834. package/lib/display3D/Context3D.ts +1 -0
  835. package/lib/display3D/Context3DClearMask.ts +1 -0
  836. package/lib/display3D/Context3DProgramType.ts +1 -0
  837. package/lib/display3D/Texture.ts +29 -0
  838. package/lib/errors/EOFError.ts +17 -0
  839. package/lib/errors/IOError.ts +16 -0
  840. package/lib/errors/IllegalOperationError.ts +17 -0
  841. package/lib/errors/InvalidSWFError.ts +16 -0
  842. package/lib/errors/MemoryError.ts +16 -0
  843. package/lib/errors/ScriptTimeoutError.ts +16 -0
  844. package/lib/errors/StackOverflowError.ts +16 -0
  845. package/lib/events/AccelerometerEvent.ts +26 -0
  846. package/lib/events/ActivityEvent.ts +19 -0
  847. package/lib/events/AsyncErrorEvent.ts +31 -0
  848. package/lib/events/ContextMenuEvent.ts +26 -0
  849. package/lib/events/DataEvent.ts +17 -0
  850. package/lib/events/ErrorEvent.ts +54 -0
  851. package/lib/events/Event.ts +229 -0
  852. package/lib/events/EventDispatcher.ts +283 -0
  853. package/lib/events/EventDispatcherBase.ts +289 -0
  854. package/lib/events/EventPhase.ts +34 -0
  855. package/lib/events/FocusEvent.ts +97 -0
  856. package/lib/events/FullScreenEvent.ts +22 -0
  857. package/lib/events/GameInputEvent.ts +38 -0
  858. package/lib/events/GeolocationEvent.ts +18 -0
  859. package/lib/events/GestureEvent.ts +113 -0
  860. package/lib/events/GesturePhase.ts +18 -0
  861. package/lib/events/HTTPStatusEvent.ts +81 -0
  862. package/lib/events/IEventDispatcher.ts +1 -0
  863. package/lib/events/IEventMapper.ts +7 -0
  864. package/lib/events/IMEEvent.ts +21 -0
  865. package/lib/events/IOErrorEvent.ts +49 -0
  866. package/lib/events/KeyboardEvent.ts +114 -0
  867. package/lib/events/MouseEvent.ts +279 -0
  868. package/lib/events/NetDataEvent.ts +22 -0
  869. package/lib/events/NetFilterEvent.ts +20 -0
  870. package/lib/events/NetMonitorEvent.ts +20 -0
  871. package/lib/events/NetStatusEvent.ts +53 -0
  872. package/lib/events/OutputProgressEvent.ts +20 -0
  873. package/lib/events/PressAndTapGestureEvent.ts +24 -0
  874. package/lib/events/ProgressEvent.ts +66 -0
  875. package/lib/events/SampleDataEvent.ts +140 -0
  876. package/lib/events/SecurityErrorEvent.ts +16 -0
  877. package/lib/events/ShaderEvent.ts +19 -0
  878. package/lib/events/SoftKeyboardEvent.ts +19 -0
  879. package/lib/events/SoftKeyboardTrigger.ts +16 -0
  880. package/lib/events/StageVideoAvailabilityEvent.ts +20 -0
  881. package/lib/events/StageVideoEvent.ts +26 -0
  882. package/lib/events/StaticEvents.ts +5 -0
  883. package/lib/events/StatusEvent.ts +45 -0
  884. package/lib/events/SyncEvent.ts +19 -0
  885. package/lib/events/TextEvent.ts +60 -0
  886. package/lib/events/ThrottleEvent.ts +23 -0
  887. package/lib/events/ThrottleType.ts +18 -0
  888. package/lib/events/TimerEvent.ts +31 -0
  889. package/lib/events/TouchEvent.ts +548 -0
  890. package/lib/events/TransformGestureEvent.ts +21 -0
  891. package/lib/events/UncaughtErrorEvent.ts +17 -0
  892. package/lib/events/UncaughtErrorEvents.ts +29 -0
  893. package/lib/events/VideoEvent.ts +24 -0
  894. package/lib/external/ExternalInterface.ts +304 -0
  895. package/lib/factories/FlashSceneGraphFactory.ts +205 -0
  896. package/lib/filters/BevelFilter.ts +247 -0
  897. package/lib/filters/BitmapFilter.ts +123 -0
  898. package/lib/filters/BitmapFilterType.ts +43 -0
  899. package/lib/filters/BlurFilter.ts +69 -0
  900. package/lib/filters/ColorMatrixFilter.ts +96 -0
  901. package/lib/filters/ConvolutionFilter.ts +187 -0
  902. package/lib/filters/DisplacementMapFilter.ts +191 -0
  903. package/lib/filters/DropShadowFilter.ts +203 -0
  904. package/lib/filters/FilterBuilder.ts +34 -0
  905. package/lib/filters/GlowFilter.ts +162 -0
  906. package/lib/filters/GradientBevelFilter.ts +276 -0
  907. package/lib/filters/GradientGlowFilter.ts +239 -0
  908. package/lib/geom/ColorTransform.ts +294 -0
  909. package/lib/geom/Matrix.ts +428 -0
  910. package/lib/geom/Matrix3D.ts +228 -0
  911. package/lib/geom/Orientation3D.ts +43 -0
  912. package/lib/geom/PerspectiveProjection.ts +1 -0
  913. package/lib/geom/Point.ts +201 -0
  914. package/lib/geom/Rectangle.ts +477 -0
  915. package/lib/geom/Transform.ts +105 -0
  916. package/lib/geom/Utils3D.ts +36 -0
  917. package/lib/geom/Vector3D.ts +438 -0
  918. package/lib/globalization/LocaleID.ts +96 -0
  919. package/lib/globalization/NumberFormatter.ts +551 -0
  920. package/lib/globalization/StringTools.ts +147 -0
  921. package/lib/greensock/TweenLite.ts +14 -0
  922. package/lib/greensock/easing/Linear.ts +4 -0
  923. package/lib/greensock/easing/Power.ts +3 -0
  924. package/lib/greensock/easing/Power1.ts +2 -0
  925. package/lib/greensock/easing/Power2.ts +2 -0
  926. package/lib/greensock/easing/Power3.ts +2 -0
  927. package/lib/greensock/easing/Power4.ts +2 -0
  928. package/lib/greensock/motionPaths/RectanglePath2D.ts +1 -0
  929. package/lib/greensock/plugins/RoundPropsPlugin.ts +1 -0
  930. package/lib/link.ts +669 -0
  931. package/lib/media/ID3Info.ts +69 -0
  932. package/lib/media/Sound.ts +532 -0
  933. package/lib/media/SoundChannel.ts +160 -0
  934. package/lib/media/SoundLoaderContext.ts +104 -0
  935. package/lib/media/SoundMixer.ts +152 -0
  936. package/lib/media/SoundTransform.ts +137 -0
  937. package/lib/net/FileFilter.ts +32 -0
  938. package/lib/net/FileReference.ts +293 -0
  939. package/lib/net/LocalConnection.ts +267 -0
  940. package/lib/net/NetConnection.ts +435 -0
  941. package/lib/net/Responder.ts +57 -0
  942. package/lib/net/SharedObject.ts +365 -0
  943. package/lib/net/Socket.ts +251 -0
  944. package/lib/net/URLLoader.ts +144 -0
  945. package/lib/net/URLLoaderDataFormat.ts +1 -0
  946. package/lib/net/URLRequest.ts +135 -0
  947. package/lib/net/URLRequestMethod.ts +1 -0
  948. package/lib/net/URLVariables.ts +84 -0
  949. package/lib/net/navigateToURL.ts +5 -0
  950. package/lib/sampler/NewObjectSample.ts +40 -0
  951. package/lib/sampler/Sample.ts +23 -0
  952. package/lib/starling/core/Starling.ts +613 -0
  953. package/lib/starling/display/DisplayObject.ts +1 -0
  954. package/lib/starling/display/Image.ts +1 -0
  955. package/lib/starling/display/Quad.ts +7 -0
  956. package/lib/starling/display/Sprite.ts +1 -0
  957. package/lib/starling/display/Stage.ts +4 -0
  958. package/lib/starling/events/Event.ts +1 -0
  959. package/lib/starling/events/ResizeEvent.ts +5 -0
  960. package/lib/starling/events/Touch.ts +1 -0
  961. package/lib/starling/events/TouchEvent.ts +1 -0
  962. package/lib/starling/events/TouchPhase.ts +1 -0
  963. package/lib/starling/textures/RenderTexture.ts +3 -0
  964. package/lib/starling/textures/Texture.ts +1 -0
  965. package/lib/starling/utils/SystemUtil.ts +3 -0
  966. package/lib/system/ApplicationDomain.ts +279 -0
  967. package/lib/system/Capabilities.ts +265 -0
  968. package/lib/system/FSCommand.ts +20 -0
  969. package/lib/system/IME.ts +157 -0
  970. package/lib/system/LoaderContext.ts +449 -0
  971. package/lib/system/Security.ts +119 -0
  972. package/lib/system/SecurityDomain.ts +9 -0
  973. package/lib/system/System.ts +225 -0
  974. package/lib/system/TouchscreenType.ts +37 -0
  975. package/lib/text/AntiAliasType.ts +1 -0
  976. package/lib/text/CSMSettings.ts +25 -0
  977. package/lib/text/Font.ts +60 -0
  978. package/lib/text/FontStyle.ts +18 -0
  979. package/lib/text/FontType.ts +18 -0
  980. package/lib/text/GridFitType.ts +1 -0
  981. package/lib/text/StaticText.ts +41 -0
  982. package/lib/text/StyleSheet.ts +201 -0
  983. package/lib/text/TextColorType.ts +15 -0
  984. package/lib/text/TextDisplayMode.ts +16 -0
  985. package/lib/text/TextExtent.ts +25 -0
  986. package/lib/text/TextField.ts +1358 -0
  987. package/lib/text/TextFieldAutoSize.ts +1 -0
  988. package/lib/text/TextFieldType.ts +1 -0
  989. package/lib/text/TextFormat.ts +222 -0
  990. package/lib/text/TextFormatAlign.ts +1 -0
  991. package/lib/text/TextFormatDisplay.ts +19 -0
  992. package/lib/text/TextInteractionMode.ts +1 -0
  993. package/lib/text/TextLineMetrics.ts +72 -0
  994. package/lib/text/TextRenderer.ts +70 -0
  995. package/lib/text/TextRun.ts +56 -0
  996. package/lib/text/TextSnapshot.ts +73 -0
  997. package/lib/text/engine/BreakOpportunity.ts +17 -0
  998. package/lib/text/engine/CFFHinting.ts +15 -0
  999. package/lib/text/engine/ContentElement.ts +123 -0
  1000. package/lib/text/engine/DigitCase.ts +19 -0
  1001. package/lib/text/engine/DigitWidth.ts +19 -0
  1002. package/lib/text/engine/EastAsianJustifier.ts +50 -0
  1003. package/lib/text/engine/ElementFormat.ts +323 -0
  1004. package/lib/text/engine/FontDescription.ts +114 -0
  1005. package/lib/text/engine/FontLookup.ts +18 -0
  1006. package/lib/text/engine/FontMetrics.ts +47 -0
  1007. package/lib/text/engine/FontPosture.ts +18 -0
  1008. package/lib/text/engine/FontWeight.ts +18 -0
  1009. package/lib/text/engine/GraphicElement.ts +69 -0
  1010. package/lib/text/engine/GroupElement.ts +123 -0
  1011. package/lib/text/engine/JustificationStyle.ts +19 -0
  1012. package/lib/text/engine/Kerning.ts +19 -0
  1013. package/lib/text/engine/LigatureLevel.ts +21 -0
  1014. package/lib/text/engine/LineJustification.ts +20 -0
  1015. package/lib/text/engine/NativehacksForTLF.ts +58 -0
  1016. package/lib/text/engine/RenderingMode.ts +18 -0
  1017. package/lib/text/engine/SpaceJustifier.ts +57 -0
  1018. package/lib/text/engine/TabAlignment.ts +20 -0
  1019. package/lib/text/engine/TabStop.ts +61 -0
  1020. package/lib/text/engine/TextBaseline.ts +23 -0
  1021. package/lib/text/engine/TextBlock.ts +583 -0
  1022. package/lib/text/engine/TextElement.ts +49 -0
  1023. package/lib/text/engine/TextJustifier.ts +46 -0
  1024. package/lib/text/engine/TextLine.ts +434 -0
  1025. package/lib/text/engine/TextLineCreationResult.ts +20 -0
  1026. package/lib/text/engine/TextLineMirrorRegion.ts +62 -0
  1027. package/lib/text/engine/TextLineValidity.ts +20 -0
  1028. package/lib/text/engine/TextRotation.ts +21 -0
  1029. package/lib/text/engine/TypographicCase.ts +22 -0
  1030. package/lib/text/ime/CompositionAttributeRange.ts +29 -0
  1031. package/lib/text/ime/IIMEClient.ts +31 -0
  1032. package/lib/ui/ContextMenu.ts +128 -0
  1033. package/lib/ui/ContextMenuBuiltInItems.ts +104 -0
  1034. package/lib/ui/ContextMenuClipboardItems.ts +93 -0
  1035. package/lib/ui/ContextMenuItem.ts +60 -0
  1036. package/lib/ui/GameInput.ts +49 -0
  1037. package/lib/ui/GameInputControl.ts +76 -0
  1038. package/lib/ui/GameInputControlType.ts +25 -0
  1039. package/lib/ui/GameInputDevice.ts +103 -0
  1040. package/lib/ui/GameInputFinger.ts +23 -0
  1041. package/lib/ui/GameInputHand.ts +22 -0
  1042. package/lib/ui/Keyboard.ts +394 -0
  1043. package/lib/ui/Mouse.ts +70 -0
  1044. package/lib/ui/MouseCursorData.ts +44 -0
  1045. package/lib/ui/Multitouch.ts +117 -0
  1046. package/lib/ui/MultitouchInputMode.ts +27 -0
  1047. package/lib/utils/AwayDate.ts +64 -0
  1048. package/lib/utils/ByteArray.ts +1 -0
  1049. package/lib/utils/CompressionAlgorithm.ts +7 -0
  1050. package/lib/utils/Dictionary.ts +1 -0
  1051. package/lib/utils/Endian.ts +15 -0
  1052. package/lib/utils/IDataInput.ts +194 -0
  1053. package/lib/utils/IDataOutput.ts +147 -0
  1054. package/lib/utils/IExternalizable.ts +37 -0
  1055. package/lib/utils/Timer.ts +115 -0
  1056. package/lib/utils/Trace.ts +33 -0
  1057. package/lib/utils/clearInterval.ts +8 -0
  1058. package/lib/utils/clearTimeout.ts +8 -0
  1059. package/lib/utils/describeType.ts +82 -0
  1060. package/lib/utils/escapeMultiByte.ts +29 -0
  1061. package/lib/utils/getAliasName.ts +7 -0
  1062. package/lib/utils/getDefinitionByName.ts +13 -0
  1063. package/lib/utils/getQualifiedClassName.ts +14 -0
  1064. package/lib/utils/getQualifiedSuperclassName.ts +26 -0
  1065. package/lib/utils/getTimer.ts +20 -0
  1066. package/lib/utils/setInterval.ts +20 -0
  1067. package/lib/utils/setTimeout.ts +20 -0
  1068. package/lib/utils/unescapeMultiByte.ts +27 -0
  1069. package/lib/xml/XML.ts +115 -0
  1070. package/lib/xml/XMLDocumentAway.ts +142 -0
  1071. package/lib/xml/XMLList.ts +449 -0
  1072. package/lib/xml/XMLNode.ts +326 -0
  1073. package/lib/xml/XMLNodeType.ts +48 -0
  1074. package/package.json +78 -4
  1075. package/rollup.config.js +40 -0
  1076. package/tsconfig.json +18 -0
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@awayjs/scene"),require("@awayjs/core"),require("@awayfl/avm2"),require("@awayfl/swf-loader"),require("@awayjs/graphics"),require("@awayjs/view"),require("@awayjs/stage")):"function"==typeof define&&define.amd?define(["exports","@awayjs/scene","@awayjs/core","@awayfl/avm2","@awayfl/swf-loader","@awayjs/graphics","@awayjs/view","@awayjs/stage"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).AwayflPlayerglobal={},e.AwayjsScene,e.AwayjsCore,e.AwayflAvm2,e.AwayflSwfLoader,e.AwayjsGraphics,e.AwayjsView,e.AwayjsStage)}(this,(function(e,t,n,r,i,o,a,s){"use strict";var l=function(e,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},l(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;var u=function(e){function t(t,n,r){void 0===n&&(n=!1),void 0===r&&(r=!1);var i=e.call(this)||this;return i._iAllowedToPropagate=!0,i._iAllowedToImmediatlyPropagate=!0,i._type=o.axCoerceString(t),i._bubbles=!!n,i._cancelable=!!r,i._target=null,i._currentTarget=null,i._eventPhase=null,i._stopPropagation=!1,i._stopImmediatePropagation=!1,i._isDefaultPrevented=!1,i}return c(t,e),t.getInstance=function(e,n,r){void 0===n&&(n=!1),void 0===r&&(r=!1);var i=this._instances[e];return i||(i=new t(e,n,r),this._instances[e]=i),i._bubbles=n,i._cancelable=r,i},t.getBroadcastInstance=function(e,n,r){void 0===n&&(n=!1),void 0===r&&(r=!1);var a=this._instances[e];return a||(a=new t(e,n,r),this._instances[e]=a,i.release||o.assert(t.isBroadcastEventType(e))),a._isBroadcastEvent=!0,a._bubbles=n,a._cancelable=r,a},t.isBroadcastEventType=function(e){switch(e){case t.ENTER_FRAME:case t.EXIT_FRAME:case t.FRAME_CONSTRUCTED:case t.RENDER:case t.ACTIVATE:case t.DEACTIVATE:return!0}return!1},Object.defineProperty(t.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bubbles",{get:function(){return this._bubbles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancelable",{get:function(){return this._cancelable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){return this._target},set:function(e){this._target=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentTarget",{get:function(){return this._currentTarget},set:function(e){this._currentTarget=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"eventPhase",{get:function(){return this._eventPhase},enumerable:!1,configurable:!0}),t.prototype.stopPropagation=function(){this._stopPropagation=!0,this.adaptee&&this.adaptee.stopPropagation()},t.prototype.stopImmediatePropagation=function(){this._stopImmediatePropagation=this._stopPropagation=!0,this.adaptee&&this.adaptee.stopImmediatePropagation()},t.prototype.preventDefault=function(){this._cancelable&&(this._isDefaultPrevented=!0)},t.prototype.isDefaultPrevented=function(){return this._isDefaultPrevented},t.prototype.isBroadcastEvent=function(){return!!this._isBroadcastEvent},t.prototype.clone=function(){return new t(this._type,this._bubbles,this._cancelable)},t.prototype.toString=function(){return this.formatToString("Event","type","bubbles","cancelable","eventPhase")},t.prototype.formatToString=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r="["+e,i=0;i<t.length;i++){var o=t[i],a=this.axGetPublicProperty(o);"string"==typeof a&&(a='"'+a+'"'),r+=" "+o+"="+a}return r+"]"},t.classInitializer=function(){this._instances={}},t.ACTIVATE="activate",t.ADDED="added",t.ADDED_TO_STAGE="addedToStage",t.CANCEL="cancel",t.CHANGE="change",t.CLEAR="clear",t.CLOSE="close",t.COMPLETE="complete",t.CONNECT="connect",t.COPY="copy",t.CUT="cut",t.DEACTIVATE="deactivate",t.ENTER_FRAME="enterFrame",t.FRAME_CONSTRUCTED="frameConstructed",t.EXIT_FRAME="exitFrame",t.FRAME_LABEL="frameLabel",t.ID3="id3",t.INIT="init",t.MOUSE_LEAVE="mouseLeave",t.OPEN="open",t.PASTE="paste",t.REMOVED="removed",t.REMOVED_FROM_STAGE="removedFromStage",t.RENDER="render",t.RESIZE="resize",t.SCROLL="scroll",t.TEXT_INTERACTION_MODE_CHANGE="textInteractionModeChange",t.SELECT="select",t.SELECT_ALL="selectAll",t.SOUND_COMPLETE="soundComplete",t.TAB_CHILDREN_CHANGE="tabChildrenChange",t.TAB_ENABLED_CHANGE="tabEnabledChange",t.TAB_INDEX_CHANGE="tabIndexChange",t.UNLOAD="unload",t.FULLSCREEN="fullScreen",t.CONTEXT3D_CREATE="context3DCreate",t.TEXTURE_READY="textureReady",t.VIDEO_FRAME="videoFrame",t.SUSPEND="suspend",t.AVM1_INIT="initialize",t.AVM1_CONSTRUCT="construct",t.AVM1_LOAD="load",t}(r.ASObject),p=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n._t=t||n,n._listenerObjects||(n._listenerObjects=[]),n}return c(t,e),t.prototype.toString=function(){return""},t.prototype.addEventListener=function(e,t,n,r,i){void 0===r&&(r=0),this._listenerObjects||(this._listenerObjects=[]);var o=this._listenerObjects[e];void 0===o&&(o=this._listenerObjects[e]=new f),o.addEventListener(t,r)},t.prototype.removeEventListener=function(e,t){this._listenerObjects||(this._listenerObjects=[]);var n=this._listenerObjects[e];n&&(n.removeEventListener(t),0==n.numListeners&&delete this._listenerObjects[e])},t.prototype.dispatchEvent=function(e){this._listenerObjects||(this._listenerObjects=[]);var t=this._listenerObjects[e.type];return t&&(this._t&&(e.currentTarget=this._t),e.target||(e.target=this._t),t.dispatchEvent(e)),!0},t.prototype.hasEventListener=function(e,t){return void 0!==this._listenerObjects[e]&&(null!=t?-1!==this._listenerObjects[e].getEventListenerIndex(t):this._listenerObjects[e].numListeners>0)},t}(r.ASObject);function d(e,t){return e.priority<t.priority?-1:1}var f=function(){function e(){this._index=0,this._singlePriority=0,this._listeners=new Array,this.numListeners=0}return e.prototype.addEventListener=function(e,t){if(void 0===t&&(t=0),!this._listenersByPriority)return-1!==this._listeners.indexOf(e)?void 0:0==this._listeners.length||t==this._singlePriority?(this._listeners.push(e),void this.numListeners++):(this._singlePriority<t?this._listenersByPriority=[{priority:this._singlePriority,listeners:this._listeners.concat()},{priority:t,listeners:[e]}]:this._listenersByPriority=[{priority:t,listeners:[e]},{priority:this._singlePriority,listeners:this._listeners.concat()}],void this.numListeners++);for(var n=0;n<this._listenersByPriority.length;n++)if(-1!==this._listenersByPriority[n].listeners.indexOf(e))return;var r=null;for(n=0;n<this._listenersByPriority.length;n++)if(this._listenersByPriority[n].priority==t){r=this._listenersByPriority[n];break}r||(r={priority:t,listeners:[]},this._listenersByPriority.push(r),this._listenersByPriority.length>1&&this._listenersByPriority.sort(d)),r.listeners.push(e),this.numListeners++},e.prototype.removeEventListener=function(e){var t=-1;if(!this._listenersByPriority){if(-1===(t=this._listeners.indexOf(e)))return;return this._listeners.splice(t,1),void this.numListeners--}for(var n=0;n<this._listenersByPriority.length;n++)if(-1!==(t=this._listenersByPriority[n].listeners.indexOf(e)))return this.numListeners--,void this._listenersByPriority[n].listeners.splice(t,1)},e.prototype.dispatchEvent=function(e){if(this._listenersByPriority){for(var t=this._listenersByPriority.length;t>0;){t--;r=(n=this._listenersByPriority[t].listeners.length>1?this._listenersByPriority[t].listeners.concat():this._listenersByPriority[t].listeners).length,i=0;for(i=0;i<r;i++)n[i]&&n[i].call(n[i],e)}1==this._listenersByPriority.length&&(this._listeners=this._listenersByPriority[0].listeners.concat(),this._singlePriority=this._listenersByPriority[0].priority,this._listenersByPriority=null)}else{var n,r=(n=this._listeners.length>1?this._listeners.concat():this._listeners).length,i=0;for(i=0;i<r;i++)n[i]&&n[i].call(n[i],e)}},e.prototype.getEventListenerIndex=function(e){if(!this._listenersByPriority)return this._listeners.indexOf(e);for(var t=0;t<this._listenersByPriority.length;t++)for(var n=0;n<this._listenersByPriority[t].listeners.length;n++)if(this._listenersByPriority[t].listeners[n]==e)return t;return-1},e}(),h=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===i&&(i=void 0),void 0===o&&(o=void 0),void 0===a&&(a=null),void 0===s&&(s=!1),void 0===l&&(l=!1),void 0===c&&(c=!1),void 0===u&&(u=!1),void 0===p&&(p=0);var d=e.call(this,t,n,r)||this;return d._localX=i,d._localY=o,d._relatedObject=a,d._ctrlKey=s,d._altKey=l,d._shiftKey=c,d._buttonDown=u,d._delta=p,d}return c(t,e),t.typeFromDOMType=function(e){switch(e){case"click":return t.CLICK;case"dblclick":return t.DOUBLE_CLICK;case"mousedown":return t.MOUSE_DOWN;case"mouseout":case"mouseover":case"mousemove":return t.MOUSE_MOVE;case"mouseup":return t.MOUSE_UP;default:i.notImplemented(e)}},t.prototype.fillFromAway=function(e){this.adaptee=e,this.target=e.target.adapter||this.sec.flash.display.DisplayObject.axClass._activeStage,this.currentTarget=e.currentTarget.adapter||this.sec.flash.display.DisplayObject.axClass._activeStage,this.delta=e.delta,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.buttonDown=Boolean(1&e.buttons)},Object.defineProperty(t.prototype,"localX",{get:function(){return this._localX/20|0},set:function(e){this._localX=20*e|0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localY",{get:function(){return this._localY/20|0},set:function(e){this._localY=20*e|0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageX",{get:function(){return isNaN(this.localX+this.localY)?Number.NaN:this.target.stage.mouseX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageY",{get:function(){return isNaN(this.localX+this.localY)?Number.NaN:this.target.stage.mouseY},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementX",{get:function(){return this._movementX||0},set:function(e){this._movementX=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementY",{get:function(){return this._movementY||0},set:function(e){this._movementY=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"delta",{get:function(){return this._delta},set:function(e){this._delta=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buttonDown",{get:function(){return this._buttonDown},set:function(e){this._buttonDown=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedObject",{get:function(){return this._relatedObject},set:function(e){this._relatedObject=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRelatedObjectInaccessible",{get:function(){return this._isRelatedObjectInaccessible},set:function(e){this._isRelatedObjectInaccessible=e},enumerable:!1,configurable:!0}),t.prototype.updateAfterEvent=function(){this.sec.player.requestRender()},t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.localX,this.localY,this.relatedObject,this.ctrlKey,this.altKey,this.shiftKey,this.buttonDown,this.delta)},t.prototype.toString=function(){return this.formatToString("MouseEvent","type","bubbles","cancelable","eventPhase","localX","localY","relatedObject","ctrlKey","altKey","shiftKey","buttonDown","delta")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.CLICK="click",t.DOUBLE_CLICK="doubleClick",t.MOUSE_DOWN="mouseDown",t.MOUSE_MOVE="mouseMove",t.MOUSE_OUT="mouseOut",t.MOUSE_OVER="mouseOver",t.MOUSE_UP="mouseUp",t.RELEASE_OUTSIDE="releaseOutside",t.MOUSE_WHEEL="mouseWheel",t.ROLL_OUT="rollOut",t.ROLL_OVER="rollOver",t.MIDDLE_CLICK="middleClick",t.MIDDLE_MOUSE_DOWN="middleMouseDown",t.MIDDLE_MOUSE_UP="middleMouseUp",t.RIGHT_CLICK="rightClick",t.RIGHT_MOUSE_DOWN="rightMouseDown",t.RIGHT_MOUSE_UP="rightMouseUp",t.CONTEXT_MENU="contextMenu",t}(u),g=function(e){function t(t){void 0===t&&(t=null);var r=e.call(this,t)||this;return r.id=n.UUID.Next(),r.eventMapping||(r.eventMapping={}),r.eventMappingDummys||(r.eventMappingDummys={}),r.eventMappingExtern||(r.eventMappingExtern={}),r.eventMappingInvert||(r.eventMappingInvert={}),r._activateCallbackDelegate=function(e){return r.activateCallback(e)},r.eventMapping[u.ACTIVATE]={adaptedType:"",addListener:r.initActivateListener,removeListener:r.removeActivateListener,callback:r._activateCallbackDelegate},r._deactivateCallbackDelegate=function(e){return r.deactivateCallback(e)},r.eventMapping[u.DEACTIVATE]={adaptedType:"",addListener:r.initDeactivateListener,removeListener:r.removeDeactivateListener,callback:r._deactivateCallbackDelegate},r}return c(t,e),t.prototype.toString=function(){return""},t.prototype.hasEventListener=function(t,n){return e.prototype.hasEventListener.call(this,t,n)},t.prototype.willTrigger=function(){},t.prototype.dispatchEvent=function(n,r){void 0===r&&(r=!1),n.currentTarget=this,"enterFrame"==n.type&&(n.target=this);var i=e.prototype.dispatchEvent.call(this,n);return!r&&n.bubbles&&-1==t.eventsThatBubbleInAwayJS.indexOf(n.type)&&this.adaptee&&this.adaptee.parent&&this.adaptee.parent.adapter.dispatchEvent(n),i},t.prototype.initActivateListener=function(e,t){window.onfocus=t},t.prototype.removeActivateListener=function(e,t){window.onfocus=null},t.prototype.activateCallback=function(e){this.dispatchEvent(new this.sec.flash.events.Event(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){this.dispatchEvent(new this.sec.flash.events.Event(u.DEACTIVATE))},t.prototype.addEventListener=function(t,n,r,i,o){return void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=!1),!r&&u.isBroadcastEventType(t)&&m.getInstance().add(t,this),this.eventMapping||(this.eventMapping={}),this.eventMappingDummys||(this.eventMappingDummys={}),this.eventMappingExtern||(this.eventMappingExtern={}),this.eventMappingInvert||(this.eventMappingInvert={}),this.eventMappingDummys.hasOwnProperty(t)?void 0:this.eventMapping.hasOwnProperty(t)?(e.prototype.addEventListener.call(this,t,n,r,i,o),void this.eventMapping[t].addListener.call(this,this.eventMapping[t].adaptedType,this.eventMapping[t].callback,n)):void e.prototype.addEventListener.call(this,t,n,r,i,o)},t.prototype.removeEventListener=function(t,n){this.eventMapping||(this.eventMapping={}),this.eventMappingDummys||(this.eventMappingDummys={}),this.eventMappingExtern||(this.eventMappingExtern={}),this.eventMappingInvert||(this.eventMappingInvert={}),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,n),this.hasEventListener(t)||u.isBroadcastEventType(t)&&m.getInstance().remove(t,this))},t.eventsThatBubbleInAwayJS=[h.MOUSE_WHEEL,h.MOUSE_UP,h.MOUSE_OVER,h.MOUSE_OUT,h.ROLL_OVER,h.ROLL_OUT,h.MOUSE_MOVE,h.MOUSE_DOWN,h.DOUBLE_CLICK,h.CLICK,u.ENTER_FRAME,u.EXIT_FRAME,u.FRAME_CONSTRUCTED,u.ADDED_TO_STAGE,u.RESIZE,u.REMOVED_FROM_STAGE],t}(p),b="WeakRef"in self&&r.Settings.USE_WEAK_REF;b&&console.debug("[BroadcastEventDispatchQueue] `WeakRef` used for Broadcast Events!");var y,m=function(){function e(){this._queues={}}return e.getInstance=function(){return e._instance||(e._instance=new e)},e.prototype.add=function(e,t){var n=this._queues[e]||(this._queues[e]=[]);n[t.id]||(n[t.id]=b?new self.WeakRef(t):t)},e.prototype.remove=function(e,t){var n=this._queues[e];i.release||o.assert(n,"There should already be a queue for this."),delete n[t.id]},e.prototype.dispatchEvent=function(e){var t=this._queues[e._type];if(t)for(var n in t){var r=t[n];if(b&&(r=null==r?void 0:r.deref()),r){var i=new e.sec.flash.events.Event(e.type,e.bubbles,e.cancelable);i._isBroadcastEvent=e._isBroadcastEvent,r.dispatchEvent(i)}else console.debug("[BroadcastEventDispatchQueue] Broadcast target was deleted by GC:",n),delete t[n]}},e.prototype.getQueueLength=function(e){return this._queues[e]?Object.getOwnPropertyNames(this._queues[e]).length:0},e}(),_=function(){function e(){}return e.events={},e}(),v=function(e){function t(){return e.call(this)||this}return c(t,e),t.prototype.clone=function(){return null},t.prototype.toAwayObject=function(){return null},t.classInitializer=null,t}(r.ASObject),O=function(){function e(){}return e.sanitize=function(e,t,n){if(i.isNullOrUndefined(e)||0===e.length)this.colors=[],this.alphas=[],this.ratios=[];else{var r=void 0;i.isNullOrUndefined(n)?(this.colors=this.sanitizeColors(e),r=this.colors.length,this.ratios=this.initArray(r),i.isNullOrUndefined(t)?this.alphas=this.initArray(r):this.alphas=this.sanitizeAlphas(t,r,r,1)):0===n.length?(this.colors=[],this.alphas=[],this.ratios=[]):(r=Math.min(e.length,n.length,16),this.colors=this.sanitizeColors(e,r),this.ratios=this.sanitizeRatios(n,r),i.isNullOrUndefined(t)?this.alphas=this.initArray(r):this.alphas=this.sanitizeAlphas(t,r,r,1))}},e.sanitizeColors=function(e,t){void 0===t&&(t=16);for(var n=[],r=0,i=Math.min(e.length,t);r<i;r++)n[r]=e[r]>>>0&16777215;return n},e.sanitizeAlphas=function(e,t,n,r){void 0===t&&(t=16),void 0===n&&(n=0),void 0===r&&(r=0);var o,a=[],s=Math.min(e.length,t);for(o=0;o<s;o++)a[o]=i.clamp(+e[o],0,1);for(;o<n;)a[o++]=r;return a},e.sanitizeRatios=function(e,t,n,r){void 0===t&&(t=16),void 0===n&&(n=0),void 0===r&&(r=0);var o,a=[],s=Math.min(e.length,t);for(o=0;o<s;o++)a[o]=i.clamp(+e[o],0,255);for(;o<n;)a[o++]=r;return a},e.initArray=function(e,t){void 0===t&&(t=0);for(var n=Array(e),r=0;r<e;r++)n[r]=t;return n},e}(),S=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){void 0===t&&(t=4),void 0===n&&(n=45),void 0===r&&(r=0),void 0===i&&(i=1),void 0===o&&(o=4),void 0===a&&(a=4),void 0===s&&(s=1),void 0===l&&(l=1),void 0===c&&(c=!1),void 0===u&&(u=!1),void 0===p&&(p=!1);var d=e.call(this)||this;return d.filterName="dropShadow",d.distance=t,d.angle=n,d.color=r,d.alpha=i,d.blurX=o,d.blurY=a,d.strength=s,d.quality=l,d.inner=c,d.knockout=u,d.hideObject=p,d}return c(t,e),t.FromUntyped=function(e,t){i.release||i.assert(e.colors&&1===e.colors.length,"colors must be Array of length 1");var n=e.colors[0]>>>8,r=(255&e.colors[0])/255,o=180*e.angle/Math.PI,a=!e.compositeSource;return new t.flash.filters.DropShadowFilter(e.distance,o,n,r,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout,a)},Object.defineProperty(t.prototype,"distance",{get:function(){return this._distance},set:function(e){this._distance=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=+e%360},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e>>>0&16777215},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._alpha},set:function(e){this._alpha=i.clamp(+e,0,1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideObject",{get:function(){return this._hideObject},set:function(e){this._hideObject=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inner",{get:function(){return this._inner},set:function(e){this._inner=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"knockout",{get:function(){return this._knockout},set:function(e){this._knockout=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strength",{get:function(){return this._strength},set:function(e){this._strength=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),t.prototype.toAwayObject=function(){return this},t.prototype.clone=function(){return new this.sec.flash.filters.DropShadowFilter(this._distance,this._angle,this._color,this._alpha,this._blurX,this._blurY,this._strength,this._quality,this._inner,this._knockout,this._hideObject)},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),P=function(e){function t(t,n,r,i,o,a,s,l){void 0===t&&(t=16711680),void 0===n&&(n=1),void 0===r&&(r=6),void 0===i&&(i=6),void 0===o&&(o=2),void 0===a&&(a=1),void 0===s&&(s=!1),void 0===l&&(l=!1);var c=e.call(this)||this;return c.filterName="glow",c.color=t,c.alpha=n,c.blurX=r,c.blurY=i,c.strength=o,c.quality=a,c.inner=s,c.knockout=l,c}return c(t,e),t.FromUntyped=function(e,t){i.release||i.assert(e.colors&&1===e.colors.length,"colors must be Array of length 1");var n=e.colors[0]>>>8,r=(255&e.colors[0])/255;return new t.flash.filters.GlowFilter(n,r,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout)},Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e>>>0&16777215},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._alpha},set:function(e){this._alpha=i.clamp(+e,0,1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inner",{get:function(){return this._inner},set:function(e){this._inner=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"knockout",{get:function(){return this._knockout},set:function(e){this._knockout=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strength",{get:function(){return this._strength},set:function(e){this._strength=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),t.prototype.toAwayObject=function(){return this},t.prototype.clone=function(){return new this.sec.flash.filters.GlowFilter(this._color,this._alpha,this._blurX,this._blurY,this._strength,this._quality,this._inner,this._knockout)},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),D=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.INNER="inner",t.OUTER="outer",t.FULL="full",t}(r.ASObject),E=function(e){function t(t,n,r,i,o,a,s,l,c,u,p,d){void 0===t&&(t=4),void 0===n&&(n=45),void 0===r&&(r=16777215),void 0===i&&(i=1),void 0===o&&(o=0),void 0===a&&(a=1),void 0===s&&(s=4),void 0===l&&(l=4),void 0===c&&(c=1),void 0===u&&(u=1),void 0===p&&(p="inner"),void 0===d&&(d=!1);var f=e.call(this)||this;return f.filterName="bevel",f.distance=t,f.angle=n,f.highlightColor=r,f.highlightAlpha=i,f.shadowColor=o,f.shadowAlpha=a,f.blurX=s,f.blurY=l,f.strength=c,f.quality=u,f.type=p,f.knockout=d,f}return c(t,e),t.FromUntyped=function(e,t){i.release||i.assert(e.colors&&2===e.colors.length,"colors must be Array of length 2");var n=e.colors[0]>>>8,r=(255&e.colors[0])/255,o=e.colors[1]>>>8,a=(255&e.colors[1])/255,s=D.OUTER;e.onTop?s=D.FULL:e.inner&&(s=D.INNER);var l=180*e.angle/Math.PI;return new t.flash.filters.BevelFilter(e.distance,l,n,r,o,a,e.blurX,e.blurY,e.strength,e.quality,s,e.knockout)},Object.defineProperty(t.prototype,"distance",{get:function(){return this._distance},set:function(e){this._distance=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=+e%360},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightColor",{get:function(){return this._highlightColor},set:function(e){this._highlightColor=e>>>0&16777215},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightAlpha",{get:function(){return this._highlightAlpha},set:function(e){this._highlightAlpha=i.clamp(+e,0,1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shadowColor",{get:function(){return this._shadowColor},set:function(e){this._shadowColor=e>>>0&16777215},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shadowAlpha",{get:function(){return this._shadowAlpha},set:function(e){this._shadowAlpha=i.clamp(+e,0,1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"knockout",{get:function(){return this._knockout},set:function(e){this._knockout=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strength",{get:function(){return this._strength},set:function(e){this._strength=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){null===(e=r.axCoerceString(e))?this.sec.throwError("TypeError",r.Errors.NullPointerError,"type"):e===D.INNER||e===D.OUTER?this._type=e:this._type=D.FULL},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.BevelFilter(this._distance,this._angle,this._highlightColor,this._highlightAlpha,this._shadowColor,this._shadowAlpha,this._blurX,this._blurY,this._strength,this._quality,this._type,this._knockout)},t.prototype.toAwayObject=function(){return this},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),I=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){void 0===t&&(t=4),void 0===n&&(n=45),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=4),void 0===s&&(s=4),void 0===l&&(l=1),void 0===c&&(c=1),void 0===u&&(u="inner"),void 0===p&&(p=!1);var d=e.call(this)||this;return d.distance=t,d.angle=n,O.sanitize(r?r.value:null,i?i.value:null,o?o.value:null),d._colors=O.colors,d._alphas=O.alphas,d._ratios=O.ratios,d.blurX=a,d.blurY=s,d.strength=l,d.quality=c,d.type=u,d.knockout=p,d}return c(t,e),t.FromUntyped=function(e,t){for(var n=[],r=[],i=0;i<e.colors.length;i++){var o=e.colors[i];n.push(o>>>8),r.push(255&o)}var a=D.OUTER;e.onTop?a=D.FULL:e.inner&&(a=D.INNER);var s=180*e.angle/Math.PI;return new t.flash.filters.GradientGlowFilter(e.distance,s,t.createArrayUnsafe(n),t.createArrayUnsafe(r),t.createArrayUnsafe(e.ratios),e.blurX,e.blurY,e.strength,e.quality,a,e.knockout)},Object.defineProperty(t.prototype,"distance",{get:function(){return this._distance},set:function(e){this._distance=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=+e%360},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colors",{get:function(){return this.sec.createArrayUnsafe(this._colors.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"colors"),this._colors=O.sanitizeColors(e.value);var t=this._colors.length;this._alphas=O.sanitizeAlphas(this._alphas,t,t),this._ratios=O.sanitizeRatios(this._ratios,t,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alphas",{get:function(){return this.sec.createArrayUnsafe(this._alphas.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"alphas"),O.sanitize(this._colors,e.value,this._ratios),this._colors=O.colors,this._alphas=O.alphas,this._ratios=O.ratios},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ratios",{get:function(){return this.sec.createArrayUnsafe(this._ratios.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"ratios"),O.sanitize(this._colors,this._alphas,e.value),this._colors=O.colors,this._alphas=O.alphas,this._ratios=O.ratios},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"knockout",{get:function(){return this._knockout},set:function(e){this._knockout=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strength",{get:function(){return this._strength},set:function(e){this._strength=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){null===(e=r.axCoerceString(e))?this.sec.throwError("TypeError",r.Errors.NullPointerError,"type"):e===D.INNER||e===D.OUTER?this._type=e:this._type=D.FULL},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.GradientGlowFilter(this._distance,this._angle,this.colors,this.alphas,this.ratios,this._blurX,this._blurY,this._strength,this._quality,this._type,this._knockout)},t.classInitializer=null,t}(v),x=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){void 0===t&&(t=4),void 0===n&&(n=45),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=4),void 0===s&&(s=4),void 0===l&&(l=1),void 0===c&&(c=1),void 0===u&&(u="inner"),void 0===p&&(p=!1);var d=e.call(this)||this;return d.distance=t,d.angle=n,O.sanitize(r?r.value:null,i?i.value:null,o?o.value:null),d._colors=O.colors,d._alphas=O.alphas,d._ratios=O.ratios,d.blurX=a,d.blurY=s,d.strength=l,d.quality=c,d.type=u,d.knockout=p,d}return c(t,e),t.FromUntyped=function(e,t){for(var n=[],r=[],i=0;i<e.colors.length;i++){var o=e.colors[i];n.push(o>>>8),r.push(255&o)}var a=D.OUTER;e.onTop?a=D.FULL:e.inner&&(a=D.INNER);var s=180*e.angle/Math.PI;return new t.flash.filters.GradientBevelFilter(e.distance,s,t.createArrayUnsafe(n),t.createArrayUnsafe(r),t.createArrayUnsafe(e.ratios),e.blurX,e.blurY,e.strength,e.quality,a,e.knockout)},Object.defineProperty(t.prototype,"distance",{get:function(){return this._distance},set:function(e){this._distance=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=+e%360},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colors",{get:function(){return this.sec.createArrayUnsafe(this._colors.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"colors"),this._colors=O.sanitizeColors(e.value);var t=this._colors.length;this._alphas=O.sanitizeAlphas(this._alphas,t,t),this._ratios=O.sanitizeRatios(this._ratios,t,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alphas",{get:function(){return this.sec.createArrayUnsafe(this._alphas.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"alphas"),O.sanitize(this._colors,e.value,this._ratios),this._colors=O.colors,this._alphas=O.alphas,this._ratios=O.ratios},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ratios",{get:function(){return this.sec.createArrayUnsafe(this._ratios.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"ratios"),O.sanitize(this._colors,this._alphas,e.value),this._colors=O.colors,this._alphas=O.alphas,this._ratios=O.ratios},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"knockout",{get:function(){return this._knockout},set:function(e){this._knockout=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strength",{get:function(){return this._strength},set:function(e){this._strength=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){null===(e=r.axCoerceString(e))?this.sec.throwError("TypeError",r.Errors.NullPointerError,"type"):e===D.INNER||e===D.OUTER?this._type=e:this._type=D.FULL},enumerable:!1,configurable:!0}),t.prototype.toAwayObject=function(){return{filterName:"bevel",distance:this._distance,angle:this._angle,blurX:this._blurX,blurY:this._blurY,strength:this._strength,quality:this._quality,type:this._type,knockout:this._knockout,colors:this._colors,alphas:this._alphas,ratios:this._ratios}},t.prototype.clone=function(){return new this.sec.flash.filters.GradientBevelFilter(this._distance,this._angle,this.colors,this.alphas,this.ratios,this._blurX,this._blurY,this._strength,this._quality,this._type,this._knockout)},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),w=function(e){function t(t,n,r){void 0===t&&(t=4),void 0===n&&(n=4),void 0===r&&(r=1);var i=e.call(this)||this;return i.filterName="blur",i.blurX=t,i.blurY=n,i.quality=r,i}return c(t,e),t.FromUntyped=function(e,t){return new t.flash.filters.BlurFilter(e.blurX,e.blurY,e.quality)},Object.defineProperty(t.prototype,"blurX",{get:function(){return this._blurX},set:function(e){this._blurX=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blurY",{get:function(){return this._blurY},set:function(e){this._blurY=i.clamp(+e,0,255)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=i.clamp(0|e,0,15)},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.BlurFilter(this._blurX,this._blurY,this._quality)},t.prototype.toAwayObject=function(){return this},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),T=function(e){function t(t,n,r,i,o,a,s,l,c){void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=null),void 0===i&&(i=1),void 0===o&&(o=0),void 0===a&&(a=!0),void 0===s&&(s=!0),void 0===l&&(l=0),void 0===c&&(c=0);var u=e.call(this)||this;return u.matrixX=t,u.matrixY=n,r?u.matrix=r:u._matrix=u._expandArray([],u._matrixX*u._matrixY),u.divisor=i,u.bias=o,u.preserveAlpha=a,u.clamp=s,u.color=l,u.alpha=c,u}return c(t,e),t.FromUntyped=function(e,t){return new t.flash.filters.ConvolutionFilter(e.matrixX,e.matrixY,e.matrix,e.divisor,e.bias,e.preserveAlpha,e.clamp,e.color>>>8,(255&e.color)/255)},t.prototype._expandArray=function(e,t,n){if(e)for(var r=e.length;r<t;)e[r++]=0;return e},Object.defineProperty(t.prototype,"matrix",{get:function(){return this.sec.createArrayUnsafe(this._matrix.slice(0,this._matrixX*this._matrixY))},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"matrix");for(var t=e.value,n=this._matrixX*this._matrixY,o=Math.min(t.length,n),a=Array(o),s=0;s<o;s++)a[s]=i.toNumber(t[s]);this._expandArray(a,n),this._matrix=a},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixX",{get:function(){return this._matrixX},set:function(e){var t=0|i.clamp(+e,0,15);this._matrixX!==t&&(this._matrixX=t,this._expandArray(this._matrix,t*this._matrixY))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixY",{get:function(){return this._matrixY},set:function(e){var t=0|i.clamp(+e,0,15);this._matrixY!==t&&(this._matrixY=t,this._expandArray(this._matrix,t*this._matrixX))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"divisor",{get:function(){return this._divisor},set:function(e){this._divisor=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bias",{get:function(){return this._bias},set:function(e){this._bias=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"preserveAlpha",{get:function(){return this._preserveAlpha},set:function(e){this._preserveAlpha=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clamp",{get:function(){return this._clamp},set:function(e){this._clamp=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e>>>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._alpha},set:function(e){this._alpha=i.clamp(+e,0,1)},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.ConvolutionFilter(this._matrixX,this._matrixY,this.matrix,this._divisor,this._bias,this._preserveAlpha,this._clamp,this._color,this._alpha)},t.classInitializer=null,t}(v),C=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return t?n.matrix=t:n._matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],n}return c(t,e),t.FromUntyped=function(e,t){return new t.flash.filters.ColorMatrixFilter(t.createArrayUnsafe(e.matrix))},t.prototype._serialize=function(e){var t=this._matrix;e.ensureAdditionalCapacity(4*(t.length+1)),e.writeIntUnsafe(6);for(var n=0;n<t.length;n++)e.writeFloatUnsafe(t[n])},Object.defineProperty(t.prototype,"matrix",{get:function(){return this.sec.createArrayUnsafe(this._matrix.concat())},set:function(e){i.isNullOrUndefined(e)&&this.sec.throwError("TypeError",r.Errors.NullPointerError,"matrix");for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.value,o=0,a=Math.min(n.length,20);o<a;o++)t[o]=i.toNumber(n[o]);this._matrix=t},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.ColorMatrixFilter(this.sec.createArrayUnsafe(this._matrix))},t.prototype.toAwayObject=function(){return{filterName:"colorMatrix",matrix:this._matrix}},t.classInitializer=null,t}(v),A=((y={})[i.FilterType.DROPSHADOW]=S,y[i.FilterType.GLOW]=P,y[i.FilterType.BEVEL]=E,y[i.FilterType.GRADIENTGLOW]=I,y[i.FilterType.GRADIENTBEVEL]=x,y[i.FilterType.BLUR]=w,y[i.FilterType.CONVOLUTION]=T,y[i.FilterType.COLORMATRIX]=C,y),j=function(){function e(){}return e.FromUntyped=function(e,t){return e&&A[e.type]?A[e.type].FromUntyped(e,t):null},e}(),R=new n.Point,L=function(e){return isNaN(e)?0:e===1/0||e===-1/0?-107374182.4:e},M=function(e){function o(){var t=e.call(this)||this;return t._forceWidth=0,t._forceHeight=0,t.$lazyConstructProperty={},o.applyLazy(t),t._filters=t._filters||t.sec.createArrayUnsafe([]),t._blockedByScript=!1,t._ctBlockedByScript=!1,t._visibilityByScript=!1,t.adaptee.mouseEnabled=!1,t._stage=t.activeStage,t.eventMappingExtern[u.ENTER_FRAME]="",t.eventMappingExtern[u.FRAME_CONSTRUCTED]="",t.eventMappingExtern[u.EXIT_FRAME]="",t.eventMappingExtern[u.RENDER]="",t.eventMappingExtern[u.REMOVED_FROM_STAGE]="",t.eventMappingExtern[u.REMOVED]="",t.eventMappingExtern[u.ADDED_TO_STAGE]="",t.eventMappingExtern[u.ADDED]="",t._transform=new t.sec.flash.geom.Transform(t.adaptee.transform),t}return c(o,e),o.defineLazy=function(e,t,n){return!e._adaptee&&(e.$lazyConstructProperty||(e.$lazyConstructProperty={}),e.$lazyConstructProperty[t]=n,!0)},o.applyLazy=function(e){if(e.$lazyConstructProperty){for(var t in e.$lazyConstructProperty)t in e&&(e[t]=e.$lazyConstructProperty[t]);e.$lazyConstructProperty=null}},o.prototype.toString=function(){return"[object ".concat(this.classInfo.instanceInfo.multiname.name,"]")},o.prototype.applySymbol=function(){},o.prototype.dispatchStaticEvent=function(e,t){void 0===t&&(t=null),_.events[e]||(_.events[e]=new this.sec.flash.events.Event(e)),_.events[e].target=t,this.dispatchEvent(_.events[e])},o.prototype.dispatch_ADDED_TO_STAGE=function(e){void 0===e&&(e=!1),e&&(this.adaptee.hasDispatchedAddedToStage=!0,_.events[u.ADDED_TO_STAGE]||(_.events[u.ADDED_TO_STAGE]=new this.sec.flash.events.Event(u.ADDED_TO_STAGE)),_.events[u.ADDED_TO_STAGE].target=this,this.dispatchEvent(_.events[u.ADDED_TO_STAGE]))},o.prototype.dispatch_REMOVED_FROM_STAGE=function(e){void 0===e&&(e=!1),e&&(this.adaptee.hasDispatchedAddedToStage=!1,_.events[u.REMOVED_FROM_STAGE]||(_.events[u.REMOVED_FROM_STAGE]=new this.sec.flash.events.Event(u.REMOVED_FROM_STAGE)),_.events[u.REMOVED_FROM_STAGE].target=this,this.dispatchEvent(_.events[u.REMOVED_FROM_STAGE]))},o.prototype.dispatchStaticBroadCastEvent=function(e){_.events[e]||(_.events[e]=new this.sec.flash.events.Event(e)),m.getInstance().dispatchEvent(_.events[e])},o.prototype.updateFilters=function(e){var t=[];if(e&&e.length)for(var n=0,r=e;n<r.length;n++){var i=r[n],o=j.FromUntyped(i,this.sec);o&&t.push(o)}this.filters=this.sec.createArrayUnsafe(t)},o.prototype.createAdaptee=function(){return new t.DisplayObject},o.prototype.mapAdaptee=function(e){return e&&(e.adapter=this),e},Object.defineProperty(o.prototype,"activeStage",{get:function(){return this.sec.flash.display.DisplayObject.axClass._activeStage},enumerable:!1,configurable:!0}),o.prototype.dispatchEventRecursive=function(e){this.dispatchEvent(e)},Object.defineProperty(o.prototype,"node",{get:function(){return this._node||(this._node=i.AVMStage.instance().view.getNode(this._adaptee)),this._node},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"adaptee",{get:function(){return this._adaptee||(this.adaptee=this.createAdaptee())},set:function(e){this._adaptee!=e&&(this._adaptee&&(this._adaptee.adapter=null),this._adaptee=this.mapAdaptee(e))},enumerable:!1,configurable:!0}),o.prototype.initAdapter=function(){},o.prototype.isBlockedByScript=function(){return this._blockedByScript},o.prototype.isVisibilityByScript=function(){return this._visibilityByScript},o.prototype.isColorTransformByScript=function(){return this._ctBlockedByScript},o.prototype.freeFromScript=function(){this._blockedByScript=!1,this._ctBlockedByScript=!1,this._visibilityByScript=!1},o.prototype.clone=function(){if(!this._symbol)throw"_symbol not defined when cloning movieclip";var e=r.constructClassFromSymbol(this._symbol,this._symbol.symbolClass);return e.axInitializer(),e.loaderInfo=this.loaderInfo,this.adaptee.copyTo(e.adaptee),e},o.prototype.dispose=function(){throw new n.AbstractMethodError},o.prototype.disposeValues=function(){this.adaptee=null},Object.defineProperty(o.prototype,"accessibilityProperties",{get:function(){return n.Debug.throwPIR("playerglobals/display/DisplayObject","get accessibilityProperties",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/DisplayObject","set accessibilityProperties","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"alpha",{get:function(){return this.adaptee.alpha},set:function(e){this._ctBlockedByScript=!0,this.adaptee.alpha=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"blendMode",{get:function(){return this._adaptee.blendMode},set:function(e){this._adaptee.blendMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"blendShader",{set:function(e){n.Debug.throwPIR("playerglobals/display/DisplayObject","set blendShader","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"cacheAsBitmap",{get:function(){return this.adaptee.cacheAsBitmap},set:function(e){this.adaptee.cacheAsBitmap=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"filters",{get:function(){return this._filters},set:function(e){this._filters!=e&&(this._filters=e,this._adaptee.filters=null==e?void 0:e.value.map((function(e){return e.toAwayObject()})))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){if(0!=this._forceHeight)return this._forceHeight;if(this.adaptee.isAsset(t.TextField))return this.adaptee.height;var e=this.getBoundsInternal(this.parent||this._stage);return null==e?0:Math.round(20*e.height)/20},set:function(e){isNaN(e)||(e=L(e),e=Math.round(20*e)/20,this._blockedByScript=!0,this.adaptee.isAsset(t.TextField)?this.adaptee.height=e:a.PickGroup.getInstance().getBoundsPicker(this.node).height=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"loaderInfo",{get:function(){var e;return this._loaderInfo||(null===(e=this.root)||void 0===e?void 0:e._loaderInfo)},set:function(e){this._loaderInfo=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mask",{get:function(){var e;return(null===(e=this.adaptee.mask)||void 0===e?void 0:e.adapter)||null},set:function(e){this.adaptee.mask=(null==e?void 0:e.adaptee)||null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"metaData",{get:function(){return n.Debug.throwPIR("playerglobals/display/DisplayObject","get metaData",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/DisplayObject","set metaData","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseX",{get:function(){return R.setTo(this._stage.mouseX,this._stage.mouseY),this.node.globalToLocal(R,R),Math.floor(R.x)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseY",{get:function(){return R.setTo(this._stage.mouseX,this._stage.mouseY),this.node.globalToLocal(R,R),Math.floor(R.y)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return this.adaptee.name},set:function(e){this.adaptee.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"opaqueBackground",{get:function(){return n.Debug.throwPIR("playerglobals/display/DisplayObject","get opaqueBackground",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/DisplayObject","set opaqueBackground","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"parent",{get:function(){return null==this.adaptee.parent||null==this.adaptee.parent.adapter||this.adaptee.parent.adapter==this.adaptee.parent?null:this.adaptee.parent.adapter},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"root",{get:function(){var e,t;return this.adaptee.isAVMScene?this:null===(t=null===(e=this.adaptee.parent)||void 0===e?void 0:e.adapter)||void 0===t?void 0:t.root},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotation",{get:function(){return this.adaptee.rotationZ},set:function(e){this._blockedByScript=!0;var t=isNaN(e)?0:isFinite(e)?e%360:-8;t<-180?t+=360:t>180&&(t-=360),this.adaptee.rotationZ=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationX",{get:function(){return this.adaptee.rotationX},set:function(e){this._blockedByScript=!0,this.adaptee.rotationX=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationY",{get:function(){return this.adaptee.rotationY},set:function(e){this._blockedByScript=!0,this.adaptee.rotationY=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationZ",{get:function(){return this.adaptee.rotationZ},set:function(e){this._blockedByScript=!0,this.adaptee.rotationZ=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scale9Grid",{get:function(){return new this.sec.flash.geom.Rectangle(this.adaptee.scale9Grid)},set:function(e){this.adaptee.scale9Grid=e.adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleX",{get:function(){return this.adaptee.scaleX},set:function(e){this._blockedByScript=!0,this.adaptee.scaleX=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleY",{get:function(){return this.adaptee.scaleY},set:function(e){this._blockedByScript=!0,this.adaptee.scaleY=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleZ",{get:function(){return this.adaptee.scaleZ},set:function(e){this._blockedByScript=!0,this.adaptee.scaleZ=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollRect",{get:function(){return this.adaptee.scrollRect?new this.sec.flash.geom.Rectangle(this.adaptee.scrollRect):null},set:function(e){this.adaptee.scrollRect=e?e.adaptee:null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stage",{get:function(){var e,t;return this._isStage?this:null===(t=null===(e=this.adaptee.parent)||void 0===e?void 0:e.adapter)||void 0===t?void 0:t.stage},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"transform",{get:function(){return this._ctBlockedByScript=!0,this._transform||(this._transform=new this.sec.flash.geom.Transform(this.adaptee.transform))},set:function(e){if(e&&this.adaptee){this._ctBlockedByScript=!0;var t=e.adaptee,n=this.adaptee.transform;if(t&&n){var r=t.matrix,i=t.colorTransform;n.matrix=r&&"function"==typeof r.clone?r.clone():r,n.colorTransform=i&&"function"==typeof i.clone?i.clone():i}}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"visible",{get:function(){return this._adaptee.visible},set:function(e){this._visibilityByScript=!0,this._adaptee.visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"width",{get:function(){if(0!=this._forceWidth)return this._forceWidth;if(this.adaptee.isAsset(t.TextField))return this.adaptee.width;var e=this.getBoundsInternal(this.parent||this._stage);return null==e?0:Math.round(20*e.width)/20},set:function(e){isNaN(e)||(e=L(e),e=Math.round(20*e)/20,this._blockedByScript=!0,this.adaptee.isAsset(t.TextField)?this.adaptee.width=e:a.PickGroup.getInstance().getBoundsPicker(this.node).width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"x",{get:function(){return this._adaptee.textOffsetX?this._adaptee._transform._matrix3D._rawData[12]+this._adaptee.textOffsetX*this.adaptee.scaleX:this._adaptee._transform._matrix3D._rawData[12]},set:function(e){e=L(e),o.defineLazy(this,"x",e)||(this._blockedByScript=!0,this._adaptee.textOffsetX&&(e-=this._adaptee.textOffsetX*this.adaptee.scaleX),this._adaptee.x=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"y",{get:function(){return this._adaptee.textOffsetY?this._adaptee._transform._matrix3D._rawData[13]+this._adaptee.textOffsetY*this.adaptee.scaleY:this._adaptee._transform._matrix3D._rawData[13]},set:function(e){e=L(e),o.defineLazy(this,"y",e)||(this._blockedByScript=!0,this._adaptee.textOffsetY&&(e-=this._adaptee.textOffsetY*this.adaptee.scaleY),this._adaptee.y=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"z",{get:function(){return this._adaptee._transform._matrix3D._rawData[14]},set:function(e){e=L(e),this._blockedByScript=!0,this._adaptee.z=e},enumerable:!1,configurable:!0}),o.prototype.getBounds=function(e){var t=this.getBoundsInternal(e,!0),n=this.sec.flash.geom.Rectangle;return t?new n(t.x,t.y,t.width,t.height):new n(6710886.4,6710886.4,0,0)},o.prototype.getBoundsInternal=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=!1),e||(e=this),a.PickGroup.getInstance().getBoundsPicker(this.node).getBoxBounds(i.AVMStage.instance().view.getNode(e.adaptee),t,!0)},o.prototype.getRect=function(e){var t=this.getBoundsInternal(e),n=this.sec.flash.geom.Rectangle;return t?new n(t.x,t.y,t.width,t.height):new n},o.prototype.globalToLocal=function(e){return new this.sec.flash.geom.Point(this.node.globalToLocal(e.adaptee))},o.prototype.globalToLocal3D=function(e){return n.Debug.throwPIR("playerglobals/display/DisplayObject","globalToLocal3D",""),new this.sec.flash.geom.Vector3D},o.prototype.hitTestObject=function(e){return a.PickGroup.getInstance().getBoundsPicker(this.node).hitTestObject(a.PickGroup.getInstance().getBoundsPicker(e.node))},o.prototype.hitTestPoint=function(e,t,n){return void 0===n&&(n=!1),a.PickGroup.getInstance().getBoundsPicker(this.node).hitTestPoint(e,t,n)},o.prototype.local3DToGlobal=function(e){return n.Debug.throwPIR("playerglobals/display/DisplayObject","local3DToGlobal",""),new this.sec.flash.geom.Point},o.prototype.localToGlobal=function(e){return new this.sec.flash.geom.Point(this.node.localToGlobal(e.adaptee))},o._activeStage=null,o}(g),F=function(e){function t(t,n,r,i,o,a,s,l,c,u,p,d,f,h){void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===a&&(a=NaN),void 0===s&&(s=NaN),void 0===d&&(d=!1),void 0===f&&(f=!1),void 0===h&&(h=!1);var g=e.call(this,t,n,r)||this;return g._localX=a,g._localY=s,g._ctrlKey=d,g._altKey=f,g._shiftKey=h,g}return c(t,e),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPrimaryTouchPoint",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRelatedObjectInaccessible",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localX",{get:function(){return this._localX/20|0},set:function(e){this._localX=20*e|0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localY",{get:function(){return this._localY/20|0},set:function(e){this._localY=20*e|0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pressure",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedObject",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeX",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeY",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageX",{get:function(){return this._stageX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageY",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"touchPointID",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return null},t.prototype.toString=function(){return""},t.prototype.updateAfterEvent=function(){},t.prototype.fillFromAway=function(e){this.adaptee=e,this.target=e.target.adapter||this.sec.flash.display.DisplayObject.axClass._activeStage,this.currentTarget=e.currentTarget.adapter||this.sec.flash.display.DisplayObject.axClass._activeStage,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey;var t=i.AVMStage.instance().unprojectPoint(new n.Point(e.screenX,e.screenY),this.target.stage.adaptee);this._stageX=t.x,this._stageY=t.y},t.TOUCH_BEGIN="touchBegin",t.TOUCH_END="touchEnd",t.TOUCH_MOVE="touchMove",t.TOUCH_OUT="touchOut",t.TOUCH_OVER="touchOver",t.TOUCH_ROLL_OUT="touchRollOut",t.TOUCH_ROLL_OVER="touchRollOver",t.TOUCH_TAP="touchTap",t}(u),N=function(e){function t(t,n,r,i,o,a,s,l,c){void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=!1),void 0===l&&(l=!1),void 0===c&&(c=!1);var u=e.call(this,t,n,r)||this;return u._charCode=i>>>0,u._keyCode=o>>>0,u._keyLocation=a>>>0,u._ctrlKey=!!s,u._altKey=!!l,u._shiftKey=!!c,u}return c(t,e),Object.defineProperty(t.prototype,"charCode",{get:function(){return this._charCode},set:function(e){this._charCode=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyCode",{get:function(){return this._keyCode},set:function(e){this._keyCode=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyLocation",{get:function(){return this._keyLocation},set:function(e){this._keyLocation=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.charCode,this.keyCode,this.keyLocation,this.ctrlKey,this.altKey,this.shiftKey)},t.prototype.toString=function(){return this.formatToString("KeyboardEvent","type","bubbles","cancelable","eventPhase","charCode","keyCode","keyLocation","ctrlKey","altKey","shiftKey")},t.prototype.updateAfterEvent=function(){this.sec.player.requestRender()},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.KEY_DOWN="keyDown",t.KEY_UP="keyUp",t}(u),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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:!1,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:!1,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:!1,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:!1,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.prototype.fillFromAway=function(e){this.adaptee=e,this.target=e.target},t.FOCUS_IN="focusIn",t.FOCUS_OUT="focusOut",t.KEY_FOCUS_CHANGE="keyFocusChange",t.MOUSE_FOCUS_CHANGE="mouseFocusChange",t}(u),B=function(e){function r(){var n=e.call(this)||this;return n._listnersCallbacksByType={},n.adaptee.mouseEnabled=!0,n.eventMappingDummys[h.RIGHT_MOUSE_UP]="InteractiveObject:MouseEvent.RIGHT_MOUSE_UP",n.eventMappingDummys[h.RIGHT_MOUSE_DOWN]="InteractiveObject:MouseEvent.RIGHT_MOUSE_DOWN",n.eventMappingDummys[h.RIGHT_MOUSE_DOWN]="InteractiveObject:MouseEvent.RIGHT_MOUSE_DOWN",n.eventMappingDummys[h.RIGHT_CLICK]="InteractiveObject:MouseEvent.RIGHT_CLICK",n.eventMappingDummys[h.MIDDLE_MOUSE_UP]="InteractiveObject:MouseEvent.MIDDLE_MOUSE_UP",n.eventMappingDummys[h.MIDDLE_MOUSE_DOWN]="InteractiveObject:MouseEvent.MIDDLE_MOUSE_DOWN",n.eventMappingDummys[h.MIDDLE_CLICK]="InteractiveObject:MouseEvent.MIDDLE_CLICK",n._keyUpCallbackDelegate=function(e){return n.keyUpCallback(e)},n.eventMapping[N.KEY_UP]={adaptedType:"",addListener:n.initKeyUpListener,removeListener:n.removeKeyUpListener,callback:n._keyUpCallbackDelegate},n._keyDownCallbackDelegate=function(e){return n.keyDownCallback(e)},n.eventMapping[N.KEY_DOWN]={adaptedType:"",addListener:n.initKeyDownListener,removeListener:n.removeKeyDownListener,callback:n._keyDownCallbackDelegate},n._touchCallbackDelegate=function(e){return n.touchCallback(e)},n.eventMappingInvert[t.TouchEvent.TOUCH_END]=F.TOUCH_END,n.eventMapping[F.TOUCH_END]={adaptedType:t.TouchEvent.TOUCH_END,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n.eventMappingInvert[t.TouchEvent.TOUCH_OVER]=F.TOUCH_OVER,n.eventMapping[F.TOUCH_OVER]={adaptedType:t.TouchEvent.TOUCH_OVER,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n.eventMappingInvert[t.TouchEvent.TOUCH_OUT]=F.TOUCH_OUT,n.eventMapping[F.TOUCH_OUT]={adaptedType:t.TouchEvent.TOUCH_OUT,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n.eventMappingInvert[t.TouchEvent.TOUCH_MOVE]=F.TOUCH_MOVE,n.eventMapping[F.TOUCH_MOVE]={adaptedType:t.TouchEvent.TOUCH_MOVE,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n.eventMappingInvert[t.TouchEvent.TOUCH_BEGIN]=F.TOUCH_BEGIN,n.eventMapping[F.TOUCH_BEGIN]={adaptedType:t.TouchEvent.TOUCH_BEGIN,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n.eventMappingInvert[t.TouchEvent.TOUCH_TAP]=F.TOUCH_TAP,n.eventMapping[F.TOUCH_TAP]={adaptedType:t.TouchEvent.TOUCH_TAP,addListener:n.initListener,removeListener:n.removeListener,callback:n._touchCallbackDelegate},n._mouseCallbackDelegate=function(e){return n.mouseCallback(e)},n.eventMappingInvert[t.MouseEvent.MOUSE_WHEEL]=h.MOUSE_WHEEL,n.eventMapping[h.MOUSE_WHEEL]={adaptedType:t.MouseEvent.MOUSE_WHEEL,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_UP]=h.MOUSE_UP,n.eventMapping[h.MOUSE_UP]={adaptedType:t.MouseEvent.MOUSE_UP,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_UP_OUTSIDE]=h.RELEASE_OUTSIDE,n.eventMapping[h.RELEASE_OUTSIDE]={adaptedType:t.MouseEvent.MOUSE_UP_OUTSIDE,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_OVER]=h.MOUSE_OVER,n.eventMapping[h.MOUSE_OVER]={adaptedType:t.MouseEvent.MOUSE_OVER,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_OUT]=h.MOUSE_OUT,n.eventMapping[h.MOUSE_OUT]={adaptedType:t.MouseEvent.MOUSE_OUT,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_MOVE]=h.MOUSE_MOVE,n.eventMapping[h.MOUSE_MOVE]={adaptedType:t.MouseEvent.MOUSE_MOVE,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.MOUSE_DOWN]=h.MOUSE_DOWN,n.eventMapping[h.MOUSE_DOWN]={adaptedType:t.MouseEvent.MOUSE_DOWN,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.DOUBLE_CLICK]=h.DOUBLE_CLICK,n.eventMapping[h.DOUBLE_CLICK]={adaptedType:t.MouseEvent.DOUBLE_CLICK,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.CLICK]=h.CLICK,n.eventMapping[h.CLICK]={adaptedType:t.MouseEvent.CLICK,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.ROLL_OUT]=h.ROLL_OUT,n.eventMapping[h.ROLL_OUT]={adaptedType:t.MouseEvent.ROLL_OUT,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n.eventMappingInvert[t.MouseEvent.ROLL_OVER]=h.ROLL_OVER,n.eventMapping[h.ROLL_OVER]={adaptedType:t.MouseEvent.ROLL_OVER,addListener:n.initListener,removeListener:n.removeListener,callback:n._mouseCallbackDelegate},n._focusCallbackDelegate=function(e){return n.focusCallback(e)},n.eventMappingInvert[t.FocusEvent.FOCUS_OUT]=k.FOCUS_OUT,n.eventMapping[k.FOCUS_OUT]={adaptedType:t.FocusEvent.FOCUS_OUT,addListener:n.initListener,removeListener:n.removeListener,callback:n._focusCallbackDelegate},n.eventMappingInvert[t.FocusEvent.FOCUS_IN]=k.FOCUS_IN,n.eventMapping[k.FOCUS_IN]={adaptedType:t.FocusEvent.FOCUS_IN,addListener:n.initListener,removeListener:n.removeListener,callback:n._focusCallbackDelegate},n}return c(r,e),r.prototype.initKeyUpListener=function(e,t,n){if(!this._keyUpListeners)return this._keyUpListeners=[n],document.addEventListener("keyup",t),void document.addEventListener("keypress",t);this._keyUpListeners.push(n)},r.prototype.removeKeyUpListener=function(e,t,n){if(this._keyUpListeners){var r=this._keyUpListeners.indexOf(n);if(-1!=r){if(1==this._keyUpListeners.length)return this._keyUpListeners=null,void document.removeEventListener("keyup",t);this._keyUpListeners.splice(r,1)}}},r.prototype.keyUpCallback=function(e){if(void 0===e&&(e=null),!i.AVMStage.instance().isPaused){window.event&&(window.event.returnValue=!1),e.preventDefault?e.preventDefault():e.returnValue=!1;var t=new this.sec.flash.events.KeyboardEvent(N.KEY_UP,!0,!1,e.charCode,e.keyCode,e.location,e.ctrlKey,e.altKey,e.shiftKey);return this.dispatchEvent(t),!1}},r.prototype.initKeyDownListener=function(e,t,n){if(!this._keyDownListeners)return this._keyDownListeners=[n],document.addEventListener("keydown",t),void document.addEventListener("keypress",t);this._keyDownListeners.push(n)},r.prototype.removeKeyDownListener=function(e,t,n){if(this._keyDownListeners){var r=this._keyDownListeners.indexOf(n);if(-1!=r){if(1==this._keyDownListeners.length)return this._keyDownListeners=null,document.removeEventListener("keydown",t),void document.removeEventListener("keypress",t);this._keyDownListeners.splice(r,1)}}},r.prototype.keyDownCallback=function(e){if(void 0===e&&(e=null),!i.AVMStage.instance().isPaused){window.event&&(window.event.returnValue=!1),e.preventDefault?e.preventDefault():e.returnValue=!1;var t=new this.sec.flash.events.KeyboardEvent(N.KEY_DOWN);return t.axInitializer(N.KEY_DOWN),t.keyCode=e.keyCode,t.charCode=e.charCode,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.altKey=e.altKey,this.dispatchEvent(t),!1}},r.prototype.initListener=function(e,t,n){if(!this._listnersCallbacksByType[e])return this.adaptee.addEventListener(e,t),void(this._listnersCallbacksByType[e]=[n]);this._listnersCallbacksByType[e].push(n)},r.prototype.removeListener=function(e,t,n){if(this._listnersCallbacksByType[e]){var r=this._listnersCallbacksByType[e].indexOf(n);if(-1!=r){if(1==this._listnersCallbacksByType[e].length)return delete this._listnersCallbacksByType[e],void this.adaptee.removeEventListener(e,t);this._listnersCallbacksByType[e].splice(r,1)}}},r.prototype.mouseCallback=function(e){if(e.type!=t.MouseEvent.MOUSE_OUT&&e.type!=t.MouseEvent.ROLL_OUT||this.stage){var n=new this.sec.flash.events.MouseEvent(this.eventMappingInvert[e.type]);n.fillFromAway(e),this.dispatchEvent(n,!0)}},r.prototype.touchCallback=function(e){var t=new this.sec.flash.events.TouchEvent(this.eventMappingInvert[e.type]);t.fillFromAway(e),this.dispatchEvent(t,!0)},r.prototype.focusCallback=function(e){var t=new this.sec.flash.events.FocusEvent(this.eventMappingInvert[e.type]);t.fillFromAway(e),t.target=this,this.dispatchEvent(t,!0)},Object.defineProperty(r.prototype,"accessibilityImplementation",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get accessibilityImplementation",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set accessibilityImplementation","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contextMenu",{get:function(){return this._contextMenu},set:function(e){this._contextMenu=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"doubleClickEnabled",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get doubleClickEnabled",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set doubleClickEnabled","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusRect",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get focusRect",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set focusRect","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mouseEnabled",{get:function(){return this.adaptee.mouseEnabled},set:function(e){this.adaptee.mouseEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"needsSoftKeyboard",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get needsSoftKeyboard",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set needsSoftKeyboard","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"softKeyboardInputAreaOfInterest",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get softKeyboardInputAreaOfInterest",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set softKeyboardInputAreaOfInterest","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabEnabled",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get tabEnabled",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set tabEnabled","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabIndex",{get:function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","get tabIndex",""),0},set:function(e){n.Debug.throwPIR("playerglobals/display/InteractiveObject","set tabIndex","")},enumerable:!1,configurable:!0}),r.prototype.requestSoftKeyboard=function(){return n.Debug.throwPIR("playerglobals/display/InteractiveObject","requestSoftKeyboard",""),!1},r}(M),U=function(e){function o(){var t=e.call(this)||this;if(t.adaptee)for(var n=0;n<t.adaptee.numChildren;n++){var r=t.adaptee.getChildAt(n),i=r.adapter,o=i.executeConstructor;o&&(i.executeConstructor=null,o()),r.just_added_to_timeline&&-1!=r._sessionID&&i&&i.dispatchStaticEvent&&(i.dispatchStaticEvent("added",i),r.just_added_to_timeline=!1,r.hasDispatchedAddedToStage=r.isOnDisplayList(),r.hasDispatchedAddedToStage&&i.dispatchStaticEvent("addedToStage",i))}return t}return c(o,e),o.prototype.addTimelineObjectAtDepth=function(e,t){},o.prototype.getTimelineObjectAtDepth=function(e){return null},o.prototype.createAdaptee=function(){return new t.DisplayObjectContainer},o.prototype.clone=function(){if(!this._symbol)throw"_symbol not defined when cloning movieclip";var e=r.constructClassFromSymbol(this._symbol,this._symbol.symbolClass);return e.axInitializer(),this.adaptee.copyTo(e.adaptee),e},o.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),o="child_"+n+" "+r.adapter.constructor.name;if(r.isAsset(t.Sprite)||r.isAsset(t.DisplayObjectContainer))r.adapter&&(e.children[o]={},r.adapter.debugDisplayGraph(e.children[o]));else if(r.isAsset(t.Billboard))e.children[o]={},e.children[o].object=r.adapter,e.children[o].name=r.name,e.children[o].rectangle="x:"+r.x+", y:"+r.y;else if(r.isAsset(t.MovieClip))e.children[o]={},e.children[o].object=r.adapter,e.children[o].name=r.name,e.children[o].rectangle="x:"+r.x+", y:"+r.y;else if(r.isAsset(t.TextField)){e.children[o]={},e.children[o].object=r.adapter,e.children[o].text=r.text,e.children[o].rectangle="x:"+r.x+", y:"+r.y;var s=a.PickGroup.getInstance().getBoundsPicker(i.AVMStage.instance().view.getNode(r)).getBoxBounds(i.AVMStage.instance().view.getNode(r));e.children[o].width=null==s?0:s.width,e.children[o].height=null==s?0:s.height}}},o.prototype.dispatch_ADDED_TO_STAGE=function(e){if(void 0===e&&(e=!1),e&&(this.adaptee.hasDispatchedAddedToStage=!0,_.events[u.ADDED_TO_STAGE]||(_.events[u.ADDED_TO_STAGE]=new this.sec.flash.events.Event(u.ADDED_TO_STAGE)),_.events[u.ADDED_TO_STAGE].target=this,this.dispatchEvent(_.events[u.ADDED_TO_STAGE])),this._adaptee)for(var t=0;t<this._adaptee.numChildren;t++){var n=this._adaptee.getChildAt(t);n.adapter&&n.adapter.dispatchEventRecursive&&!n.hasDispatchedAddedToStage&&(n.hasDispatchedAddedToStage=!0,n.adapter.dispatch_ADDED_TO_STAGE(!0))}},o.prototype.dispatch_REMOVED_FROM_STAGE=function(e){if(void 0===e&&(e=!1),e&&(this.adaptee.hasDispatchedAddedToStage=!1,_.events[u.REMOVED_FROM_STAGE]||(_.events[u.REMOVED_FROM_STAGE]=new this.sec.flash.events.Event(u.REMOVED_FROM_STAGE)),_.events[u.REMOVED_FROM_STAGE].target=this,this.dispatchEvent(_.events[u.REMOVED_FROM_STAGE])),this._adaptee)for(var t=0;t<this._adaptee.numChildren;t++){var n=this._adaptee.getChildAt(t);n.adapter&&n.adapter.dispatchEventRecursive&&n.hasDispatchedAddedToStage&&(n.hasDispatchedAddedToStage=!1,n.adapter.dispatch_REMOVED_FROM_STAGE(!0))}},Object.defineProperty(o.prototype,"mouseChildren",{get:function(){return this._adaptee.mouseChildren},set:function(e){this._adaptee.mouseChildren=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"numChildren",{get:function(){return this._adaptee.numChildren},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tabChildren",{get:function(){return n.Debug.throwPIR("playerglobals/display/DisplayObjectContainer","get tabChildren",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/DisplayObjectContainer","set tabChildren","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"textSnapshot",{get:function(){return n.Debug.throwPIR("playerglobals/display/DisplayObjectContainer","get textSnapshot",""),null},enumerable:!1,configurable:!0}),o.prototype.addChild=function(e){var t=e.adaptee._sessionID>=0&&this.registerScriptObject,n=!(e.adaptee.parent==this.adaptee);return this.adaptee.addChild(e.adaptee),t&&this.registerScriptObject(e.adaptee),n&&(e.dispatchStaticEvent(u.ADDED,e),this.adaptee.isOnDisplayList()&&e.dispatch_ADDED_TO_STAGE(!0)),r.OrphanManager.removeOrphan(e.adaptee),e},o.prototype.addChildAt=function(e,t){var n=e.adaptee._sessionID>=0&&this.registerScriptObject,i=!(e.adaptee.parent==this.adaptee);return this.adaptee.addChildAt(e.adaptee,t),n&&this.registerScriptObject(e.adaptee),i&&(e.dispatchStaticEvent(u.ADDED),this.adaptee.isOnDisplayList()&&e.dispatch_ADDED_TO_STAGE(!0)),r.OrphanManager.removeOrphan(e.adaptee),e},o.prototype.areInaccessibleObjectsUnderPoint=function(e){return n.Debug.throwPIR("playerglobals/display/DisplayObjectContainer","areInaccessibleObjectsUnderPoint",""),!1},o.prototype.contains=function(e){return this._adaptee.contains(e.adaptee)},o.prototype.getChildAt=function(e){var t=this._adaptee.getChildAt(e);t.adapter&&t.adapter!=t||((t.adapter=new this.sec.flash.display.Shape).adaptee=t);return t.adapter},o.prototype.getChildByName=function(e){return this._adaptee.getChildByName(e)?this._adaptee.getChildByName(e).adapter:null},o.prototype.getChildIndex=function(e){return this._adaptee.getChildIndex(e.adaptee)},o.prototype.getObjectsUnderPoint=function(e){for(var r=a.PickGroup.getInstance().getRaycastPicker(i.AVMStage.instance().view.getNode(this.adaptee)).getObjectsUnderPoint(new n.Vector3D(0,0,-1e3),new n.Vector3D(e.x,e.y,1e3)),o=[],s=r.length;s>0;){var l=r[--s];l instanceof t.TextSprite?l=l.parent:l.isAsset(t.Sprite)&&l.adapter==l&&(l.adapter=new this.sec.flash.display.Sprite,l.adapter.adaptee=l),o.push(l.adapter)}return o},o.prototype.removeChild=function(e){try{this._adaptee.removeChild(e.adaptee)}catch(e){console.warn("[DisplayObjectContainer] removeChild: not a child (already removed?) — ignoring")}return e},o.prototype.removeChildAt=function(e){return this._adaptee.removeChildAt(e).adapter},o.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=t-1;n>=e;n--)this.removeChildAt(n)},o.prototype.setChildIndex=function(e,t){this.setChildIndexInternal(e,t)},o.prototype.setChildIndexInternal=function(e,t){var n=this.adaptee.getChildIndex(e.adaptee);if(n<0)throw"[DisplayObjectContainer.setChildindex] \t\t\t\t- todo: throw as3 error when child is not child of this obj";if(n!=t){if(t>this._adaptee.numChildren)throw"[DisplayObjectContainer.setChildindex] - todo: throw as3 error when index is out of bounds";this.adaptee.setChildIndex(e.adaptee,t)}},o.prototype.stopAllMovieClips=function(){n.Debug.throwPIR("playerglobals/display/DisplayObjectContainer","stopAllMovieClips","")},o.prototype.swapChildren=function(e,t){this._adaptee.swapChildren(e.adaptee,t.adaptee)},o.prototype.swapChildrenAt=function(e,t){this._adaptee.swapChildrenAt(e,t)},o}(B),G=function(e){function o(){var n=e.call(this)||this;return n.dragListenerDelegate=function(e){return n.dragListener(e)},n.stopDragDelegate=function(e){return n.stopDrag(e)},n._syncGraphics(n._adaptee),!n.sec.flash.display.MovieClip.axIsType(n)&&n.adaptee.isAsset(t.MovieClip)&&n.adaptee.transformToSprite(),n}return c(o,e),o.getNewSprite=function(e){if(o._sprites.length){var t=o._sprites.pop();return t.adaptee=e,t}return new o},o.prototype.initAdapter=function(){},o.prototype.setChildIndexInternal=function(t,n){var r=this._registeredChildNames&&this._registeredChildNames.indexOf(t.name)>-1;e.prototype.setChildIndexInternal.call(this,t,n),r&&this.registerScriptObject(t.adaptee)},o.prototype.createAdaptee=function(){var e=t.Sprite.getNewSprite();return e.reset(),e},o.prototype.addTimelineChildAtDepth=function(e,t){e.reset();for(var n=this.adaptee.numChildren-1,r=n+1,i=0,o=n;o>=0;o--){var a=this.adaptee.getChildAt(o);if(-1==a._avmDepthID&&i++,a._avmDepthID>-1){if(a._avmDepthID<t){r=o+1+i;break}i=0,r=o}}return e._avmDepthID=t,e.just_added_to_timeline=!0,this.adaptee._sessionID_childs[e._sessionID]=e,this.adaptee.addChildAt(e,r)},o.prototype.updateGraphics=function(){this._syncGraphics(this._adaptee)},o.prototype.mapAdaptee=function(t){return this._syncGraphics(t),e.prototype.mapAdaptee.call(this,t)},o.prototype._syncGraphics=function(e){e&&(this._graphics?this._graphics._setAdaptee(e.graphics):this._graphics=new this.sec.flash.display.Graphics(e.graphics))},o.prototype.removeTimelineChildAt=function(e){var t=this.adaptee._sessionID_childs[e];t&&(delete this.adaptee._sessionID_childs[e],this.adaptee.removeChild(t))},o.prototype.removeAllTimelineChilds=function(){var e=this.adaptee;for(var t in e._sessionID_childs){var n=e._sessionID_childs[t];n&&(delete e._sessionID_childs[t],e.removeChild(n))}},o.prototype.queueFrameScripts=function(e,n,r){r?t.FrameScriptManager.add_script_to_queue(this.adaptee,n):t.FrameScriptManager.add_script_to_queue_pass2(this.adaptee,n)},o.prototype.constructFrame=function(e,t,n,r,i,o,a){for(var s,l,c=this.adaptee,u=c.numChildren,p=[],d={},f=0;f<u;f++){var h=c.getChildAt(f);(r||-1==h._sessionID)&&(p[p.length]={sessionID:h._sessionID,as3DepthID:h._avmDepthID,addedOnTargetFrame:!1,child:h}),-1!=h._sessionID&&(d[h._sessionID]=h)}e._update_indices.length=0,e._update_frames.length=0;var g,b,y=0;for(l=t;l<=n;l++){var m=e.frame_command_indices[l],_=e.frame_recipe[l];if(2&_){b=(g=e.command_index_stream[m])+e.command_length_stream[m++];var v={};for(s=g;s<b;s++)v[e.remove_child_stream[s]]=!0;var O=[];u=p.length;for(var S=0;S<u;S++)v[p[S].sessionID]||(O[O.length]=p[S]);p=O}if(4&_)for(b=(g=e.command_index_stream[m])+e.command_length_stream[m++],s=g;s<b;s++){for(var P=p.length-1,D=e.add_child_stream[3*s+1],E=P+1,I=0,x=P;x>=0;x--){var w=p[x];if(-1==w.as3DepthID&&I++,w.as3DepthID>-1){if(w.as3DepthID==D&&w.sessionID==e.add_child_stream[3*x]){E=-1;break}if(w.as3DepthID<D){E=x+1+I;break}I=0,E=x}}E>=p.length?p[p.length]={sessionID:e.add_child_stream[3*s],addedOnTargetFrame:l==n,symbolID:e.add_child_stream[3*s+2],as3DepthID:e.add_child_stream[3*s+1]}:E>-1&&p.splice(E,0,{sessionID:e.add_child_stream[3*s],addedOnTargetFrame:l==n,symbolID:e.add_child_stream[3*s+2],as3DepthID:e.add_child_stream[3*s+1]})}8&_&&(e._update_frames[y]=e.keyframe_firstframes[l],e._update_indices[y++]=m++),16&_&&l==n&&e.start_sounds(c,m)}var T,C=[],A=[],j=[];c._sessionID_childs={},u=C.length=p.length;for(var R=0;R<u;R++)if(-1==(T=p[R]).sessionID&&T.child)C[R]=T.child.adaptee;else if(d[T.sessionID]){var L=d[T.sessionID];c._sessionID_childs[T.sessionID]=L,C[R]=L,r||(C[R]._adapter?(C[R].adapter.isColorTransformByScript()||C[R].transform.clearColorTransform(),C[R].adapter.isBlockedByScript()||C[R].noTimelineUpdate||(C[R].transform.clearMatrix3D(),C[R].timelineMasks=void 0),C[R].adapter.isVisibilityByScript()||(C[R].visible=!0)):(C[R].transform.clearColorTransform(),C[R].transform.clearMatrix3D(),C[R].visible=!0,C[R].timelineMasks=void 0))}else{var M=e.getChildInstance(T.symbolID,T.sessionID);this.adaptee.isSlice9ScaledMC&&"[asset Sprite]"==M.assetType&&(M.isSlice9ScaledSprite=!0),M._sessionID=T.sessionID,M._avmDepthID=T.as3DepthID,c._sessionID_childs[T.sessionID]=M,C[R]=M,T.addedOnTargetFrame?j[j.length]=M:A[A.length]=M}for(var F=c.numChildren-1;F>=0;F--)C.indexOf(c.getChildAt(F))<0&&c.removeChildAt(F);for(var N=0;N<C.length;N++)c.contains(C[N])||c.addChildAt(C[N],N);c.preventScript=!0,this.finalizeChildren(A),a&&this.queueFrameScripts(e,i,!o),c.preventScript=!0,this.finalizeChildren(j)},o.prototype.finalizeChildren=function(e){for(var t=e.length,n=0;n<t;n++){var r=e[n];r.just_added_to_timeline=!0,r.reset()}},o.prototype.registerScriptObject=function(e){e.adapter!=e?e.name&&("mask"!==e.name?(this.axSetPublicProperty(e.name,e.adapter),this._registeredChildNames?-1===this._registeredChildNames.indexOf(e.name)&&this._registeredChildNames.push(e.name):this._registeredChildNames=[e.name]):this.adaptee.mask=e):i.release||console.log("warning: child registered for script that has no avms-adapter")},o.prototype.unregisterScriptObject=function(e){this.axGetPublicProperty(e.name)==e.adapter&&(this.axDeletePublicProperty(e.name),this._registeredChildNames&&this._registeredChildNames.splice(this._registeredChildNames.indexOf(e.name),1)),e.isAsset(t.MovieClip)&&e.removeButtonListeners()},o.prototype.clone=function(){var e=this;if(!this._symbol)throw"_symbol not defined when cloning movieclip";var n=r.constructClassFromSymbol(this._symbol,this._symbol.symbolClass),i=new t.Sprite;this.adaptee.copyTo(i),n.adaptee=i,n._stage=this.activeStage,n.executeConstructor=function(){n.axInitializer(),e.constructorHasRun=!0},n.adaptee.graphics=this.graphics;var o=i.timeline;if(o){var a=o;if(a.frame_command_indices=[o.frame_command_indices[0]],a.frame_recipe=[o.frame_recipe[0]],a.keyframe_constructframes=[o.keyframe_constructframes[0]],a.keyframe_durations=[o.keyframe_durations[0]],a.keyframe_firstframes=[o.keyframe_firstframes[0]],a.keyframe_indices=[o.keyframe_indices[0]],this._registeredChildNames)for(var s=0,l=this._registeredChildNames;s<l.length;s++){var c=l[s];n.registerScriptObject(this[c])}}return n},o.prototype.dispose=function(){this.disposeValues()},Object.defineProperty(o.prototype,"buttonMode",{get:function(){return this.adaptee.buttonMode},set:function(e){this.adaptee.buttonMode=e},enumerable:!1,configurable:!0}),o.prototype.setDropTarget=function(e){this._dropTarget=e?e.adapter:null},Object.defineProperty(o.prototype,"dropTarget",{get:function(){return this._dropTarget},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"graphics",{get:function(){return this._graphics},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"hitArea",{get:function(){var e;return(null===(e=this.adaptee.pickObject)||void 0===e?void 0:e.adapter)||null},set:function(e){this.adaptee.pickObject=e.adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"soundTransform",{get:function(){return this._soundTransform||(this._soundTransform=new this.sec.flash.media.SoundTransform),this._soundTransform.volume=this.adaptee.soundVolume,this._soundTransform},set:function(e){this.adaptee.soundVolume=e?e.volume:1,this._soundTransform=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"useHandCursor",{get:function(){return this.adaptee._useHandCursor},set:function(e){this.adaptee._useHandCursor=e},enumerable:!1,configurable:!0}),o.prototype.startDrag=function(e,n){if(void 0===e&&(e=!1),void 0===n&&(n=null),o.currentDraggedMC&&o.currentDraggedMC!=this&&o.currentDraggedMC.stopDrag(),o.currentDraggedMC=this,this._dragBounds=n,!this.isDragging){this.isDragging=!0,this.lockCenter=e,this.adaptee.parent&&this._setStartDragMCPosition(this._adaptee.parent),this._dragBounds&&this.checkBounds();var r=i.AVMStage.instance(),a=r.view.getNode(this.adaptee);r.mousePicker.dragNode=a;var s=r.mousePicker.pickGroup.abstractions.getAbstraction(a).pickingCollision;s.rootNode=a,r.mouseManager.startDragObject(s),r.root.addEventListener(t.MouseEvent.MOUSE_MOVE,this.dragListenerDelegate)}},o.prototype.checkBounds=function(){this._adaptee.x<this._dragBounds.left&&(this._adaptee.x=this._dragBounds.left),this._adaptee.x>this._dragBounds.right&&(this._adaptee.x=this._dragBounds.right),this._adaptee.y<this._dragBounds.top&&(this._adaptee.y=this._dragBounds.top),this._adaptee.y>this._dragBounds.bottom&&(this._adaptee.y=this._dragBounds.bottom)},o.prototype.dragListener=function(e){if(this._adaptee.parent){this.startDragMCPosition||this._setStartDragMCPosition(this._adaptee.parent);var t=i.AVMStage.instance().view.getNode(this._adaptee.parent).globalToLocal(new n.Point(this._stage.mouseX,this._stage.mouseY));this.adaptee.x=this.startDragMCPosition.x+t.x,this.adaptee.y=this.startDragMCPosition.y+t.y,this._dragBounds&&this.checkBounds()}},o.prototype.startTouchDrag=function(e,t,r){n.Debug.throwPIR("playerglobals/display/Sprite","startTouchDrag","")},o.prototype.stopDrag=function(e){this.startDragMCPosition=null,o.currentDraggedMC&&o.currentDraggedMC!=this&&o.currentDraggedMC.stopDrag(),this.isDragging=!1,o.currentDraggedMC=null;var n=i.AVMStage.instance();n.view.getNode(this.adaptee),n.mousePicker.dragNode=null,n.mouseManager.stopDragObject(),n.root.removeEventListener(t.MouseEvent.MOUSE_MOVE,this.dragListenerDelegate)},o.prototype.stopTouchDrag=function(e){n.Debug.throwPIR("playerglobals/display/Sprite","stopTouchDrag","")},o.prototype._setStartDragMCPosition=function(e){var t=i.AVMStage.instance().view.getNode(e).globalToLocal(new n.Point(this._stage.mouseX,this._stage.mouseY));this.lockCenter?(this.startDragMCPosition=new n.Point,this._adaptee.x=t.x,this._adaptee.y=t.y):this.startDragMCPosition=new n.Point(this._adaptee.x-t.x,this._adaptee.y-t.y)},o._sprites=new Array,o}(U),V=function(e){function i(){return e.call(this)||this}return c(i,e),i.prototype.applySymbol=function(){},i.getNewMovieClip=function(e){if(i._movieClips.length){var t=i._movieClips.pop();return t.adaptee=e,t}return new i},i.prototype.executeScript=function(e){if(!(!this._framescripts||!this.allowScript&&this.sec.swfVersion>9)){var t=this._framescripts[this.adaptee.currentFrameIndex];if(t){this.allowScript=!1;var n=i.current_script_scope;if(i.current_script_scope=this,t.axCall(this),i.current_script_scope=n,this.queuedNavigationAction){var r=this.queuedNavigationAction;this.queuedNavigationAction=null,r()}}}},i.prototype.initAdapter=function(){},i.prototype.createAdaptee=function(){var e=t.MovieClip.getNewMovieClip(new t.Timeline(this.sec.player.factory));return e.reset(),e},i.prototype.freeFromScript=function(){e.prototype.freeFromScript.call(this)},i.prototype.clone=function(){var e=this;if(!e._symbol)throw"_symbol not defined when cloning movieclip";var n=r.constructClassFromSymbol(e._symbol,e._symbol.symbolClass),i=new t.MovieClip(this.adaptee.timeline);return this.adaptee.copyTo(i),n.adaptee=i,n._stage=this.activeStage,n.executeConstructor=function(){n.axInitializer(),n.constructorHasRun=!0},n},i.prototype.dispose=function(){this.disposeValues()},Object.defineProperty(i.prototype,"currentFrame",{get:function(){return this._adaptee.currentFrameIndexRelative+1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"currentFrameLabel",{get:function(){return this.adaptee.timeline.getCurrentFrameLabel(this.adaptee)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"currentLabel",{get:function(){return this.adaptee.timeline.getCurrentLabel(this.adaptee)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"currentLabels",{get:function(){if(this._currentLabels)return this._currentLabels;var e=this.adaptee.timeline._labels,t=this.adaptee.timeline.keyframe_firstframes;for(var n in this._currentLabels=[],e)this._currentLabels.push(new this.sec.flash.display.FrameLabel(e[n].name,t[e[n].keyFrameIndex]+1));return this._currentLabels},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"currentScene",{get:function(){for(var e=this.adaptee.currentScene,t={value:[]},n=0;n<e.labels.length;n++)t.value.push(new this.sec.flash.display.FrameLabel(e.labels[n].name,e.labels[n].frame));return new this.sec.flash.display.Scene(e.name,t,e.offset,e.numFrames)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"enabled",{get:function(){return this.adaptee.buttonEnabled},set:function(e){this.adaptee.buttonEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"framesLoaded",{get:function(){return this.totalFrames},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isPlaying",{get:function(){return this.adaptee.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"scenes",{get:function(){return n.Debug.throwPIR("playerglobals/display/MovieClip","get scenes",""),[]},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"totalFrames",{get:function(){return this._adaptee.numFrames},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"trackAsMenu",{get:function(){return n.Debug.throwPIR("playerglobals/display/MovieClip","get trackAsMenu",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/MovieClip","set trackAsMenu","")},enumerable:!1,configurable:!0}),i.prototype.addFrameScript=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=arguments.length;1&r&&this.sec.throwError("ArgumentError TooFewArgumentsError",r,r+1),this._framescripts||(this._framescripts=[]);for(var o=this.adaptee,a=!1,s=0;s<r;s+=2){var l=0|e[s],c=e[s+1];this._framescripts[l]=c,l==o.currentFrameIndex&&(a=!0)}if(a&&this.constructorHasRun&&this.sec.swfVersion>9&&i.current_script_scope!=this){var u=this._framescripts[o.currentFrameIndex],p=t.FrameScriptManager.get_queue();u&&p.queued_mcs.indexOf(o)<0&&p.queued_mcs_pass2.indexOf(o)<0&&t.FrameScriptManager.add_script_to_queue_pass2(o,[u])}this.constructorHasRun=!0},i.prototype.gotoAndPlay=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!1),this._gotoInternal(e,t,n,!1)},i.prototype.gotoAndStop=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!1),this._gotoInternal(e,t,n,!0)},i.prototype._gotoInternal=function(e,t,n,r){var o=this;if(void 0===t&&(t=null),void 0===n&&(n=!1),void 0===r&&(r=!1),!Number.isNaN(e))if(n||i.current_script_scope!=this)if(null!=e){var a=this.adaptee;if(t=t||a.currentSceneName,"string"==typeof e&&null==a.timeline._labels[e])return e=parseInt(e),isNaN(e)||(a.jumpToIndex(e-1,t),r?a.stop():a.play()),void(r&&(this.sec.swfVersion>10&&(a.currentFrameIndex=0),this.stop()));if("number"==typeof e&&e<=0){if(i.current_script_scope==this)return;e=1}r?this.stop():this.play(),this._gotoFrame(e,t)}else r&&this.stop();else this.queuedNavigationAction=function(){return o._gotoInternal(e,t,!0,r)}},i.prototype._gotoFrame=function(e,n){void 0===n&&(n=null);var r,o=this._adaptee;"string"==typeof e?r=o.jumpToLabel(e):"number"==typeof e&&e<=0?(console.warn("[playerglobal/MovieClip] - gotoFrame called with invalid frame-index"),r=!0):r=o.jumpToIndex(e-1,n),r&&(t.FrameScriptManager.execute_as3_constructors_recursiv(this.adaptee),t.FrameScriptManager.execute_as3_constructors_finish_scene(this.activeStage.getChildAt(0).adaptee),this.sec.swfVersion>9&&this!==i.current_script_scope&&(this.dispatchStaticBroadCastEvent(u.FRAME_CONSTRUCTED),t.FrameScriptManager.execute_queue(),this.dispatchStaticBroadCastEvent(u.EXIT_FRAME)))},i.prototype.nextFrame=function(e){var n=this;void 0===e&&(e=!1),e||i.current_script_scope!=this?(this._adaptee.stop(),++this._adaptee.currentFrameIndex,t.FrameScriptManager.execute_as3_constructors_recursiv(this.adaptee),t.FrameScriptManager.execute_as3_constructors_finish_scene(this.activeStage.getChildAt(0).adaptee),this.sec.swfVersion>9&&(this.dispatchStaticBroadCastEvent(u.FRAME_CONSTRUCTED),t.FrameScriptManager.execute_queue(),this.dispatchStaticBroadCastEvent(u.EXIT_FRAME))):this.queuedNavigationAction=function(){return n.nextFrame(!0)}},i.prototype.nextScene=function(e){var t=this;void 0===e&&(e=!1),e||i.current_script_scope!=this?n.Debug.throwPIR("playerglobals/display/MovieClip","nextScene",""):this.queuedNavigationAction=function(){return t.nextScene(!0)}},i.prototype.play=function(){return this._adaptee.play()},i.prototype.prevFrame=function(e){var n=this;if(void 0===e&&(e=!1),e||i.current_script_scope!=this){var r=this._adaptee;r.currentFrameIndexRelative>0&&r.currentFrameIndexRelative--,t.FrameScriptManager.execute_as3_constructors_recursiv(this.adaptee),t.FrameScriptManager.execute_as3_constructors_finish_scene(this.activeStage.getChildAt(0).adaptee),this.sec.swfVersion>9&&(this.dispatchStaticBroadCastEvent(u.FRAME_CONSTRUCTED),t.FrameScriptManager.execute_queue(),this.dispatchStaticBroadCastEvent(u.EXIT_FRAME))}else this.queuedNavigationAction=function(){return n.prevFrame(!0)}},i.prototype.prevScene=function(e){var t=this;void 0===e&&(e=!1),e||i.current_script_scope!=this?n.Debug.throwPIR("playerglobals/display/MovieClip","prevScene",""):this.queuedNavigationAction=function(){return t.prevScene(!0)}},i.prototype.stop=function(){return this._adaptee.stop()},i._movieClips=new Array,i.current_script_scope=null,i}(G),z=function(e){function r(t,n,r){void 0===t&&(t=null),void 0===n&&(n="auto"),void 0===r&&(r=!1);var i=e.call(this)||this;return!i._bitmapData&&t&&(i.bitmapData=t),i.pixelSnapping=n,i.smoothing=r,i}return c(r,e),r.getNewBitmap=function(e,n,i){if(void 0===e&&(e=null),void 0===n&&(n="auto"),void 0===i&&(i=!1),r._bitmaps.length){var a=r._bitmaps.pop();return a.adaptee=t.Billboard.getNewBillboard(o.MaterialManager.getMaterialForBitmap(),n,i),a.adaptee.style.image=e.adaptee,a}return new r(e,n,i)},r.prototype.mapAdaptee=function(n){var r=n;if(n instanceof s.BitmapImage2D||n instanceof t.SceneImage2D){this._adaptee=r=t.Billboard.getNewBillboard(o.MaterialManager.getMaterialForBitmap(),"auto",!1),this._adaptee.style.image=n;var i=new this.sec.flash.display.BitmapData(n);this.bitmapData=i,this._bitmapMappedFromAsset=!0}return e.prototype.mapAdaptee.call(this,r)},r.prototype.createAdaptee=function(){return t.Billboard.getNewBillboard(o.MaterialManager.getMaterialForBitmap())},r.prototype.clone=function(){var e=r.getNewBitmap(this._bitmapData);return this._adaptee.copyTo(e.adaptee),e},r.prototype.dispose=function(){this.disposeValues(),r._bitmaps.push(this)},r.prototype.disposeValues=function(){this.bitmapData=null,e.prototype.disposeValues.call(this)},Object.defineProperty(r.prototype,"bitmapData",{get:function(){return this._bitmapData},set:function(e){this._bitmapData==e&&this._bitmapData&&this._bitmapData.adaptee===e.adaptee||(this._bitmapData&&this._bitmapData._removeOwner(this),this._bitmapData=e,this._bitmapData&&this._bitmapData._addOwner(this),this.adaptee.style.image=this._bitmapData?this._bitmapData.adaptee:null)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"pixelSnapping",{get:function(){return""},set:function(e){n.Debug.throwPIR("playerglobals/display/Bitmap","set pixelSnapping","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"smoothing",{get:function(){return this.adaptee.style.sampler.smooth},set:function(e){this.adaptee.style.sampler.smooth=e},enumerable:!1,configurable:!0}),r._bitmaps=new Array,r}(M),X={},K=function(e){function r(n,r,i,o){void 0===i&&(i=!0),void 0===o&&(o=4294967295);var a=e.call(this)||this;return a._owners=[],"number"==typeof n?a._adaptee||(a._adaptee=t.SceneImage2D.getImage(n,r,i,o,!1,s.StageManager.getInstance().getStageAt(0)),a._adaptee.useWeakRef()):a._adaptee=n,a._adaptee.adapter=a,a}return c(r,e),r.prototype.compare=function(e){return!0},Object.defineProperty(r.prototype,"adaptee",{get:function(){return this._adaptee},set:function(e){this._adaptee=e},enumerable:!1,configurable:!0}),r.loadBitmap=function(e){return n.Debug.throwPIR("playerglobals/display/BitmapData","loadBitmap",""),null},r.prototype.setPixels=function(e,t){for(var n=(0|e.width)*(0|e.height),r=new Uint8ClampedArray(4*n),i=0;i<n;i++){var o=t.readUnsignedInt()>>>0,a=4*i;r[a]=o>>>24,r[a+1]=o>>>16&255,r[a+2]=o>>>8&255,r[a+3]=255&o}this.adaptee.setPixels(e.adaptee,r)},r.prototype.getPixels=function(e){var t=this.adaptee.getPixels(e.adaptee),n=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength),r=new this.sec.flash.utils.ByteArray;return r.setArrayBuffer(n),r},r.prototype.copyPixelsToByteArray=function(e,t){n.Debug.throwPIR("playerglobals/display/BitmapData","copyPixelsToByteArray","")},r.prototype.getVector=function(e){for(var t=this.adaptee.getPixels(e.adaptee),n=new this.sec.Uint32Vector(0,!0),r=t.length/4|0,i=new Uint32Array(r),o=0;o<r;o++){var a=4*o;i[o]=(t[a]<<24|t[a+1]<<16|t[a+2]<<8|t[a+3])>>>0}return n._buffer=i,n._length=i.length,n},r.prototype.setVector=function(e,t){for(var n=(0|e.width)*(0|e.height),r=new Uint8ClampedArray(4*n),i=t._view(),o=0;o<n;o++){var a=i[o]>>>0,s=4*o;r[s]=a>>>24,r[s+1]=a>>>16&255,r[s+2]=a>>>8&255,r[s+3]=255&a}this.adaptee.setPixels(e.adaptee,r)},r.prototype.histogram=function(e){n.Debug.throwPIR("playerglobals/display/BitmapData","histogram","")},r.prototype.encode=function(e,t,r){n.Debug.throwPIR("playerglobals/display/BitmapData","encode","")},r.prototype.drawWithQuality=function(e,t,n,r,i,o,a){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=!1),this._adaptee.draw(e.adaptee,null==t?void 0:t.adaptee,null==n?void 0:n.adaptee,r,null==i?void 0:i.adaptee,o)},Object.defineProperty(r.prototype,"transparent",{get:function(){return this._adaptee.transparent},set:function(e){this._adaptee.transparent=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._adaptee.width},set:function(e){this._adaptee.width=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._adaptee.height},set:function(e){this._adaptee.height=e},enumerable:!1,configurable:!0}),r.prototype.clone=function(){var e=new this.sec.flash.display.BitmapData(this._adaptee.width,this._adaptee.height,this._adaptee.transparent,null);return this._adaptee.copyTo?this._adaptee.copyTo(e._adaptee):e.copyPixels(this,this.rect,new this.sec.flash.geom.Point),e},Object.defineProperty(r.prototype,"rect",{get:function(){return new this.sec.flash.geom.Rectangle(this._adaptee.rect.clone())},enumerable:!1,configurable:!0}),r.prototype.getPixel=function(e,t){return this._adaptee.getPixel(e,t)},r.prototype.getPixel32=function(e,t){return this._adaptee.getPixel32(e,t)},r.prototype.setPixel=function(e,t,n){this._adaptee.setPixel(e,t,n)},r.prototype.setPixel32=function(e,t,n){this._adaptee.setPixel32(e,t,n)},r.prototype.applyFilter=function(e,t,r,i){this._adaptee.applyFilter(e.adaptee,t.adaptee,r.adaptee,i.toAwayObject())||n.Debug.throwPIR("playerglobals/display/BitmapData","applyFilter",i.axClassName)},r.prototype.colorTransform=function(e,t){this._adaptee.colorTransform(e.adaptee,t.adaptee)},r.prototype.copyChannel=function(e,t,n,r,i){this._adaptee.copyChannel(e.adaptee,t.adaptee,n.adaptee,r,i)},r.prototype.copyPixels=function(e,t,n,r,i,o){void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=!1),this._adaptee.copyPixels(e.adaptee,t.adaptee,n.adaptee,r?r.adaptee:null,i?i.adaptee:null,o)},r.prototype.dispose=function(){this._adaptee&&(this._owners=[],this._adaptee.canUnload&&this._adaptee.dispose(),this._adaptee=null)},r.prototype.draw=function(e,t,n,r,i,o){void 0===n&&(n=null),void 0===r&&(r=""),void 0===i&&(i=null),void 0===o&&(o=!1),this._adaptee.draw(e.adaptee,null==t?void 0:t.adaptee,null==n?void 0:n.adaptee,r,null==i?void 0:i.adaptee,o)},r.prototype.fillRect=function(e,t){this._adaptee.fillRect(e.adaptee,t)},r.prototype.floodFill=function(e,t,n){var r,i;r="floodFill:"+this._adaptee.id,i="Unsage implementation!",X[r]||(console.warn("".concat(r,":"),i),X[r]=!0),this._adaptee.floodFill(e,t,n)},r.prototype.generateFilterRect=function(e,t){return n.Debug.throwPIR("playerglobals/display/BitmapData","generateFilterRect",""),null},r.prototype.getColorBoundsRect=function(e,t,r){return n.Debug.throwPIR("playerglobals/display/BitmapData","getColorBoundsRect",""),new this.sec.flash.geom.Rectangle(this._adaptee.getColorBoundsRect(e,t,r))},r.prototype.hitTest=function(e,t,r,i,o){return void 0===o&&(o=0),n.Debug.throwPIR("playerglobals/display/BitmapData","hitTest",""),this._adaptee.hitTest(e.adaptee,t,null==r?void 0:r.adaptee,null==i?void 0:i.adaptee,o)},r.prototype.lock=function(){this._adaptee.lock()},r.prototype.merge=function(e,t,n,r,i,o,a){this._adaptee.merge(e.adaptee,e.rect.adaptee,n.adaptee,r,i,o,a)},r.prototype.noise=function(e,t,n,r,i){this._adaptee.noise(e,t,n,r,i)},r.prototype.paletteMap=function(e,t,r,i,o,a,s){n.Debug.throwPIR("playerglobals/display/BitmapData","paletteMap","")},r.prototype.perlinNoise=function(e,t,r,i,o,a,s,l,c){void 0===c&&(c=null);var u=c?[]:null;if(c)for(var p=c.value,d=p.length,f=0;f<d;f++)"number"==typeof p[f]?u.push(p[f]):"number"==typeof p[f].x&&u.push(p[f].x,p[f].y);this._adaptee.perlinNoise(e,t,r,i,o,a,s,l,u),n.Debug.throwPIR("playerglobals/display/BitmapData","perlinNoise","Unsafe implementation, results not equal!")},r.prototype.pixelDissolve=function(e,t,r,i,o,a){return n.Debug.throwPIR("playerglobals/display/BitmapData","pixelDissolve",""),0},r.prototype.scroll=function(e,t){t|=0,((e|=0)||t)&&this._adaptee.copyPixels(this._adaptee,this._adaptee.rect,new n.Point(e,t),null,null,!1)},r.prototype.threshold=function(e,t,n,r,i,o,a,s){return this._adaptee.threshold(e.adaptee,t.adaptee,n.adaptee,r,i,o,a,s),0},r.prototype.unlock=function(){this._adaptee.unlock()},r.prototype._addOwner=function(e){},r.prototype._removeOwner=function(e){},r}(r.ASObject),Y=function(e){function n(t,n){var r=e.call(this)||this;return r.imageStore={},r._sec=t,r._loaderInfo=n,r}return c(n,e),Object.defineProperty(n.prototype,"appDomain",{get:function(){return this._loaderInfo?this._loaderInfo.applicationDomain.axApplicationDomain:this._sec.application},enumerable:!1,configurable:!0}),n.prototype.executeABCBytes=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=new r.ABCFile({app:this.appDomain,url:""},n.data);n.flags?this.appDomain.loadABC(i):this.appDomain.loadAndExecuteABC(i)}return null},n.prototype.createSprite=function(e,n,i){if(void 0===n&&(n=null),void 0===i&&(i=null),!i||!this._sec)throw"no symbol provided";var o=null;o=i.className?this.appDomain.getClass(r.Multiname.FromFQNString(i.className,0)):this._sec.flash.display.Sprite.axClass,i.symbolClass=o;var a=r.constructClassFromSymbol(i,o);return a.adaptee=new t.Sprite(n),a.adaptee.name=n.name,a.adaptee},n.prototype.createDisplayObjectContainer=function(e){return(new this._sec.flash.display.DisplayObjectContainer).adaptee},n.prototype.createBinarySymbol=function(e){void 0===e&&(e=null),this.appDomain.addBinarySymbol(e)},n.prototype.createMovieClip=function(e,n){if(void 0===e&&(e=null),void 0===n&&(n=null),!n||!this._sec)throw"no symbol provided";var i=null;n.className?(i=this.appDomain.getClass(r.Multiname.FromFQNString(n.className,0)))._symbol=n:i=n.isButton?this._sec.flash.display.SimpleButton.axClass:this._sec.flash.display.MovieClip.axClass,n.symbolClass=i;var o=n.isButton?this._sec.flash.display.SimpleButton.axClass:this._sec.flash.display.MovieClip.axClass,a=r.constructClassFromSymbol(n,o);return a.adaptee=new t.MovieClip(e||new t.Timeline(this)),n.timeline=a.adaptee.timeline,a.adaptee},n.prototype.createTextField=function(e){void 0===e&&(e=null);var t=null;t=e.className?this.appDomain.getClass(r.Multiname.FromFQNString(e.className,0)):this._sec.flash.text.TextField.axClass,e.symbolClass=t;var n=r.constructClassFromSymbol(e,t);return n.axInitializer(),n.adaptee},n.prototype.createBillboard=function(e,t){return new z(e.style.image.adapter).adaptee},n.prototype.createImage2D=function(e,t,n,r,i,o){void 0===n&&(n=!0),void 0===r&&(r=null);var a=new K(e,t,n,r).adaptee;return a.unuseWeakRef(),a},n.prototype.createFrameScripts=function(e,t,n,r){return e},n.prototype.createChildInstanceForTimeline=function(e,n,r){t.FrameScriptManager.invalidAS3Constructors=!0;var i,a=this.awaySymbols[n];return a.isAsset(o.Graphics)?((i=t.Sprite.getNewSprite(a)).name=a.name,i.mouseEnabled=!1):a.isAsset(t.Sprite)?(i=t.Sprite.getNewSprite(a.graphics)).mouseEnabled=!1:a.isAsset(t.MorphSprite)?(i=t.MorphSprite.getNewMorphSprite(a.graphics.clone())).mouseEnabled=!1:a.isAsset(s.BitmapImage2D)||a.isAsset(t.SceneImage2D)?((i=t.Billboard.getNewBillboard(o.MaterialManager.getMaterialForBitmap())).mouseEnabled=!1,i.style.image=a):i=a.adapter.clone(!1).adaptee,i._sessionID=r,i},n}(t.DefaultSceneGraphFactory),H=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o._text=i,o}return c(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.text)},t.prototype.toString=function(){return this.formatToString("TextEvent","type","bubbles","cancelable","text")},t.prototype.copyNativeData=function(e){i.release||i.notImplemented("public flash.events.TextEvent::copyNativeData")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.LINK="link",t.TEXT_INPUT="textInput",t}(u),W=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=""),void 0===o&&(o=0);var a=e.call(this,t,n,r,i)||this;return a.setID(o),a}return c(t,e),t.prototype.setID=function(e){this._id=e},Object.defineProperty(t.prototype,"errorID",{get:function(){return this._id},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.text,this.errorID)},t.prototype.toString=function(){return this.formatToString("ErrorEvent","type","bubbles","cancelable","text","errorID")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.ERROR="error",t}(H),q=function(e){function t(t,n,r,i,o){return void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=""),void 0===o&&(o=0),e.call(this,t,n,r,i,o)||this}return c(t,e),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.text,this.errorID)},t.prototype.toString=function(){return this.formatToString("IOErrorEvent","type","bubbles","cancelable","text","errorID")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.IO_ERROR="ioError",t.NETWORK_ERROR="networkError",t.DISK_ERROR="diskError",t.VERIFY_ERROR="verifyError",t}(W),J=function(e){function t(t,n){void 0===t&&(t=null);var r=e.call(this)||this;return r._bytesLoaded=0,r._onAssetCompleteDelegate=function(e){return r.onAssetComplete(e)},r._onLoaderCompleteDelegate=function(e){return r.onLoaderComplete(e)},r._onLoadErrorDelegate=function(e){return r.onLoadError(e)},t&&r.loadWaveAudio(t),r}return c(t,e),t.prototype.loadWaveAudio=function(e){this._url=e.url,this._loading=!0,n.AssetLibrary.removeEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),n.AssetLibrary.removeEventListener(n.LoaderEvent.LOADER_COMPLETE,this._onLoaderCompleteDelegate),n.AssetLibrary.removeEventListener(n.URLLoaderEvent.LOAD_ERROR,this._onLoadErrorDelegate),n.AssetLibrary.addEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),n.AssetLibrary.addEventListener(n.LoaderEvent.LOADER_COMPLETE,this._onLoaderCompleteDelegate),n.AssetLibrary.addEventListener(n.URLLoaderEvent.LOAD_ERROR,this._onLoadErrorDelegate),n.AssetLibrary.load(new n.URLRequest(this._url),new n.LoaderContext,this._url,new n.WaveAudioParser)},t.prototype.onAssetComplete=function(e){var t=e.asset;t.isAsset(n.WaveAudio)&&(this._adaptee=t,this._loading=!1,this._pendingPlayCommand&&(this.play(this._pendingPlayCommand.startTime/1e3,this._pendingPlayCommand.loops,this._pendingPlayCommand.sndTransform),this._playAfterLoad=!1),this._pendingPlayCommand=null)},t.prototype.onLoaderComplete=function(e){e.url==this._url&&(this._loading=!1,this._bytesLoaded=1e3,n.AssetLibrary.removeEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),n.AssetLibrary.removeEventListener(n.LoaderEvent.LOADER_COMPLETE,this._onLoaderCompleteDelegate),n.AssetLibrary.removeEventListener(n.URLLoaderEvent.LOAD_ERROR,this._onLoadErrorDelegate),this.dispatchEvent(new this.sec.flash.events.Event(u.COMPLETE)))},t.prototype.onLoadError=function(e){n.AssetLibrary.removeEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),n.AssetLibrary.removeEventListener(n.LoaderEvent.LOADER_COMPLETE,this._onLoaderCompleteDelegate),n.AssetLibrary.removeEventListener(n.URLLoaderEvent.LOAD_ERROR,this._onLoadErrorDelegate),console.log("load error in Sound",e),this._loading=!1,this.dispatchEvent(new this.sec.flash.events.IOErrorEvent(q.ERROR))},Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},set:function(e){this._adaptee=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return this._bytesLoaded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return 1e3},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id3",{get:function(){return console.log("id3 not implemented yet in flash/Sound"),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isBuffering",{get:function(){return console.log("isBuffering not implemented yet in flash/Sound"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isURLInaccessible",{get:function(){return console.log("isURLInaccessible not implemented yet in flash/Sound"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){if(this._adaptee)return 1e3*this._adaptee.duration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._url},enumerable:!1,configurable:!0}),t.prototype.close=function(){console.log("close not implemented yet in flash/Sound")},t.prototype.extract=function(e,t,n){return console.log("extract not implemented yet in flash/Sound"),0},t.prototype.load=function(e,t){this.loadWaveAudio(e)},t.prototype.loadCompressedDataFromByteArray=function(e,t){console.log("loadCompressedDataFromByteArray not implemented yet in flash/Sound")},t.prototype.loadPCMFromByteArray=function(e,t,n,r,i){console.log("loadPCMFromByteArray not implemented yet in flash/Sound")},t.prototype.play=function(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=null),!this.adaptee&&!this._loading)return console.warn("[Sound#play]: no adaptee exists!"),new this.sec.flash.media.SoundChannel;if(!this.adaptee&&this._loading)return this._pendingPlayCommand={startTime:e,loops:t,sndTransform:n,sndChannel:new this.sec.flash.media.SoundChannel},this._pendingPlayCommand.sndChannel;e=isNaN(e)||e<0?0:Math.floor(e),t=isNaN(t)?0:t<1?1:Math.floor(t);var r=this._adaptee.play(e/1e3,t);r||console.debug("[Sound] Sound channel missed, channel pool overflow for:",this._adaptee.id);var i=this._pendingPlayCommand?this._pendingPlayCommand.sndChannel:new this.sec.flash.media.SoundChannel;return n=n||new this.sec.flash.media.SoundTransform,i.init(r,n),i},t.prototype.stopAll=function(){this._adaptee.stop()},t}(g),Z=function(e){function n(t,i){void 0===t&&(t=null),void 0===i&&(i=!1);var o=e.call(this)||this;return i||null!=t||null==n._currentDomain||(t=n.getSystemDomain()),n._currentDomain||(n._currentDomain=o),o._parentDomain=t,o._definitions={},o._font_definitions={},o._audio_definitions={},o.axApplicationDomain=i?o.sec.system:t?new r.AXApplicationDomain(o.sec,o.parentDomain.axApplicationDomain):o.sec.application,o.axApplicationDomain.awayApplicationDomain=o,o}return c(n,e),n.getSystemDomain=function(){if(null==n._systemDomain){if(!n._currentDomain)return null;n._systemDomain=new this._currentDomain.sec.flash.system.ApplicationDomain(null,!0)}return n._systemDomain},Object.defineProperty(n,"currentDomain",{get:function(){return n._currentDomain},set:function(e){n._currentDomain=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"domainMemory",{get:function(){return console.log("[UNSAFE IMPLEMENTATION!] domainMemory:flash/ApplicationDomain"),this._memory},set:function(e){console.log("[UNSAFE IMPLEMENTATION!] domainMemory:flash/ApplicationDomain"),e&&this._memory&&this._memory.buffer!==e.buffer&&(this._memoryView=new DataView(e.buffer)),this._memory=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"internal_memoryView",{get:function(){return this._memoryView},enumerable:!1,configurable:!0}),Object.defineProperty(n,"MIN_DOMAIN_MEMORY_LENGTH",{get:function(){return console.log("MIN_DOMAIN_MEMORY_LENGTH not implemented yet in flash/ApplicationDomain"),0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentDomain",{get:function(){return this._parentDomain},enumerable:!1,configurable:!0}),n.prototype.addDefinition=function(e,t){this._definitions[e]=t},n.prototype.addAudioDefinition=function(e,t){this._audio_definitions[e]=t},n.prototype.addFontDefinition=function(e,t){this._font_definitions[e]=t},n.prototype.hasSymbolForClass=function(e){var t;return this._definitions[e]||this._font_definitions[e]||this._audio_definitions[e]||(null===(t=this._parentDomain)||void 0===t?void 0:t.hasSymbolForClass(e))},n.prototype.getSymbolAdaptee=function(e){var n,r=this._definitions[e];if(r){if(r.isAsset&&r.isAsset(t.SceneImage2D)||!r.adapter)return r;var i=r.adapter.clone();return i.adaptee.isAsset(t.MovieClip)&&(i.adaptee.currentFrameIndex=0),i.adaptee}return this._font_definitions[e]?this._font_definitions[e]:this._audio_definitions[e]?this._audio_definitions[e]:null===(n=this._parentDomain)||void 0===n?void 0:n.getSymbolAdaptee(e)},n.prototype.getSymbolDefinition=function(e){var n,r=this._definitions[e];if(r){if(r.isAsset&&r.isAsset(t.SceneImage2D))return r;var i=r.adapter.clone();return i.adaptee.isAsset(t.MovieClip)&&(i.adaptee.currentFrameIndex=0),i}if(this._font_definitions[e])return this._font_definitions[e];if(this._audio_definitions[e]){var o=new J;return o.adaptee=this._audio_definitions[e],o}return null===(n=this._parentDomain)||void 0===n?void 0:n.getSymbolDefinition(e)},n.prototype.getDefinition=function(e){var t;return this.axApplicationDomain.getClass(r.Multiname.FromSimpleName(e))||(null===(t=this._parentDomain)||void 0===t?void 0:t.getDefinition(e))},n.prototype.getFontDefinition=function(e){var t;return this._font_definitions[e]||(null===(t=this._parentDomain)||void 0===t?void 0:t.getFontDefinition(e))},n.prototype.getAwayJSAudio=function(e){var t;return this._audio_definitions[e]||(null===(t=this._parentDomain)||void 0===t?void 0:t.getAwayJSAudio(e))},n.prototype.getAudioDefinition=function(e){var t,n=new J;return n.adaptee=this._audio_definitions[e]||(null===(t=this._parentDomain)||void 0===t?void 0:t.getAudioDefinition(e)),n},n.prototype.getQualifiedDefinitionNames=function(){var e=[];for(var t in this._definitions)this._definitions.hasOwnProperty(t)&&(e[e.length]=t);return e},n.prototype.hasDefinition=function(e){try{return!!this.getDefinition(e)}catch(e){return!1}},n.prototype.hasFontDefinition=function(e){return this._font_definitions.hasOwnProperty(e)},n.prototype.hasAudioDefinition=function(e){return this._audio_definitions.hasOwnProperty(e)},n}(r.ASObject),$=function(e){function t(t,n,r){void 0===t&&(t=!1),void 0===n&&(n=null),void 0===r&&(r=null);var i=e.call(this)||this,o=i.sec;return i.checkPolicyFile=t,i.applicationDomain=n||new o.flash.system.ApplicationDomain(Z.currentDomain),i.securityDomain=r,i}return c(t,e),t}(r.ASObject),Q=function(e){function a(){var t=e.call(this)||this;return t._contentLoaderInfo=new t.sec.flash.display.LoaderInfo(t,t.adaptee),t._factory=new Y(t.sec,t._contentLoaderInfo),t}return c(a,e),a.executeQueue=function(){if(a.loaderQueue.length){var e=a.loaderQueue.concat();a.loaderQueue.length=0;for(var t=0,n=e;t<n.length;t++){(0,n[t])()}}},Object.defineProperty(a.prototype,"contentLoaderInfo",{get:function(){return this._contentLoaderInfo},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"content",{get:function(){return this._content},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"uncaughtErrorEvents",{get:function(){return n.Debug.throwPIR("playerglobals/display/Loader","get uncaughtErrorEvents",""),this._uncaughtErrorEvents||(this._uncaughtErrorEvents=new this.sec.flash.events.UncaughtErrorEvents),this._uncaughtErrorEvents},enumerable:!1,configurable:!0}),a.prototype.createAdaptee=function(){var e=this;this._onAssetCompleteDelegate=function(t){return e._onAssetComplete(t)};var r=new t.LoaderContainer;return r.addEventListener(n.AssetEvent.ASSET_COMPLETE,this._onAssetCompleteDelegate),r},a.prototype._onAssetComplete=function(r){var i=r.asset;i.adapter.loaderInfo=this._contentLoaderInfo,i.isAsset(t.TextField)?this._contentLoaderInfo.applicationDomain.addDefinition(i.name,i):i.isAsset(t.SceneImage2D)||i.isAsset(s.BitmapImage2D)?(this._contentLoaderInfo.applicationDomain.addDefinition(i.name,i),this._isImage&&(this._content=new this.sec.flash.display.Bitmap(new this.sec.flash.display.BitmapData(i)),this._adaptee.addChild(this._content.adaptee))):i.isAsset(n.WaveAudio)?this._contentLoaderInfo.applicationDomain.addAudioDefinition(i.name,i):i.isAsset(t.Font)?this._contentLoaderInfo.applicationDomain.addFontDefinition(i.name,i):i.isAsset(t.Sprite)?this._contentLoaderInfo.applicationDomain.addDefinition(i.name,i):i.isAsset(t.MovieClip)?(this._contentLoaderInfo.applicationDomain.addDefinition(i.name,i),("Scene 1"==i.name||i.isAVMScene)&&(this._content=i.adapter.clone(),this._content.loaderInfo=this._contentLoaderInfo,this._content.adaptee.reset(),t.FrameScriptManager.invalidAS3Constructors=!0,e.prototype.addChild.call(this,this._content),t.FrameScriptManager.execute_as3_constructors_recursiv(this._content.adaptee))):i.isAsset(o.Graphics)||console.log("loaded unhandled asset-type:",i.name)},a.prototype.addChild=function(e){return this.sec.throwError("IllegalOperationError",r.Errors.InvalidLoaderMethodError),null},a.prototype.addChildAt=function(e,t){return this.sec.throwError("IllegalOperationError",r.Errors.InvalidLoaderMethodError),null},a.prototype.removeChild=function(e){return this.sec.throwError("IllegalOperationError",r.Errors.InvalidLoaderMethodError),null},a.prototype.removeChildAt=function(e){return this.sec.throwError("IllegalOperationError",r.Errors.InvalidLoaderMethodError),null},a.prototype.setChildIndex=function(e,t){this.sec.throwError("IllegalOperationError",r.Errors.InvalidLoaderMethodError)},a.prototype.close=function(){this.adaptee.close()},a.prototype.load=function(e,t){var n=this;void 0===t&&(t=null),a.loaderQueue.push((function(){n._delayedLoad(e,t)}))},a.prototype._delayedLoad=function(e,t){var r=this;void 0===t&&(t=null);var o=e.url||"",l=o.replace(/\?.*$/,""),c=i.matchRedirect(o,a.redirectRules);if(c){if(c.supressLoad)return void console.log("[LOADER] Load surpressed ",c.url);console.log("[LOADER] Override loading url:",c.url),e.adaptee.url=c.url}else console.log("[LOADER] start loading the url:",l);var u=l.substr(-3).toLowerCase();this._isImage="jpg"==u||"png"==u,"gif"!==u?(this._loaderContext=t||new $(!1,Z.currentDomain),this._contentLoaderInfo._setApplicationDomain(this._loaderContext.applicationDomain),this._adaptee.load(e.adaptee,null,null,this._isImage?new s.Image2DParser(this._factory):new i.SWFParser(this._factory)),c&&c.supressErrors&&this.adaptee.addEventListener(n.URLLoaderEvent.LOAD_ERROR,(function(e){console.log("[LOADER] Error supressed by redirect rule as empty complete events!",e),r._contentLoaderInfo._onLoaderCompleteDelegate(new n.LoaderEvent(n.LoaderEvent.LOADER_COMPLETE,e.urlLoader.url,null))}))):console.warn("[Loader] Unsupported file type:",u,l)},a.prototype.loadBytes=function(e,t){var n=this;if(void 0===t&&(t=null),e){var r=e.bytes;0!==r[0]||0!==r[1]||0!==r[2]?a.loaderQueue.push((function(){n._loaderContext=t||new $(!1,Z.currentDomain),n._contentLoaderInfo._setApplicationDomain(n._loaderContext.applicationDomain),n._contentLoaderInfo.source=e,n._adaptee.loadData(r,null,null,new i.SWFParser(n._factory))})):console.warn("[Loader] Bytes buffer has empty magic number!")}else console.warn("[Loader] Bytes byffer is `undefined`")},a.prototype.unload=function(){this._unload(!1,!1)},a.prototype.unloadAndStop=function(e){this._unload(!0,!!e)},a.prototype._unload=function(e,t){n.Debug.throwPIR("playerglobals/display/Loader","_unload","")},a.redirectRules=[],a.loaderQueue=[],a}(U),ee=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=0);var a=e.call(this,t,n,r)||this;return a._bytesLoaded=i,a._bytesTotal=o,a}return c(t,e),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return this._bytesLoaded},set:function(e){this._bytesLoaded=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return this._bytesTotal},set:function(e){this._bytesTotal=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this._type,this._bubbles,this._cancelable,this._bytesLoaded,this._bytesTotal)},t.prototype.toString=function(){return this.formatToString("ProgressEvent","bubbles","cancelable","eventPhase","bytesLoaded","bytesTotal")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.PROGRESS="progress",t.SOCKET_DATA="socketData",t}(u);var te=function(){function e(){}return e.addQueue=function(e){this._queue.push({loaderInfo:e,delayCnt:this.DELAY})},e.executeQueue=function(){for(var e=this._queue,t=e.length,n=!0;t>0;){var r=e[--t];if(r.delayCnt--,r.delayCnt>0)n=!1;else if(0==r.delayCnt){var i=new r.loaderInfo.sec.flash.events.Event(u.COMPLETE);i.currentTarget=r.loaderInfo,r.loaderInfo.dispatchEvent(i)}}n&&(e.length=0)},e._queue=[],e.DELAY=2,e}(),ne=function(e){function t(t,r){var i=e.call(this)||this;return i._bytesLoaded=0,i._bytesTotal=0,i._urlParameters={},i._flashVars={},i._parameters=null,i.eventMappingExtern[u.COMPLETE]="LoaderInfo:Event.COMPLETE",i.eventMappingExtern[ee.PROGRESS]="LoaderInfo:ProgressEvent.PROGRESS",i.eventMappingExtern[q.IO_ERROR]="LoaderInfo:IOErrorEvent.IO_ERROR",i.eventMappingDummys[u.UNLOAD]="LoaderInfo:Event.UNLOAD",i.eventMappingDummys[u.OPEN]="LoaderInfo:Event.OPEN",i.eventMappingDummys[u.INIT]="LoaderInfo:Event.INIT",i._onLoaderStartDelegate=function(e){return i._onLoaderStart(e)},i._onLoadProgressDelegate=function(e){return i._onLoadProgress(e)},i._onLoaderCompleteDelegate=function(e){return i._onLoaderComplete(e)},i._onLoaderErrorDelegate=i._onLoadeError.bind(i),i._loader=t,i._container=r,i._container.addEventListener(n.LoaderEvent.LOADER_START,i._onLoaderStartDelegate),i._container.addEventListener(n.URLLoaderEvent.LOAD_PROGRESS,i._onLoadProgressDelegate),i._container.addEventListener(n.LoaderEvent.LOADER_COMPLETE,i._onLoaderCompleteDelegate),i._container.addEventListener(n.URLLoaderEvent.LOAD_ERROR,i._onLoaderErrorDelegate),i}return c(t,e),Object.defineProperty(t.prototype,"actionScriptVersion",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get actionScriptVersion",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"source",{set:function(e){this._source=e,this._bytesTotal=(null==e?void 0:e.length)||0},enumerable:!1,configurable:!0}),t.prototype.getSymbolById=function(e){},t.prototype._onLoadeError=function(e){var t=new this.sec.flash.events.IOErrorEvent(q.IO_ERROR);t.currentTarget=this,this.dispatchEvent(t)},t.prototype._onLoaderStart=function(e){var t;this._bytesLoaded=0,this._bytesTotal=(null===(t=this._source)||void 0===t?void 0:t.length)||0,this._setURL(new URL(e.url,document.baseURI).href)},t.prototype._setURL=function(e){var t,n,r;this._url=e,this._urlParameters=(n={},-1===(r=(t=e)?t.indexOf("?"):-1)||new URLSearchParams(t.substring(r+1).split("#")[0]).forEach((function(e,t){n[t]=e})),n),this._parameters=null},t.prototype._setFlashVars=function(e){for(var t in this._flashVars={},e)this._flashVars[t]=String(e[t]);this._parameters=null},t.prototype._onLoadProgress=function(e){this._bytesLoaded=e.urlLoader.bytesLoaded,this._bytesTotal=e.urlLoader.bytesTotal;var t=new this.sec.flash.events.ProgressEvent(ee.PROGRESS,null,null,e.urlLoader.bytesLoaded,e.urlLoader.bytesTotal);t.currentTarget=this,this.dispatchEvent(t)},t.prototype._onLoaderComplete=function(e){this._source?this._bytesTotal=this._bytesLoaded=this._source.length:e.assets&&e.assets.length?(this._bytesLoaded=e.assets.length,this._bytesTotal=e.assets.length):this._bytesTotal=this._bytesLoaded=this._bytesTotal||1,this._url=new URL(e.url,document.baseURI).href,te.addQueue(this)},Object.defineProperty(t.prototype,"applicationDomain",{get:function(){return this._applicationDomain},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytes",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get bytes",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesLoaded",{get:function(){return this._bytesLoaded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesTotal",{get:function(){return this._bytesTotal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childAllowsParent",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get childAllowsParent",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childSandboxBridge",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get childSandboxBridge",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/LoaderInfo","set childSandboxBridge","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this._loader.content},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentType",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get contentType",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frameRate",{get:function(){return i.AVMStage.instance().frameRate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){var e=i.AVMStage.instance().view.getNode(this._container),t=a.PickGroup.getInstance().getBoundsPicker(e).getBoxBounds(e);return null==t?0:t.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isURLInaccessible",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get isURLInaccessible",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loader",{get:function(){return this._loader instanceof Q?this._loader:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loaderURL",{get:function(){return this._loader.activeStage.getChildAt(0).loaderInfo.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parameters",{get:function(){return this._parameters||(this._parameters=this.sec.createObjectFromJS(Object.assign({},this._urlParameters,this._flashVars))),this._parameters},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentAllowsChild",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get parentAllowsChild",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentSandboxBridge",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get parentSandboxBridge",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/LoaderInfo","set parentSandboxBridge","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sameDomain",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get sameDomain",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sharedEvents",{get:function(){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","get sharedEvents",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"swfVersion",{get:function(){return this._swfVersion},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uncaughtErrorEvents",{get:function(){return this._loader.uncaughtErrorEvents},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._url.includes("?")&&(this._url=this._url.substr(0,this._url.indexOf("?"))),this._url},set:function(e){this._setURL(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){var e=i.AVMStage.instance().view.getNode(this._container),t=a.PickGroup.getInstance().getBoundsPicker(e).getBoxBounds(e);return null==t?0:t.width},enumerable:!1,configurable:!0}),t.getLoaderInfoByDefinition=function(e){return n.Debug.throwPIR("playerglobals/display/LoaderInfo","static getLoaderInfoByDefinition",""),null},t.prototype._setApplicationDomain=function(e){this._applicationDomain=e||new this.sec.flash.system.ApplicationDomain(Z.currentDomain)},t}(g),re=function(e){function o(){var t=e.call(this)||this;return t._isStage=!0,t._stage3Ds=[],t._resizeCallbackDelegate=function(e){return t.resizeCallback(e)},window.addEventListener("resize",t._resizeCallbackDelegate),t.eventMapping[u.RESIZE]={adaptedType:"",addListener:t.initResizeListener,removeListener:t.removeResizeListener,callback:t._resizeCallbackDelegate},t._mouseLeaveCallbackDelegate=function(e){return t.mouseLeaveCallback(e)},t.eventMapping[u.MOUSE_LEAVE]={adaptedType:"",addListener:t.initMouseLeaveListener,removeListener:t.removeMouseLeaveListener,callback:t._mouseLeaveCallbackDelegate},t.sec.flash.display.DisplayObject.axClass._activeStage=t,t._stage=t,t._resizeCallbackDelegate(null),t}return c(o,e),Object.defineProperty(o.prototype,"view",{get:function(){return i.AVMStage.instance().view},enumerable:!1,configurable:!0}),o.prototype.initResizeListener=function(e,t){},o.prototype.removeResizeListener=function(e,t){},o.prototype.resizeCallback=function(e){this.dispatchEvent(new this.sec.flash.events.Event(u.RESIZE))},o.prototype.show=function(){},o.prototype.initMouseLeaveListener=function(e,t){window.addEventListener("mouseleave",t)},o.prototype.removeMouseLeaveListener=function(e,t){window.removeEventListener("mouseleave",t)},o.prototype.initListener=function(e,t,n){if(!this._listnersCallbacksByType[e])return this.adaptee.addEventListener(e,t),i.AVMStage.instance().view.stage.addEventListener(e,t),void(this._listnersCallbacksByType[e]=[n]);this._listnersCallbacksByType[e].push(n)},o.prototype.removeListener=function(e,t,n){if(this._listnersCallbacksByType[e]){var r=this._listnersCallbacksByType[e].indexOf(n);if(-1!=r){if(1==this._listnersCallbacksByType[e].length)return delete this._listnersCallbacksByType[e],this.adaptee.removeEventListener(e,t),void i.AVMStage.instance().view.stage.removeEventListener(e,t);this._listnersCallbacksByType[e].splice(r,1)}}},o.prototype.mouseLeaveCallback=function(e){this.dispatchEvent(new u(u.MOUSE_LEAVE))},o.prototype.enterFrame=function(){if(Q.executeQueue(),0!=this._stage.adaptee.numChildren){r.OrphanManager.updateOrphans(),t.FrameScriptManager.execute_queue(),this._stage.adaptee.advanceFrame(),t.FrameScriptManager.execute_as3_constructors_enterFrame(this._stage.adaptee);var e=this._stage.adaptee.getChildAt(0);e.firstFrameOnSWFStart?e.firstFrameOnSWFStart=!1:this._stage.dispatchStaticBroadCastEvent(u.ENTER_FRAME),this._stage.dispatchStaticBroadCastEvent(u.FRAME_CONSTRUCTED),t.FrameScriptManager.execute_queue(),this._stage.dispatchStaticBroadCastEvent(u.EXIT_FRAME),t.FrameScriptManager.execute_queue(),te.executeQueue(),this._sendEventRender&&(this._stage.dispatchStaticBroadCastEvent(u.RENDER),t.FrameScriptManager.execute_queue(),this._sendEventRender=!1)}},Object.defineProperty(o.prototype,"mouseX",{get:function(){return 0|i.AVMStage.instance().getLocalMouseX(i.AVMStage.instance().view.getNode(this.adaptee))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseY",{get:function(){return 0|i.AVMStage.instance().getLocalMouseY(i.AVMStage.instance().view.getNode(this.adaptee))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"accessibilityImplementation",{set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set accessibilityImplementation","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"align",{get:function(){return this.adaptee.align},set:function(e){this.adaptee.align=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"allowsFullScreen",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get allowsFullScreen",""),!0},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"allowsFullScreenInteractive",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get allowsFullScreenInteractive",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"browserZoomFactor",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get browserZoomFactor",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"color",{get:function(){return this.adaptee.color},set:function(e){this.adaptee.color=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colorCorrection",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get colorCorrection",""),""},set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set colorCorrection","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"colorCorrectionSupport",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get colorCorrectionSupport",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"contentsScaleFactor",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get contentsScaleFactor",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"displayContextInfo",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get displayContextInfo",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"displayState",{get:function(){return i.AVMStage.instance().displayState},set:function(e){i.AVMStage.instance().displayState=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"focus",{get:function(){var e;return null===(e=i.AVMStage.instance().mouseManager.getFocus())||void 0===e?void 0:e.container.adapter},set:function(e){i.AVMStage.instance().mouseManager.setFocus(null==e?void 0:e.node)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"frameRate",{get:function(){return i.AVMStage.instance().frameRate},set:function(e){i.AVMStage.instance().frameRate=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fullScreenHeight",{get:function(){return window.screen.height},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fullScreenSourceRect",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get fullScreenSourceRect",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set fullScreenSourceRect","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fullScreenWidth",{get:function(){return window.screen.width},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseLock",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get mouseLock",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set mouseLock","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"quality",{get:function(){return i.AVMStage.instance().quality.toUpperCase()},set:function(e){i.AVMStage.instance().quality=e.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleMode",{get:function(){return i.AVMStage.instance().scaleMode},set:function(e){i.AVMStage.instance().scaleMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showDefaultContextMenu",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get showDefaultContextMenu",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set showDefaultContextMenu","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"softKeyboardRect",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get softKeyboardRect",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stage3Ds",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get stage3Ds",""),this._stage3Ds},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stage",{get:function(){return this},set:function(e){this._stage=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stageFocusRect",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get stageFocusRect",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/Stage","set stageFocusRect","")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stageHeight",{get:function(){return i.AVMStage.instance().stageHeight},set:function(e){i.AVMStage.instance().stageHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stageVideos",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get stageVideos",""),[]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stageWidth",{get:function(){return i.AVMStage.instance().stageWidth},set:function(e){i.AVMStage.instance().stageWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tabChildren",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get tabChildren",""),!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"textSnapshot",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get textSnapshot",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"wmodeGPU",{get:function(){return n.Debug.throwPIR("playerglobals/display/Stage","get wmodeGPU",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"accessibilityProperties",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"alpha",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"blendMode",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"cacheAsBitmap",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"contextMenu",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"filters",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"focusRect",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mask",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseChildren",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mouseEnabled",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"numChildren",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"width",{get:function(){var e,t=Object.getOwnPropertyDescriptor(M.prototype,"width");return null===(e=null==t?void 0:t.get)||void 0===e?void 0:e.call(this)},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return 0},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"opaqueBackground",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotation",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationX",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationY",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationZ",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scale9Grid",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleX",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleY",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scaleZ",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollRect",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tabEnabled",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tabIndex",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"transform",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"visible",{set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"x",{get:function(){return this.adaptee.x},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"y",{get:function(){return this.adaptee.y},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"z",{set:function(e){},enumerable:!1,configurable:!0}),o.prototype.addChild=function(t){t.dispatch_ADDED_TO_STAGE();var n=e.prototype.addChild.call(this,t);return t.adaptee.hasDispatchedAddedToStage=!0,t.dispatchStaticEvent(u.ADDED_TO_STAGE,t),n},o.prototype.addChildAt=function(t,n){t.dispatch_ADDED_TO_STAGE();var r=e.prototype.addChildAt.call(this,t,n);return t.adaptee.hasDispatchedAddedToStage=!0,t.dispatchStaticEvent(u.ADDED_TO_STAGE,t),r},o.prototype.removeChildAt=function(t){return e.prototype.removeChildAt.call(this,t)},o.prototype.swapChildrenAt=function(t,n){return e.prototype.swapChildrenAt.call(this,t,n)},o.prototype.setChildIndex=function(e,t){return null},o.prototype.addEventListener=function(t,n,r,i,o){void 0===i&&(i=0),void 0===o&&(o=!1),e.prototype.addEventListener.call(this,t,n,!1,i,o)},o.prototype.hasEventListener=function(t){return e.prototype.hasEventListener.call(this,t)},o.prototype.willTrigger=function(){return e.prototype.willTrigger.call(this)},o.prototype.dispatchEvent=function(t){return e.prototype.dispatchEvent.call(this,t)},Object.defineProperty(o.prototype,"loaderInfo",{get:function(){return this.getChildAt(0).loaderInfo},enumerable:!1,configurable:!0}),o.prototype.invalidate=function(){this._sendEventRender=!0},o.prototype.isFocusInaccessible=function(){return n.Debug.throwPIR("playerglobals/display/Stage","isFocusInaccessible",""),!1},o}(U),ie=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n._ignoreDecodingErrors=!1,t&&n.decode(t),n}return c(t,e),t.prototype.axSetProperty=function(e,t){this[e.getMangledName()]=t},t.prototype.decode=function(e){for(var t=(e=r.axCoerceString(e)).split("&"),n=0;n<t.length;n++){var i=t[n],o=i.indexOf("=");o<0&&(this._ignoreDecodingErrors?o=i.length:this.sec.throwError("Error",r.Errors.DecodeParamError));var a=unescape(i.substring(0,o).split("+").join(" ")),s=unescape(i.substring(o+1).split("+").join(" ")),l=this.axGetPublicProperty(a);void 0===l?this.axSetPublicProperty(a,s):Array.isArray(l)?l.push(s):this.axSetPublicProperty(a,[l,s])}},t.prototype.toString=function(){for(var e=[],t=this.axGetEnumerableKeys(),n=0;n<t.length;n++){var r=t[n].split(" ").join("+"),i=this.axGetPublicProperty(r);if(r=escape(r).split(" ").join("+"),Array.isArray(i))for(var o=0;o<i.length;o++)e.push(r+"="+escape(i[o]));else e.push(r+"="+escape(i))}return e.join("&")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),oe=function(e){function t(t){void 0===t&&(t=null);var r=e.call(this)||this;return r._adaptee=new n.URLRequest(t),r}return c(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},set:function(e){this._adaptee=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._adaptee.url},set:function(e){e=r.axCoerceString(e),this._adaptee.url=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){var e=this._adaptee.data,t=this._adaptee.data;if(e instanceof n.URLVariables)for(var i in t=new ie,this._adaptee.data.variables)t["$Bg"+i]=this._adaptee.data.variables[i];else"object"==typeof e&&(t=r.transformJSValueToAS(this.sec,e,!0));return this._data=t},set:function(e){this._data=e,this.mapToJSData()},enumerable:!1,configurable:!0}),t.prototype.mapToJSData=function(){var e,t=this._data;if(this.sec.flash.net.URLVariables.axIsType(t))for(var i in e=new n.URLVariables,t)0==i.indexOf("$Bg")&&"function"!=typeof t[i]&&(e.variables[i.replace("$Bg","")]=t[i]);else e=r.transformASValueToJS(this.sec,t,!0);return this._adaptee.data=e,e},Object.defineProperty(t.prototype,"method",{get:function(){return this._adaptee.method},set:function(e){this._adaptee.method=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentType",{get:function(){return console.log("TODO: URLRequest.contentType"),""},set:function(e){console.log("TODO: URLRequest.contentType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requestHeaders",{get:function(){return console.log("TODO: URLRequest.requestHeaders"),null},set:function(e){console.log("TODO: URLRequest.requestHeaders")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"digest",{get:function(){return console.log("TODO: URLRequest.digest"),null},set:function(e){console.log("TODO: URLRequest.digest")},enumerable:!1,configurable:!0}),t}(r.ASObject),ae=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"formats",{get:function(){return console.log("formats not implemented yet in flash/Clipboard"),[]},enumerable:!1,configurable:!0}),Object.defineProperty(t,"generalClipboard",{get:function(){return console.log("generalClipboard not implemented yet in flash/Clipboard"),null},enumerable:!1,configurable:!0}),t.prototype.clear=function(){console.log("clear not implemented yet in flash/Clipboard")},t.prototype.clearData=function(e){console.log("clearData not implemented yet in flash/Clipboard")},t.prototype.getData=function(e,t){return console.log("getData not implemented yet in flash/Clipboard"),null},t.prototype.hasFormat=function(e){return console.log("hasFormat not implemented yet in flash/Clipboard"),!1},t.prototype.setData=function(e,t,n){return console.log("setData not implemented yet in flash/Clipboard"),!1},t.prototype.setDataHandler=function(e,t,n){return console.log("setDataHandler not implemented yet in flash/Clipboard"),!1},t}(r.ASObject),se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.BITMAP_FORMAT="air:bitmap",t.FILE_LIST_FORMAT="air:file list",t.FILE_PROMISE_LIST_FORMAT="air:file promise list",t.HTML_FORMAT="air:html",t.RICH_TEXT_FORMAT="air:rtf",t.TEXT_FORMAT="air:text",t.URL_FORMAT="air:url",t}(r.ASObject),le=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.ALPHA=8,t.BLUE=4,t.GREEN=2,t.RED=1,t}(r.ASObject),ce=function(e){function t(t,n){var r=e.call(this)||this;return r._name=o.axCoerceString(t),r._frame=0|n,r}return c(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frame",{get:function(){return this._frame},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this._name,this._frame)},t.classInitializer=null,t}(g),ue={none:o.CapsStyle.NONE,round:o.CapsStyle.ROUND,square:o.CapsStyle.SQUARE},pe={round:o.JointStyle.ROUND,bevel:o.JointStyle.BEVEL,miter:o.JointStyle.MITER};function de(e,t){for(var n in e)if(e[n]===t)return n;return"round"}var fe=function(e){function r(t){void 0===t&&(t=null);var n=e.call(this)||this;return n._ownsAdaptee=!1,n._setAdaptee(t),n}return c(r,e),r.prototype._setAdaptee=function(e){var t=e||new o.Graphics,n=this._adaptee;n!==t&&(n&&n._adapter===this&&(n.adapter=null),this._adaptee=t,this._ownsAdaptee=!1,t.adapter=this)},r.prototype.dispose=function(){},Object.defineProperty(r.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),r.FromData=function(e,t){return new this.sec.flash.display.Graphics},r.prototype.clear=function(){this._detachSharedGraphics(),this.adaptee.clear()},r.prototype._detachSharedGraphics=function(){var e=this._adaptee;if(e&&(!this._ownsAdaptee||e.sourceGraphics)){var n=0;e.forEachOwner((function(){n++}));var r=this._findOwner(),i=r?r.adaptee:null;if(i){if(n>1||!!e.sourceGraphics||!i.isAsset(t.MovieClip)){var a=new o.Graphics;i.graphics=a,this._takePrivateAdaptee(a)}}else(n>0||e.sourceGraphics)&&this._takePrivateAdaptee(new o.Graphics)}},r.prototype._takePrivateAdaptee=function(e){this._setAdaptee(e),this._ownsAdaptee=!0},r.prototype.beginFill=function(e,t){void 0===t&&(t=1),t<0&&(t=0),t>1&&(t=1),this.adaptee.beginFill(e,t)},r.prototype.beginGradientFill=function(e,t,n,r,i,o,a,s){void 0===i&&(i=null),void 0===o&&(o="pad"),void 0===a&&(a="rgb"),void 0===s&&(s=0),this.adaptee.beginGradientFill(e,t.value,n.value,r.value,null==i?void 0:i.adaptee,o,a,s)},r.prototype.beginBitmapFill=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=!0),void 0===r&&(r=!1),this.adaptee.beginBitmapFill(e.adaptee,null==t?void 0:t.adaptee,n,r)},r.prototype.endFill=function(){this.adaptee.endFill()},r.prototype.lineStyle=function(e,t,n,r,i,a,s,l){var c,u;void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=!1),void 0===i&&(i="normal"),void 0===a&&(a=null),void 0===s&&(s=null),void 0===l&&(l=3),n<0&&(n=0),n>1&&(n=1),this.adaptee.lineStyle(e,t,n,r,i,null!==(c=ue[a])&&void 0!==c?c:o.CapsStyle.ROUND,null!==(u=pe[s])&&void 0!==u?u:o.JointStyle.ROUND,Math.min(255,Math.max(1,l)))},r.prototype.lineGradientStyle=function(e,t,n,r,i,o,a,s){void 0===i&&(i=null),void 0===o&&(o="pad"),void 0===a&&(a="rgb"),void 0===s&&(s=0),this.adaptee.lineGradientStyle(e,t.value,n.value,r.value,null==i?void 0:i.adaptee,o,a,s)},r.prototype.lineBitmapStyle=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=!0),void 0===r&&(r=!1),this.adaptee.lineBitmapStyle(e.adaptee,null==t?void 0:t.adaptee,n,r)},r.prototype.drawRect=function(e,t,n,r){this.adaptee.drawRect(e,t,n,r)},r.prototype.drawRoundRect=function(e,t,n,r,i,o){this.adaptee.drawRoundRect(e,t,n,r,i,o)},r.prototype.drawRoundRectComplex=function(e,t,n,r,i,o,a,s){this.adaptee.drawRoundRectComplex(e,t,n,r,i,o,a,s)},r.prototype.drawCircle=function(e,t,n){this.adaptee.drawCircle(e,t,n)},r.prototype.drawEllipse=function(e,t,n,r){this.adaptee.drawEllipse(e,t,n,r)},r.prototype.moveTo=function(e,t){this.adaptee.moveTo(e,t)},r.prototype.lineTo=function(e,t){this.adaptee.lineTo(e,t)},r.prototype.curveTo=function(e,t,n,r){this.adaptee.curveTo(e,t,n,r)},r.prototype.cubicCurveTo=function(e,t,n,r,i,o){this.adaptee.cubicCurveTo(e,t,n,r,i,o)},r.prototype.copyFrom=function(e){this.adaptee.copyFrom(e.adaptee)},r.prototype.drawPath=function(e,t,n){void 0===n&&(n="evenOdd");var r=e._view(),i=t._view();r.length&&i.length&&this.adaptee.drawPath(r,i,n)},r.prototype.drawTriangles=function(e,t,r,i){n.Debug.throwPIR("playerglobals/display/Graphics","drawTriangles","")},r.prototype.drawGraphicsData=function(e){if(e)for(var t=0|e.length,n=0;n<t;n++){var r=e.axGetNumericProperty(n);r&&this._drawGraphicsDataItem(r)}},r.prototype.readGraphicsData=function(e){void 0===e&&(e=!0);var t=new this.sec.ObjectVector,n=this._findOwner();return this._collectGraphicsData(t,this.adaptee,n,!!e,!0),t},r.prototype._drawGraphicsDataItem=function(e){if(e){var t=this.sec.flash.display;t.GraphicsSolidFill.axIsType(e)?this.beginFill(e.color,e.alpha):t.GraphicsGradientFill.axIsType(e)?this.beginGradientFill(e.type,e.colors,e.alphas,e.ratios,e.matrix,e.spreadMethod,e.interpolationMethod,e.focalPointRatio):t.GraphicsBitmapFill.axIsType(e)?this.beginBitmapFill(e.bitmapData,e.matrix,e.repeat,e.smooth):t.GraphicsEndFill.axIsType(e)?this.endFill():t.GraphicsStroke.axIsType(e)?this._applyStroke(e):t.GraphicsPath.axIsType(e)?this.drawPath(e.commands,e.data,e.winding):t.GraphicsTrianglePath.axIsType(e)||e.data_type&&this.adaptee&&this.adaptee.drawGraphicsData([e])}},r.prototype._applyStroke=function(e){var t=e.fill,n=0,r=1,i=this.sec.flash.display;i.GraphicsSolidFill.axIsType(t)&&(n=t.color,r=t.alpha),this.lineStyle(e.thickness,n,r,e.pixelHinting,e.scaleMode,e.caps,e.joints,e.miterLimit),i.GraphicsGradientFill.axIsType(t)?this.lineGradientStyle(t.type,t.colors,t.alphas,t.ratios,t.matrix,t.spreadMethod,t.interpolationMethod,t.focalPointRatio):i.GraphicsBitmapFill.axIsType(t)&&this.lineBitmapStyle(t.bitmapData,t.matrix,t.repeat,t.smooth)},r.prototype._collectGraphicsData=function(e,t,r,i,o){var a;if(o||!1!==r.visible&&!r.adaptee.maskMode){if(t)for(var s=o?new n.Matrix:this._concatenatedMatrix(r),l=t.readGraphicsData(),c=0;c<l.length;c++){var u=this._toAS3GraphicsData(l[c],s);u&&e.axSetNumericProperty(e.length,u)}if(i&&r&&this.sec.flash.display.DisplayObjectContainer.axIsType(r)){var p=r,d=p.numChildren;for(c=0;c<d;c++){var f=p.getChildAt(c);!1===f.visible||f.adaptee.maskMode||this._collectGraphicsData(e,null===(a=f.graphics)||void 0===a?void 0:a.adaptee,f,!0,!1)}}}},r.prototype._findOwner=function(){var e=this,t=null;return this._adaptee.forEachOwner((function(n){if(!t){var r=n.adapter;r.graphics===e&&(t=r)}})),t},r.prototype._concatenatedMatrix=function(e){for(var t=new n.Matrix,r=[],i=e;i;){var o=i.adaptee&&i.adaptee.transform,a=o&&o.matrix;a&&r.push(a),i=i.parent}for(var s=r.length-1;s>=0;s--)t.concat(r[s]);return t},r.prototype._toAS3GraphicsData=function(e,t){var n=this.sec.flash.display,r=e.data_type;if(r==o.GraphicsFillStyle.data_type)return this._toAS3GraphicsData(e.fillStyle,t);if(r==o.SolidFillStyle.data_type){var i=e;return new n.GraphicsSolidFill(i.color,i.alpha)}if(r==o.GradientFillStyle.data_type){var a=e;return(s=t.clone()).concat(a.matrix),new n.GraphicsGradientFill(a.type,this.sec.createArray(a.colors),this.sec.createArray(a.alphas),this.sec.createArray(a.ratios),new this.sec.flash.geom.Matrix(s),a.spreadMethod,a.interpolationMethod,a.focalPointRatio)}if(r==o.BitmapFillStyle.data_type){var s,l=e;return(s=t.clone()).concat(l.matrix),new n.GraphicsBitmapFill(l.image.adapter,new this.sec.flash.geom.Matrix(s),!1!==l.repeat,!!l.smooth)}if(r==o.GraphicsEndFill.data_type)return new n.GraphicsEndFill;if(r==o.GraphicsStrokeStyle.data_type){var c=e,u=this._toAS3GraphicsData(this._strokeFill(c),t);return new n.GraphicsStroke(c.thickness,!1,"normal",de(ue,c.capstyle),de(pe,c.jointstyle),c.miterLimit,u)}if(r==o.GraphicsPath.data_type){var p=e,d="nonZero"===p.winding?"nonZero":"evenOdd",f=this._toInt32Vector(p.commands),h=this._toFloat64Vector(this._transformPairs(p.data,t)),g=new n.GraphicsPath(null,null,d);return g.commands=f,g.data=h,g.winding=d,g.$Bgcommands=f,g.$Bgdata=h,g.$Bgwinding=d,g}return null},r.prototype._strokeFill=function(e){var t=e.fillStyle;return t&&t.data_type==o.GraphicsFillStyle.data_type&&(t=t.fillStyle),t},r.prototype._transformPairs=function(e,t){if(!e)return[];if(!t||e.length<2)return e;var n=t.rawData,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5];if(1===r&&0===i&&0===o&&1===a&&0===s&&0===l)return e;for(var c=e.slice(),u=0;u+1<c.length;u+=2){var p=c[u],d=c[u+1];c[u]=r*p+o*d+s,c[u+1]=i*p+a*d+l}return c},r.prototype._toInt32Vector=function(e){for(var t=e||[],n=new this.sec.Int32Vector(t.length,!1),r=0;r<t.length;r++)n.axSetNumericProperty(r,t[r]);return n},r.prototype._toFloat64Vector=function(e){for(var t=e||[],n=new this.sec.Float64Vector(t.length,!1),r=0;r<t.length;r++)n.axSetNumericProperty(r,+t[r]);return n},r.classInitializer=function(){var e=this.dPrototype;e&&"function"==typeof e.readGraphicsData&&(e.$BgreadGraphicsData=e.readGraphicsData)},r}(r.ASObject),he=function(e){function t(t,n,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i="evenOdd");var o=e.call(this)||this;return o.commands=t||new o.sec.Int32Vector,o.data=n||new o.sec.Float64Vector,o.winding=r.axCoerceString(i)||"evenOdd",o}return c(t,e),t.prototype.moveTo=function(e,t){this._pushCommand(o.GraphicsPathCommand.MOVE_TO,e,t)},t.prototype.lineTo=function(e,t){this._pushCommand(o.GraphicsPathCommand.LINE_TO,e,t)},t.prototype.curveTo=function(e,t,n,r){this._pushCommand(o.GraphicsPathCommand.CURVE_TO,e,t,n,r)},t.prototype.cubicCurveTo=function(e,t,n,r,i,a){this._pushCommand(o.GraphicsPathCommand.CUBIC_CURVE,e,t,n,r,i,a)},t.prototype.wideMoveTo=function(e,t){this._pushCommand(o.GraphicsPathCommand.WIDE_MOVE_TO,0,0,e,t)},t.prototype.wideLineTo=function(e,t){this._pushCommand(o.GraphicsPathCommand.WIDE_LINE_TO,0,0,e,t)},t.prototype._pushCommand=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t._pushNumeric(this.commands,e);for(var i=0;i<n.length;i++)t._pushNumeric(this.data,n[i])},t._pushNumeric=function(e,t){e&&("function"!=typeof e.axSetNumericProperty?"function"!=typeof e.push?e[e.length]=t:e.push(t):e.axSetNumericProperty(e.length,t))},t.classInitializer=null,t}(r.ASObject),ge=function(e){function t(t,n){void 0===t&&(t=0),void 0===n&&(n=1);var r=e.call(this)||this;return r.color=t>>>0,r.alpha=+n,r}return c(t,e),t.classInitializer=null,t}(r.ASObject),be=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t}(r.ASObject),ye=function(e){function t(t,n,i,o,a,s,l,c){void 0===t&&(t="linear"),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s="pad"),void 0===l&&(l="rgb"),void 0===c&&(c=0);var u=e.call(this)||this;return u.type=r.axCoerceString(t),u.colors=n,u.alphas=i,u.ratios=o,u.matrix=a,u.spreadMethod=s,u.interpolationMethod=r.axCoerceString(l),u.focalPointRatio=+c,u}return c(t,e),t.classInitializer=null,t}(r.ASObject),me=function(e){function t(t,n,r,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=!0),void 0===i&&(i=!1);var o=e.call(this)||this;o.bitmapData=t,o.matrix=n,o.repeat=!!r,o.smooth=!!i;var a=o;return a.$BgbitmapData=t,a.$Bgmatrix=n,a.$Bgrepeat=o.repeat,a.$Bgsmooth=o.smooth,a._nativeBitmapData=t,a._nativeMatrix=n,a._nativeRepeat=o.repeat,a._nativeSmooth=o.smooth,o}return c(t,e),t.classInitializer=function(){var e=this.tPrototype||this.dPrototype;e&&(e.axInitializer=t)},t}(r.ASObject),_e=function(e){function t(t,n,i,o,a,s,l){void 0===t&&(t=NaN),void 0===n&&(n=!1),void 0===i&&(i="normal"),void 0===o&&(o="none"),void 0===a&&(a="round"),void 0===s&&(s=3),void 0===l&&(l=null);var c=e.call(this)||this;return c.thickness=+t,c.pixelHinting=!!n,c.scaleMode=r.axCoerceString(i),c.caps=r.axCoerceString(o),c.joints=r.axCoerceString(a),c.miterLimit=+s,c.fill=l,c}return c(t,e),t.classInitializer=null,t}(r.ASObject),ve=function(e){function t(t,n,i,o){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o="none");var a=e.call(this)||this;return a.vertices=t,a.indices=n,a.uvtData=i,a.culling=r.axCoerceString(o),a}return c(t,e),t.classInitializer=null,t}(r.ASObject),Oe=function(e){function t(){var t=e.call(this)||this;return t._enabled=!0,t}return c(t,e),Object.defineProperty(t.prototype,"enabled",{get:function(){return n.Debug.throwPIR("playerglobals/display/NativeMenuItem","get enabled",""),this._enabled},set:function(e){e=!!e,n.Debug.throwPIR("playerglobals/display/NativeMenuItem","set enabled",""),this._enabled=e},enumerable:!1,configurable:!0}),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g),Se=function(e){function t(t,n,i,o){var a=e.call(this)||this;return a._name=r.axCoerceString(t),a._labels=n,a.offset=i,a._numFrames=0|o,a}return c(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labels",{get:function(){return this._labels},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numFrames",{get:function(){return this._numFrames},enumerable:!1,configurable:!0}),t.prototype.clone=function(){var e=this._labels.value.map((function(e){return e.clone()}));return new t(this._name,this.sec.createArrayUnsafe(e),this.offset,this._numFrames)},t.prototype.getLabelByName=function(e,t){t&&(e=e.toLowerCase());for(var n=this._labels.value,r=0;r<n.length;r++){var i=n[r];if(t?i.name.toLowerCase()===e:i.name===e)return i}return null},t.prototype.getLabelByFrame=function(e){for(var t=this._labels.value,n=0;n<t.length;n++){var r=t[n];if(r.frame===e)return r}return null},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),Pe=function(e){function n(){var t=e.call(this)||this;return t._syncGraphics(t._adaptee),t}return c(n,e),n.prototype.updateGraphics=function(){this._syncGraphics(this._adaptee)},n.prototype.mapAdaptee=function(t){return this._syncGraphics(t),e.prototype.mapAdaptee.call(this,t)},n.prototype._syncGraphics=function(e){e&&(this._graphics?this._graphics._setAdaptee(e.graphics):this._graphics=new this.sec.flash.display.Graphics(e.graphics))},n.prototype.createAdaptee=function(){var e=t.Sprite.getNewSprite();return e.reset(),e},Object.defineProperty(n.prototype,"graphics",{get:function(){return this._graphics},enumerable:!1,configurable:!0}),n.prototype.clone=function(){if(!this._symbol)throw"_symbol not defined when cloning movieclip";var e=r.constructClassFromSymbol(this._symbol,this._symbol.symbolClass),n=new t.Sprite;return this.adaptee.copyTo(n),e.adaptee=n,e._stage=this.activeStage,e.adaptee.graphics=this.graphics,e},n}(M),De=function(e){function i(t,n,r,i){var o=e.call(this)||this;return o._adaptee.addButtonListeners(),o}return c(i,e),i.prototype.addTimelineChildAtDepth=function(e,t){e.reset();for(var n=this.adaptee.numChildren-1,r=n+1,i=0,o=n;o>=0;o--){var a=this.adaptee.getChildAt(o);if(-1==a._avmDepthID&&i++,a._avmDepthID>-1){if(a._avmDepthID<t){r=o+1+i;break}i=0,r=o}}return e._avmDepthID=t,e.just_added_to_timeline=!0,this.adaptee._sessionID_childs[e._sessionID]=e,this.adaptee.addChildAt(e,r)},i.prototype.removeTimelineChildAt=function(e){var t=this.adaptee._sessionID_childs[e];t&&(delete this.adaptee._sessionID_childs[e],this.adaptee.removeChild(t))},i.prototype.queueFrameScripts=function(e,n,r){r?t.FrameScriptManager.add_script_to_queue(this.adaptee,n):t.FrameScriptManager.add_script_to_queue_pass2(this.adaptee,n)},i.prototype.removeAllTimelineChilds=function(){var e=this.adaptee;for(var t in e._sessionID_childs){var n=e._sessionID_childs[t];n&&(delete e._sessionID_childs[t],e.removeChild(n))}},i.prototype.constructFrame=function(e,t,n,r,i,o,a){for(var s,l,c=this.adaptee,u=c.numChildren,p=[],d={},f=0;f<u;f++){var h=c.getChildAt(f);(r||-1==h._sessionID)&&(p[p.length]={sessionID:h._sessionID,as3DepthID:h._avmDepthID,addedOnTargetFrame:!1,child:h}),-1!=h._sessionID&&(d[h._sessionID]=h)}e._update_indices.length=0,e._update_frames.length=0;var g,b,y=0;for(l=t;l<=n;l++){var m=e.frame_command_indices[l],_=e.frame_recipe[l];if(2&_){b=(g=e.command_index_stream[m])+e.command_length_stream[m++];var v={};for(s=g;s<b;s++)v[e.remove_child_stream[s]]=!0;var O=[];u=p.length;for(var S=0;S<u;S++)v[p[S].sessionID]||(O[O.length]=p[S]);p=O}if(4&_)for(b=(g=e.command_index_stream[m])+e.command_length_stream[m++],s=g;s<b;s++){for(var P=p.length-1,D=e.add_child_stream[3*s+1],E=P+1,I=0,x=P;x>=0;x--){var w=p[x];if(-1==w.as3DepthID&&I++,w.as3DepthID>-1){if(w.as3DepthID==D&&w.sessionID==e.add_child_stream[3*x]){E=-1;break}if(w.as3DepthID<D){E=x+1+I;break}I=0,E=x}}E>=p.length?p[p.length]={sessionID:e.add_child_stream[3*s],addedOnTargetFrame:l==n,symbolID:e.add_child_stream[3*s+2],as3DepthID:e.add_child_stream[3*s+1]}:E>-1&&p.splice(E,0,{sessionID:e.add_child_stream[3*s],addedOnTargetFrame:l==n,symbolID:e.add_child_stream[3*s+2],as3DepthID:e.add_child_stream[3*s+1]})}8&_&&(e._update_frames[y]=e.keyframe_firstframes[l],e._update_indices[y++]=m++),16&_&&l==n&&e.start_sounds(c,m)}var T,C=[],A=[],j=[];c._sessionID_childs={},u=C.length=p.length;for(var R=0;R<u;R++)if(-1==(T=p[R]).sessionID&&T.child)C[R]=T.child.adaptee;else if(d[T.sessionID]){var L=d[T.sessionID];c._sessionID_childs[T.sessionID]=L,C[R]=L,r||(C[R]._adapter?(C[R].adapter.isColorTransformByScript()||C[R].transform.clearColorTransform(),C[R].adapter.isBlockedByScript()||C[R].noTimelineUpdate||(C[R].transform.clearMatrix3D(),C[R].timelineMasks=void 0),C[R].adapter.isVisibilityByScript()||(C[R].visible=!0)):(C[R].transform.clearColorTransform(),C[R].transform.clearMatrix3D(),C[R].visible=!0,C[R].timelineMasks=void 0))}else{var M=e.getChildInstance(T.symbolID,T.sessionID);this.adaptee.isSlice9ScaledMC&&"[asset Sprite]"==M.assetType&&(M.isSlice9ScaledSprite=!0),M._sessionID=T.sessionID,M._avmDepthID=T.as3DepthID,c._sessionID_childs[T.sessionID]=M,C[R]=M,T.addedOnTargetFrame?j[j.length]=M:A[A.length]=M}for(var F=c.numChildren-1;F>=0;F--)C.indexOf(c.getChildAt(F))<0&&c.removeChildAt(F);for(var N=0;N<C.length;N++)c.contains(C[N])||c.addChildAt(C[N],N);c.preventScript=!0,this.finalizeChildren(A),a&&this.queueFrameScripts(e,i,!o),c.preventScript=!0,this.finalizeChildren(j)},i.prototype.finalizeChildren=function(e){for(var t=e.length,n=0;n<t;n++){e[n].reset()}},i.prototype.initAdapter=function(){},i.prototype.registerScriptObject=function(e){},i.prototype.unregisterScriptObject=function(e){},Object.defineProperty(i.prototype,"downState",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get downState",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set downState","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"enabled",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get enabled",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set enabled","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hitTestState",{get:function(){return this.adaptee.pickObject.adapter},set:function(e){this.adaptee.pickObject=e.adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"overState",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get overState",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set overState","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"soundTransform",{get:function(){return this._soundTransform||(this._soundTransform=new this.sec.flash.media.SoundTransform),this._soundTransform.volume=this.adaptee.soundVolume,this._soundTransform},set:function(e){this.adaptee.soundVolume=e?e.volume:1,this._soundTransform=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"trackAsMenu",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get trackAsMenu",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set trackAsMenu","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"upState",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get upState",""),null},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set upState","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"useHandCursor",{get:function(){return n.Debug.throwPIR("playerglobals/display/SimpleButton","get useHandCursor",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/display/SimpleButton","set useHandCursor","")},enumerable:!1,configurable:!0}),i.prototype.clone=function(){var e=this;if(!e._symbol)throw"_symbol not defined when cloning movieclip";var n=r.constructClassFromSymbol(e._symbol,e._symbol.symbolClass),i=new t.MovieClip(this.adaptee.timeline);return this.adaptee.copyTo(i),n.adaptee=i,n._stage=this.activeStage,n.executeConstructor=function(){n.axInitializer(),n.constructorHasRun=!0},n},i}(B),Ee=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),Ie=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(Ee),xe=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),we=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),Te=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),Ce=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),Ae=function(e){function t(t,n){return void 0===t&&(t=""),void 0===n&&(n=0),e.call(this,t,n)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASError),je=function(e){function t(t,r,i,o,a,s,l,c){void 0===t&&(t=1),void 0===r&&(r=1),void 0===i&&(i=1),void 0===o&&(o=1),void 0===a&&(a=0),void 0===s&&(s=0),void 0===l&&(l=0),void 0===c&&(c=0);var u=e.call(this)||this;if(t instanceof n.ColorTransform)u._adaptee=t;else{var p=+t,d=+r,f=+i,h=+o;u._adaptee=new n.ColorTransform(p==p?p:1,d==d?d:1,f==f?f:1,h==h?h:1,+a||0,+s||0,+l||0,+c||0)}return u}return c(t,e),t.classInitializer=function(){this.FROZEN_IDENTITY_COLOR_TRANSFORM=Object.freeze(this.axConstruct([])),this.TEMP_COLOR_TRANSFORM=this.axConstruct([])},Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alphaMultiplier",{get:function(){return this._adaptee._rawData[3]},set:function(e){this._adaptee._rawData[3]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alphaOffset",{get:function(){return this._adaptee._rawData[7]},set:function(e){this._adaptee._rawData[7]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blueMultiplier",{get:function(){return this._adaptee._rawData[2]},set:function(e){this._adaptee._rawData[2]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blueOffset",{get:function(){return this._adaptee._rawData[6]},set:function(e){this._adaptee._rawData[6]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"greenMultiplier",{get:function(){return this._adaptee._rawData[1]},set:function(e){this._adaptee._rawData[1]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"greenOffset",{get:function(){return this._adaptee._rawData[5]},set:function(e){this._adaptee._rawData[5]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"redMultiplier",{get:function(){return this._adaptee._rawData[0]},set:function(e){this._adaptee._rawData[0]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"redOffset",{get:function(){return this._adaptee._rawData[4]},set:function(e){this._adaptee._rawData[4]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._adaptee.color},set:function(e){this._adaptee.color=+e},enumerable:!1,configurable:!0}),t.prototype.concat=function(e){this._adaptee.concat(e.adaptee)},t.prototype.preMultiply=function(e){this._adaptee._rawData[4]+=e.adaptee._rawData[4]*this._adaptee._rawData[0],this._adaptee._rawData[5]+=e.adaptee._rawData[5]*this._adaptee._rawData[1],this._adaptee._rawData[6]+=e.adaptee._rawData[6]*this._adaptee._rawData[2],this._adaptee._rawData[7]+=e.adaptee._rawData[7]*this._adaptee._rawData[3],this._adaptee._rawData[0]*=e.adaptee._rawData[0],this._adaptee._rawData[1]*=e.adaptee._rawData[1],this._adaptee._rawData[2]*=e.adaptee._rawData[2],this._adaptee._rawData[3]*=e.adaptee._rawData[3]},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.setTo=function(e,t,n,r,i,o,a,s){var l=+e,c=+t,u=+n,p=+r;this._adaptee._rawData[0]=l==l?l:1,this._adaptee._rawData[1]=c==c?c:1,this._adaptee._rawData[2]=u==u?u:1,this._adaptee._rawData[3]=p==p?p:1,this._adaptee._rawData[4]=+i||0,this._adaptee._rawData[5]=+o||0,this._adaptee._rawData[6]=+a||0,this._adaptee._rawData[7]=+s||0},t.prototype.clone=function(){return new this.sec.flash.geom.ColorTransform(this._adaptee._rawData[0],this._adaptee._rawData[1],this._adaptee._rawData[2],this._adaptee._rawData[3],this._adaptee._rawData[4],this._adaptee._rawData[5],this._adaptee._rawData[6],this._adaptee._rawData[7])},t.prototype.convertToFixedPoint=function(){return this._adaptee._rawData[0]=i.clampS8U8(this._adaptee._rawData[0]),this._adaptee._rawData[1]=i.clampS8U8(this._adaptee._rawData[1]),this._adaptee._rawData[2]=i.clampS8U8(this._adaptee._rawData[2]),this._adaptee._rawData[3]=i.clampS8U8(this._adaptee._rawData[3]),this._adaptee._rawData[4]=i.toS16(this._adaptee._rawData[4]),this._adaptee._rawData[5]=i.toS16(this._adaptee._rawData[5]),this._adaptee._rawData[6]=i.toS16(this._adaptee._rawData[6]),this._adaptee._rawData[7]=i.toS16(this._adaptee._rawData[7]),this},t.prototype.dispose=function(){throw new n.AbstractMethodError},t.prototype.equals=function(e){return this===e||this._adaptee._rawData[0]===e._adaptee._rawData[0]&&this._adaptee._rawData[1]===e._adaptee._rawData[1]&&this._adaptee._rawData[2]===e._adaptee._rawData[2]&&this._adaptee._rawData[3]===e._adaptee._rawData[3]&&this._adaptee._rawData[4]===e._adaptee._rawData[4]&&this._adaptee._rawData[5]===e._adaptee._rawData[5]&&this._adaptee._rawData[6]===e._adaptee._rawData[6]&&this._adaptee._rawData[7]===e._adaptee._rawData[7]},t.prototype.toString=function(){return"(redMultiplier="+this._adaptee._rawData[0]+", greenMultiplier="+this._adaptee._rawData[1]+", blueMultiplier="+this._adaptee._rawData[2]+", alphaMultiplier="+this._adaptee._rawData[3]+", redOffset="+this._adaptee._rawData[4]+", greenOffset="+this._adaptee._rawData[5]+", blueOffset="+this._adaptee._rawData[6]+", alphaOffset="+this._adaptee._rawData[7]+")"},t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),Re=function(e){function t(t,r,i,o,a,s){void 0===t&&(t=1),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=1),void 0===a&&(a=0),void 0===s&&(s=0);var l=e.call(this)||this;return l._adaptee=t instanceof n.Matrix?t:new n.Matrix(+t,+r,+i,+o,+a,+s),l}return c(t,e),t.classInitializer=function(){this.FROZEN_IDENTITY_MATRIX=Object.freeze(this.axConstruct([])),this.TEMP_MATRIX=this.axConstruct([])},Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a",{get:function(){return this._adaptee.rawData[0]},set:function(e){this._adaptee.rawData[0]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){return this._adaptee.rawData[1]},set:function(e){this._adaptee.rawData[1]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"c",{get:function(){return this._adaptee.rawData[2]},set:function(e){this._adaptee.rawData[2]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"d",{get:function(){return this._adaptee.rawData[3]},set:function(e){this._adaptee.rawData[3]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tx",{get:function(){return this._adaptee.rawData[4]},set:function(e){this._adaptee.rawData[4]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ty",{get:function(){return this._adaptee.rawData[5]},set:function(e){this._adaptee.rawData[5]=e},enumerable:!1,configurable:!0}),t.FromUntyped=function(e){return new this.sec.flash.geom.Matrix(e.a,e.b,e.c,e.d,e.tx,e.ty)},t.FromDataBuffer=function(e){return new this.sec.flash.geom.Matrix(e.readFloat(),e.readFloat(),e.readFloat(),e.readFloat(),e.readFloat(),e.readFloat())},t.prototype.concat=function(e){this._adaptee.concat(e.adaptee)},t.prototype.invert=function(){this._adaptee.invert()},t.prototype.identity=function(){this._adaptee.identity()},t.prototype.createBox=function(e,t,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=0),this._adaptee.createBox(e,t,n,r,i)},t.prototype.createGradientBox=function(e,t,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=0),this._adaptee.createGradientBox(e,t,n,r,i)},t.prototype.rotate=function(e){this._adaptee.rotate(e)},t.prototype.translate=function(e,t){this._adaptee.translate(e,t)},t.prototype.scale=function(e,t){this._adaptee.scale(e,t)},t.prototype.deltaTransformPoint=function(e){return new this.sec.flash.geom.Point(this._adaptee.deltaTransformPoint(e.adaptee))},t.prototype.transformPoint=function(e){return new this.sec.flash.geom.Point(this._adaptee.transformPoint(e.adaptee))},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.setTo=function(e,t,n,r,i,o){this._adaptee.setTo(e,t,n,r,i,o)},t.prototype.copyRowTo=function(e,t){this._adaptee.copyRowTo(e,t.adaptee)},t.prototype.copyColumnTo=function(e,t){this._adaptee.copyColumnTo(e,t.adaptee)},t.prototype.copyRowFrom=function(e,t){this._adaptee.copyRowFrom(e,t.adaptee)},t.prototype.copyColumnFrom=function(e,t){this._adaptee.copyColumnFrom(e,t.adaptee)},t.prototype.clone=function(){return new this.sec.flash.geom.Matrix(this._adaptee.clone())},t.prototype.toString=function(){var e=this._adaptee.rawData;return"(a="+e[0]+", b="+e[1]+", c="+e[2]+", d="+e[3]+", tx="+e[4]+", ty="+e[5]+")"},t.prototype.writeExternal=function(e){var t=this._adaptee.rawData;e.writeFloat(t[0]),e.writeFloat(t[1]),e.writeFloat(t[2]),e.writeFloat(t[3]),e.writeFloat(t[4]),e.writeFloat(t[5])},t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),Le=new Uint32Array([0,4,8,12,1,5,9,13,2,6,10,14,3,7,11,15]),Me=function(e){function t(t){void 0===t&&(t=null);var r=e.call(this)||this;return t instanceof n.Matrix3D?r._adaptee=t:(r._adaptee=new n.Matrix3D,t&&t.length>=16?r.copyRawDataFrom(t,0,!1):r.identity()),r}return c(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),t.interpolate=function(e,t,n){i.release||i.notImplemented("public flash.geom.Matrix3D::static interpolate")},Object.defineProperty(t.prototype,"rawData",{get:function(){var e=new this.sec.Float64Vector;return this.copyRawDataTo(e,0,!1),e},set:function(e){this.copyRawDataFrom(e,0,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return new this.sec.flash.geom.Vector3D(this._adaptee.position)},set:function(e){this.copyColumnFrom(3,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"determinant",{get:function(){return this._adaptee.determinant},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.geom.Matrix3D(this._adaptee.clone())},t.prototype.copyToMatrix3D=function(e){this._adaptee.copyTo(e.adaptee)},t.prototype.append=function(e){this._adaptee.append(e.adaptee)},t.prototype.prepend=function(e){this._adaptee.prepend(e.adaptee)},t.prototype.invert=function(){return this._adaptee.invert()},t.prototype.identity=function(){this._adaptee.identity()},t.prototype.decompose=function(e){void 0===e&&(e="eulerAngles");for(var t=this._adaptee.decompose(o.axCoerceString(e)),n=new this.sec.ObjectVector(3,!0),r=0;r<3;r++)n.axSetNumericProperty(r,new this.sec.flash.geom.Vector3D(t[r]));return n},t.prototype.recompose=function(e,t){void 0===t&&(t="eulerAngles"),t=o.axCoerceString(t),i.release||i.notImplemented("public flash.geom.Matrix3D::recompose")},t.prototype.appendTranslation=function(e,t,n){this._adaptee.appendTranslation(+e,+t,+n)},t.prototype.appendRotation=function(e,t,n){i.release||i.somewhatImplemented("public flash.geom.Matrix3D::appendRotation"),this._adaptee.appendRotation(+e,t.adaptee)},t.prototype.appendScale=function(e,t,n){this._adaptee.appendScale(+e,+t,+n)},t.prototype.prependTranslation=function(e,t,n){this._adaptee.prependTranslation(+e,+t,+n)},t.prototype.prependRotation=function(e,t,n){i.release||i.somewhatImplemented("public flash.geom.Matrix3D::prependRotation"),this._adaptee.prependRotation(+e,t.adaptee)},t.prototype.prependScale=function(e,t,n){this._adaptee.prependScale(+e,+t,+n)},t.prototype.transformVector=function(e){return new this.sec.flash.geom.Vector3D(this._adaptee.transformVector(e.adaptee,null,!0))},t.prototype.deltaTransformVector=function(e){return new this.sec.flash.geom.Vector3D(this._adaptee.deltaTransformVector(e.adaptee))},t.prototype.transformVectors=function(e,t){for(var n=this._adaptee._rawData,r=n[0],i=n[4],o=n[8],a=n[12],s=n[1],l=n[5],c=n[9],u=n[13],p=n[2],d=n[6],f=n[10],h=n[14],g=0;g<e.length-2;g+=3){var b=e.axGetNumericProperty(g),y=e.axGetNumericProperty(g+1),m=e.axGetNumericProperty(g+2);t.push(r*b+i*y+o*m+a),t.push(s*b+l*y+c*m+u),t.push(p*b+d*y+f*m+h)}},t.prototype.transpose=function(){this._adaptee.transpose()},t.prototype.pointAt=function(e,t,n){i.release||i.notImplemented("public flash.geom.Matrix3D::pointAt")},t.prototype.interpolateTo=function(e,t){i.release||i.notImplemented("public flash.geom.Matrix3D::interpolateTo")},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.copyRawDataTo=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1),t>>>=0,n=!!n;var r=this._adaptee._rawData;if(n)for(var i=0,o=0|t;i<16;i++,o++)e.axSetNumericProperty(o,r[Le[i]]);else for(i=0,o=0|t;i<16;i++,o++)e.axSetNumericProperty(o,r[i])},t.prototype.copyRawDataFrom=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1),t>>>=0,n=!!n;var r=this._adaptee._rawData;if(n)for(var i=0,o=0|t;i<16;i++,o++)r[Le[i]]=e.axGetNumericProperty(o)||0;else for(i=0,o=0|t;i<16;i++,o++)r[i]=e.axGetNumericProperty(o)||0},t.prototype.copyRowTo=function(e,t){this._adaptee.copyRowTo(e>>>0,t.adaptee)},t.prototype.copyColumnTo=function(e,t){this._adaptee.copyColumnTo(e>>>0,t.adaptee)},t.prototype.copyRowFrom=function(e,t){this._adaptee.copyRowFrom(e>>>0,t.adaptee)},t.prototype.copyColumnFrom=function(e,t){this._adaptee.copyColumnFrom(e>>>0,t.adaptee)},t.classInitializer=null,t}(r.ASObject),Fe=function(e){function t(t,r){void 0===t&&(t=0),void 0===r&&(r=0);var i=e.call(this)||this;return i._constructorCalled=!0,i._adaptee=t instanceof n.Point?t:new n.Point(+t,+r),i._constructorCalled=!0,i}return c(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._constructorCalled?this._adaptee._rawData[0]:(console.warn("[Point] Read x before call constructor"),0)},set:function(e){this._adaptee._rawData[0]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._constructorCalled?this._adaptee._rawData[1]:(console.warn("[Point] Read y before call constructor"),0)},set:function(e){this._adaptee._rawData[1]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._adaptee.length},enumerable:!1,configurable:!0}),t.interpolate=function(e,t,r){return new this.sec.flash.geom.Point(n.Point.interpolate(e.adaptee,t.adaptee,r))},t.distance=function(e,t){return n.Point.distance(e.adaptee,t.adaptee)},t.polar=function(e,t){return new this.sec.flash.geom.Point(n.Point.polar(+e,+t))},t.prototype.clone=function(){return new this.sec.flash.geom.Point(this._adaptee.clone())},t.prototype.offset=function(e,t){this._adaptee.offset(e,t)},t.prototype.equals=function(e){return this._adaptee.equals(e.adaptee)},t.prototype.subtract=function(e){return new this.sec.flash.geom.Point(this._adaptee.subtract(e.adaptee))},t.prototype.add=function(e){return new this.sec.flash.geom.Point(this._adaptee.add(e.adaptee))},t.prototype.normalize=function(e){void 0===e&&(e=1),this._adaptee.normalize(+e)},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.setTo=function(e,t){this._adaptee.setTo(e,t)},t.prototype.toString=function(){return"(x="+this.x+", y="+this.y+")"},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),Ne=function(e){function t(t,r,i,o){void 0===t&&(t=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0);var a=e.call(this)||this;return a._adaptee=t instanceof n.Rectangle?t:new n.Rectangle(+t,+r,+i,+o),a}return c(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._adaptee._rawData[3]},set:function(e){this._adaptee._rawData[3]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._adaptee._rawData[2]},set:function(e){this._adaptee._rawData[2]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._adaptee._rawData[0]},set:function(e){this._adaptee._rawData[0]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._adaptee._rawData[1]},set:function(e){this._adaptee._rawData[1]=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this._adaptee.bottom},set:function(e){this._adaptee.bottom=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottomRight",{get:function(){return new this.sec.flash.geom.Point(this._adaptee.bottomRight)},set:function(e){this.bottom=e.y,this.right=e.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this._adaptee.left},set:function(e){this._adaptee.left=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this._adaptee.right},set:function(e){this._adaptee.right=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return new this.sec.flash.geom.Point(this._adaptee.size)},set:function(e){this.width=e.x,this.height=e.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this._adaptee.top},set:function(e){this._adaptee.top=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"topLeft",{get:function(){return new this.sec.flash.geom.Point(this._adaptee.topLeft)},set:function(e){this.top=e.y,this.left=e.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"area",{get:function(){return this.width*this.height},enumerable:!1,configurable:!0}),t.FromBounds=function(e){var t=e.xMin,n=e.yMin;return new this.sec.flash.geom.Rectangle(t/20,n/20,(e.xMax-t)/20,(e.yMax-n)/20)},t.prototype.clone=function(){return new this.sec.flash.geom.Rectangle(this._adaptee.clone())},t.prototype.isEmpty=function(){return this._adaptee.isEmpty()},t.prototype.setEmpty=function(){return this._adaptee.setEmpty()},t.prototype.inflate=function(e,t){this._adaptee.inflate(+e,+t)},t.prototype.inflatePoint=function(e){this._adaptee.inflatePoint(e.adaptee)},t.prototype.offset=function(e,t){this._adaptee.offset(+e,+t)},t.prototype.offsetPoint=function(e){this._adaptee.offsetPoint(e.adaptee)},t.prototype.contains=function(e,t){return this._adaptee.contains(+e,+t)},t.prototype.containsPoint=function(e){return this._adaptee.containsPoint(e.adaptee)},t.prototype.containsRect=function(e){return this._adaptee.containsRect(e.adaptee)},t.prototype.intersection=function(e){return new this.sec.flash.geom.Rectangle(this._adaptee.intersection(e.adaptee))},t.prototype.intersects=function(e){return this._adaptee.intersects(e.adaptee)},t.prototype.union=function(e){return new this.sec.flash.geom.Rectangle(this._adaptee.union(e.adaptee))},t.prototype.equals=function(e){return this._adaptee.equals(e.adaptee)},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.setTo=function(e,t,n,r){this._adaptee.setTo(+e,+t,+n,+r)},t.prototype.toString=function(){return"(x="+this.x+", y="+this.y+", w="+this.width+", h="+this.height+")"},t.prototype.hashCode=function(){var e=0;return e+=20*this.x|0,e*=37,e+=20*this.y|0,e*=37,e+=20*this.width|0,e*=37,e+=20*this.height|0},t.prototype.writeExternal=function(e){e.writeFloat(this.x),e.writeFloat(this.y),e.writeFloat(this.width),e.writeFloat(this.height)},t.prototype.readExternal=function(e){this.x=e.readFloat(),this.y=e.readFloat(),this.width=e.readFloat(),this.height=e.readFloat()},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),ke=function(e){function t(t){var i=e.call(this)||this;return t||i.sec.throwError("ArgumentError",r.Errors.NullPointerError,"displayObject"),i._adaptee=t instanceof n.Transform?t:new n.Transform,i}return c(t,e),Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrix",{get:function(){return new this.sec.flash.geom.Matrix(this._adaptee.matrix)},set:function(e){this._adaptee.matrix=e.adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colorTransform",{get:function(){return new this.sec.flash.geom.ColorTransform(this._adaptee.colorTransform.clone())},set:function(e){this._adaptee.colorTransform=e.adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"concatenatedMatrix",{get:function(){return new this.sec.flash.geom.Matrix(this._adaptee.matrix)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"concatenatedColorTransform",{get:function(){return i.release||i.notImplemented("public flash.geom.Transform::get concatenatedColorTransform"),new this.sec.flash.geom.ColorTransform(this._adaptee.colorTransform)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelBounds",{get:function(){return i.release||i.notImplemented("public flash.geom.Transform::get pixelBounds"),new this.sec.flash.geom.Rectangle(this._adaptee.pixelBounds)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrix3D",{get:function(){return new this.sec.flash.geom.Matrix3D(this._adaptee.matrix3D)},set:function(e){i.release||i.notImplemented("public flash.geom.Transform::set matrix3D")},enumerable:!1,configurable:!0}),t.prototype.getRelativeMatrix3D=function(e){return r.checkNullParameter(e,"relativeTo",this.sec),i.release||i.notImplemented("public flash.geom.Transform::getRelativeMatrix3D"),new this.sec.flash.geom.Matrix3D(this._adaptee.matrix3D)},Object.defineProperty(t.prototype,"perspectiveProjection",{get:function(){return i.release||i.notImplemented("public flash.geom.Transform::get perspectiveProjection"),new n.PerspectiveProjection},set:function(e){i.release||i.notImplemented("public flash.geom.Transform::set perspectiveProjection")},enumerable:!1,configurable:!0}),t.classInitializer=null,t}(r.ASObject),Be=function(e){function t(t,r,i,o){void 0===t&&(t=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0);var a=e.call(this)||this;return a._adaptee=t instanceof n.Vector3D?t:new n.Vector3D(+t,+r,+i,+o),a}return c(t,e),t.classInitializer=function(){this.X_AXIS=Object.freeze(this.Create(1,0,0,0)),this.Y_AXIS=Object.freeze(this.Create(1,0,0,0)),this.Z_AXIS=Object.freeze(this.Create(1,0,0,0))},t.Create=function(e,t,r,i){var o=Object.create(this.tPrototype);return o._adaptee=new n.Vector3D(e,t,r,i),o},Object.defineProperty(t.prototype,"adaptee",{get:function(){return this._adaptee},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._adaptee._rawData[0]},set:function(e){this._adaptee._rawData[0]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._adaptee._rawData[1]},set:function(e){this._adaptee._rawData[1]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"z",{get:function(){return this._adaptee._rawData[2]},set:function(e){this._adaptee._rawData[2]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"w",{get:function(){return this._adaptee._rawData[3]},set:function(e){this._adaptee._rawData[3]=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._adaptee.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lengthSquared",{get:function(){return this._adaptee.lengthSquared},enumerable:!1,configurable:!0}),t.angleBetween=function(e,t){return n.Vector3D.angleBetween(e.adaptee,t.adaptee)},t.distance=function(e,t){return n.Vector3D.distance(e.adaptee,t.adaptee)},t.prototype.dotProduct=function(e){return this._adaptee.dotProduct(e.adaptee)},t.prototype.crossProduct=function(e){return new this.sec.flash.geom.Vector3D(this._adaptee.crossProduct(e.adaptee))},t.prototype.normalize=function(){return this._adaptee.normalize()},t.prototype.scaleBy=function(e){this._adaptee.scaleBy(+e)},t.prototype.incrementBy=function(e){this._adaptee.incrementBy(e.adaptee)},t.prototype.decrementBy=function(e){this._adaptee.decrementBy(e.adaptee)},t.prototype.add=function(e){return new this.sec.flash.geom.Vector3D(this._adaptee.add(e.adaptee))},t.prototype.subtract=function(e){return new this.sec.flash.geom.Vector3D(this._adaptee.subtract(e.adaptee))},t.prototype.negate=function(){this._adaptee.negate()},t.prototype.equals=function(e,t){return this._adaptee.equals(e.adaptee,t)},t.prototype.nearEquals=function(e,t,n){return this._adaptee.nearEquals(e.adaptee,t,n)},t.prototype.project=function(){this._adaptee.project()},t.prototype.copyFrom=function(e){this._adaptee.copyFrom(e.adaptee)},t.prototype.setTo=function(e,t,n){this._adaptee.setTo(e,t,n)},t.prototype.clone=function(){return new this.sec.flash.geom.Vector3D(this._adaptee.clone())},t.prototype.toString=function(){return"Vector3D("+this.x+", "+this.y+", "+this.z+")"},t}(r.ASObject),Ue=function(){function e(){}return e.BUFFER_OVERFLOW_ERROR="bufferOverflowError",e.ERROR_CODE_UNKNOWN="errorCodeUnknown",e.ILLEGAL_ARGUMENT_ERROR="illegalArgumentError",e.INDEX_OUT_OF_BOUNDS_ERROR="indexOutOfBoundsError",e.INVALID_ATTR_VALUE="invalidAttrValue",e.INVALID_CHAR_FOUND="invalidCharFound",e.MEMORY_ALLOCATION_ERROR="memoryAllocationError",e.NO_ERROR="noError",e.NUMBER_OVERFLOW_ERROR="numberOverflowError",e.PARSE_ERROR="parseError",e.PATTERN_SYNTAX_ERROR="patternSyntaxError",e.PLATFORM_API_FAILED="platformAPIFailed",e.TRUNCATED_CHAR_FOUND="truncatedCharFound",e.UNEXPECTED_TOKEN="unexpectedToken",e.UNSUPPORTED_ERROR="unsupportedError",e.USING_DEFAULT_WARNING="usingDefaultWarning",e.USING_FALLBACK_WARNING="usingFallbackWarning",e}(),Ge=function(e){function t(t){var n=e.call(this)||this;return n._name=t,n.DEFAULT="i-default",n._lastOperationStatus=Ue.USING_DEFAULT_WARNING,n}return c(t,e),Object.defineProperty(t.prototype,"lastOperationStatus",{get:function(){return this._lastOperationStatus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ctor",{get:function(){return t},enumerable:!1,configurable:!0}),t.determinePreferredLocales=function(e,t,n){return console.warn("[LocaleID] `determinePreferredLocales` not implemented"),new r.GenericVector},t.prototype.getLanguage=function(){return console.warn("[LocaleID] `getLanguage` not implemented, use default: en"),this._lastOperationStatus=Ue.NO_ERROR,"en"},t.prototype.getRegion=function(){return console.warn("[LocaleID] `getRegion` not implemented, use default: UK"),this._lastOperationStatus=Ue.NO_ERROR,"UK"},t.prototype.getScript=function(){return console.warn("[LocaleID] `getScript` not implemented, use default: ''"),this._lastOperationStatus=Ue.USING_DEFAULT_WARNING,""},t.prototype.getVariant=function(){return console.warn("[LocaleID] `getVariant` not implemented, use default: ''"),this._lastOperationStatus=Ue.USING_DEFAULT_WARNING,""},t.prototype.isRightToLeft=function(){return console.warn("[LocaleID] `isRightToLeft` not implemented, use default: true"),!0},t.prototype.getKeysAndValues=function(){return console.warn("[LocaleID] `isRightToLeft` not implemented, use default: null"),this._lastOperationStatus=Ue.USING_DEFAULT_WARNING,null},t}(r.ASObject),Ve=function(e){function t(t,n,r,i,o,a,s){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=0);var l=e.call(this,t,n,r)||this;return l.timestamp=+i,l.accelerationX=+o,l.accelerationY=+a,l.accelerationZ=+s,l}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.UPDATE="update",t}(u),ze=function(e){function t(t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=!1);var o=e.call(this,t,n,r)||this;return o.activating=!!i,o}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.ACTIVITY="activity",t}(u),Xe=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=""),void 0===o&&(o=null);var a=e.call(this,t,n,r,i)||this;return a.$Bgerror=o,a}return c(t,e),Object.defineProperty(t.prototype,"error",{get:function(){return this.$Bgerror},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this._type,this._bubbles,this._cancelable,this._text,this.$Bgerror)},t.prototype.toString=function(){return this.formatToString("AsyncErrorEvent","type","bubbles","cancelable","eventPhase","text","error")},t.ASYNC_ERROR="asyncError",t.classInitializer=null,t}(W),Ke=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===o&&(o=null);var a=e.call(this,t,n,r)||this;return a.mouseTarget=i,a.contextMenuOwner=o,a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.MENU_ITEM_SELECT="menuItemSelect",t.MENU_SELECT="menuSelect",t}(u),Ye=function(e){function t(t,n,r,i){return void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=""),e.call(this,t,n,r,i)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.DATA="data",t.UPLOAD_COMPLETE_DATA="uploadCompleteData",t}(H),He=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.CAPTURING_PHASE=1,t.AT_TARGET=2,t.BUBBLING_PHASE=3,t}(r.ASObject),We=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=!1),void 0===o&&(o=!1);var a=e.call(this,t,n,r)||this;return a.fullScreen=!!i,a.interactive=!!o,a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.FULL_SCREEN="fullScreen",t.FULL_SCREEN_INTERACTIVE_ACCEPTED="fullScreenInteractiveAccepted",t}(ze),qe=function(e){function t(t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null);var o=e.call(this,t,n,r)||this;return o.device=i,o}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.DEVICE_ADDED="deviceAdded",t.DEVICE_REMOVED="deviceRemoved",t}(u),Je=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){return void 0===n&&(n=!1),void 0===r&&(r=!1),e.call(this,t,n,r)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.UPDATE="update",t}(u),Ze=function(e){function t(t,n,r,i,a,s,l,c,u){void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===a&&(a=0),void 0===s&&(s=0),void 0===l&&(l=!1),void 0===c&&(c=!1),void 0===u&&(u=!1);var p=e.call(this,t,n,r)||this;return p._phase=o.axCoerceString(i),p._localX=+a,p._localY=+s,p._ctrlKey=!!l,p._altKey=!!c,p._shiftKey=!!u,p}return c(t,e),Object.defineProperty(t.prototype,"localX",{get:function(){return this._localX},set:function(e){this._localX=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localY",{get:function(){return this._localY},set:function(e){this._localY=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageX",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stageY",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ctrlKey",{get:function(){return this._ctrlKey},set:function(e){this._ctrlKey=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"altKey",{get:function(){return this._altKey},set:function(e){this._altKey=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shiftKey",{get:function(){return this._shiftKey},set:function(e){this._shiftKey=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"phase",{get:function(){return this._phase},set:function(e){this._phase=o.axCoerceString(e)},enumerable:!1,configurable:!0}),t.prototype.updateAfterEvent=function(){},t.prototype.NativeCtor=function(e,t,n,r,i,a){this._phase=o.axCoerceString(e),this._localX=+t,this._localY=+n,this._ctrlKey=!!r,this._altKey=!!i,this._shiftKey=!!a},t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.phase,this.localX,this.localY,this.ctrlKey,this.altKey,this.shiftKey)},t.prototype.toString=function(){return this.formatToString("GestureEvent","type","bubbles","cancelable","eventPhase","localX","localY","ctrlKey","altKey","shiftKey")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.GESTURE_TWO_FINGER_TAP="gestureTwoFingerTap",t}(u),$e=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.BEGIN="begin",t.UPDATE="update",t.END="end",t.ALL="all",t}(r.ASObject),Qe=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=!1);var a=e.call(this,t,n,r)||this;return a._status=i,a._redirected=o,a._responseURL="",a._responseHeaders=null,a}return c(t,e),t.prototype._setStatus=function(e){this._status=e},Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"redirected",{get:function(){return this._redirected},set:function(e){this._redirected=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"responseURL",{get:function(){return this._responseURL},set:function(e){this._responseURL=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"responseHeaders",{get:function(){return this._responseHeaders},set:function(e){this._responseHeaders=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this._status,this._redirected)},t.prototype.toString=function(){return this.formatToString("IOErrorEvent","type","bubbles","cancelable","text","errorID")},t.classInitializer=null,t.HTTP_RESPONSE_STATUS="httpResponseStatus",t.HTTP_STATUS="httpStatus",t}(u),et=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=""),void 0===o&&(o=null);var a=e.call(this,t,n,r,i)||this;return a.imeClient=o,a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.IME_COMPOSITION="imeComposition",t.IME_START_COMPOSITION="imeStartComposition",t}(H),tt=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=null);var a=e.call(this,t,n,r)||this;return a.timestamp=+i,a.info=o,a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.MEDIA_TYPE_DATA="mediaTypeData",t}(u),nt=function(e){function t(t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null);var o=e.call(this,t,n,r)||this;return o._info=i,o}return c(t,e),Object.defineProperty(t.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.info)},t.prototype.toString=function(){return this.formatToString("NetStatusEvent","type","bubbles","cancelable","eventPhase","info")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.NET_STATUS="netStatus",t}(u),rt=function(e){function t(t,n,r,i,o){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=0);var a=e.call(this,t,n,r)||this;return a.bytesPending=+i,a.bytesTotal=+o,a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.OUTPUT_PROGRESS="outputProgress",t}(u),it=function(e){function t(t,n,r,i,o,a,s,l,c,u,p){void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=0),void 0===l&&(l=0),void 0===c&&(c=!1),void 0===u&&(u=!1),void 0===p&&(p=!1);var d=e.call(this,t,n,r,i,o,a,c,u,p)||this;return d.tapLocalX=+s,d.tapLocalY=+l,d}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.GESTURE_PRESS_AND_TAP="gesturePressAndTap",t}(Ze),ot=function(e){function t(t,n,r,i,o){return void 0===n&&(n=!1),void 0===r&&(r=!1),e.call(this,t,n,r)||this}return c(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:!1,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:!1,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.SAMPLE_DATA="sampleData",t}(u),at=function(e){function t(t,n,r,i,o,a){return void 0===n&&(n=!1),void 0===r&&(r=!1),e.call(this,t,n,r)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.COMPLETE="complete",t}(u),st=function(e){function t(t,n,r,i,o){return e.call(this,t,n,r)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.SOFT_KEYBOARD_ACTIVATE="softKeyboardActivate",t.SOFT_KEYBOARD_DEACTIVATE="softKeyboardDeactivate",t.SOFT_KEYBOARD_ACTIVATING="softKeyboardActivating",t}(u),lt=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.CONTENT_TRIGGERED="contentTriggered",t.USER_TRIGGERED="userTriggered",t}(r.ASObject),ct=function(e){function t(t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null);var a=e.call(this,t,n,r)||this;return a.availability=o.axCoerceString(i),a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.STAGE_VIDEO_AVAILABILITY="stageVideoAvailability",t}(u),ut=function(e){function t(t,n,r,i,a){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===a&&(a=null);var s=e.call(this,t,n,r)||this;return s.status=o.axCoerceString(i),s.colorSpace=o.axCoerceString(a),s}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.RENDER_STATE="renderState",t.RENDER_STATUS_UNAVAILABLE="unavailable",t.RENDER_STATUS_SOFTWARE="software",t.RENDER_STATUS_ACCELERATED="accelerated",t}(u),pt=function(e){function t(t,n,i,o,a){void 0===n&&(n=!1),void 0===i&&(i=!1),void 0===o&&(o=""),void 0===a&&(a="");var s=e.call(this,t,n,i)||this;return s._code=r.axCoerceString(o),s._level=r.axCoerceString(a),s}return c(t,e),Object.defineProperty(t.prototype,"level",{get:function(){return this._level},set:function(e){this._level=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"code",{get:function(){return this._code},set:function(e){this._code=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this._type,this._bubbles,this._cancelable,this._code,this._level)},t.prototype.toString=function(){return this.formatToString("StatusEvent","type","bubbles","cancelable","eventPhase","code","level")},t.classInitializer=null,t.STATUS="status",t}(u),dt=function(e){function t(t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null);var o=e.call(this,t,n,r)||this;return o.changeList=i,o}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.SYNC="sync",t}(u),ft=function(e){function t(t,n,r,i,a){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===a&&(a=0);var s=e.call(this,t,n,r)||this;return s.state=o.axCoerceString(i),s.targetFrameRate=+a,s}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.THROTTLE="throttle",t}(u),ht=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.THROTTLE="throttle",t.PAUSE="pause",t.RESUME="resume",t}(r.ASObject),gt=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}return c(t,e),t.prototype.clone=function(){return new this.sec.flash.events.TimerEvent(this.type,this.bubbles,this.cancelable)},t.prototype.toString=function(){return this.formatToString("TimerEvent","type","bubbles","cancelable","eventPhase")},t.prototype.updateAfterEvent=function(){this.sec.player.requestRender()},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.TIMER="timer",t.TIMER_COMPLETE="timerComplete",t}(u),bt=function(e){function t(t,n,r,i,o,a,s,l,c,u,p,d,f,h){return void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===i&&(i=null),void 0===o&&(o=0),void 0===a&&(a=0),void 0===d&&(d=!1),void 0===f&&(f=!1),void 0===h&&(h=!1),e.call(this,t,n,r,i,o,a,d,f,h)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.GESTURE_ZOOM="gestureZoom",t.GESTURE_PAN="gesturePan",t.GESTURE_ROTATE="gestureRotate",t.GESTURE_SWIPE="gestureSwipe",t}(Ze),yt=function(e){function t(t,n,r,i){return void 0===t&&(t="uncaughtError"),void 0===n&&(n=!0),void 0===r&&(r=!0),void 0===i&&(i=null),e.call(this,t,n,r,i)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.UNCAUGHT_ERROR="uncaughtError",t}(W),mt=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g),_t=function(e){function t(t,n,i,o){void 0===n&&(n=!1),void 0===i&&(i=!1),void 0===o&&(o=null);var a=e.call(this,t,n,i)||this;return a.status=r.axCoerceString(o),a}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.RENDER_STATE="renderState",t.RENDER_STATUS_UNAVAILABLE="unavailable",t.RENDER_STATUS_SOFTWARE="software",t.RENDER_STATUS_ACCELERATED="accelerated",t}(u),vt=function(e){function t(){return e.call(this)||this}return c(t,e),t.ensureInitialized=function(){this.available||this.sec.throwError("Error",r.Errors.ExternalInterfaceNotAvailableError),this.initialized||(this.initialized=!0,i.ExternalInterfaceService.initJS(this._callIn))},t.call=function(e){this.ensureInitialized();var t="";if(arguments.length>1){for(var n=[],r=1;r<arguments.length;r++)n.push(this.convertToJSString(arguments[r]));t=n.join(",")}var o=this.$BgmarshallExceptions?'"<exception>" + e + "</exception>";':'"<undefined/>";',a="try {"+i.ExternalInterfaceService.interfaceID+".__flash__toXML("+e+"("+t+"));} catch (e) {"+o+"}",s=this._evalJS(a);return null==s?null:this.convertFromXML(this.convertToXML(s))},t.addCallback=function(e,t){var n=this;if(this.ensureInitialized(),t){var r=this;this._addCallback(e,(function(e,i){var o,a=!0,s=Array.isArray(i);if(void 0!==i)if(Array.isArray(i)){for(var l=[],c=0;c<i.length;c++){var u=i[c];"object"==typeof u&&u?Array.isArray(u)?l.push(r.sec.createArray(u)):l.push(r.sec.createObjectFromJS(u,!0)):l.push(u)}i=l}else i=[i];else{var p=n.convertToXML(e),d=p.attribute("returntype");if(a=d&&"javascript"==d._value,i=[],p._children)for(c=0;c<p._children.length;c++){var f=p._children[c];i.push(n.convertFromXML(f))}}try{o=t.axApply(null,i)}catch(e){if(!n.$BgmarshallExceptions)throw e;o=e}return s?r.convertToJS(o):a?r.convertToJSString(o):r.convertToXMLString(o)}))}else this._removeCallback(e)},Object.defineProperty(t,"available",{get:function(){return i.ExternalInterfaceService.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(t,"objectID",{get:function(){return i.ExternalInterfaceService.getId()},enumerable:!1,configurable:!0}),t._addCallback=function(e,n){i.ExternalInterfaceService.registerCallback(e),t.registeredCallbacks[e]=n},t._removeCallback=function(e){i.ExternalInterfaceService.unregisterCallback(e),delete t.registeredCallbacks[e]},t._evalJS=function(e){return e=r.axCoerceString(e),i.ExternalInterfaceService.eval(e)},t._callIn=function(e,n){var r=t.registeredCallbacks[e];if(r)return r(e,n)},t._callOut=function(e){return e=r.axCoerceString(e),i.ExternalInterfaceService.call(e)},t.convertToXML=function(e){var t=this.sec.system.getClass(r.Multiname.FromSimpleName("XML")),n=t.ignoreWhitespace;t.ignoreWhitespace=!1;var i=t.Create(e);return t.ignoreWhitespace=n,i},t.convertToXMLString=function(e){switch(typeof e){case"boolean":return e?"<true/>":"<false/>";case"number":return"<number>"+e+"</number>";case"string":return"<string>"+e.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;")+"</string>";case"object":if(null===e)return"<null/>";if(this.sec.AXDate.axIsInstanceOf(e))return"<date>"+e.time+"</date>";if(this.sec.AXError.axIsInstanceOf(e))return this.$BgmarshallExceptions?"<exception>"+e+"</exception>":"<null/>";var t=[];if(e.hasOwnProperty("$Bglength")){for(var n=e.$Bglength,r=0;r<n;r++){var i=this.convertToXMLString(e.axGetNumericProperty(r));t.push('<property id="'+r+'">'+i+"</property>")}return"<array>"+t.join("")+"</array>"}var o=e.axGetEnumerableKeys();for(r=0;r<o.length;r++){var a=o[r];i=this.convertToXMLString(e.axGetPublicProperty(a));t.push('<property id="'+a+'">'+i+"</property>")}return"<object>"+t.join("")+"</object>";default:return"<undefined/>"}},t.convertFromXML=function(e){switch(e._name.name){case"true":return!0;case"false":return!1;case"number":return Number(String(e.children()));case"string":return String(e.children());case"null":return null;case"date":return this.sec.AXDate.axConstruct([Number(String(e.children()))]);case"exception":if(this.$BgmarshallExceptions)throw this.sec.AXError.axConstruct([String(e.children())]);return;case"array":case"object":for(var t="object"===e._name.name?this.sec.createObject():this.sec.createArrayUnsafe([]),n=0;n<e._children.length;n++){var i=e._children[n];t.axSetPublicProperty(Ot(i),this.convertFromXML(i._children[0]))}return t;case"class":var o=r.Multiname.FromFQNString(String(e.children()),0);return this.sec.application.getClass(o);default:return}},t.convertToJS=function(e){var t=this;if("object"!=typeof e||null===e)return e;if(this.sec.AXArray.axIsInstanceOf(e))return e.value.map((function(e){return t.convertToJS(e)}));if(this.sec.AXDate.axIsInstanceOf(e))return new Date(+e.value);if(this.$BgmarshallExceptions&&this.sec.AXError.axIsInstanceOf(e))throw new Error(String(e));for(var n={},r=e.axGetEnumerableKeys(),i=0;i<r.length;i++)n[r[i]]=this.convertToJS(e.axGetPublicProperty(r[i]));return n},t.convertToJSString=function(e){if("string"==typeof e)return JSON.stringify(e);if(this.sec.AXArray.axIsInstanceOf(e)){for(var t=[],n=e.value,r=0;r<n.length;r++)t.push(this.convertToJSString(n[r]));return"["+t.join(",")+"]"}if(this.sec.AXDate.axIsInstanceOf(e))return"new Date("+ +e.value+")";if(this.$BgmarshallExceptions&&this.sec.AXError.axIsInstanceOf(e))return"throw "+JSON.stringify(String(e));if("object"==typeof e&&null!==e){t=[];var i=e.axGetEnumerableKeys();for(r=0;r<i.length;r++){var o=i[r];t.push(JSON.stringify(o)+":"+this.convertToJSString(e.axGetPublicProperty(o)))}return"({"+t.join(",")+"})"}return String(e)},t.classInitializer=null,t.initialized=!1,t.registeredCallbacks={},t}(r.ASObject);function Ot(e){for(var t=0;t<e._attributes.length;t++){var n=e._attributes[t];if("id"===n._name.name)return n._value}}var St=function(e){function t(t,n,r,i,o,a,s,l,c){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s="wrap"),void 0===l&&(l=0),void 0===c&&(c=0);var u=e.call(this)||this;return u.mapBitmap=t,u.mapPoint=n,u.componentX=r,u.componentY=i,u.scaleX=o,u.scaleY=a,u.mode=s,u.color=l,u.alpha=c,u}return c(t,e),t.FromUntyped=function(e,t){return new t.flash.filters.DisplacementMapFilter(e.mapBitmap,e.mapPoint,e.componentX,e.componentY,e.scaleX,e.scaleY,e.mode,e.color,e.alpha)},Object.defineProperty(t.prototype,"mapBitmap",{get:function(){return i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::get mapBitmap"),this._mapBitmap},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set mapBitmap"),this._mapBitmap=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mapPoint",{get:function(){return i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::get mapPoint"),this._mapPoint},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set mapPoint"),this._mapPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"componentX",{get:function(){return this._componentX},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set componentX"),this._componentX=e>>>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"componentY",{get:function(){return this._componentY},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set componentY"),this._componentY=e>>>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleX",{get:function(){return this._scaleX},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set scaleX"),this._scaleX=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleY",{get:function(){return this._scaleY},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set scaleY"),this._scaleY=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set mode"),this._mode=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set color"),this._color=e>>>0&16777215},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._alpha},set:function(e){i.release||i.somewhatImplemented("public flash.filters.DisplacementMapFilter::set alpha"),this._alpha=+e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new this.sec.flash.filters.DisplacementMapFilter(this._mapBitmap,this._mapPoint,this._componentX,this._componentY,this._scaleX,this._scaleY,this._mode,this._color,this._alpha)},t.prototype.toAwayObject=function(){var e,t;return{filterName:"displacement",mapBitmap:null===(e=this._mapBitmap)||void 0===e?void 0:e.adaptee,mapPoint:null===(t=this._mapPoint)||void 0===t?void 0:t.adaptee,componentX:this._componentX,componentY:this._componentY,scaleX:this._scaleX,scaleY:this._scaleY,mode:this._mode,color:this._color,alpha:this._alpha}},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(v),Pt=function(e){function t(t){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"actualLocaleIDName",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get actualLocaleIDName",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"decimalSeparator",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get decimalSeparator",""),""},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set decimalSeparator","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"digitsType",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get digitsType",""),0},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set digitsType","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fractionalDigits",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get fractionalDigits",""),0},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set fractionalDigits","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupingPattern",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get groupingPattern",""),""},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set groupingPattern","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupingSeparator",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get groupingSeparator",""),""},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set groupingSeparator","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastOperationStatus",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get lastOperationStatus",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingZero",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get leadingZero",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set leadingZero","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"negativeNumberFormat",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get negativeNumberFormat",""),0},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set negativeNumberFormat","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"negativeSymbol",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get negativeSymbol",""),""},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set negativeSymbol","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requestedLocaleIDName",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get requestedLocaleIDName",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trailingZeros",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get trailingZeros",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set trailingZeros","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useGrouping",{get:function(){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","get useGrouping",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","set useGrouping","")},enumerable:!1,configurable:!0}),t.prototype.formatInt=function(e){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","formatInt",""),e.toString()},t.prototype.formatNumber=function(e){return n.Debug.throwPIR("playerglobals/globalization/NumberFormatter","formatNumber",""),e.toString()},t.prototype.formatUint=function(e){return console.log("formatUint not implemented yet in flash/NumberFormatter"),""},t.getAvailableLocaleIDNames=function(){return console.log("getAvailableLocaleIDNames not implemented yet in flash/NumberFormatter"),[]},t.prototype.parse=function(e){return console.log("parse not implemented yet in flash/NumberFormatter"),null},t.prototype.parseNumber=function(e){return console.log("parseNumber not implemented yet in flash/NumberFormatter"),0},t.prototype.ctor=function(e){console.log("ctor not implemented yet in flash/NumberFormatter")},t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),Dt=function(e){function t(t,n){void 0===t&&(t=1),void 0===n&&(n=0);var r=e.call(this)||this;return r._vol=1,r._pan=0,r._vol=t,r._pan=n,r}return c(t,e),t.prototype.axCallPublicProperty=function(e,t){return console.log("axCallPublicProperty not implemented yet in flash/SoundTransform"),null},t.prototype.axGetPublicProperty=function(e){return console.log("axGetPublicProperty not implemented yet in flash/SoundTransform"),null},t.prototype.axSetPublicProperty=function(e,t){return console.log("axSetPublicProperty not implemented yet in flash/SoundTransform"),null},t.prototype.axHasPublicProperty=function(e){return console.log("axHasPublicProperty not implemented yet in flash/SoundTransform"),null},t.prototype.axDeletePublicProperty=function(e){return console.log("axDeletePublicProperty not implemented yet in flash/SoundTransform"),null},t.prototype.axGetEnumerableKeys=function(){return console.log("axGetEnumerableKeys not implemented yet in flash/SoundTransform"),[]},Object.defineProperty(t.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:!1,configurable:!0}),Object.defineProperty(t.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:!1,configurable:!0}),Object.defineProperty(t.prototype,"pan",{get:function(){return this._pan},set:function(e){this._pan=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.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:!1,configurable:!0}),Object.defineProperty(t.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:!1,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this._vol},set:function(e){this._vol=e>1?1:e<0?0:e},enumerable:!1,configurable:!0}),t}(r.ASObject),Et=function(e){function r(){return e.call(this)||this}return c(r,e),Object.defineProperty(r,"bufferTime",{get:function(){return i.release||i.notImplemented("public flash.media.SoundMixer::get bufferTime"),r._bufferTime},set:function(e){i.release||i.somewhatImplemented("public flash.media.SoundMixer::set bufferTime"),r._bufferTime=0|e},enumerable:!1,configurable:!0}),Object.defineProperty(r,"soundTransform",{get:function(){return i.release||i.somewhatImplemented("public flash.media.SoundMixer::get soundTransform"),i.isNullOrUndefined(r._soundTransform)?new Dt:new Dt(r._soundTransform.volume,r._soundTransform.pan)},set:function(e){i.release||i.somewhatImplemented("public flash.media.SoundMixer::set soundTransform"),r._soundTransform=i.isNullOrUndefined(e)?new Dt:e,r._updateAllSoundSources()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"audioPlaybackMode",{get:function(){i.release||i.notImplemented("public flash.media.SoundMixer::get audioPlaybackMode")},set:function(e){i.release||i.notImplemented("public flash.media.SoundMixer::set audioPlaybackMode")},enumerable:!1,configurable:!0}),Object.defineProperty(r,"useSpeakerphoneForVoice",{get:function(){i.release||i.notImplemented("public flash.media.SoundMixer::get useSpeakerphoneForVoice")},set:function(e){i.release||i.notImplemented("public flash.media.SoundMixer::set useSpeakerphoneForVoice")},enumerable:!1,configurable:!0}),r.stopAll=function(){r._registeredSoundSources.forEach((function(e){return e.stopSound()})),r._registeredSoundSources=[],t.MovieClip.stopSounds()},r.computeSpectrum=function(e,t,n){i.release||i.somewhatImplemented("public flash.media.SoundMixer::static computeSpectrum");for(var r=new Float32Array(1024),o=0;o<1024;o++)r[o]=Math.random();e.writeRawBytes(r),e.position=0},r.areSoundsInaccessible=function(){i.release||i.notImplemented("public flash.media.SoundMixer::static areSoundsInaccessible")},r._getMasterVolume=function(){return r._masterVolume},r._setMasterVolume=function(e){e=+e,r._masterVolume=e,r._updateAllSoundSources()},r._registerSoundSource=function(e){r._registeredSoundSources.push(e)},r._unregisterSoundSource=function(e){var t=r._registeredSoundSources.indexOf(e);t>=0&&r._registeredSoundSources.splice(t,1)},r._updateAllSoundSources=function(){var e=r._getMasterVolume();r._soundTransform&&(e*=r._soundTransform.volume),n.AudioManager.setVolume(e,-1)},r.classInitializer=null,r.classSymbols=null,r.instanceSymbols=null,r._masterVolume=1,r._registeredSoundSources=[],r._bufferTime=0,r}(r.ASObject),It=function(){function e(e){void 0===e&&(e=null),this._listenerObjects={},this._t=e||this}return e.prototype.addEventListener=function(e,t){var n=this._listenerObjects[e];void 0===n&&(n=this._listenerObjects[e]=new xt),n.addEventListener(t)},e.prototype.removeEventListener=function(e,t){var n=this._listenerObjects[e];n&&(n.removeEventListener(t),0==n.numListeners&&delete this._listenerObjects[e])},e.prototype.dispatchEvent=function(e,t){void 0===t&&(t=null);var n=this._listenerObjects[e.type];n&&(e.target=t||this._t,e.currentTarget=this._t,n.dispatchEvent(e))},e.prototype.hasEventListener=function(e,t){return void 0!==this._listenerObjects[e]&&(null!=t?-1!==this._listenerObjects[e].getEventListenerIndex(t):this._listenerObjects[e].numListeners>0)},e.prototype.removeAllEventListeners=function(){this._listenerObjects={}},e}(),xt=function(){function e(){this._index=0,this._listeners=new Array,this.numListeners=0}return e.prototype.addEventListener=function(e){-1===this._listeners.indexOf(e)&&(this._listeners.push(e),this.numListeners++)},e.prototype.removeEventListener=function(e){var t=this._listeners.indexOf(e);-1!==t&&(this._listeners.splice(t,1),t<=this._index&&this._index--,this.numListeners--)},e.prototype.dispatchEvent=function(e){var t=this.numListeners;for(this._index=0;this._index<t&&this._index<this.numListeners&&(this._listeners[this._index](e),e._iAllowedToImmediatlyPropagate);this._index++);},e.prototype.getEventListenerIndex=function(e){return this._listeners.indexOf(e)},e}(),wt=function(){function e(e){this._iAllowedToPropagate=!0,this._iAllowedToImmediatlyPropagate=!0,this.type=e}return e.prototype.clone=function(){return new e(this.type)},e}(),Tt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._stopped=!1,t._loops=0,t._id=-1,t._isLooping=!1,t._isPlaying=!1,t._isDecoding=!1,t}return c(t,e),Object.defineProperty(t.prototype,"stopped",{get:function(){return this._stopped},enumerable:!1,configurable:!0}),t.prototype.isLooping=function(){return this._isLooping},t.prototype.isPlaying=function(){return this._isPlaying},t.prototype.isDecoding=function(){return this._isDecoding},t.prototype.play=function(e,t,n,r,i){this._loops="number"==typeof n?n:n?1e3:0,this._id=r||-1},t.prototype.dispatchRestart=function(){this.dispatchEvent(t.RESTART_EVENT)},t.prototype.tryRestartLoop=function(){return this._loops--,!(this._loops<=0)&&(!!this.restart()||(this._loops=0,!1))},t.prototype.completeInternally=function(e,n){void 0===e&&(e=!0),void 0===n&&(n=!0),n&&this.tryRestartLoop()||e&&this.dispatchEvent(t.COMPLETE_EVENT)},t.prototype.dispatchComplete=function(){this.dispatchEvent(t.COMPLETE_EVENT)},t.prototype.dispatchStop=function(e){void 0===e&&(e=!1),this.dispatchEvent(e?t.ERROR_EVENT:t.STOP_EVENT),this.owner=null,this._stopped=!0,this.removeAllEventListeners()},t.COMPLETE="complete",t.RESTART="restart",t.STOP="stop",t.ERROR="error",t.RESTART_EVENT=new wt(t.RESTART),t.COMPLETE_EVENT=new wt(t.COMPLETE),t.STOP_EVENT=new wt(t.STOP),t.ERROR_EVENT=new wt(t.ERROR),t}(It),Ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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[]},t.prototype.init=function(e,t){this._channel=e,this._channel&&(this._channel.addEventListener(Tt.COMPLETE,this.soundCompleteInternal.bind(this)),this.soundTransform=t,Et._registerSoundSource(this))},Object.defineProperty(t.prototype,"leftPeak",{get:function(){return i.release||console.log("leftPeak not implemented yet in flash/SoundChannel"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return this._channel?this._channel.currentTime:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightPeak",{get:function(){return i.release||console.log("rightPeak not implemented yet in flash/SoundChannel"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"soundTransform",{get:function(){return this._soundTransform||(this._soundTransform=new this.sec.flash.media.SoundTransform),this._soundTransform},set:function(e){this._channel&&(this._channel.volume=null==e.volume?0:e.volume,this._channel.pan=null==e.pan?0:e.pan),this._soundTransform=e},enumerable:!1,configurable:!0}),t.prototype.soundCompleteInternal=function(e){this._stopInternally();var t=new this.sec.flash.events.Event(u.SOUND_COMPLETE);this.dispatchEvent(t)},t.prototype._stopInternally=function(){Et._unregisterSoundSource(this)},t.prototype.stop=function(){this._channel?(this._stopInternally(),this._channel.stop()):i.release||console.log("SoundChannel.stop: No sound exists")},t.prototype.stopSound=function(){this.stop()},t.prototype.updateSoundLevels=function(e){this._channel&&(this._soundTransform.volume=e,this._channel.volume=e)},t}(g),At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"description",{get:function(){return this._description},set:function(e){this._description=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"extension",{get:function(){return this._extension},set:function(e){this._extension=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"macType",{get:function(){return this._macType},set:function(e){this._macType=e},enumerable:!1,configurable:!0}),t}(r.ASObject),jt=n.ConfigManager.instance.addStore("playerglobal",{ENABLE_FILE_PICKER:!0}),Rt="showSaveFilePicker"in self&&jt.ENABLE_FILE_PICKER;Rt&&console.debug("[FileReference] `showSaveFilePicker` used for save()");var Lt,Mt=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"extension",{get:function(){return this._extension},set:function(e){this._extension=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"permissionStatus",{get:function(){return this._permissionStatus},set:function(e){this._permissionStatus=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this._creator},set:function(e){this._creator=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"modificationDate",{get:function(){return this._modificationDate},set:function(e){this._modificationDate=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creationDate",{get:function(){return this._creationDate},set:function(e){this._creationDate=e},enumerable:!1,configurable:!0}),t.prototype.browse=function(e){var r,i=this,o=t.knownMimeTypes,a=window.showOpenFilePicker;if(!a)return console.warn("[flash/net/FileReference] FileSystem API not supported!"),!1;for(var s=[],l=0;l<e.length;l++){var c=e[l],u=c.extension.slice(c.extension.lastIndexOf(".")),p=u in o?o[u].mime:"application/unknown";s.push({description:c.description,accept:(r={},r[p]=u,r)})}return a({types:s}).then((function(e){return i._sendSelectEvent(),e[0].getFile()})).then((function(e){i.modificationDate=new Date(e.lastModified),i.name=e.name,i.size=e.size,i.type=e.type;var t=e.name.lastIndexOf(".");return i.extension=t>=0?e.name.slice(t+1):null,e.arrayBuffer()})).then((function(e){i.data=new n.ByteArray(e.byteLength),i.data.setArrayBuffer(e),i._sendCompleteEvent()})).catch((function(e){20!==e.code||"The user aborted a request."!==e.message?console.warn("[flash/net/FileReference] FileSystem API Reject `showOpenFilePicker` request:",e):i._sendCancelEvent()})),!0},t.prototype.upload=function(e){return console.log("upload not implemented yet in flash/FileReference"),!0},t.prototype.load=function(){console.log("load not implemented yet in flash/FileReference")},t.prototype.save=function(e,t){void 0===t&&(t=null),this._useFileSystemSave(e,t)},t.prototype._useFileSystemSave=function(e,n){var r,i=this;void 0===n&&(n="");var o=t.knownMimeTypes,a="string"==typeof e,s=void 0!==e.getBytes,l=n.slice(n.lastIndexOf("."));if(!Rt)return!1;var c=window.showSaveFilePicker;if(!c)return console.warn("[flash/net/FileReference] FileSystem API not supported!"),!1;if(a||s){var u=[];if(l in o){var p=o[l].mime;u[0]={description:o[l].description,accept:(r={},r[p]=l,r)}}else u[0]={description:"",accept:{"application/unknown":l}};c({suggestedName:n||"",types:u}).then((function(e){return i._sendSelectEvent(),e.createWritable()})).then((function(t){return t.write(s?e.getBytes():e).then((function(){return t.close()}))})).then((function(e){i._sendCompleteEvent()})).catch((function(e){20!==e.code||"The user aborted a request."!==e.message?console.warn("[flash/net/FileReference] FileSystem API Reject `showSaveFilePicker` request:",e):i._sendCancelEvent()}))}else console.warn("[FileReference] Save is only supported for String and ByteArray")},t.prototype._sendCancelEvent=function(){var e=new this.sec.flash.events.Event(u.CANCEL);e.currentTarget=this,e.target=this,this.dispatchEvent(e)},t.prototype._sendCompleteEvent=function(){var e=new this.sec.flash.events.Event(u.COMPLETE);e.currentTarget=this,e.target=this,this.dispatchEvent(e)},t.prototype._sendSelectEvent=function(){var e=new this.sec.flash.events.Event(u.SELECT);e.currentTarget=this,e.target=this,this.dispatchEvent(e)},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"),!0},t.prototype.cancel=function(){console.log("cancel not implemented yet in flash/FileReference")},t.forceNativeMethods=!0,t.knownMimeTypes={".jpeg":{mime:"image/jpeg",description:"JPEG images"},".jpg":{mime:"image/jpeg",description:"JPEG images"},".txt":{mime:"text/plain",description:"Text documents"}},t}(g),Ft="AWAY",Nt=function(){function e(){this._values={},this._realStorage=null}return e.prototype.getItem=function(e){return this._realStorage&&(this._values[e]=this._realStorage.getItem(e)),this._values[e]},e.prototype.setItem=function(e,t){this._realStorage&&this._realStorage.setItem(e,t),this._values[e]=t},e.prototype.removeItem=function(e){this._realStorage&&this._realStorage.removeItem(e),delete this._values[e]},e}();function kt(){if(!Lt&&(Lt=new Nt,"undefined"!=typeof Storage))try{Lt._realStorage=window.localStorage}catch(e){console.warn("[Shared Storage] ",e)}return Lt}var Bt=function(){function e(){}return e.decodedData=function(){if(!Ut)throw"Can't decode without security context";var e=kt(),t={},n={};for(var i in e._values){null!==e._values[i]?(t[i]=Gt.tryDecodeData(e._values[i]).data,n[i]=r.transformASValueToJS(Ut,t[i],!0)):t[i]=n[i]=null}return this._lastDecodedData=n,this._lastRawData=t,n},e.encodeAndApplyData=function(){if(!this._lastRawData)throw"Need call decode before encode for detecting model";var e={};for(var t in this._lastRawData)void 0!==typeof this._lastDecodedData[t]?e[t]=r.transformJSValueToAS(Ut,this._lastDecodedData[t],!0):e[t]=this._lastRawData[t];var n=kt();for(var t in e)null!==e[t]&&n.setItem(t,Gt.tryEncodeData(e[t]));return e},e._lastRawData=null,e._lastDecodedData=null,e}();window._AWAY_DEBUG_STORAGE=Bt,window.addEventListener("unload",(function(){Gt.closeAll()})),window.addEventListener("blur",(function(){Gt.flushAll()}));var Ut=void 0,Gt=function(e){function t(){var t=e.call(this)||this;return t.awaySOVersion=1,t}return c(t,e),Object.defineProperty(t,"defaultObjectEncoding",{get:function(){i.notImplemented("public flash.net.SharedObject::static defaultObjectEncoding")},set:function(e){i.notImplemented("public flash.net.SharedObject::static defaultObjectEncoding")},enumerable:!1,configurable:!0}),t.deleteAll=function(e){i.notImplemented("public flash.net.SharedObject::static deleteAll")},t.getDiskUsage=function(e){return i.notImplemented("public flash.net.SharedObject::static getDiskUsage"),0},t.tryDecodeData=function(e){var t=1;e.indexOf(Ft)>-1&&(t=+e[4],e=e.substring(6));var o=i.StringUtilities.decodeRestrictedBase64ToBytes(e),a=new n.ByteArray(o.length);return a.sec=this.sec||Ut,a.setArrayBuffer(o.buffer),{data:r.AMF3.read(a),version:t}},t.tryEncodeData=function(e){var t=new n.ByteArray;t.sec=this.sec||Ut,r.AMF3.write(t,e);var o=new Uint8Array(t.arraybytes,0,t.length);return i.StringUtilities.base64EncodeBytes(o)},t.getLocal=function(e,n,o){Ut=this.sec,e=r.axCoerceString(e);var a=((n=r.axCoerceString(n))||"")+"/"+e;if(t._sharedObjects[a])return t._sharedObjects[a];var s,l=kt().getItem(a),c=this._defaultObjectEncoding,u=3;if(l){try{var p=t.tryDecodeData(l);s=p.data,u=p.version}catch(e){i.warning("Error encountered while decoding LocalStorage entry. Resetting data.")}s&&"object"==typeof s||(s=this.sec.createObject())}else s=this.sec.createObject();var d=new this.sec.flash.net.SharedObject;return d._path=a,d._objectEncoding=c,d._data=s,d.awaySOVersion=u,t._sharedObjects[a]=d,d},t.getRemote=function(e,t,n,r){return new this.sec.flash.net.SharedObject},t.closeAll=function(){for(var e in t._sharedObjects)t._sharedObjects[e]&&t._sharedObjects[e].close()},t.flushAll=function(){for(var e in t._sharedObjects)t._sharedObjects[e]&&t._sharedObjects[e].flush()},t.prototype.flush=function(e){var n=!0;for(var r in this._data)if(this._data.hasOwnProperty(r)){n=!1;break}if(!n||kt().getItem(this._path)){Ut=this.sec;var i=Ft+3..toFixed(0)+","+t.tryEncodeData(this._data);kt().setItem(this._path,i)}},Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"objectEncoding",{get:function(){i.notImplemented("public flash.net.SharedObject::get objectEncoding")},set:function(e){i.notImplemented("public flash.net.SharedObject::set objectEncoding")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"client",{get:function(){i.notImplemented("public flash.net.SharedObject::get client")},set:function(e){i.notImplemented("public flash.net.SharedObject::set client")},enumerable:!1,configurable:!0}),t.prototype.setDirty=function(e){i.notImplemented("public flash.net.SharedObject::setDirty")},t.prototype.connect=function(e,t){i.notImplemented("public flash.net.SharedObject::connect")},t.prototype.send=function(){i.notImplemented("public flash.net.SharedObject::send")},t.prototype.close=function(){this.flush(),delete t._sharedObjects[this._path]},t.prototype.clear=function(){this._data=this.sec.createObject(),kt().removeItem(this._path),delete t._sharedObjects[this._path]},Object.defineProperty(t.prototype,"size",{get:function(){var e;return(null===(e=kt().getItem(this._path))||void 0===e?void 0:e.length)||0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fps",{set:function(e){i.notImplemented("public flash.net.SharedObject::set fps")},enumerable:!1,configurable:!0}),t.prototype.setProperty=function(e,t){i.notImplemented("public flash.net.SharedObject::setProperty")},t._sharedObjects={},t._defaultObjectEncoding=r.ObjectEncoding.DEFAULT,t}(r.ASObject),Vt=function(e){function t(){var t=e.call(this)||this;return t._dataIsNull=!0,t._adaptee=new n.URLLoader,t._completeCallbackDelegate=function(e){return t.completeCallback(e)},t._progressCallbackDelegate=function(e){return t.progressCallback(e)},t._loadErrorDelegate=function(e){return t.loadErrorDelegate(e)},t.eventMapping[u.COMPLETE]={adaptedType:n.URLLoaderEvent.LOAD_COMPLETE,addListener:t.initListener,removeListener:t.removeListener,callback:t._completeCallbackDelegate},t.eventMapping[ee.PROGRESS]={adaptedType:n.URLLoaderEvent.LOAD_PROGRESS,addListener:t.initListener,removeListener:t.removeListener,callback:t._progressCallbackDelegate},t.eventMapping[q.IO_ERROR]={adaptedType:n.URLLoaderEvent.LOAD_ERROR,addListener:t.initListener,removeListener:t.removeListener,callback:t._loadErrorDelegate},Object.defineProperty(t,"$Bgdata",{get:t.getData.bind(t),set:t.setData.bind(t)}),t}return c(t,e),t.prototype.close=function(){console.log("not mimplemented: URLoader.close")},t.prototype.setData=function(e){this._dataIsNull=this._dataIsNull||null===e},t.prototype.getData=function(){if(this._dataIsNull)return null;var e=this._adaptee.data;switch(this.$BgdataFormat){case n.URLLoaderDataFormat.VARIABLES:return new this.sec.flash.net.URLVariables(e);case n.URLLoaderDataFormat.BINARY:return console.warn("[URLLoader] Binary not supported"),null;default:return e}},t.prototype.initListener=function(e,t){this._adaptee.addEventListener(e,t)},t.prototype.removeListener=function(e,t){this._adaptee.removeEventListener(e,t)},t.prototype.addEventListener=function(t,n){e.prototype.addEventListener.call(this,t,n)},t.prototype.loadErrorDelegate=function(e){this._dataIsNull=!1;var t=new this.sec.flash.events.IOErrorEvent(q.IO_ERROR);t.currentTarget=this,this.dispatchEvent(t)},t.prototype.progressCallback=function(e){void 0===e&&(e=null),this._dataIsNull=!1;var t=new this.sec.flash.events.ProgressEvent(ee.PROGRESS,null,null,e.urlLoader.bytesLoaded,e.urlLoader.bytesTotal);t.currentTarget=this,this.dispatchEvent(t)},t.prototype.completeCallback=function(e){this._dataIsNull=!1;var t=new this.sec.flash.events.Event(u.COMPLETE);t.currentTarget=this,t.target=this,this.dispatchEvent(t)},t.prototype.load=function(e){var n=e.url||"",r=i.matchRedirect(n,t.redirectRules);r?(console.log("[URL LOADER] Override loading url:",r.url),e.adaptee.url=r.url):console.log("[URL LOADER] start loading the url:",n),e.mapToJSData(),this._adaptee.load(e.adaptee)},t.redirectRules=[],t}(g),zt=["send","connect","close","allowDomain","allowInsecureDomain","client","domain"];Object.freeze(zt);var Xt=function(e){function t(){var t=e.call(this)||this;t._client=t,t._connectionName=null,t._allowedInsecureDomains=[],t._allowedSecureDomains=[];var n=new URL(document.baseURI);return t._domain=n.hostname,t._secure="https:"===n.protocol,t}return c(t,e),Object.defineProperty(t,"isSupported",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.close=function(){var e=this._connectionName;e||this.sec.throwError("ArgumentError",r.Errors.CloseNotConnectedError),i.release||i.assert("string"==typeof e&&e.length>0),this._connectionName=null,this._allowedInsecureDomains=[],this._allowedSecureDomains=[],i.notImplemented("public flash.net.LocalConnection::close")},t.prototype.connect=function(e){i.notImplemented("public flash.net.LocalConnection::connect")},t.prototype.send=function(e,t){i.notImplemented("public flash.net.LocalConnection::send")},Object.defineProperty(t.prototype,"client",{get:function(){return this._client},set:function(e){this.sec.AXObject.axIsType(e)||this.sec.throwError("ArgumentError",r.Errors.InvalidParamError),this._client=e},enumerable:!1,configurable:!0}),t.prototype.allowDomain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._allowDomains(e,!0)},t.prototype.allowInsecureDomain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._allowDomains(e,!0),this._allowDomains(e,!1)},t.prototype._allowDomains=function(e,t){i.notImplemented("private flash.net.LocalConnection::_allowDomains")},t.prototype.handleMessage=function(e,t){var n,i=this._client;if(!i.axHasPublicProperty(e)||zt.indexOf(e)>-1)n=this.sec.createError("ReferenceError",r.Errors.ReadSealedError,e,i.axClass.name.name);else{var o=i.axGetPublicProperty(e);if(!r.axIsCallable(o))return;var a=new r.ByteArray(t).readObject();if(this.sec.AXArray.axIsType(a))try{o.apply(i,a.value)}catch(e){n=e}else n=this.sec.createError("TypeError",r.Errors.CheckTypeFailedError,a,"Array")}if(n){var s=new W("asyncError",!1,!1,"Error #2095: flash.net.LocalConnection was unable to invoke callback "+e+".",n.errorID);if(this.hasEventListener("asyncError"))try{this.dispatchEvent(s)}catch(e){console.warn("Exception encountered during asyncErrorEvent handling in LocalConnection sender.")}else console.warn("No handler for asyncError on LocalConnection sender, not sending event",s)}},Object.defineProperty(t.prototype,"domain",{get:function(){return this._domain},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPerUser",{get:function(){return!0},set:function(e){},enumerable:!1,configurable:!0}),t.classInitializer=null,t}(g),Kt=function(e){function t(){var n=e.call(this)||this;return n._httpCallId=0,n._connected=!1,n._proxyType="none",n._objectEncoding=t.defaultObjectEncoding,n._usingTLS=!1,n}return c(t,e),t.prototype.close=function(){this.invoke(1)},t.prototype.addHeader=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=null),this._invoke(3,[r.axCoerceString(e),!!t,n])},t.prototype.call=function(e,t){e=r.axCoerceString(e);var n=Array.prototype.slice.call(arguments,2);this._httpCall(e,t,n)},t.prototype._debugAMF=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof self&&self.__AWAYFL_AMF_DEBUG&&console.log.apply(console,function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}(["[AMF]"],e,!0))},t.prototype._makeStatusInfo=function(e,t,n){var r={code:e,level:t};return void 0!==n&&(r.description=n),this.sec.createObjectFromJS(r)},t.prototype._dispatchStatus=function(e,n,i){this._debugAMF("netStatus ->",e,i||"");try{t._netStatusEventClass||(t._netStatusEventClass=this.sec.application.getClass(r.Multiname.FromFQNString("flash.events.NetStatusEvent",0)));var o=t._netStatusEventClass.axConstruct([nt.NET_STATUS,!1,!1,this._makeStatusInfo(e,n,i)]);o.currentTarget=this,o.target=this,this.dispatchEvent(o)}catch(e){console.warn("[NetConnection] netStatus dispatch failed:",e)}},t.prototype._newAMFByteArray=function(){t._byteArrayClass||(t._byteArrayClass=this.sec.application.getClass(r.Multiname.FromFQNString("flash.utils.ByteArray",0)));var e=t._byteArrayClass.axConstruct([]);return e.sec=this.sec,e},t.prototype._httpCall=function(e,n,r){var i=this,o=String(++this._httpCallId);this._debugAMF("call ->",e,"id",o);try{this._pendingResponders||(this._pendingResponders={}),n&&(this._pendingResponders[o]=n);var a=this._newAMFByteArray();a._objectEncoding=3,a.writeByte(17),a.writeObject(this.sec.createArray(r));var s=new Uint8Array(a._buffer.slice(0,a._length)),l=t._buildRemotingPacket(e,o,s);if(!this._uri)return void this._httpFail(o,"NetConnection is not connected (uri is null)");fetch(this._uri,{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-amf"},body:l}).then((function(e){if(!e.ok)throw new Error("HTTP "+e.status);var t=(e.headers.get("content-type")||"").toLowerCase();return-1===t.indexOf("application/x-amf")?e.text().then((function(e){throw new Error("Non-AMF response (content-type: "+(t||"none")+"): "+e.replace(/\s+/g," ").slice(0,300))})):e.arrayBuffer()})).then((function(e){i._handleRemotingResponse(e)})).catch((function(e){i._httpFail(o,String(e&&e.message||e))}))}catch(e){this._debugAMF("call FAILED synchronously:",e),this._httpFail(o,String(e&&e.message||e))}},t.prototype._handleRemotingResponse=function(e){var n;try{n=t._parseRemotingPacket(e)}catch(e){return void console.warn("[NetConnection] AMF response parse failed:",e)}for(var r=0;r<n.length;r++){var i=n[r],o=void 0;try{var a=this._newAMFByteArray();a.setArrayBuffer(i.body),a._position=0,a._objectEncoding=0,o=a.readObject()}catch(e){console.warn("[NetConnection] AMF body decode failed for",i.target,e);continue}var s=/^\/([^\/]*)\/(onResult|onStatus)$/.exec(i.target);if(s){var l=s[1],c=s[2],u=this._pendingResponders&&this._pendingResponders[l];if(this._pendingResponders&&delete this._pendingResponders[l],this._debugAMF("response",c,"id",l,"->",u?"responder":"(no responder)"),u)try{"onResult"===c?u.invokeResult(o):u.invokeStatus(o)}catch(e){console.warn("[NetConnection] responder callback threw:",e)}else"onStatus"===c&&this._dispatchStatus("NetConnection.Call.Failed","error")}else console.warn("[NetConnection] unrecognised AMF response target:",i.target)}},t.prototype._httpFail=function(e,t){this._debugAMF("call failed id",e,":",t);var n=this._pendingResponders&&this._pendingResponders[e];if(this._pendingResponders&&delete this._pendingResponders[e],n)try{return void n.invokeStatus(this._makeStatusInfo("NetConnection.Call.Failed","error",t))}catch(e){console.warn("[NetConnection] responder status callback threw:",e)}this._dispatchStatus("NetConnection.Call.Failed","error",t)},t._buildRemotingPacket=function(e,t,n){var r,i=new TextEncoder,o=[],a=function(e){return o.push(e>>>8&255,255&e)},s=function(e){var t=i.encode(e);a(t.length);for(var n=0;n<t.length;n++)o.push(t[n])};a(3),a(0),a(1),s(e),s("/"+t),r=n.length,o.push(r>>>24&255,r>>>16&255,r>>>8&255,255&r);var l=new Uint8Array(o.length+n.length);return l.set(o,0),l.set(n,o.length),l},t._parseRemotingPacket=function(e){var t=new DataView(e),n=new TextDecoder,r=0,i=function(){var e=t.getUint16(r);return r+=2,e},o=function(){var e=t.getUint32(r);return r+=4,e},a=function(){var t=i(),o=n.decode(new Uint8Array(e,r,t));return r+=t,o},s=[];i();for(var l=i(),c=0;c<l;c++){a(),r+=1,4294967295!==(f=o())&&(r+=f)}for(var u=i(),p=0;p<u;p++){var d=a();a();var f,h=void 0;4294967295!==(f=o())&&r+f<=e.byteLength?(h=e.slice(r,r+f),r+=f):(h=e.slice(r),r=e.byteLength),s.push({target:d,body:h})}return s},Object.defineProperty(t,"defaultObjectEncoding",{get:function(){return t._defaultObjectEncoding},set:function(e){e>>>=0,t._defaultObjectEncoding=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"connected",{get:function(){return this._connected},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),t.prototype.connect=function(e){var t=this;if(e=r.axCoerceString(e),this._uri=e,!e||!/^rtmpt?s?:/i.test(e))return this._connected=!0,void Promise.resolve().then((function(){return t._dispatchStatus("NetConnection.Connect.Success","status")}));console.warn("[NetConnection] rtmp transports are not implemented:",e),this._dispatchStatus("NetConnection.Connect.Failed","error")},t.prototype._createRtmpStream=function(e){var t=this._rtmpCreateStreamCallbacks.length;this._rtmpCreateStreamCallbacks[t]=e,this._rtmpConnection.createStream(t,null)},Object.defineProperty(t.prototype,"client",{get:function(){return this._client},set:function(e){this._client=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"objectEncoding",{get:function(){return this._objectEncoding},set:function(e){e>>>=0,i.release||i.somewhatImplemented("public flash.net.NetConnection::set objectEncoding"),this._objectEncoding=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"proxyType",{get:function(){return this._proxyType},set:function(e){e=r.axCoerceString(e),i.release||i.somewhatImplemented("public flash.net.NetConnection::set proxyType"),this._proxyType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"connectedProxyType",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get connectedProxyType"),this._connectedProxyType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"usingTLS",{get:function(){return this._usingTLS},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this._protocol},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxPeerConnections",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get maxPeerConnections"),this._maxPeerConnections},set:function(e){e>>>=0,i.release||i.notImplemented("public flash.net.NetConnection::set maxPeerConnections"),this._maxPeerConnections=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nearID",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get nearID"),this._nearID},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"farID",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get farID"),this._farID},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nearNonce",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get nearNonce"),this._nearNonce},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"farNonce",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get farNonce"),this._farNonce},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unconnectedPeerStreams",{get:function(){return i.release||i.notImplemented("public flash.net.NetConnection::get unconnectedPeerStreams"),this._unconnectedPeerStreams},enumerable:!1,configurable:!0}),t.prototype.invoke=function(e){return e>>>=0,this._invoke(e,Array.prototype.slice.call(arguments,1))},t.prototype._invoke=function(e,t){var n=!1;switch(e){case 1:case 2:n=!0}(n?i.somewhatImplemented:i.notImplemented)("private flash.net.NetConnection::_invoke ("+e+")")},t.classInitializer=null,t._netStatusEventClass=null,t._byteArrayClass=null,t._defaultObjectEncoding=3,t}(g),Yt=function(e){function t(t,n){return e.call(this)||this}return c(t,e),t.prototype.ctor=function(e,t){this._result=e,this._status=t},t.prototype.invokeResult=function(e){this._result&&this._result.axApply(null,[e])},t.prototype.invokeStatus=function(e){this._status&&this._status.axApply(null,[e])},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),Ht=function(e){function t(t,n){void 0===t&&(t=null);var i=e.call(this,void 0)||this;return t=r.axCoerceString(t),i}return c(t,e),Object.defineProperty(t.prototype,"bytesAvailable",{get:function(){return i.release||i.notImplemented("public flash.net.Socket::get bytesAvailable"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"connected",{get:function(){return i.release||i.notImplemented("public flash.net.Socket::get connected"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"objectEncoding",{get:function(){return i.release||i.notImplemented("public flash.net.Socket::get objectEncoding"),0},set:function(e){i.release||i.notImplemented("public flash.net.Socket::set objectEncoding")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endian",{get:function(){return i.release||i.notImplemented("public flash.net.Socket::get endian"),""},set:function(e){e=r.axCoerceString(e),i.release||i.notImplemented("public flash.net.Socket::set endian")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bytesPending",{get:function(){return i.release||i.notImplemented("public flash.net.Socket::get bytesPending"),0},enumerable:!1,configurable:!0}),t.prototype.readBytes=function(e,t,n){i.release||i.notImplemented("public flash.net.Socket::readBytes")},t.prototype.writeBytes=function(e,t,n){i.release||i.notImplemented("public flash.net.Socket::writeBytes")},t.prototype.writeBoolean=function(e){i.release||i.notImplemented("public flash.net.Socket::writeBoolean")},t.prototype.writeByte=function(e){i.release||i.notImplemented("public flash.net.Socket::writeByte")},t.prototype.writeShort=function(e){i.release||i.notImplemented("public flash.net.Socket::writeShort")},t.prototype.writeInt=function(e){i.release||i.notImplemented("public flash.net.Socket::writeInt")},t.prototype.writeUnsignedInt=function(e){i.release||i.notImplemented("public flash.net.Socket::writeUnsignedInt")},t.prototype.writeFloat=function(e){i.release||i.notImplemented("public flash.net.Socket::writeFloat")},t.prototype.writeDouble=function(e){i.release||i.notImplemented("public flash.net.Socket::writeDouble")},t.prototype.writeMultiByte=function(e,t){e=r.axCoerceString(e),t=r.axCoerceString(t),i.release||i.notImplemented("public flash.net.Socket::writeMultiByte")},t.prototype.writeUTF=function(e){e=r.axCoerceString(e),i.release||i.notImplemented("public flash.net.Socket::writeUTF")},t.prototype.writeUTFBytes=function(e){e=r.axCoerceString(e),i.release||i.notImplemented("public flash.net.Socket::writeUTFBytes")},t.prototype.readBoolean=function(){return i.release||i.notImplemented("public flash.net.Socket::readBoolean"),!1},t.prototype.readByte=function(){return i.release||i.notImplemented("public flash.net.Socket::readByte"),0},t.prototype.readUnsignedByte=function(){return i.release||i.notImplemented("public flash.net.Socket::readUnsignedByte"),0},t.prototype.readShort=function(){return i.release||i.notImplemented("public flash.net.Socket::readShort"),0},t.prototype.readUnsignedShort=function(){return i.release||i.notImplemented("public flash.net.Socket::readUnsignedShort"),0},t.prototype.readInt=function(){return i.release||i.notImplemented("public flash.net.Socket::readInt"),0},t.prototype.readUnsignedInt=function(){return i.release||i.notImplemented("public flash.net.Socket::readUnsignedInt"),0},t.prototype.readFloat=function(){return i.release||i.notImplemented("public flash.net.Socket::readFloat"),0},t.prototype.readDouble=function(){return i.release||i.notImplemented("public flash.net.Socket::readDouble"),0},t.prototype.readMultiByte=function(e,t){return t=r.axCoerceString(t),i.release||i.notImplemented("public flash.net.Socket::readMultiByte"),""},t.prototype.readUTF=function(){return i.release||i.notImplemented("public flash.net.Socket::readUTF"),""},t.prototype.readUTFBytes=function(e){return i.release||i.notImplemented("public flash.net.Socket::readUTFBytes"),""},t.prototype.flush=function(){i.release||i.notImplemented("public flash.net.Socket::flush")},t.prototype.writeObject=function(e){i.release||i.notImplemented("public flash.net.Socket::writeObject")},t.prototype.readObject=function(){i.release||i.notImplemented("public flash.net.Socket::readObject")},t.prototype.internalGetSecurityErrorMessage=function(e,t){return e=r.axCoerceString(e),i.release||i.somewhatImplemented("flash.net.Socket::internalGetSecurityErrorMessage"),"SecurityErrorEvent"},t.prototype.internalConnect=function(e,t){e=r.axCoerceString(e),t|=0,i.release||i.somewhatImplemented("flash.net.Socket::internalConnect"),this.sec.throwError("SecurityError",r.Errors.SocketConnectError,e,t)},t.prototype.didFailureOccur=function(){return i.release||i.somewhatImplemented("flash.net.Socket::didFailureOccur"),!0},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t,"currentDomain",{get:function(){return null},enumerable:!1,configurable:!0}),t}(r.ASObject),qt=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.FINGER="finger",t.STYLUS="stylus",t.NONE="none",t}(r.ASObject),Jt={LANGUAGE:"en",PLAYER_TYPE:"PlugIn",SCREEN_DPI:96,IS_DEBUGGER:!1},Zt=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t,"isEmbeddedInAcrobat",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasEmbeddedVideo",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get hasEmbeddedVideo")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasAudio",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"avHardwareDisable",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get avHardwareDisable"),!0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasAccessibility",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasAccessibility"),t._hasAccessibility},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasAudioEncoder",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasAudioEncoder"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasMP3",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get hasMP3")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasPrinting",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasPrinting"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasScreenBroadcast",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasScreenBroadcast"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasScreenPlayback",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasScreenPlayback"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasStreamingAudio",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get hasStreamingAudio")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasStreamingVideo",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get hasStreamingVideo")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasVideoEncoder",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get hasVideoEncoder"),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isDebugger",{get:function(){return Jt.IS_DEBUGGER},enumerable:!1,configurable:!0}),Object.defineProperty(t,"localFileReadDisable",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get localFileReadDisable")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"language",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get language"),t._language||Jt.LANGUAGE},enumerable:!1,configurable:!0}),Object.defineProperty(t,"manufacturer",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get manufacturer"),t._manufacturer},enumerable:!1,configurable:!0}),Object.defineProperty(t,"os",{get:function(){if(null===t._os){var e=void 0,n=window.navigator.userAgent;if(n.indexOf("Macintosh")>0)if(-1===n.indexOf("Mac OS X "))e="Mac OS 10.6";else{var r=n.split("Mac OS X ")[1];e=r.substr(0,r.indexOf(";"))}else n.indexOf("Windows")>0?e="Windows XP":n.indexOf("Linux")>0?e="Linux":/(iPad|iPhone|iPod|Android)/.test(n)?e="iPhone3,1":(i.release||i.somewhatImplemented("public flash.system.Capabilities::get os"),e="Generic OS");t._os=e}return t._os},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cpuArchitecture",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get cpuArchitecture"),"x86"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"playerType",{get:function(){return t._playerType||Jt.PLAYER_TYPE},enumerable:!1,configurable:!0}),Object.defineProperty(t,"serverString",{get:function(){var e=i.toKeyValueArray({OS:t.os}).map((function(e){return e[0]+"="+encodeURIComponent(e[1])})).join("&");return i.release||i.somewhatImplemented("Capabilities.serverString: "+e),e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"version",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get version"),t._version},enumerable:!1,configurable:!0}),Object.defineProperty(t,"screenColor",{get:function(){return"color"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"pixelAspectRatio",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get pixelAspectRatio"),1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"screenDPI",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get screenDPI"),t._screenDPI||Jt.SCREEN_DPI},enumerable:!1,configurable:!0}),Object.defineProperty(t,"screenResolutionX",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get screenResolutionX"),window.screen.width},enumerable:!1,configurable:!0}),Object.defineProperty(t,"screenResolutionY",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Capabilities::get screenResolutionY"),window.screen.height},enumerable:!1,configurable:!0}),Object.defineProperty(t,"touchscreenType",{get:function(){return qt.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasIME",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasTLS",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get hasTLS")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"maxLevelIDC",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get maxLevelIDC")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"supports32BitProcesses",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get supports32BitProcesses")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"supports64BitProcesses",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get supports64BitProcesses")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"_internal",{get:function(){i.release||i.notImplemented("public flash.system.Capabilities::get _internal")},enumerable:!1,configurable:!0}),t.hasMultiChannelAudio=function(e){return i.release||i.somewhatImplemented("public flash.system.Capabilities::static hasMultiChannelAudio"),!1},t.classInitializer=null,t._hasAccessibility=!1,t._language=null,t._manufacturer="Mozilla Research",t._os=null,t._playerType=null,t._version="SHUMWAY 10,0,0,0",t._screenDPI=0,t}(r.ASObject);function $t(e,t,n){t=r.axCoerceString(t),n=r.axCoerceString(n),console.log("FSCommand: "+t+"; "+n),"debugger"!==(t=t.toLowerCase())&&e.player.executeFSCommand(t,n)}var Qt=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t,"exactSettings",{get:function(){return t._exactSettings},set:function(e){e=!!e,t._exactSettings=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"disableAVM1Loading",{get:function(){i.release||i.notImplemented("public flash.system.Security::get disableAVM1Loading")},set:function(e){i.release||i.notImplemented("public flash.system.Security::set disableAVM1Loading")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sandboxType",{get:function(){return i.release||i.somewhatImplemented("public flash.system.Security::get sandboxType"),t._sandboxType},enumerable:!1,configurable:!0}),Object.defineProperty(t,"pageDomain",{get:function(){i.release||i.somewhatImplemented("public flash.system.Security::get pageDomain");var e=i.FileLoadingService.resolveUrl("/").split("/");return e.pop(),e.pop()},enumerable:!1,configurable:!0}),t.allowDomain=function(){i.release||i.somewhatImplemented('public flash.system.Security::static allowDomain ["'+Array.prototype.join.call(arguments,'", "')+'"]')},t.allowInsecureDomain=function(){i.release||i.somewhatImplemented("public flash.system.Security::static allowInsecureDomain")},t.loadPolicyFile=function(e){e=r.axCoerceString(e),i.release||i.somewhatImplemented("public flash.system.Security::static loadPolicyFile")},t.showSettings=function(e){void 0===e&&(e="default"),e=r.axCoerceString(e),i.release||i.notImplemented("public flash.system.Security::static showSettings")},t.duplicateSandboxBridgeInputArguments=function(e,t){i.release||i.notImplemented("public flash.system.Security::static duplicateSandboxBridgeInputArguments")},t.duplicateSandboxBridgeOutputArgument=function(e,t){i.release||i.notImplemented("public flash.system.Security::static duplicateSandboxBridgeOutputArgument")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.REMOTE="remote",t.LOCAL_WITH_FILE="localWithFile",t.LOCAL_WITH_NETWORK="localWithNetwork",t.LOCAL_TRUSTED="localTrusted",t.APPLICATION="application",t._exactSettings=!1,t._sandboxType="remote",t}(r.ASObject),en=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t,"freeMemory",{get:function(){return i.notImplemented("public flash.system.System::freeMemory"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ime",{get:function(){return i.notImplemented("public flash.system.System::ime"),null},enumerable:!1,configurable:!0}),Object.defineProperty(t,"privateMemory",{get:function(){return i.notImplemented("public flash.system.System::privateMemory"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"processCPUUsage",{get:function(){return i.notImplemented("public flash.system.System::processCPUUsage"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"totalMemory",{get:function(){return i.notImplemented("public flash.system.System::totalMemory"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"totalMemoryNumber",{get:function(){return i.notImplemented("public flash.system.System::totalMemoryNumber"),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"useCodePage",{get:function(){return i.notImplemented("public flash.system.System::useCodePage"),!1},set:function(e){i.notImplemented("public flash.system.System::useCodePage")},enumerable:!1,configurable:!0}),Object.defineProperty(t,"vmVersion",{get:function(){return i.notImplemented("public flash.system.System::vmVersion"),""},enumerable:!1,configurable:!0}),t.disposeXML=function(e){i.notImplemented("public flash.system.System::disposeXML")},t.exit=function(e){i.notImplemented("public flash.system.System::exit")},t.gc=function(){i.notImplemented("public flash.system.System::gc")},t.pause=function(){i.notImplemented("public flash.system.System::pause")},t.pauseForGCIfCollectionImminent=function(e){i.notImplemented("public flash.system.System::pauseForGCIfCollectionImminent")},t.resume=function(){i.notImplemented("public flash.system.System::resume")},t.setClipboard=function(e){navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(e).then((function(e){console.log("[flash/System] Clipboard writed!")})).catch((function(e){console.warn("[flash/System] Clipboard write rejected!",e)})):i.notImplemented("public flash.system.System::setClipboard")},t}(r.ASObject),tn=function(e){function r(){var n,r=this;return(r=e.call(this)||this).isAVMFont=!0,r.isAVMFont=!0,"Font"!=r.axClassName&&(r._adaptee=t.DefaultFontManager.getFont(r.axClassName),(null===(n=r._adaptee)||void 0===n?void 0:n.name)&&t.DefaultFontManager.registerFontForClassName(r._adaptee,r._adaptee.name)),r}return c(r,e),Object.defineProperty(r.prototype,"fontName",{get:function(){var e;return null===(e=this._adaptee)||void 0===e?void 0:e.name},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontStyle",{get:function(){return n.Debug.throwPIR("playerglobals/text/Font","get fontStyle",""),"regular"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontType",{get:function(){return n.Debug.throwPIR("playerglobals/text/Font","get fontType",""),"embedded"},enumerable:!1,configurable:!0}),r.enumerateFonts=function(e){return n.Debug.throwPIR("playerglobals/text/Font","enumerateFonts",""),[]},r.registerFont=function(e){},r.prototype.hasGlyphs=function(e){return n.Debug.throwPIR("playerglobals/text/Font","hasGlyphs",""),!1},r.forceNativeConstructor=!0,r.forceNativeMethods=!0,r.classInitializer=null,r.classSymbols=null,r.instanceSymbols=null,r}(r.ASObject),nn=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"styleNames",{get:function(){return n.Debug.throwPIR("playerglobals/text/StyleSheet","get styleNames",""),[]},enumerable:!1,configurable:!0}),t.prototype.clear=function(){n.Debug.throwPIR("playerglobals/text/StyleSheet","clear","")},t.prototype.getStyle=function(e){return n.Debug.throwPIR("playerglobals/text/StyleSheet","getStyle",""),null},t.prototype.parseCSS=function(e){n.Debug.throwPIR("playerglobals/text/StyleSheet","parseCSS","")},t.prototype.setStyle=function(e,t){n.Debug.throwPIR("playerglobals/text/StyleSheet","setStyle","")},t.prototype.transform=function(e){return n.Debug.throwPIR("playerglobals/text/StyleSheet","transform",""),null},t}(g),rn=function(e){function i(){var n=e.call(this)||this;return n._textFieldChangeListener={},n.adaptee.autoSize=t.TextFieldAutoSize.NONE,n.adaptee.mouseEnabled=n.adaptee.selectable,n.eventMappingDummys[H.TEXT_INPUT]="TextField:TextEvent.TEXT_INPUT",n.eventMappingDummys[H.LINK]="TextField:TextEvent.LINK",n.eventMappingDummys[u.SCROLL]="TextField:Event.SCROLL",n.eventMappingDummys[u.TEXT_INTERACTION_MODE_CHANGE]="TextField:Event.TEXT_INTERACTION_MODE_CHANGE",n._textChangeCallbackDelegate=function(e){return n.textChangeCallback(e)},n.adaptee.type==t.TextFieldType.INPUT&&n.adaptee.addEventListener(t.TextfieldEvent.CHANGED,n._textChangeCallbackDelegate),n}return c(i,e),i.getNewTextField=function(e){if(void 0===e&&(e=null),i._textFields.length){var n=i._textFields.pop();return n.adaptee=e||t.TextField.getNewTextField(),n}return new i},i.prototype.textChangeCallback=function(e){var t=new this.sec.flash.events.Event(u.CHANGE);t.target=this,this.dispatchEvent(t,!1)},i.prototype.createAdaptee=function(){var e=t.TextField.getNewTextField();return e.reset(),e},i.prototype.initAdapter=function(){},i.prototype.dispatchKeyEvent=function(e,t,n,r){},i.prototype.selectTextField=function(){},i.prototype.clone=function(){var e=r.constructClassFromSymbol(this._symbol,this._symbol.symbolClass),n=new t.TextField;return this.adaptee.copyTo(n),e.adaptee=n,e._stage=this.activeStage,e.executeConstructor=function(){e.axInitializer()},e},i.prototype.dispose=function(){this.disposeValues(),i._textFields.push(this)},Object.defineProperty(i.prototype,"alwaysShowSelection",{get:function(){return this._adaptee.alwaysShowSelection},set:function(e){this._adaptee.alwaysShowSelection=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"antiAliasType",{get:function(){return this._adaptee.antiAliasType},set:function(e){this._adaptee.antiAliasType=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"autoSize",{get:function(){return this._adaptee.autoSize},set:function(e){this._adaptee.autoSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){return this._adaptee.background},set:function(e){this._adaptee.background=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return this._adaptee.backgroundColor},set:function(e){this._adaptee.backgroundColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"border",{get:function(){return this._adaptee.border},set:function(e){this._adaptee.border=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"borderColor",{get:function(){return this._adaptee.borderColor},set:function(e){this._adaptee.borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"bottomScrollV",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","set bottomScrollV",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"caretIndex",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get caretIndex",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"condenseWhite",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get condenseWhite",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set condenseWhite","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultTextFormat",{get:function(){var e=this._adaptee.newTextFormat;return(e.adapter||e.adapter===e.adaptee)&&(e.adapter=new this.sec.flash.text.TextFormat,e.adapter.adaptee=e),e.adapter},set:function(e){var t=this._adaptee,n=t.newTextFormat;e.adaptee.applyToFormat(n),t.newTextFormat=n},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"displayAsPassword",{get:function(){return this._adaptee.displayAsPassword},set:function(e){this._adaptee.displayAsPassword=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"embedFonts",{get:function(){return!!this._adaptee.embedFonts},set:function(e){var t=this._adaptee,n=!!e;if(t.embedFonts!==n){t.embedFonts=n;var r=t.newTextFormat;if(r&&r.font_name){var i=r.font_name;r.font=null,r.font_name=i,t.newTextFormat=r}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"gridFitType",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get gridFitType",""),""},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set gridFitType","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"htmlText",{get:function(){return this.adaptee.htmlText},set:function(e){this.adaptee.htmlText=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"length",{get:function(){return this._adaptee.length},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maxChars",{get:function(){return this.adaptee.maxChars},set:function(e){this.adaptee.maxChars=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maxScrollH",{get:function(){return this.adaptee.maxScrollH},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maxScrollV",{get:function(){return this.adaptee.maxScrollV+1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"mouseWheelEnabled",{get:function(){return this.adaptee.mouseWheelEnabled},set:function(e){this.adaptee.mouseWheelEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"multiline",{get:function(){return this._adaptee.multiline},set:function(e){this._adaptee.multiline=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"numLines",{get:function(){return this._adaptee.numLines},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"restrict",{get:function(){return this.adaptee.restrict},set:function(e){this.adaptee.restrict=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"scrollH",{get:function(){return this.adaptee.scrollH},set:function(e){this.adaptee.scrollH=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"scrollV",{get:function(){return this.adaptee.scrollV+1},set:function(e){this.adaptee.scrollV=e-1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"selectable",{get:function(){return this.adaptee.selectable},set:function(e){this._adaptee.selectable=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"selectedText",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get selectedText",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"selectionBeginIndex",{get:function(){return this.adaptee.selectionBeginIndex},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"selectionEndIndex",{get:function(){return this.adaptee.selectionEndIndex},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sharpness",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get sharpness",""),0},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set sharpness","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"styleSheet",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get styleSheet",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set styleSheet","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"text",{get:function(){return this._adaptee.text},set:function(e){this._adaptee.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return this._adaptee.textColor},set:function(e){this._adaptee.textColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"textHeight",{get:function(){return this._adaptee.textHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"textInteractionMode",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get textInteractionMode",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"textWidth",{get:function(){return this._adaptee.textWidth},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"thickness",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get thickness",""),0},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set thickness","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"type",{get:function(){return this._adaptee.type},set:function(e){(e==t.TextFieldType.INPUT&&this._adaptee.type!=t.TextFieldType.INPUT||e!=t.TextFieldType.INPUT&&this._adaptee.type==t.TextFieldType.INPUT)&&this.adaptee.addEventListener(t.TextfieldEvent.CHANGED,this._textChangeCallbackDelegate),this._adaptee.type=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"useRichTextClipboard",{get:function(){return n.Debug.throwPIR("playerglobals/text/Textfield","get useRichTextClipboard",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/text/Textfield","set useRichTextClipboard","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"wordWrap",{get:function(){return this._adaptee.wordWrap},set:function(e){this._adaptee.wordWrap=e},enumerable:!1,configurable:!0}),i.prototype.appendText=function(e){this._adaptee.appendText(e)},i.prototype.copyRichText=function(){return n.Debug.throwPIR("playerglobals/text/Textfield","copyRichText",""),""},i.prototype.getCharBoundaries=function(e){return n.Debug.throwPIR("playerglobals/text/Textfield","getCharBoundaries",""),null},i.prototype.getCharIndexAtPoint=function(e,t){return this._adaptee.getCharIndexAtPoint(e,t)},i.prototype.getFirstCharInParagraph=function(e){return this._adaptee.getFirstCharInParagraph(e)},i.prototype.getImageReference=function(e){return n.Debug.throwPIR("playerglobals/text/Textfield","getImageReference",""),null},i.prototype.getLineIndexAtPoint=function(e,t){return this._adaptee.getLineIndexAtPoint(e,t)},i.prototype.getLineIndexOfChar=function(e){return this._adaptee.getLineIndexOfChar(e)},i.prototype.getLineLength=function(e){return this._adaptee.getLineLength(e)},i.prototype.getLineMetrics=function(e){var t=this._adaptee.getLineMetrics(e),n=t.x,r=t.width,i=t.height,o=t.ascent,a=t.descent,s=t.leading;return new this.sec.flash.text.TextLineMetrics(n,r,i,o,a,s)},i.prototype.getLineOffset=function(e){return this._adaptee.getLineOffset(e)},i.prototype.getLineText=function(e){return this._adaptee.getLineText(e)},i.prototype.getParagraphLength=function(e){return this._adaptee.getParagraphLength(e)},i.prototype.getRawText=function(){return n.Debug.throwPIR("playerglobals/text/Textfield","getRawText",""),""},i.prototype.getTextFormat=function(e,t){void 0===e&&(e=-1),void 0===t&&(t=-1);var n=this._adaptee.getTextFormat(e,t);if(n){if(n.adaptee!==n.adapter)return n.adapter;var r=new this.sec.flash.text.TextFormat;return r.adaptee=n,n.adapter=r,r}console.warn("[playerglobal/Textfield] - getTextFormat - textformat should not be null")},i.prototype.getTextRuns=function(e,t){return n.Debug.throwPIR("playerglobals/text/Textfield","getTextRuns",""),[]},i.prototype.getXMLText=function(e,t){return n.Debug.throwPIR("playerglobals/text/Textfield","getXMLText",""),""},i.prototype.insertXMLText=function(e,t,r,i){n.Debug.throwPIR("playerglobals/text/Textfield","insertXMLText","")},i.isFontCompatible=function(e,t){return n.Debug.throwPIR("playerglobals/text/Textfield","isFontCompatible",""),!1},i.prototype.pasteRichText=function(e){return n.Debug.throwPIR("playerglobals/text/Textfield","pasteRichText",""),!1},i.prototype.replaceSelectedText=function(e){return this._adaptee.replaceSelectedText(e)},i.prototype.replaceText=function(e,t,n){return this._adaptee.replaceText(e,t,n)},i.prototype.setSelection=function(e,t){return this._adaptee.setSelection(e,t)},i.prototype.setTextFormat=function(e,t,n){void 0===t&&(t=-1),void 0===n&&(n=-1),this._adaptee.setTextFormat(e.adaptee,t,n)},i._textFields=new Array,i}(B),on=function(e){function r(n,r,i,o,a,s,l,c,u,p,d,f,h){void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null),void 0===l&&(l=null),void 0===c&&(c=null),void 0===u&&(u=null),void 0===p&&(p=null),void 0===d&&(d=null),void 0===f&&(f=null),void 0===h&&(h=null);var g=e.call(this)||this;return g.adaptee=new t.TextFormat(n,r,i,o,a,s,l,c,u,p,d,f,h),g}return c(r,e),Object.defineProperty(r.prototype,"target",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get target",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","set target","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabStops",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get tabStops",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","set tabStops","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"display",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get display",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","set display","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bullet",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get bullet",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","set bullet","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"url",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get url",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","set url","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"link_target",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextFormat","get target",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/TextFormat","get target","")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"align",{get:function(){return this.adaptee.align},set:function(e){this.adaptee.align=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"blockIndent",{get:function(){return this.adaptee.blockIndent},set:function(e){this.adaptee.blockIndent=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"leftMargin",{get:function(){return this.adaptee.leftMargin},set:function(e){this.adaptee.leftMargin=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rightMargin",{get:function(){return this.adaptee.rightMargin},set:function(e){this.adaptee.rightMargin=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"indent",{get:function(){return this.adaptee.indent},set:function(e){this.adaptee.indent=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.adaptee.color},set:function(e){this.adaptee.color=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kerning",{get:function(){return this.adaptee.kerning},set:function(e){this.adaptee.kerning=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"leading",{get:function(){return this.adaptee.leading},set:function(e){this.adaptee.leading=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"letterSpacing",{get:function(){return this.adaptee.letterSpacing},set:function(e){this.adaptee.letterSpacing=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){return this.adaptee.size},set:function(e){this.adaptee.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bold",{get:function(){return this.adaptee.bold},set:function(e){this.adaptee.bold=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"italic",{get:function(){return this.adaptee.italic},set:function(e){this.adaptee.italic=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underline",{get:function(){return this.adaptee.underline},set:function(e){this.adaptee.underline=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"font",{get:function(){return this.adaptee.font_name},set:function(e){this.adaptee.font_name=e},enumerable:!1,configurable:!0}),r.prototype.clone=function(){var e=new this.sec.flash.text.TextFormat;return e.adaptee=this.adaptee.clone(),e},r}(r.ASObject),an=function(e){function t(t,n,r){var i=e.call(this)||this;return i._beginIndex=0|t,i._endIndex=0|n,i._textFormat=r,i}return c(t,e),Object.defineProperty(t.prototype,"beginIndex",{get:function(){return this._beginIndex},set:function(e){this._beginIndex=0|e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endIndex",{get:function(){return this._endIndex},set:function(e){this._endIndex=0|e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textFormat",{get:function(){return this._textFormat},set:function(e){this._textFormat=e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.beginIndex,this.endIndex,this.textFormat.clone())},t.prototype.containsIndex=function(e){return e>=this._beginIndex&&e<this._endIndex},t.prototype.intersects=function(e,t){return Math.max(this._beginIndex,e)<Math.min(this._endIndex,t)},t.classInitializer=null,t}(r.ASObject),sn=function(e){function t(){var t=e.call(this)||this;return n.Debug.throwPIR("playerglobals/text/StaticText","constructor",""),t}return c(t,e),t.prototype.applySymbol=function(){n.Debug.throwPIR("playerglobals/text/StaticText","applySymbol","")},t.prototype._canHaveTextContent=function(){return n.Debug.throwPIR("playerglobals/text/StaticText","_canHaveTextContent",""),!0},t.prototype._getTextContent=function(){return n.Debug.throwPIR("playerglobals/text/StaticText","_getTextContent",""),this._textContent},Object.defineProperty(t.prototype,"text",{get:function(){return n.Debug.throwPIR("playerglobals/text/StaticText","text",""),this._textContent.plainText},enumerable:!1,configurable:!0}),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(M),ln=function(e){function t(){var t=e.call(this)||this;return n.Debug.throwPIR("playerglobals/text/TextRenderer","constructor",""),t}return c(t,e),Object.defineProperty(t.prototype,"antiAliasType",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextRenderer","get antiAliasType",""),null},set:function(e){e=r.axCoerceString(e),n.Debug.throwPIR("playerglobals/text/TextRenderer","set antiAliasType","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLevel",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextRenderer","get maxLevel",""),0},set:function(e){n.Debug.throwPIR("playerglobals/text/TextRenderer","set maxLevel","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayMode",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextRenderer","get displayMode",""),null},set:function(e){e=r.axCoerceString(e),n.Debug.throwPIR("playerglobals/text/TextRenderer","set displayMode","")},enumerable:!1,configurable:!0}),t.setAdvancedAntiAliasingTable=function(e,t,i,o){e=r.axCoerceString(e),t=r.axCoerceString(t),i=r.axCoerceString(i),n.Debug.throwPIR("playerglobals/text/TextRenderer","setAdvancedAntiAliasingTable","")},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),cn=function(e){function t(){var t=e.call(this)||this;return n.Debug.throwPIR("playerglobals/text/TextFormatDisplay","constructor",""),t}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.INLINE="inline",t.BLOCK="block",t}(r.ASObject),un=function(e){function t(t,r,i,o,a,s){var l=e.call(this)||this;return l.width=+t,l.height=+r,l.textFieldWidth=+i,l.textFieldHeight=+o,l.ascent=+a,l.descent=+s,n.Debug.throwPIR("playerglobals/text/TextExtent","constructor",""),l}return c(t,e),t}(r.ASObject),pn=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.LCD="lcd",t.CRT="crt",t.DEFAULT="default",t}(r.ASObject),dn=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.DARK_COLOR="dark",t.LIGHT_COLOR="light",t}(r.ASObject),fn=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.EMBEDDED="embedded",t.EMBEDDED_CFF="embeddedCFF",t.DEVICE="device",t}(r.ASObject),hn=function(e){function t(t,r,i){var o=e.call(this)||this;return o.fontSize=+t,o.insideCutoff=+r,o.outsideCutoff=+i,n.Debug.throwPIR("playerglobals/text/CSMSettings","constructor",""),o}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),gn=function(e){function t(t,r,i,o,a,s){var l=e.call(this)||this;return n.Debug.throwPIR("playerglobals/text/TextLineMetrics","constructor",""),l}return c(t,e),t}(r.ASObject),bn=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"charCount",{get:function(){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","get charCount",""),0},enumerable:!1,configurable:!0}),t.prototype.findText=function(e,t,i){return t=r.axCoerceString(t),n.Debug.throwPIR("playerglobals/text/TextSnapshot","findText",""),0},t.prototype.getSelected=function(e,t){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","getSelected",""),!1},t.prototype.getSelectedText=function(e){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","getSelectedText",""),""},t.prototype.getText=function(e,t,r){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","getText",""),""},t.prototype.getTextRunInfo=function(e,t){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","getTextRunInfo",""),null},t.prototype.hitTestTextNearPos=function(e,t,r){return n.Debug.throwPIR("playerglobals/text/TextSnapshot","hitTestTextNearPos",""),0},t.prototype.setSelectColor=function(e){n.Debug.throwPIR("playerglobals/text/TextSnapshot","setSelectColor","")},t.prototype.setSelected=function(e,t,r){n.Debug.throwPIR("playerglobals/text/TextSnapshot","setSelected","")},t.classInitializer=null,t}(r.ASObject),yn=function(e){function t(t,n,r,i){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),mn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.AUTO="auto",t.ANY="any",t.NONE="none",t.ALL="all",t}(r.ASObject),_n=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.NONE="none",t.HORIZONTAL_STEM="horizontalStem",t}(r.ASObject),vn=0,On=function(e){function t(t,n,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i="rotate0");var o=e.call(this)||this;return o._id=vn++,o._elementFormat=t,o._eventMirror=n,o._textRotation=r.axCoerceString(i),o}return c(t,e),t.prototype.setTextBlock=function(e){this._textBlock=e},t.prototype.setGroupElement=function(e){this._groupElement=e},Object.defineProperty(t.prototype,"textBlock",{get:function(){return this._textBlock},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textBlockBeginIndex",{get:function(){return this._textBlockBeginIndex},set:function(e){this._textBlockBeginIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementFormat",{get:function(){return this._elementFormat},set:function(e){this._elementFormat=e,this._textBlock&&this._textBlock.setTextDataDirty()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"eventMirror",{get:function(){return this._eventMirror},set:function(e){this._eventMirror=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupElement",{get:function(){return this._groupElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawText",{get:function(){return this._rawText},set:function(e){this._rawText=e,this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textRotation",{get:function(){return this._textRotation},set:function(e){this._textRotation=r.axCoerceString(e)},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.GRAPHIC_ELEMENT=65007,t}(r.ASObject),Sn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.DEFAULT="default",t.LINING="lining",t.OLD_STYLE="oldStyle",t}(r.ASObject),Pn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.DEFAULT="default",t.PROPORTIONAL="proportional",t.TABULAR="tabular",t}(r.ASObject),Dn=function(e){function t(t,n){var i=e.call(this)||this;return i._locale=r.axCoerceString(t),i._lineJustification=r.axCoerceString(n),i}return c(t,e),t.getJustifierForLocale=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextJustifier","getJustifierForLocale",""),null},t.prototype.clone=function(){return n.Debug.throwPIR("playerglobals/text/engine/TextJustifier","clone",""),null},Object.defineProperty(t.prototype,"locale",{get:function(){return this._locale},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lineJustification",{get:function(){return this._lineJustification},set:function(e){this._lineJustification=r.axCoerceString(e)},enumerable:!1,configurable:!0}),t.prototype.setLocale=function(e){this._locale=r.axCoerceString(e)},t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),En=function(e){function t(t,n,i){return void 0===t&&(t="ja"),void 0===n&&(n="allButLast"),void 0===i&&(i="pushInKinsoku"),t=r.axCoerceString(t),n=r.axCoerceString(n),i=r.axCoerceString(i),e.call(this,void 0,void 0)||this}return c(t,e),Object.defineProperty(t.prototype,"justificationStyle",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/EastAsianJustifier","get justificationStyle",""),null},set:function(e){e=r.axCoerceString(e),n.Debug.throwPIR("playerglobals/text/engine/EastAsianJustifier","set justificationStyle","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"composeTrailingIdeographicSpaces",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/EastAsianJustifier","get composeTrailingIdeographicSpaces",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/EastAsianJustifier","set composeTrailingIdeographicSpaces","")},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(Dn),In=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.ROMAN="roman",t.ASCENT="ascent",t.DESCENT="descent",t.IDEOGRAPHIC_TOP="ideographicTop",t.IDEOGRAPHIC_CENTER="ideographicCenter",t.IDEOGRAPHIC_BOTTOM="ideographicBottom",t.USE_DOMINANT_BASELINE="useDominantBaseline",t}(r.ASObject),xn=0,wn=function(e){function i(t,n,i,o,a,s,l,c,u,p,d,f,h,g,b,y,m){void 0===t&&(t=null),void 0===n&&(n=12),void 0===i&&(i=0),void 0===o&&(o=1),void 0===a&&(a="auto"),void 0===s&&(s="roman"),void 0===l&&(l="useDominantBaseline"),void 0===c&&(c=0),void 0===u&&(u="on"),void 0===p&&(p=0),void 0===d&&(d=0),void 0===f&&(f="en"),void 0===h&&(h="auto"),void 0===g&&(g="default"),void 0===b&&(b="default"),void 0===y&&(y="common"),void 0===m&&(m="default");var _=e.call(this)||this;return _._id=xn++,_._fontDescription=t,_._fontSize=+n,_._color=i>>>0,_._alpha=+o,_._textRotation=r.axCoerceString(a),_._dominantBaseline=r.axCoerceString(s),_._alignmentBaseline=r.axCoerceString(l),_._baselineShift=+c,_._kerning=r.axCoerceString(u),_._trackingRight=+p,_._trackingLeft=+d,_._locale=r.axCoerceString(f),_._breakOpportunity=r.axCoerceString(h),_._digitCase=r.axCoerceString(g),_._digitWidth=r.axCoerceString(b),_._ligatureLevel=r.axCoerceString(y),_._typographicCase=r.axCoerceString(m),_}return c(i,e),i.prototype.createAwayTextformat=function(){var e,n,r,i=new t.TextFormat;return i.size=this._fontSize,i.color=this._color,i.fontLookUpMode=this._fontDescription?this._fontDescription.fontLookup:t.FontLookUpMode.DEVICE,i.font_name=null===(e=this._fontDescription)||void 0===e?void 0:e.fontName,i.italic="italic"==(null===(n=this._fontDescription)||void 0===n?void 0:n.fontPosture),i.bold="bold"==(null===(r=this._fontDescription)||void 0===r?void 0:r.fontWeight),i.align=t.TextFormatAlign.LEFT,0!=this._baselineShift&&console.warn("baselineshift is not 0",this._baselineShift),this._alignmentBaseline!=In.USE_DOMINANT_BASELINE&&console.warn("_alignmentBaseline is not USE_DOMINANT_BASELINE",this._alignmentBaseline),this._dominantBaseline!=In.ROMAN&&console.warn("_dominantBaseline is not ROMAN",this._dominantBaseline),0!=this._trackingRight&&console.warn("_trackingRight is not 0",this._trackingRight),0!=this._trackingLeft&&console.warn("_trackingLeft is not 0",this._trackingLeft),1!=this._alpha&&console.warn("_alpha is not 1",this._alpha),"default"!=this._digitCase&&console.warn('_digitCase is not "default"',this._digitCase),"default"!=this._digitWidth&&console.warn('_digitWidth is not "default"',this._digitWidth),"default"!=this._typographicCase&&console.warn('_typographicCase is not "default"',this._typographicCase),"common"!=this._ligatureLevel&&console.warn('_ligatureLevel is not "common"',this._ligatureLevel),i},i.prototype.getBaseline=function(){return this._alignmentBaseline==In.USE_DOMINANT_BASELINE?this._dominantBaseline:this._alignmentBaseline},Object.defineProperty(i.prototype,"alignmentBaseline",{get:function(){return this._alignmentBaseline},set:function(e){this._alignmentBaseline=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"alpha",{get:function(){return this._alpha},set:function(e){this._alpha=+e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"baselineShift",{get:function(){return this._baselineShift},set:function(e){this._baselineShift=+e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"breakOpportunity",{get:function(){return this._breakOpportunity},set:function(e){this._breakOpportunity=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e>>>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dominantBaseline",{get:function(){return this._dominantBaseline},set:function(e){this._dominantBaseline=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"fontDescription",{get:function(){return this._fontDescription},set:function(e){this._fontDescription=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"digitCase",{get:function(){return this._digitCase},set:function(e){this._digitCase=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"digitWidth",{get:function(){return this._digitWidth},set:function(e){this._digitWidth=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"ligatureLevel",{get:function(){return this._ligatureLevel},set:function(e){this._ligatureLevel=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"fontSize",{get:function(){return this._fontSize},set:function(e){this._fontSize=+e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"kerning",{get:function(){return this._kerning},set:function(e){this._kerning=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locale",{get:function(){return this._locale},set:function(e){this._locale=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"textRotation",{get:function(){return this._textRotation},set:function(e){this._textRotation=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"trackingRight",{get:function(){return this._trackingRight},set:function(e){this._trackingRight=+e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"trackingLeft",{get:function(){return this._trackingLeft},set:function(e){this._trackingLeft=+e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"typographicCase",{get:function(){return this._typographicCase},set:function(e){this._typographicCase=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locked",{get:function(){return this._locked},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),i.prototype.getFontMetrics=function(){return n.Debug.throwPIR("playerglobals/text/engine/ElementFormat","set getFontMetrics",""),null},i.forceNativeConstructor=!0,i.forceNativeMethods=!0,i}(r.ASObject),Tn=function(e){function t(t,n,i,o,a,s){void 0===t&&(t="_serif"),void 0===n&&(n="normal"),void 0===i&&(i="normal"),void 0===o&&(o="device"),void 0===a&&(a="cff"),void 0===s&&(s="horizontalStem");var l=e.call(this)||this;return l._fontName=r.axCoerceString(t),l._fontWeight=r.axCoerceString(n),l._fontPosture=r.axCoerceString(i),l._fontLookup=r.axCoerceString(o),l._renderingMode=r.axCoerceString(a),l._cffHinting=r.axCoerceString(s),l}return c(t,e),t.isFontCompatible=function(e,t,i){return e=r.axCoerceString(e),t=r.axCoerceString(t),i=r.axCoerceString(i),n.Debug.throwPIR("playerglobals/text/engine/FontDescription","static isFontCompatible",""),null},t.isDeviceFontCompatible=function(e,t,i){return e=r.axCoerceString(e),t=r.axCoerceString(t),i=r.axCoerceString(i),n.Debug.throwPIR("playerglobals/text/engine/FontDescription","static isDeviceFontCompatible",""),null},Object.defineProperty(t.prototype,"renderingMode",{get:function(){return this._renderingMode},set:function(e){this._renderingMode=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontLookup",{get:function(){return this._fontLookup},set:function(e){this._fontLookup=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontName",{get:function(){return this._fontName},set:function(e){this._fontName=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontPosture",{get:function(){return this._fontPosture},set:function(e){this._fontPosture=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(e){this._fontWeight=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cffHinting",{get:function(){return this._cffHinting},set:function(e){this._cffHinting=r.axCoerceString(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locked",{get:function(){return this._locked},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),Cn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.DEVICE="device",t.EMBEDDED_CFF="embeddedCFF",t}(r.ASObject),An=function(e){function t(t,n,r,i,o,a,s,l,c,u){void 0===u&&(u=0);var p=e.call(this)||this;return p.emBox=t,p.strikethroughOffset=+n,p.strikethroughThickness=+r,p.underlineOffset=+i,p.underlineThickness=+o,p.subscriptOffset=+a,p.subscriptScale=+s,p.superscriptOffset=+l,p.superscriptScale=+c,p.lineGap=+u,p}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),jn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.NORMAL="normal",t.ITALIC="italic",t}(r.ASObject),Rn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.NORMAL="normal",t.BOLD="bold",t}(r.ASObject),Ln=function(e){function t(t,n,i,o,a,s){void 0===t&&(t=null),void 0===n&&(n=15),void 0===i&&(i=15),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s="rotate0");var l=e.call(this,void 0,void 0,void 0)||this;return l.graphic=t,l.elementWidth=+n,l.elementHeight=+i,l.elementFormat=o,l.eventMirror=a,l.textRotation=r.axCoerceString(s),l}return c(t,e),Object.defineProperty(t.prototype,"graphic",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","get graphic",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","set graphic","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementHeight",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","get elementHeight",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","set elementHeight","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementWidth",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","get elementWidth",""),null},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/GraphicElement","set elementWidth","")},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(On),Mn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.PUSH_IN_KINSOKU="pushInKinsoku",t.PUSH_OUT_ONLY="pushOutOnly",t.PRIORITIZE_LEAST_ADJUSTMENT="prioritizeLeastAdjustment",t}(r.ASObject),Fn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.ON="on",t.OFF="off",t.AUTO="auto",t}(r.ASObject),Nn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.NONE="none",t.MINIMUM="minimum",t.COMMON="common",t.UNCOMMON="uncommon",t.EXOTIC="exotic",t}(r.ASObject),kn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.UNJUSTIFIED="unjustified",t.ALL_BUT_LAST="allButLast",t.ALL_INCLUDING_LAST="allIncludingLast",t.ALL_BUT_MANDATORY_BREAK="allButMandatoryBreak",t}(r.ASObject),Bn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.NORMAL="normal",t.CFF="cff",t}(r.ASObject),Un=function(e){function t(t,n,r){void 0===t&&(t="en"),void 0===n&&(n="unjustified"),void 0===r&&(r=!1);var i=e.call(this,t,n)||this;return i._letterSpacing=!!r,i}return c(t,e),Object.defineProperty(t.prototype,"letterSpacing",{get:function(){return this._letterSpacing},set:function(e){this._letterSpacing=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumSpacing",{get:function(){return this._minimumSpacing},set:function(e){this._minimumSpacing=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optimumSpacing",{get:function(){return this._optimumSpacing},set:function(e){this._optimumSpacing=+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumSpacing",{get:function(){return this._maximumSpacing},set:function(e){this._maximumSpacing=+e},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(Dn),Gn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.START="start",t.CENTER="center",t.END="end",t.DECIMAL="decimal",t}(r.ASObject),Vn=function(e){function t(t,n,i){return void 0===t&&(t="start"),void 0===i&&(i=""),t=r.axCoerceString(t),i=r.axCoerceString(i),e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"alignment",{get:function(){n.Debug.throwPIR("playerglobals/text/engine/TabStop","get alignment","")},set:function(e){e=r.axCoerceString(e),n.Debug.throwPIR("playerglobals/text/engine/TabStop","set alignment","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){n.Debug.throwPIR("playerglobals/text/engine/TabStop","get position","")},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/TabStop","set position","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"decimalAlignmentToken",{get:function(){n.Debug.throwPIR("playerglobals/text/engine/TabStop","get decimalAlignmentToken","")},set:function(e){e=r.axCoerceString(e),n.Debug.throwPIR("playerglobals/text/engine/TabStop","set decimalAlignmentToken","")},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),zn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.SUCCESS="success",t.EMERGENCY="emergency",t.COMPLETE="complete",t.INSUFFICIENT_WIDTH="insufficientWidth",t}(r.ASObject),Xn=0,Kn=[],Yn=function(e){function r(t,n,r,i,o,a,s,l,c){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i="rotate0"),void 0===o&&(o="roman"),void 0===a&&(a=0),void 0===s&&(s=!0),void 0===l&&(l=null),void 0===c&&(c=12);var u=e.call(this)||this;return u._id=Xn++,u._content=t,t&&u._content.setTextBlock(u),u._tabStops=n,u._textJustifier=r,u._lineRotation=i,u._baselineZero=o,u._bidiLevel=a,u._applyNonLinearFontScaling=s,u._baselineFontDescription=l,u._baselineFontSize=c,u._textLines=[],u._creationResult=null,u}return c(r,e),r.prototype.setTextDataDirty=function(){this._textData=null},r.prototype._convertContentToTextData=function(){if(this._textData)return this._textData;this._textData={text:"",formats:[],elementFormats:[],formatIndices:[],processedIdx:0,creationResult:null,spaces:{},lineBreaks:{},charWidths:[]},this.resolveGroupElements(this._content),this._textData.formatIndices[this._textData.formatIndices.length-1]!=this._textData.text.length&&this._textData.formatIndices.push(this._textData.text.length);var e=this._textData.formats,t=this._textData.formatIndices,n=this._textData.text;this._content.rawText=n;for(var r=this._textData.spaces,i=this._textData.lineBreaks,o=this._textData.charWidths,a=0,s=e.length,l=0;l<s;l++){var c=e[l];c.font_table.initFontSize(c.size);for(var u=t[l];a<=u;a++){var p=n.charCodeAt(a);if(10===p||8233===p)i[a]=1,o[o.length]=0;else o[o.length]=c.font_table.getCharWidth(p.toString()),(9==p||32==p)&&(r[a]=!0)}}},r.prototype.resolveGroupElements=function(e){if("flash.text.engine.TextElement"==e.axClassName){var n=e.text,r=e.elementFormat,i=void 0;i=r?r.createAwayTextformat():new t.TextFormat,this._textData.text+=n||"",this._textData.formats.push(i),this._textData.elementFormats.push(r),this._textData.formatIndices.push(this._textData.text.length)}if("flash.text.engine.GroupElement"==e.axClassName)for(var o=e,a=0;a<o.elementCount;a++)this.resolveGroupElements(o.getElementAt(a))},r.prototype.createTextLine=function(e,t,n,r){this._textData||(this._textLines=[],this._convertContentToTextData()),this._tabStops&&this._tabStops.buffer.length>0&&console.warn("this._tabStops is not []",this._tabStops),this._textJustifier&&"unjustified"!=this._textJustifier.lineJustification&&console.warn("lineJustification is not unjustified",this._textJustifier.lineJustification),this._textJustifier&&0!=this._textJustifier.letterSpacing&&console.warn("letterSpacing is not 0",this._textJustifier.letterSpacing),this._baselineZero!=In.ROMAN&&console.warn('_baselineZero is not "roman"',this._baselineZero);var i=this._textData.text,o=this._textData.processedIdx;if(o>i.length)return this._creationResult=zn.COMPLETE,null;var a,s,l,c=this._textData.formats,u=this._textData.elementFormats,p=this._textData.formatIndices,d=this._textData.spaces,f=this._textData.lineBreaks,h=this._textData.charWidths,g=c.length,b=o,y="",m="",_=0,v=[],O=[],S=[],P=zn.EMERGENCY,D=0;e:for(var E=0;E<g;E++)if(!(o>p[E])){var I=c[E];a=I,v[v.length]=I,O[O.length]=u[E],s=u[E],S[S.length]=0;for(var x=p[E];b<=x;b++){if(1===f[b]){y+=m,_+=m.length+1,P=zn.SUCCESS,this._textData.processedIdx=b,f[b]=2;break e}if(d[b]&&(P=zn.SUCCESS,y+=m,_+=m.length,m="",this._textData.processedIdx=b),1!=m.length||32!=m.charCodeAt(0)&&9!=m.charCodeAt(0)||(P=zn.SUCCESS,y+=m,_+=m.length,m="",this._textData.processedIdx=b),(D+=h[b])>t-2){if(P==zn.SUCCESS)break e;y+=m,_+=m.length,this._textData.processedIdx=b;break e}if(b==i.length){y+=m,_+=m.length,this._textData.processedIdx=b+1;break e}f[b]?(m+=i[b],o++):m+=i[b]}S[S.length-1]=y.length+m.length-1}S[S.length-1]=y.length,this._textData.processedIdx>=i.length&&(this._textData.processedIdx++,P=zn.COMPLETE),0==v.length&&(v[0]=a,O[0]=s);for(var w=0;w<Kn.length;w++)if(!Kn[w].parent&&Kn[w].free){l=Kn[w];break}return l?(l.setPreviousLine(null),l.setNextLine(null),l.$BguserData=null,l.free=!1,l.reUseTextLine(e,t,n,r,y,v,S,o,_,O)):l=new this.sec.flash.text.engine.TextLine(e,t,n,r,y,v,S,o,_,O),this._creationResult=P,l.setTextBlock(this),this._textLines.push(l),l},r.prototype.recreateTextLine=function(e,t,r,i,o){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","recreateTextLine",""),new this.sec.flash.text.engine.TextLine},Object.defineProperty(r.prototype,"textLineCreationResult",{get:function(){return this._creationResult},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"applyNonLinearFontScaling",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","get applyNonLinearFontScaling",""),this._applyNonLinearFontScaling},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/TextBlock","set applyNonLinearFontScaling",""),this._applyNonLinearFontScaling=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baselineFontDescription",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","get baselineFontDescription",""),this._baselineFontDescription},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/TextBlock","set baselineFontDescription",""),this._baselineFontDescription=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baselineFontSize",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","get baselineFontSize",""),this._baselineFontSize},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/TextBlock","set baselineFontSize",""),this._baselineFontSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baselineZero",{get:function(){return this._baselineZero},set:function(e){this._baselineZero=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"content",{get:function(){return this._content},set:function(e){this._textData=null,this._content&&this._content.setTextBlock(null),this._content=e,this._content&&this._content.setTextBlock(this)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bidiLevel",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","get bidiLevel",""),this._bidiLevel},set:function(e){n.Debug.throwPIR("playerglobals/text/engine/TextBlock","set bidiLevel",""),this._bidiLevel=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"firstInvalidLine",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","firstInvalidLine",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"firstLine",{get:function(){return this._textLines.length>0?this._textLines[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastLine",{get:function(){return this._textLines.length>0?this._textLines[this._textLines.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lineRotation",{get:function(){return this._lineRotation},set:function(e){this._lineRotation=e},enumerable:!1,configurable:!0}),r.prototype.findNextAtomBoundary=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","findNextAtomBoundary",""),null},r.prototype.findPreviousAtomBoundary=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","findPreviousAtomBoundary",""),null},r.prototype.findNextWordBoundary=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","findNextWordBoundary",""),null},r.prototype.findPreviousWordBoundary=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","findPreviousWordBoundary",""),null},r.prototype.getTextLineAtCharIndex=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","getTextLineAtCharIndex",""),null},r.prototype.releaseLineCreationData=function(){n.Debug.throwPIR("playerglobals/text/engine/TextBlock","releaseLineCreationData","")},r.prototype.releaseLines=function(e,t){if(0!=this._textLines.length)if(e!=this._textLines[0]||t!=this._textLines[this._textLines.length-1])for(;e;){var n=this._textLines.indexOf(e);n>=0&&this._textLines.splice(n,1),e.free=!0,Kn.indexOf(e)<=0&&Kn.push(e),e=e!=t?e.nextLine:null}else{if(Kn.length<100)for(var r=0;r<this._textLines.length;r++)this._textLines[r].free=!0,Kn.indexOf(this._textLines[r])<=0&&Kn.push(this._textLines[r]);this._textLines.length=0}},r.prototype.dump=function(){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","dump",""),null},r.prototype.DoCreateTextLine=function(e,t,r,i,o){return n.Debug.throwPIR("playerglobals/text/engine/TextBlock","DoCreateTextLine",""),null},r.prototype.getTabStops=function(){return this._tabStops},r.prototype.setTabStops=function(e){this._tabStops=e},r.prototype.getTextJustifier=function(){return this._textJustifier},r.prototype.setTextJustifier=function(e){this._textJustifier=e},Object.defineProperty(r.prototype,"userData",{get:function(){return this._userData},set:function(e){this._userData=e},enumerable:!1,configurable:!0}),r.forceNativeConstructor=!0,r.forceNativeMethods=!0,r}(r.ASObject),Hn=function(e){function t(t,n,r,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i="rotate0");var o=e.call(this,n,r,i)||this;return o._text=t,o._rawText=t,o}return c(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this._textBlock&&this._textBlock.setTextDataDirty()},enumerable:!1,configurable:!0}),t.prototype.replaceText=function(e,t,n){this._rawText=this._text.slice(0,e)+n+this._text.slice(t,this._text.length-1),this._text=this._rawText,this._textBlock&&this._textBlock.setTextDataDirty()},t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(On),Wn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.VALID="valid",t.POSSIBLY_INVALID="possiblyInvalid",t.INVALID="invalid",t.STATIC="static",t}(r.ASObject),qn=function(e){function r(n,r,i,o,a,s,l,c,u,p){var d=e.call(this)||this,f=new t.DisplayObjectContainer;return d.adaptee=f,d._previousLine=n,n&&n.setNextLine(d),d._width=r,d._textWidth=0,d._textHeight=0,d._lineOffset=i,d._fitSomething=o,d._rawText=a||"",d._textFormatsIndices=l,d._textFormats=s,d._textLength=u,d._textBlockBeginIndex=c,d._specifiedWidth=d._width,d._textfield=new t.TextField,d.initTextline(p),d}return c(r,e),r.prototype.initTextline=function(e){this._ascent=0,this._descent=Number.POSITIVE_INFINITY,this._textfield.multiline=!1,this._textfield.border=!1,this._textfield.wordWrap=!1;var n=this._textFormats[0],r=e[0].getBaseline();if(this.adaptee.addChild(this._textfield),""!==this._rawText){this._textfield.autoSize=t.TextFieldAutoSize.LEFT,this._textfield.text=this._rawText;for(var i=0,o=0;o<this._textFormatsIndices.length;o++){var a=this._textFormats[o];r!=e[o].getBaseline()&&console.warn("[TextLine] - one Textline with different alignmentBaseline");var s=this._textFormatsIndices[o],l=a.font_table.ascent,c=a.font_table.descent;l=l/(u=a.font_table.get_font_em_size())*a.size,c=c/u*a.size,this._ascent<l&&(this._ascent=l),this._descent>c&&(this._descent=c),!this._textfield||this._textfield.setTextFormat(a,i,s),i=s,this._textfield.height=this._ascent-this._descent}}else{this._textfield.autoSize=t.TextFieldAutoSize.NONE,this._ascent=n.font_table.ascent,this._descent=n.font_table.descent;var u=n.font_table.get_font_em_size();this._ascent=this._ascent/u*n.size,this._descent=this._descent/u*n.size,this._textfield.width=10,this._textfield.height=this._ascent-this._descent}this._textWidth=this._textfield?this._textfield.textWidth+4:10,this._unjustifiedTextWidth=this._textWidth,this._descent=Math.abs(this._descent),this._ascent+=1,r==In.ROMAN?this._textfield.y=-this._ascent:r==In.ASCENT?this._textfield.y=-(this._ascent-this._descent)-this._ascent-this._descent:(console.warn("[TextLine] - unsupported alignmentBaseline",r),this._textfield.y=-(this._ascent-this._descent)-this._ascent),this._textfield.x=0,this._ascent=this._ascent-this._descent,this._validity=Wn.VALID},r.prototype.reUseTextLine=function(e,t,n,r,i,o,a,s,l,c){this.adaptee.x=0,this.adaptee.y=0,this._previousLine=e,e&&e.setNextLine(this),this._width=t,this._textWidth=0,this._textHeight=0,this._lineOffset=n,this._fitSomething=r,this._rawText=i||"",this._textFormatsIndices=a,this._textFormats=o,this._textLength=l,this._textBlockBeginIndex=s,this._specifiedWidth=this._width,this._textfield.reset(),this._textfield.text="",this.initTextline(c)},r.prototype.getBaselinePosition=function(e){switch(e){case In.ROMAN:return-(this._ascent+this._descent);case In.ASCENT:return-this._ascent}return 0},r.prototype.setNextLine=function(e){this._nextLine=e},r.prototype.setPreviousLine=function(e){this._previousLine=e},r.prototype.setTextBlock=function(e){this._textBlock=e},r.prototype.getMirrorRegion=function(e){return null},r.prototype.flushAtomData=function(){},Object.defineProperty(r.prototype,"textBlock",{get:function(){return this._textBlock},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hasGraphicElement",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hasTabs",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nextLine",{get:function(){return this._nextLine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"previousLine",{get:function(){return this._previousLine},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ascent",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"descent",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textHeight",{get:function(){return this._ascent+this._descent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textWidth",{get:function(){return this._textWidth},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"totalAscent",{get:function(){return this._ascent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"totalDescent",{get:function(){return this._descent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"totalHeight",{get:function(){return this._ascent+this._descent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textBlockBeginIndex",{get:function(){return this._textBlockBeginIndex},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rawTextLength",{get:function(){return this._textLength},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"specifiedWidth",{get:function(){return this._specifiedWidth},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"unjustifiedTextWidth",{get:function(){return this._unjustifiedTextWidth},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"validity",{get:function(){return this._validity},set:function(e){this._validity=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"atomCount",{get:function(){return this._textLength},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mirrorRegions",{get:function(){return this._mirrorRegions},enumerable:!1,configurable:!0}),r.prototype.getAtomIndexAtPoint=function(e,t){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomIndexAtPoint",""),null},r.prototype.getAtomIndexAtCharIndex=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomIndexAtCharIndex",""),e},r.prototype.getAtomBounds=function(e){var t=this._textfield.getCharBoundaries(e);return this.sec.flash.geom.Rectangle(t.x,t.y,t.width,this._ascent+this.descent)},r.prototype.getAtomBidiLevel=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomBidiLevel",""),null},r.prototype.getAtomTextRotation=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomTextRotation",""),null},r.prototype.getAtomTextBlockBeginIndex=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomTextBlockBeginIndex",""),null},r.prototype.getAtomTextBlockEndIndex=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomTextBlockEndIndex",""),null},r.prototype.getAtomCenter=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomCenter",""),null},r.prototype.getAtomWordBoundaryOnLeft=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomWordBoundaryOnLeft",""),null},r.prototype.getAtomGraphic=function(e){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","getAtomGraphic",""),null},r.prototype.dump=function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLine","dump",""),null},r.forceNativeConstructor=!0,r.forceNativeMethods=!0,r.MAX_LINE_WIDTH=1e6,r}(U),Jn=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"textLine",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get textLine",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextRegion",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get nextRegion",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousRegion",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get previousRegion",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mirror",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get mirror",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get element",""),null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{get:function(){return n.Debug.throwPIR("playerglobals/text/engine/TextLineMirrorRegion","get textLine",""),null},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(r.ASObject),Zn=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.ROTATE_0="rotate0",t.ROTATE_90="rotate90",t.ROTATE_180="rotate180",t.ROTATE_270="rotate270",t.AUTO="auto",t}(r.ASObject),$n=function(e){function t(){return e.call(this)||this}return c(t,e),t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t.DEFAULT="default",t.TITLE="title",t.CAPS="caps",t.SMALL_CAPS="smallCaps",t.UPPERCASE="uppercase",t.LOWERCASE="lowercase",t.CAPS_AND_SMALL_CAPS="capsAndSmallCaps",t}(r.ASObject),Qn=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t,"capsLock",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Keyboard","static get capsLock",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numLock",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Keyboard","static get numLock",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"hasVirtualKeyboard",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Keyboard","static get hasVirtualKeyboard",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"physicalKeyboardType",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Keyboard","static get physicalKeyboardType",""),""},enumerable:!1,configurable:!0}),t.isAccessible=function(){return n.Debug.throwPIR("playerglobals/ui/Keyboard","static isAccessiblek",""),!0},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),er=function(e){function t(){var t=e.call(this)||this;return t._builtInItems=new t.sec.flash.ui.ContextMenuBuiltInItems,t._customItems=[],t._clipboardItems=t.sec.flash.ui.ContextMenuClipboardItems(),t}return c(t,e),Object.defineProperty(t,"isSupported",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","isSupported",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"builtInItems",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","get builtInItems",""),this._builtInItems},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenu","set builtInItems",""),this._builtInItems=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"customItems",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","get customItems",""),this.sec.createArrayUnsafe(this._customItems)},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenu","set customItems",""),this._customItems=e.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"link",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","get link",""),this._link},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenu","set link",""),this._link=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clipboardMenu",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","set clipboardMenu",""),this._clipboardMenu},set:function(e){e=!!e,n.Debug.throwPIR("playerglobals/ui/ContextMenu","set clipboardMenu",""),this._clipboardMenu=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clipboardItems",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenu","get clipboardItems",""),this._clipboardItems},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenu","set clipboardItems",""),this._clipboardItems=e},enumerable:!1,configurable:!0}),t.prototype.hideBuiltInItems=function(){var e=this.builtInItems;e&&(e.save=!1,e.zoom=!1,e.quality=!1,e.play=!1,e.loop=!1,e.rewind=!1,e.forwardAndBack=!1,e.print=!1)},t.prototype.clone=function(){var e=new this.sec.flash.ui.ContextMenu;e._builtInItems=this._builtInItems.clone(),this.cloneLinkAndClipboardProperties(e);for(var t=this._customItems,n=0;n<t.length;n++)e._customItems.push(t[n].clone());return e},t.prototype.cloneLinkAndClipboardProperties=function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenu","cloneLinkAndClipboardProperties","")},t.classInitializer=null,t}(function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g)),tr=function(e){function t(t,n,i,o){void 0===n&&(n=!1),void 0===i&&(i=!0),void 0===o&&(o=!0);var a=e.call(this)||this;return t=r.axCoerceString(t),n=!!n,i=!!i,o=!!o,a._caption=t||"",a._separatorBefore=n,a._enabled=i,a._visible=o,a}return c(t,e),Object.defineProperty(t.prototype,"caption",{get:function(){return this._caption},set:function(e){e=r.axCoerceString(e),this._caption=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorBefore",{get:function(){return this._separatorBefore},set:function(e){e=!!e,this._separatorBefore=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this._visible},set:function(e){e=!!e,this._visible=e},enumerable:!1,configurable:!0}),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(Oe),nr=function(e){function t(){var t=e.call(this)||this;return t._save=!0,t._zoom=!0,t._quality=!0,t._play=!0,t._loop=!0,t._rewind=!0,t._forwardAndBack=!0,t._print=!0,t}return c(t,e),Object.defineProperty(t.prototype,"save",{get:function(){return this._save},set:function(e){this._save=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(e){this._zoom=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return this._quality},set:function(e){this._quality=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"play",{get:function(){return this._play},set:function(e){this._play=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this._loop},set:function(e){this._loop=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rewind",{get:function(){return this._rewind},set:function(e){this._rewind=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"forwardAndBack",{get:function(){return this._forwardAndBack},set:function(e){this._forwardAndBack=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"print",{get:function(){return this._print},set:function(e){this._print=!!e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){var e=new t;return e._save=this._save,e._zoom=this._zoom,e._quality=this._quality,e._play=this._play,e._loop=this._loop,e._rewind=this._rewind,e._forwardAndBack=this._forwardAndBack,e._print=this._print,e},t.classInitializer=null,t}(r.ASObject),rr=function(e){function t(){var t=e.call(this)||this;return t._cut=!0,t._copy=!0,t._paste=!0,t._clear=!0,t._selectAll=!0,t}return c(t,e),Object.defineProperty(t.prototype,"cut",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","get cut",""),this._cut},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","set cut",""),this._cut=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"copy",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","get copy",""),this._copy},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","set copy",""),this._copy=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"paste",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","get paste",""),this._paste},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","set paste",""),this._paste=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clear",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","get clear",""),this._clear},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","set clear",""),this._clear=!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAll",{get:function(){return n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","get selectAll",""),this._selectAll},set:function(e){n.Debug.throwPIR("playerglobals/ui/ContextMenuClipboardItems","set selectAll",""),this._selectAll=!!e},enumerable:!1,configurable:!0}),t.prototype.clone=function(){var e=new t;return e._cut=this._cut,e._copy=this._copy,e._paste=this._paste,e._clear=this._clear,e._selectAll=this._selectAll,e},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),ir=function(e){function t(){return e.call(this,void 0)||this}return c(t,e),Object.defineProperty(t,"numDevices",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInput","static get numDevices",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isSupported",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInput","static get isSupported",""),!1},enumerable:!1,configurable:!0}),t.getDeviceAt=function(e){return n.Debug.throwPIR("playerglobals/ui/GameInput","static getDeviceAt",""),this.sec.throwError("RangeError",r.Errors.ParamRangeError,"index"),null},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g),or=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"numValues",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get numValues",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get index",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relative",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get relative",""),!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get type",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hand",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get hand",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"finger",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get finger",""),""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"device",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","get device",""),null},enumerable:!1,configurable:!0}),t.prototype.getValueAt=function(e){return n.Debug.throwPIR("playerglobals/ui/GameInputControl","getValueAt",""),0},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(g),ar=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.MOVEMENT="movement",t.ROTATION="rotation",t.DIRECTION="direction",t.ACCELERATION="acceleration",t.BUTTON="button",t.TRIGGER="trigger",t}(r.ASObject),sr=function(e){function t(){return e.call(this)||this}return c(t,e),Object.defineProperty(t.prototype,"numControls",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputDevice","get numControls",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sampleInterval",{get:function(){n.Debug.throwPIR("playerglobals/ui/GameInputDevice","get sampleInterval","")},set:function(e){n.Debug.throwPIR("playerglobals/ui/GameInputDevice","set sampleInterval","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputDevice","get enabled",""),!0},set:function(e){n.Debug.throwPIR("playerglobals/ui/GameInputDevice","set enabled","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return n.Debug.throwPIR("playerglobals/ui/GameInputDevice","get name",""),""},enumerable:!1,configurable:!0}),t.prototype.getControlAt=function(e){return n.Debug.throwPIR("playerglobals/ui/GameInputDevice","getControlAt",""),null},t.prototype.startCachingSamples=function(e,t){n.Debug.throwPIR("playerglobals/ui/GameInputDevice","startCachingSamples","")},t.prototype.stopCachingSamples=function(){n.Debug.throwPIR("playerglobals/ui/GameInputDevice","stopCachingSamples","")},t.prototype.getCachedSamples=function(e,t){return n.Debug.throwPIR("playerglobals/ui/GameInputDevice","getCachedSamples",""),0},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.MAX_BUFFER_SIZE=4800,t}(g),lr=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.THUMB="thumb",t.INDEX="index",t.MIDDLE="middle",t.UNKNOWN="unknown",t}(r.ASObject),cr=function(e){function t(){return e.call(this)||this}return c(t,e),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.RIGHT="right",t.LEFT="left",t.UNKNOWN="unknown",t}(r.ASObject),ur=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t,"cursor",{get:function(){return t._cursor},set:function(e){t._cursor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"supportsCursor",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Mouse","static get supportsCursor",""),!0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"supportsNativeCursor",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Mouse","static get supportsNativeCursor",""),!0},enumerable:!1,configurable:!0}),t.hide=function(){this.sec.player.mouseManager.showCursor=!1},t.show=function(){this.sec.player.mouseManager.showCursor=!0},t.registerCursor=function(e,t){n.Debug.throwPIR("playerglobals/ui/Mouse","static registerCursor","")},t.unregisterCursor=function(e){n.Debug.throwPIR("playerglobals/ui/Mouse","static unregisterCursor","")},t}(r.ASObject),pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._data=null,t._hotSpot=null,t._frameRate=0,t}return c(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hotSpot",{get:function(){return this._hotSpot},set:function(e){this._hotSpot=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frameRate",{get:function(){return this._frameRate},set:function(e){this._frameRate=+e},enumerable:!1,configurable:!0}),t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t}(r.ASObject),dr=function(){function e(){}return e.GESTURE="gesture",e.NONE="none",e.TOUCH_POINT="touchPoint",e}(),fr=function(){function e(){}return Object.defineProperty(e,"inputMode",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get inputMode",""),""},set:function(e){n.Debug.throwPIR("playerglobals/ui/Multitouch","static set inputMode","")},enumerable:!1,configurable:!0}),Object.defineProperty(e,"mapTouchToMouse",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get mapTouchToMouse",""),!1},set:function(e){n.Debug.throwPIR("playerglobals/ui/Multitouch","static set mapTouchToMouse","")},enumerable:!1,configurable:!0}),Object.defineProperty(e,"maxTouchPoints",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get maxTouchPoints",""),0},enumerable:!1,configurable:!0}),Object.defineProperty(e,"supportedGestures",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get supportedGestures",""),[]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"supportsGestureEvents",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get supportsGestureEvents",""),!1},enumerable:!1,configurable:!0}),Object.defineProperty(e,"supportsTouchEvents",{get:function(){return n.Debug.throwPIR("playerglobals/ui/Multitouch","static get supportsTouchEvents",""),!1},enumerable:!1,configurable:!0}),e}(),hr=function(e){function t(t,n){var r=e.call(this)||this;return r._delay=+t,r._repeatCount=0|n,r._iteration=0,r}return c(t,e),Object.defineProperty(t.prototype,"running",{get:function(){return this._running},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"delay",{get:function(){return this._delay},set:function(e){((e=+e)<0||!isFinite(e))&&this.sec.throwError("RangeError",r.Errors.DelayRangeError),this._delay=e,this._running&&(this.stop(),this.start())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"repeatCount",{get:function(){return this._repeatCount},set:function(e){this._repeatCount=0|e,this._repeatCount&&this._running&&this._iteration>=this._repeatCount&&this.stop()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentCount",{get:function(){return this._iteration},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this._running&&this.stop(),this._iteration=0},t.prototype.stop=function(){this._running=!1,window.clearInterval(this._interval)},t.prototype.start=function(){this._running||(this._running=!0,this._interval=window.setInterval(this._tick.bind(this),this._delay))},t.prototype._tick=function(){if(this._iteration++,this._running){if(t.dispatchingEnabled)try{this.dispatchEvent(new this.sec.flash.events.TimerEvent("timer",!0,!1))}catch(e){i.warning("caught error under Timer TIMER event: ",e)}if(0!==this._repeatCount&&this._iteration>=this._repeatCount){this.stop();try{this.dispatchEvent(new this.sec.flash.events.TimerEvent(gt.TIMER_COMPLETE,!1,!1))}catch(e){i.warning("caught error under Timer COMPLETE event: ",e)}}}},t.classInitializer=null,t.classSymbols=null,t.instanceSymbols=null,t.dispatchingEnabled=!0,t}(g),gr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.$BgDEFLATE="deflate",t.$BgLZMA="lzma",t.$BgZLIB="zlib",t}(r.ASObject),br=function(e){function t(t,n,r,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i="rotate0");var o=e.call(this,n,r,i)||this;return o._elements=t?t._buffer:[],o}return c(t,e),t.prototype.setTextBlock=function(t){e.prototype.setTextBlock.call(this,t);for(var n=0;n<this._elements.length;n++)this._elements[n].setTextBlock(t),this._elements[n].setGroupElement(this)},Object.defineProperty(t.prototype,"elementCount",{get:function(){return this._elements.length},enumerable:!1,configurable:!0}),t.prototype.getElementAt=function(e){return this._elements[e]},t.prototype.setElements=function(e){this._elements=e._buffer;for(var t=0;t<this._elements.length;t++)this._elements[t].setTextBlock(this._textBlock),this._elements[t].setGroupElement(this);this._textBlock&&this._textBlock.setTextDataDirty()},t.prototype.groupElements=function(e,t){return n.Debug.throwPIR("playerglobals/text/engine/GroupElement","groupElements",""),null},t.prototype.ungroupElements=function(e){n.Debug.throwPIR("playerglobals/text/engine/GroupElement","ungroupElements","")},t.prototype.mergeTextElements=function(e,t){return n.Debug.throwPIR("playerglobals/text/engine/GroupElement","mergeTextElements",""),null},t.prototype.splitTextElement=function(e,t){return n.Debug.throwPIR("playerglobals/text/engine/GroupElement","groupElements",""),null},t.prototype.replaceElements=function(e,t,n){var r=0;t-e>n._buffer.length&&console.warn("[GroupElement] - replaceElements error with range and vector size");for(var i=e;i<=t;i++)this._elements[i]=n._buffer[r++];for(i=0;i<this._elements.length;i++)this._elements[i].setTextBlock(this._textBlock),this._elements[i].setGroupElement(this);return this._textBlock&&this._textBlock.setTextDataDirty(),n},t.prototype.getElementAtCharIndex=function(e){return null},t.forceNativeConstructor=!0,t.forceNativeMethods=!0,t}(On),yr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.createObjectWithPrototype=function(e){var t=e.sec.AXObject.axConstruct([]);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},t.forceNativeConstructor=!1,t.forceNativeMethods=!0,t}(r.ASObject),mr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.checkNamespace=function(e){var t=e.$Bgnamespace();if(this._textFlowNamespace){if(t.uri!=this._textFlowNamespace.uri)return!1}else{if(t.uri!=this.$Bgns.uri)return!1;this._textFlowNamespace=t}return!0},t.forceNativeConstructor=!1,t.forceNativeMethods=!0,t}(r.ASObject);function _r(e,t){r.registerNativeClass(e,t)}function vr(){i.release||console.log("init link"),_r("flashx.textLayout.conversion.BaseTextLayoutImporter",mr),_r("flashx.textLayout.property.Property",yr),_r("flash.desktop.Clipboard",ae),_r("flash.desktop.ClipboardFormats",se),_r("flash.display.Bitmap",z),_r("flash.display.BitmapData",K),_r("flash.display.BitmapDataChannel",le),_r("flash.display.BlendMode",s.BlendMode),_r("flash.display.DisplayObject",M),_r("flash.display.DisplayObjectContainer",U),_r("flash.display.FrameLabel",ce),_r("flash.display.Graphics",fe),_r("flash.display.GraphicsBitmapFill",me),_r("flash.display.GraphicsEndFill",be),_r("flash.display.GraphicsGradientFill",ye),_r("flash.display.GraphicsPath",he),_r("flash.display.GraphicsSolidFill",ge),_r("flash.display.GraphicsStroke",_e),_r("flash.display.GraphicsTrianglePath",ve),_r("flash.display.InteractiveObject",B),_r("flash.display.Loader",Q),_r("flash.display.LoaderInfo",ne),_r("flash.display.MovieClip",V),_r("flash.display.NativeMenuItem",Oe),_r("flash.display.Scene",Se),_r("flash.display.Shape",Pe),_r("flash.display.SimpleButton",De),_r("flash.display.Sprite",G),_r("flash.display.Stage",re),_r("flash.errors.EOFError",Ie),_r("flash.errors.IllegalOperationError",xe),_r("flash.errors.InvalidSWFError",we),_r("flash.errors.IOError",Ee),_r("flash.errors.MemoryError",Te),_r("flash.errors.ScriptTimeoutError",Ce),_r("flash.errors.StackOverflowError",Ae),_r("flash.events.AccelerometerEvent",Ve),_r("flash.events.ActivityEvent",ze),_r("flash.events.AsyncErrorEvent",Xe),_r("flash.events.ContextMenuEvent",Ke),_r("flash.events.DataEvent",Ye),_r("flash.events.ErrorEvent",W),_r("flash.events.Event",u),_r("flash.events.EventDispatcher",g),_r("flash.events.EventPhase",He),_r("flash.events.FocusEvent",k),_r("flash.events.FullScreenEvent",We),_r("flash.events.GameInputEvent",qe),_r("flash.events.GeolocationEvent",Je),_r("flash.events.GestureEvent",Ze),_r("flash.events.GesturePhase",$e),_r("flash.events.HTTPStatusEvent",Qe),_r("flash.events.IMEEvent",et),_r("flash.events.IOErrorEvent",q),_r("flash.events.KeyboardEvent",N),_r("flash.events.MouseEvent",h),_r("flash.events.NetDataEvent",tt),_r("flash.events.NetStatusEvent",nt),_r("flash.events.OutputProgressEvent",rt),_r("flash.events.PressAndTabGestureEvent",it),_r("flash.events.ProgressEvent",ee),_r("flash.events.SampleDataEvent",ot),_r("flash.events.ShaderEvent",at),_r("flash.events.SoftKeyboardEvent",st),_r("flash.events.SoftKeyboardTrigger",lt),_r("flash.events.StageVideoAvailabilityEvent",ct),_r("flash.events.StageVideoEvent",ut),_r("flash.events.StatusEvent",pt),_r("flash.events.SyncEvent",dt),_r("flash.events.TextEvent",H),_r("flash.events.ThrottleEvent",ft),_r("flash.events.ThrottleType",ht),_r("flash.events.TimerEvent",gt),_r("flash.events.TouchEvent",F),_r("flash.events.TransformGestureEvent",bt),_r("flash.events.UncaughtErrorEvent",yt),_r("flash.events.UncaughtErrorEvents",mt),_r("flash.events.VideoEvent",_t),_r("flash.external.ExternalInterface",vt),_r("flash.filters.BevelFilter",E),_r("flash.filters.BitmapFilter",v),_r("flash.filters.BlurFilter",w),_r("flash.filters.ColorMatrixFilter",C),_r("flash.filters.ConvolutionFilter",T),_r("flash.filters.DisplacementMapFilter",St),_r("flash.filters.DropShadowFilter",S),_r("flash.filters.GlowFilter",P),_r("flash.filters.GradientBevelFilter",x),_r("flash.filters.GradientGlowFilter",I),_r("flash.geom.ColorTransform",je),_r("flash.geom.Matrix",Re),_r("flash.geom.Matrix3D",Me),_r("flash.geom.Point",Fe),_r("flash.geom.Rectangle",Ne),_r("flash.geom.Transform",ke),_r("flash.geom.Vector3D",Be),_r("flash.globalization.LocaleID",Ge),_r("flash.globalization.NumberFormatter",Pt),_r("flash.media.Sound",J),_r("flash.media.SoundChannel",Ct),_r("flash.media.SoundMixer",Et),_r("flash.media.SoundTransform",Dt),_r("flash.net.FileFilter",At),_r("flash.net.FileReference",Mt),_r("flash.net.LocalConnection",Xt),_r("flash.net.NetConnection",Kt),_r("flash.net.Responder",Yt),_r("flash.net.SharedObject",Gt),_r("flash.net.Socket",Ht),_r("flash.net.URLLoader",Vt),_r("flash.net.URLRequest",oe),_r("flash.net.URLVariables",ie),_r("flash.system.ApplicationDomain",Z),_r("flash.system.Capabilities",Zt),_r("flash.system.LoaderContext",$),_r("flash.system.Security",Qt),_r("flash.system.SecurityDomain",Wt),_r("flash.system.System",en),_r("flash.text.CSMSettings",hn),_r("flash.text.Font",tn),_r("flash.text.FontType",fn),_r("flash.text.StaticText",sn),_r("flash.text.StyleSheet",nn),_r("flash.text.TextColorType",dn),_r("flash.text.TextDisplayMode",pn),_r("flash.text.TextField",rn),_r("flash.text.TextFormat",on),_r("flash.text.TextLineMetrics",gn),_r("flash.text.TextRenderer",ln),_r("flash.text.TextSnapshot",bn),_r("flash.text.TextFormatDisplay",cn),_r("flash.text.TextExtent",un),_r("flash.text.TextRun",an),_r("flash.text.engine.BreakOpportunity",mn),_r("flash.text.engine.CFFHinting",_n),_r("flash.text.engine.ContentElement",On),_r("flash.text.engine.DigitCase",Sn),_r("flash.text.engine.DigitWidth",Pn),_r("flash.text.engine.EastAsianJustifier",En),_r("flash.text.engine.ElementFormat",wn),_r("flash.text.engine.FontDescription",Tn),_r("flash.text.engine.FontLookup",Cn),_r("flash.text.engine.FontMetrics",An),_r("flash.text.engine.FontMetrics",An),_r("flash.text.engine.FontPosture",jn),_r("flash.text.engine.FontWeight",Rn),_r("flash.text.engine.GraphicElement",Ln),_r("flash.text.engine.GroupElement",br),_r("flash.text.engine.JustificationStyle",Mn),_r("flash.text.engine.Kerning",Fn),_r("flash.text.engine.LigatureLevel",Nn),_r("flash.text.engine.LineJustification",kn),_r("flash.text.engine.RenderingMode",Bn),_r("flash.text.engine.SpaceJustifier",Un),_r("flash.text.engine.TabAlignment",Gn),_r("flash.text.engine.TabStop",Vn),_r("flash.text.engine.TextBaseline",In),_r("flash.text.engine.TextBlock",Yn),_r("flash.text.engine.TextElement",Hn),_r("flash.text.engine.TextJustifier",Dn),_r("flash.text.engine.TextLine",qn),_r("flash.text.engine.TextLineCreationResult",zn),_r("flash.text.engine.TextLineMirrorRegion",Jn),_r("flash.text.engine.TextLineValidity",Wn),_r("flash.text.engine.TextRotation",Zn),_r("flash.text.engine.TypographicCase",$n),_r("flash.text.ime.CompositionAttributeRange",yn),_r("flash.ui.ContextMenu",er),_r("flash.ui.ContextMenuBuiltInItems",nr),_r("flash.ui.ContextMenuClipboardItems",rr),_r("flash.ui.ContextMenuItem",tr),_r("flash.ui.GameInput",ir),_r("flash.ui.GameInputControl",or),_r("flash.ui.GameInputControlType",ar),_r("flash.ui.GameInputDevice",sr),_r("flash.ui.GameInputFinger",lr),_r("flash.ui.GameInputHand",cr),_r("flash.ui.Keyboard",Qn),_r("flash.ui.Mouse",ur),_r("flash.ui.MouseCursorData",pr),_r("flash.ui.Multitouch",fr),_r("flash.ui.MultitouchInputMode",dr),_r("flash.utils.ByteArray",r.ByteArray),_r("flash.utils.CompressionAlgorithm",gr),_r("flash.utils.Timer",hr),_r("flash.xml.XMLDocument",r.XMLDocument),_r("flash.xml.XMLNode",r.XMLNode),r.registerNativeFunction("flash.system.fscommand",$t),vt.ensureInitialized()}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}c(t,e),Object.defineProperty(t.prototype,"text",{set:function(e){console.log("set text native",e)},enumerable:!1,configurable:!0}),t.forceNativeConstructor=!1,t.forceNativeMethods=!0}(r.ASObject);var Or=function(){},Sr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.flash={display:{EventDispatcher:g,DisplayObject:M,DisplayObjectContainer:U,Stage:re,Loader:Q,LoaderInfo:ne,MovieClip:V,Graphics:fe,GraphicsPath:he,GraphicsSolidFill:ge,GraphicsEndFill:be,GraphicsGradientFill:ye,GraphicsBitmapFill:me,GraphicsStroke:_e,GraphicsTrianglePath:ve,Bitmap:z,BitmapData:K,SimpleButton:De,Sprite:G,Shape:Pe,FrameLabel:ce},events:{EventDispatcher:g,Event:u,FocusEvent:k,KeyboardEvent:N,MouseEvent:h,TouchEvent:F,ProgressEvent:ee,IOErrorEvent:q,TimerEvent:gt,UncaughtErrorEvents:mt},external:{ExternalInterface:vt},filters:{BevelFilter:E,BitmapFilter:v,BlurFilter:w,ColorMatrixFilter:C,ConvolutionFilter:T,DisplacementMapFilter:St,DropShadowFilter:S,GlowFilter:P,GradientBevelFilter:x,GradientGlowFilter:I},text:{TextField:rn,TextFormat:on,TextSnapshot:bn,TextLineMetrics:gn},geom:{Point:Fe,Rectangle:Ne,Matrix:Re,ColorTransform:je,Transform:ke,Vector3D:Be,Matrix3D:Me},net:{URLRequest:oe,URLLoader:Vt,URLVariables:ie,SharedObject:Gt,NetConnection:Kt,Responder:Yt},system:{ApplicationDomain:Z,Capabilities:Zt,LoaderContext:$,Security:Qt,fscommand:$t},ui:{ContextMenu:er,ContextMenuItem:tr,ContextMenuBuiltInItems:nr,Mouse:Or},utils:{ByteArray:r.ByteArray},media:{Sound:J,SoundChannel:Ct,SoundTransform:Dt,SoundMixer:Et},xml:{XMLDocument:XMLDocument,XMLNode:r.XMLNode}},t}return c(t,e),t}(r.AXSecurityDomain);function Pr(e,t){return fetch((n=e,r=n.indexOf("://"),i="/"===n[0]?"/":"",o=n.split(/[\\|/]/).filter(Boolean),r>-1&&(o[0]+="/"),i+o.join("/"))).then((function(e){if(!e.ok)throw"Ups: ".concat(e.statusText,"(").concat(e.status,")");return"json"===t?e.json():e.arrayBuffer()})).catch((function(t){throw new Error("Unable to load: "+e+": "+t)}));var n,r,i,o}var Dr=function(){function e(){}return Object.defineProperty(e.prototype,"activeStage",{get:function(){return this._stage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stage",{get:function(){return this._stage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this._content},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uncaughtErrorEvents",{get:function(){return n.Debug.throwPIR("playerglobals/display/Loader","get uncaughtErrorEvents",""),this._uncaughtErrorEvents},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){console.log("dispose PlayerGlobal"),Z.currentDomain=null,Gt._sharedObjects={}},e.prototype.createSecurityDomain=function(t,n,o){var a=this;this._avmStage=t,this._avmStage.avmTestHandler&&(r.Natives.print=function(e,n){var r,i,o="";if(2==arguments.length)o=null===(r=arguments[1])||void 0===r?void 0:r.toString();else for(var a=1;a<arguments.length;a++)o+=null===(i=arguments[a])||void 0===i?void 0:i.toString(),a!==arguments.length-1&&(o+=" ");var s=o.split("\n");for(a=0;a<s.length;a++)console.log("%c Test-Trace from SWF:","color: DodgerBlue",s[a]),t.avmTestHandler.addMessage(s[a])}),vr(),i.release||console.log("createSecurityDomain"),i.release||i.assert(!!(o&r.AVM2LoadLibrariesFlags.Builtin)),i.release||console.log("Load builtin.abc file");var s=e.builtinsBaseUrl,l=[Pr("".concat(s,"/builtin.abc"),"arraybuffer")];return o&r.AVM2LoadLibrariesFlags.Playerglobal&&l.push(Pr("".concat(s,"/playerglobal.abcs"),"arraybuffer"),Pr("".concat(s,"/playerglobal.json"),"json"),Pr("".concat(s,"/avmplus.abc"),"arraybuffer")),Promise.all(l).then((function(e){var s=e[0],l=e[1],c=e[2],u=e[3],p=new Sr,d=new r.ABCFile({url:"builtin.abc",app:p.system},new Uint8Array(s));if(p.swfVersion=n.swfVersion,p.system.loadABC(d),p.initialize(),p.system.executeABC(d),p.player=t,!(o&r.AVM2LoadLibrariesFlags.Playerglobal))return null;i.release||console.log("Load playerglobal.abcs & playerglobal.json");var f=new r.ABCCatalog(p.system,new Uint8Array(l),c);i.release||console.log("add playerglobals as ABCCatalog"),p.addCatalog(f);var h=new r.ABCFile({url:"avmplus.File",app:p.system},new Uint8Array(u));return p.system.loadAndExecuteABC(h),a._constructStage(p,n),new Y(p)}))},e.prototype._constructStage=function(e,t){var n;this._contentLoaderInfo=new e.flash.display.LoaderInfo(this,this._avmStage.root),this._contentLoaderInfo.url=new URL(t.url,document.baseURI).href,this._contentLoaderInfo._setFlashVars(null===(n=this._avmStage.config)||void 0===n?void 0:n.flashvars),this._applicationDomain=new e.flash.system.ApplicationDomain,this._contentLoaderInfo._setApplicationDomain(this._applicationDomain),this._uncaughtErrorEvents=new e.flash.events.UncaughtErrorEvents,r.ActiveLoaderContext.loaderContext=new e.flash.system.LoaderContext(!1,this._applicationDomain),this._stage=new e.flash.display.Stage,e.flash.display.DisplayObject.axClass._activeStage=this._stage,this._avmStage.root.adapter=this._stage,this._stage.adaptee=this._avmStage.root},e.prototype.enterFrame=function(){this._stage&&this._stage.enterFrame()},e.prototype.resizeStage=function(){this._stage&&this._stage.resizeCallback()},e.prototype.addAsset=function(e,r){switch(e.adapter.loaderInfo=this._contentLoaderInfo,e.assetType){case t.TextField.assetType:case t.SceneImage2D.assetType:case s.BitmapImage2D.assetType:this._applicationDomain.addDefinition(e.name,e);break;case n.WaveAudio.assetType:this._applicationDomain.addAudioDefinition(e.name,e);break;case t.Font.assetType:this._applicationDomain.addFontDefinition(e.name,e);break;case t.Sprite.assetType:this._applicationDomain.addDefinition(e.name,e);break;case t.MovieClip.assetType:this._applicationDomain.addDefinition(e.name,e),r&&e.isAVMScene&&(this._content=e.adapter.clone(),this._content.loaderInfo=this._contentLoaderInfo,this._content.adaptee.reset(),this._content.adaptee.firstFrameOnSWFStart=!0,t.FrameScriptManager.invalidAS3Constructors=!0,this._stage.adaptee.addChild(this._content.adaptee),t.FrameScriptManager.execute_as3_constructors_recursiv(this._content.adaptee),this._content.dispatchStaticEvent("added",this._content),this._content.dispatch_ADDED_TO_STAGE(!0));break;case"[asset Generic]":this._applicationDomain.addDefinition(e.name,e);break;case o.Graphics.assetType:case t.MorphSprite.assetType:break;default:console.warn("Loaded unhandled asset-type",e.assetType)}},e.builtinsBaseUrl="./assets/builtins/",e}();console.debug("AwayFL - PlayerGlobal - 0.2.460"),e.DEFAULT_CAPABILITIES=Jt,e.Event=u,e.FlashSceneGraphFactory=Y,e.Loader=Q,e.LoaderContext=$,e.LoaderInfo=ne,e.MovieClip=V,e.PlayerGlobal=Dr,e.SecurityDomain=Sr,e.SharedObjectDebug=Bt,e.Sprite=G,e.Stage=re,e.URLRequest=oe,e.initLink=vr,Object.defineProperty(e,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=awayfl-playerglobal.umd.js.map