From ee70903f11a824084552b2441137f35d0ef72ffe Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 29 Dec 2014 23:06:28 -0800 Subject: [PATCH] v1.16.5: Getting ready for 2015 --- Gruntfile.js | 2 +- README.md | 2 +- apps/pc/1981/visicalc/manifest.xml | 2 +- apps/pc/1982/esuite/manifest.xml | 2 +- apps/pc/1985/rogue/manifest.xml | 2 +- apps/pc/1987/thinktank/manifest.xml | 2 +- apps/pc/1988/moria/manifest.xml | 2 +- apps/pc/1992/moria/manifest.xml | 2 +- devices/c1p/machine/32kb/machine.xml | 2 +- .../c1p/machine/8kb/all/debugger/machine.xml | 2 +- devices/c1p/machine/8kb/array/machine.xml | 2 +- .../c1p/machine/8kb/large/debugger/local.html | 2 +- .../machine/8kb/large/debugger/machine.xml | 2 +- devices/c1p/machine/8kb/large/machine.xml | 2 +- devices/c1p/machine/8kb/small/machine.xml | 2 +- .../5150/cga/384kb/softkbd/machine.xml | 2 +- .../5150/cga/64kb/donkey/debugger/machine.xml | 2 +- .../machine/5150/cga/64kb/donkey/machine.xml | 2 +- .../machine/5150/cga/64kb/softkbd/machine.xml | 2 +- .../5150/mda/64kb/debugger/machine.xml | 2 +- devices/pc/machine/5150/mda/64kb/machine.xml | 2 +- .../machine/5150/mda/64kb/softkbd/machine.xml | 2 +- .../machine/5160/cga/256kb/array/machine.xml | 2 +- .../5160/cga/256kb/demo/debugger/machine.xml | 2 +- .../machine/5160/cga/256kb/demo/machine.xml | 2 +- .../5160/cga/256kb/softkbd/machine.xml | 2 +- .../cga/256kb/win101/debugger/machine.xml | 2 +- .../machine/5160/cga/256kb/win101/machine.xml | 2 +- .../5160/cga/256kb/win101/softkbd/machine.xml | 2 +- .../5160/cga/512kb/win101/softkbd/machine.xml | 2 +- .../5160/cga/640kb/debugger/machine.xml | 2 +- .../5160/cga/640kb/dos400m/machine.xml | 2 +- devices/pc/machine/5160/cga/640kb/machine.xml | 2 +- .../5160/ega/256kb/debugger/machine.xml | 2 +- .../machine/5160/ega/640kb/array/machine.xml | 2 +- .../5160/ega/640kb/debugger/machine.xml | 2 +- devices/pc/machine/5160/ega/640kb/machine.xml | 2 +- .../machine/5160/ega/640kb/win101/machine.xml | 2 +- .../mda/256kb/fake188/debugger/machine.xml | 2 +- .../5160/mda/256kb/fake188/machine.xml | 2 +- devices/pc/machine/5160/mda/256kb/machine.xml | 2 +- .../machine/5160/mda/64kb/softkbd/machine.xml | 2 +- .../machine/5170/ega/1152kb/rev1/machine.xml | 2 +- .../machine/5170/ega/1152kb/rev3/machine.xml | 2 +- .../machine/5170/ega/640kb/rev1/machine.xml | 2 +- .../machine/5170/ega/640kb/rev1/manifest.xml | 2 +- disks/pc/apps/lotus/123/1.0a/manifest.xml | 2 +- .../apps/microsoft/winword/2.0c/manifest.xml | 2 +- disks/pc/apps/microsoft/word/3.0/manifest.xml | 2 +- disks/pc/apps/microsoft/word/3.1/manifest.xml | 2 +- disks/pc/apps/microsoft/word/5.0/manifest.xml | 2 +- disks/pc/cpm/machine.xml | 2 +- disks/pc/cpm/manifest.xml | 2 +- disks/pc/diags/ibm/2.20/machine.xml | 2 +- disks/pc/diags/ibm/2.20/manifest.xml | 2 +- disks/pc/dos/compaq/3.10/manifest.xml | 2 +- disks/pc/dos/compaq/3.31/manifest.xml | 2 +- disks/pc/dos/ibm/1.00/manifest.xml | 2 +- disks/pc/dos/ibm/1.10/manifest.xml | 2 +- disks/pc/dos/ibm/2.00/manifest.xml | 2 +- disks/pc/dos/ibm/2.10/manifest.xml | 2 +- disks/pc/dos/ibm/3.00/manifest.xml | 2 +- disks/pc/dos/ibm/3.10/manifest.xml | 2 +- disks/pc/dos/ibm/3.20/manifest.xml | 2 +- disks/pc/dos/ibm/3.30/manifest.xml | 2 +- disks/pc/dos/ibm/4.00/manifest.xml | 2 +- disks/pc/dos/ibm/5.00/manifest.xml | 2 +- disks/pc/dos/ibm/6.10/manifest.xml | 2 +- disks/pc/dos/ibm/7.00/manifest.xml | 2 +- disks/pc/dos/microsoft/3.20/manifest.xml | 2 +- disks/pc/dos/microsoft/3.30/manifest.xml | 2 +- disks/pc/dos/microsoft/4.01/manifest.xml | 2 +- disks/pc/dos/microsoft/4.0M/manifest.xml | 2 +- disks/pc/games/infocom/hhiker/manifest.xml | 2 +- disks/pc/games/infocom/machine-debug.xml | 2 +- disks/pc/games/infocom/machine.xml | 2 +- disks/pc/games/infocom/planet/manifest.xml | 2 +- .../games/infocom/zork1/debugger/machine.xml | 2 +- disks/pc/games/infocom/zork1/manifest.xml | 2 +- disks/pc/games/infocom/zork2/manifest.xml | 2 +- disks/pc/games/infocom/zork3/manifest.xml | 2 +- .../pc/games/microsoft/adventure/machine.xml | 2 +- .../pc/games/microsoft/adventure/manifest.xml | 2 +- .../pc/games/microsoft/flightsim/manifest.xml | 2 +- disks/pc/minix/1.1/manifest.xml | 2 +- disks/pc/os2/ibm/1.0/machine.xml | 2 +- disks/pc/os2/ibm/1.0/manifest.xml | 2 +- disks/pc/os2/ibm/1.1/manifest.xml | 2 +- disks/pc/os2/ibm/1.3/manifest.xml | 2 +- disks/pc/os2/misc/1.0/debugger/machine.xml | 2 +- disks/pc/os2/misc/manifest.xml | 2 +- .../pc/tools/borland/pascal/3.0/manifest.xml | 2 +- disks/pc/tools/microsoft/basic/manifest.xml | 2 +- disks/pc/tools/microsoft/c/4.00/manifest.xml | 2 +- .../pc/tools/microsoft/masm/4.00/manifest.xml | 2 +- .../tools/microsoft/mouse/5.00/manifest.xml | 2 +- .../microsoft/windows/sdk/1.01/manifest.xml | 2 +- .../microsoft/windows/sdk/1.04/manifest.xml | 2 +- .../microsoft/windows/sdk/2.03/manifest.xml | 2 +- disks/pc/unix/ibm/pcix/manifest.xml | 2 +- disks/pc/windows/1.01/manifest.xml | 2 +- disks/pc/windows/1.03/manifest.xml | 2 +- disks/pc/windows/1.03a/manifest.xml | 2 +- disks/pc/windows/1.04/manifest.xml | 2 +- disks/pc/windows/2.03/manifest.xml | 2 +- disks/pc/windows/wincomm/manifest.xml | 2 +- disks/pc/xenix/sco/8086/2.1.3/manifest.xml | 2 +- docs/about/README.md | 2 +- docs/pcjs/demos/README.md | 2 +- docs/pcjs/demos/components.xsl | 4 +- docs/pcjs/demos/pc-dbg.js | 83 +- docs/pcjs/demos/pc.js | 306 +++--- modules/c1pjs/lib/computer.js | 4 +- modules/c1pjs/lib/cpu.js | 2 +- modules/c1pjs/lib/debugger.js | 2 +- modules/c1pjs/lib/defines.js | 2 +- modules/c1pjs/lib/disk.js | 2 +- modules/c1pjs/lib/keyboard.js | 2 +- modules/c1pjs/lib/nodebugger.js | 2 +- modules/c1pjs/lib/panel.js | 2 +- modules/c1pjs/lib/ram.js | 2 +- modules/c1pjs/lib/rom.js | 2 +- modules/c1pjs/lib/serial.js | 2 +- modules/c1pjs/lib/video.js | 2 +- modules/c1pjs/templates/components.xsl | 2 +- modules/diskdump/bin/diskdump | 4 +- modules/diskdump/lib/diskdump.js | 4 +- modules/filedump/bin/filedump | 4 +- modules/filedump/lib/filedump.js | 4 +- modules/grunts/prepjs/tasks/prepjs.js | 2 +- modules/htmlout/bin/htmlout | 4 +- modules/htmlout/lib/htmlout.js | 4 +- modules/htmlout/lib/httpapi.js | 2 +- modules/markout/bin/markout | 4 +- modules/markout/lib/markout.js | 2 +- modules/pcjs/bin/fptest.js | 2 +- modules/pcjs/bin/pcjs | 2 +- modules/pcjs/bin/x86gen.js | 2 +- modules/pcjs/lib/bus.js | 2 +- modules/pcjs/lib/chipset.js | 174 +-- modules/pcjs/lib/computer.js | 48 +- modules/pcjs/lib/cpu.js | 2 +- modules/pcjs/lib/debugger.js | 2 +- modules/pcjs/lib/defines.js | 2 +- modules/pcjs/lib/disk.js | 54 +- modules/pcjs/lib/fdc.js | 50 +- modules/pcjs/lib/hdc.js | 114 +- modules/pcjs/lib/interrupts.js | 2 +- modules/pcjs/lib/keyboard.js | 46 +- modules/pcjs/lib/memory.js | 2 +- modules/pcjs/lib/messages.js | 2 +- modules/pcjs/lib/mouse.js | 12 +- modules/pcjs/lib/nodebugger.js | 2 +- modules/pcjs/lib/panel.js | 2 +- modules/pcjs/lib/ram.js | 2 +- modules/pcjs/lib/rom.js | 2 +- modules/pcjs/lib/serialport.js | 24 +- modules/pcjs/lib/state.js | 12 +- modules/pcjs/lib/video.js | 96 +- modules/pcjs/lib/x86.js | 15 +- modules/pcjs/lib/x86cpu.js | 14 +- modules/pcjs/lib/x86grps.js | 2 +- modules/pcjs/lib/x86help.js | 12 +- modules/pcjs/lib/x86mods.js | 2 +- modules/pcjs/lib/x86op0f.js | 2 +- modules/pcjs/lib/x86opxx.js | 4 +- modules/pcjs/lib/x86seg.js | 2 +- modules/pcjs/templates/components.xsl | 2 +- modules/shared/lib/component.js | 10 +- modules/shared/lib/defines.js | 2 +- modules/shared/lib/diskapi.js | 2 +- modules/shared/lib/dumpapi.js | 2 +- modules/shared/lib/embed.js | 2 +- modules/shared/lib/externs.js | 2 +- modules/shared/lib/netlib.js | 2 +- modules/shared/lib/nodebug.js | 2 +- modules/shared/lib/proclib.js | 2 +- modules/shared/lib/reportapi.js | 2 +- modules/shared/lib/sockets.js | 2 +- modules/shared/lib/strlib.js | 2 +- modules/shared/lib/userapi.js | 2 +- modules/shared/lib/usrlib.js | 2 +- modules/shared/lib/weblib.js | 2 +- modules/shared/templates/common.xsl | 2 +- pubs/pc/programming/manifest.xml | 2 +- .../reference/ibm/5150/techref/manifest.xml | 2 +- .../reference/ibm/5160/techref/manifest.xml | 2 +- pubs/pc/reference/ibm/5170/setup/manifest.xml | 2 +- .../reference/ibm/5170/techref/manifest.xml | 2 +- pubs/pc/reference/ibm/ega/manifest.xml | 2 +- pubs/pc/reference/ibm/ps2/manifest.xml | 2 +- pubs/pc/reference/intel/80286/manifest.xml | 2 +- pubs/pc/software/os2/sdk10/manifest.xml | 2 +- pubs/pc/software/windows/sdk20/manifest.xml | 2 +- server.js | 2 +- versions/c1pjs/1.16.5/c1p-dbg.js | 171 +++ versions/c1pjs/1.16.5/c1p.js | 130 +++ versions/c1pjs/1.16.5/common.css | 259 +++++ versions/c1pjs/1.16.5/common.xsl | 46 + versions/c1pjs/1.16.5/components.css | 106 ++ versions/c1pjs/1.16.5/components.xsl | 571 ++++++++++ versions/c1pjs/1.16.5/document.css | 162 +++ versions/c1pjs/1.16.5/document.xsl | 450 ++++++++ versions/c1pjs/1.16.5/machine.xsl | 49 + versions/c1pjs/1.16.5/manifest.xsl | 247 +++++ versions/c1pjs/1.16.5/outline.xsl | 47 + versions/pcjs/1.16.5/common.css | 259 +++++ versions/pcjs/1.16.5/common.xsl | 46 + versions/pcjs/1.16.5/components.css | 129 +++ versions/pcjs/1.16.5/components.xsl | 998 ++++++++++++++++++ versions/pcjs/1.16.5/document.css | 162 +++ versions/pcjs/1.16.5/document.xsl | 450 ++++++++ versions/pcjs/1.16.5/machine.xsl | 49 + versions/pcjs/1.16.5/manifest.xsl | 247 +++++ versions/pcjs/1.16.5/outline.xsl | 47 + versions/pcjs/1.16.5/pc-dbg.js | 790 ++++++++++++++ versions/pcjs/1.16.5/pc.js | 672 ++++++++++++ 217 files changed, 6813 insertions(+), 722 deletions(-) create mode 100644 versions/c1pjs/1.16.5/c1p-dbg.js create mode 100644 versions/c1pjs/1.16.5/c1p.js create mode 100644 versions/c1pjs/1.16.5/common.css create mode 100644 versions/c1pjs/1.16.5/common.xsl create mode 100644 versions/c1pjs/1.16.5/components.css create mode 100644 versions/c1pjs/1.16.5/components.xsl create mode 100644 versions/c1pjs/1.16.5/document.css create mode 100644 versions/c1pjs/1.16.5/document.xsl create mode 100644 versions/c1pjs/1.16.5/machine.xsl create mode 100644 versions/c1pjs/1.16.5/manifest.xsl create mode 100644 versions/c1pjs/1.16.5/outline.xsl create mode 100644 versions/pcjs/1.16.5/common.css create mode 100644 versions/pcjs/1.16.5/common.xsl create mode 100644 versions/pcjs/1.16.5/components.css create mode 100644 versions/pcjs/1.16.5/components.xsl create mode 100644 versions/pcjs/1.16.5/document.css create mode 100644 versions/pcjs/1.16.5/document.xsl create mode 100644 versions/pcjs/1.16.5/machine.xsl create mode 100644 versions/pcjs/1.16.5/manifest.xsl create mode 100644 versions/pcjs/1.16.5/outline.xsl create mode 100644 versions/pcjs/1.16.5/pc-dbg.js create mode 100644 versions/pcjs/1.16.5/pc.js diff --git a/Gruntfile.js b/Gruntfile.js index 5f08d38f33..bbe94b2b63 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-03-11 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/README.md b/README.md index bde2789039..30e612329a 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ or (at your option) any later version. You are required to include the following copyright notice, with a link to [http://pcjs.org](): -> [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) +> [PCjs](http://pcjs.org) © 2012-2015 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) in every source code file of every copy or modified version of this work, and to display that notice on every web page or computer that runs any version of this software. diff --git a/apps/pc/1981/visicalc/manifest.xml b/apps/pc/1981/visicalc/manifest.xml index 9e8483ef66..da4a2f50ec 100644 --- a/apps/pc/1981/visicalc/manifest.xml +++ b/apps/pc/1981/visicalc/manifest.xml @@ -1,5 +1,5 @@ - + VisiCalc diff --git a/apps/pc/1982/esuite/manifest.xml b/apps/pc/1982/esuite/manifest.xml index 845f0126a9..b91de34b86 100644 --- a/apps/pc/1982/esuite/manifest.xml +++ b/apps/pc/1982/esuite/manifest.xml @@ -1,5 +1,5 @@ - + Executive Suite diff --git a/apps/pc/1985/rogue/manifest.xml b/apps/pc/1985/rogue/manifest.xml index 8e530f5c94..91123581b9 100644 --- a/apps/pc/1985/rogue/manifest.xml +++ b/apps/pc/1985/rogue/manifest.xml @@ -1,5 +1,5 @@ - + Rogue diff --git a/apps/pc/1987/thinktank/manifest.xml b/apps/pc/1987/thinktank/manifest.xml index c707d548d5..bce0ed15db 100644 --- a/apps/pc/1987/thinktank/manifest.xml +++ b/apps/pc/1987/thinktank/manifest.xml @@ -1,5 +1,5 @@ - + ThinkTank 2.41NP diff --git a/apps/pc/1988/moria/manifest.xml b/apps/pc/1988/moria/manifest.xml index fbe62b7861..d08c923c83 100644 --- a/apps/pc/1988/moria/manifest.xml +++ b/apps/pc/1988/moria/manifest.xml @@ -1,5 +1,5 @@ - + The Dungeons of Moria 4.872 diff --git a/apps/pc/1992/moria/manifest.xml b/apps/pc/1992/moria/manifest.xml index 91e8328373..abcb159c79 100644 --- a/apps/pc/1992/moria/manifest.xml +++ b/apps/pc/1992/moria/manifest.xml @@ -1,5 +1,5 @@ - + The Dungeons of Moria 5.5 diff --git a/devices/c1p/machine/32kb/machine.xml b/devices/c1p/machine/32kb/machine.xml index 91f6cbf9e1..3004a76f43 100644 --- a/devices/c1p/machine/32kb/machine.xml +++ b/devices/c1p/machine/32kb/machine.xml @@ -1,5 +1,5 @@ - + OSI Challenger 1P (32Kb) with Disk Support diff --git a/devices/c1p/machine/8kb/all/debugger/machine.xml b/devices/c1p/machine/8kb/all/debugger/machine.xml index d62e40ce73..c7ad9bcd0c 100644 --- a/devices/c1p/machine/8kb/all/debugger/machine.xml +++ b/devices/c1p/machine/8kb/all/debugger/machine.xml @@ -1,5 +1,5 @@ - + OSI Challenger 1P (8Kb, More Programs) diff --git a/devices/c1p/machine/8kb/array/machine.xml b/devices/c1p/machine/8kb/array/machine.xml index 7526441508..1bb23c815f 100644 --- a/devices/c1p/machine/8kb/array/machine.xml +++ b/devices/c1p/machine/8kb/array/machine.xml @@ -1,5 +1,5 @@ - + Challenger 1P (8Kb) "Server Array" diff --git a/devices/c1p/machine/8kb/large/debugger/local.html b/devices/c1p/machine/8kb/large/debugger/local.html index 6a81aabd18..42bf03c409 100644 --- a/devices/c1p/machine/8kb/large/debugger/local.html +++ b/devices/c1p/machine/8kb/large/debugger/local.html @@ -45,7 +45,7 @@

Directory of C:\PCJS.ORG\DEVICES\C1P\MACHIN

diff --git a/devices/c1p/machine/8kb/large/debugger/machine.xml b/devices/c1p/machine/8kb/large/debugger/machine.xml index a3273ba396..f625fd99bc 100644 --- a/devices/c1p/machine/8kb/large/debugger/machine.xml +++ b/devices/c1p/machine/8kb/large/debugger/machine.xml @@ -1,5 +1,5 @@ - + OSI Challenger 1P (8Kb) with Debugger diff --git a/devices/c1p/machine/8kb/large/machine.xml b/devices/c1p/machine/8kb/large/machine.xml index 2339746b4c..4cf70e4922 100644 --- a/devices/c1p/machine/8kb/large/machine.xml +++ b/devices/c1p/machine/8kb/large/machine.xml @@ -1,5 +1,5 @@ - + OSI Challenger 1P (circa 1978) diff --git a/devices/c1p/machine/8kb/small/machine.xml b/devices/c1p/machine/8kb/small/machine.xml index 8d500864e8..9474868db9 100644 --- a/devices/c1p/machine/8kb/small/machine.xml +++ b/devices/c1p/machine/8kb/small/machine.xml @@ -1,5 +1,5 @@ - + diff --git a/devices/pc/machine/5150/cga/384kb/softkbd/machine.xml b/devices/pc/machine/5150/cga/384kb/softkbd/machine.xml index 2e02aaec91..3ae625fe4f 100644 --- a/devices/pc/machine/5150/cga/384kb/softkbd/machine.xml +++ b/devices/pc/machine/5150/cga/384kb/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150), CGA, 384K diff --git a/devices/pc/machine/5150/cga/64kb/donkey/debugger/machine.xml b/devices/pc/machine/5150/cga/64kb/donkey/debugger/machine.xml index 76c78a04ee..3f16a2815b 100644 --- a/devices/pc/machine/5150/cga/64kb/donkey/debugger/machine.xml +++ b/devices/pc/machine/5150/cga/64kb/donkey/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150), CGA, 64K diff --git a/devices/pc/machine/5150/cga/64kb/donkey/machine.xml b/devices/pc/machine/5150/cga/64kb/donkey/machine.xml index 95c6def041..86f4a53dc1 100644 --- a/devices/pc/machine/5150/cga/64kb/donkey/machine.xml +++ b/devices/pc/machine/5150/cga/64kb/donkey/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150), CGA, 64K diff --git a/devices/pc/machine/5150/cga/64kb/softkbd/machine.xml b/devices/pc/machine/5150/cga/64kb/softkbd/machine.xml index 587265b878..88aa2eb872 100644 --- a/devices/pc/machine/5150/cga/64kb/softkbd/machine.xml +++ b/devices/pc/machine/5150/cga/64kb/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150), CGA, 64K diff --git a/devices/pc/machine/5150/mda/64kb/debugger/machine.xml b/devices/pc/machine/5150/mda/64kb/debugger/machine.xml index f4b1755b3b..f2bb8f0207 100644 --- a/devices/pc/machine/5150/mda/64kb/debugger/machine.xml +++ b/devices/pc/machine/5150/mda/64kb/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC Model 5150 with Monochrome Display diff --git a/devices/pc/machine/5150/mda/64kb/machine.xml b/devices/pc/machine/5150/mda/64kb/machine.xml index 827e373cc3..f2c74811b6 100644 --- a/devices/pc/machine/5150/mda/64kb/machine.xml +++ b/devices/pc/machine/5150/mda/64kb/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150) with Monochrome Display diff --git a/devices/pc/machine/5150/mda/64kb/softkbd/machine.xml b/devices/pc/machine/5150/mda/64kb/softkbd/machine.xml index 58fb6599fe..9642bed643 100644 --- a/devices/pc/machine/5150/mda/64kb/softkbd/machine.xml +++ b/devices/pc/machine/5150/mda/64kb/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150), MDA, 64K diff --git a/devices/pc/machine/5160/cga/256kb/array/machine.xml b/devices/pc/machine/5160/cga/256kb/array/machine.xml index e80cef1c88..1248a9eebf 100644 --- a/devices/pc/machine/5160/cga/256kb/array/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/array/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/256kb/demo/debugger/machine.xml b/devices/pc/machine/5160/cga/256kb/demo/debugger/machine.xml index b3747121cc..f36efbfa2d 100644 --- a/devices/pc/machine/5160/cga/256kb/demo/debugger/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/demo/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/256kb/demo/machine.xml b/devices/pc/machine/5160/cga/256kb/demo/machine.xml index edb16a7693..18560d8823 100644 --- a/devices/pc/machine/5160/cga/256kb/demo/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/demo/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/256kb/softkbd/machine.xml b/devices/pc/machine/5160/cga/256kb/softkbd/machine.xml index 9d861bf3c1..38ce72408c 100644 --- a/devices/pc/machine/5160/cga/256kb/softkbd/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/256kb/win101/debugger/machine.xml b/devices/pc/machine/5160/cga/256kb/win101/debugger/machine.xml index 8b3a3044f4..503b5545de 100644 --- a/devices/pc/machine/5160/cga/256kb/win101/debugger/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/win101/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160) running Windows v1.01 diff --git a/devices/pc/machine/5160/cga/256kb/win101/machine.xml b/devices/pc/machine/5160/cga/256kb/win101/machine.xml index b2198a15f1..09f6d3cbb6 100644 --- a/devices/pc/machine/5160/cga/256kb/win101/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/win101/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160) running Windows v1.01 diff --git a/devices/pc/machine/5160/cga/256kb/win101/softkbd/machine.xml b/devices/pc/machine/5160/cga/256kb/win101/softkbd/machine.xml index f81fc0e217..f377bd50be 100644 --- a/devices/pc/machine/5160/cga/256kb/win101/softkbd/machine.xml +++ b/devices/pc/machine/5160/cga/256kb/win101/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 256K, WIN101 diff --git a/devices/pc/machine/5160/cga/512kb/win101/softkbd/machine.xml b/devices/pc/machine/5160/cga/512kb/win101/softkbd/machine.xml index df19029a38..249637c9fd 100644 --- a/devices/pc/machine/5160/cga/512kb/win101/softkbd/machine.xml +++ b/devices/pc/machine/5160/cga/512kb/win101/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 512K, WIN101 diff --git a/devices/pc/machine/5160/cga/640kb/debugger/machine.xml b/devices/pc/machine/5160/cga/640kb/debugger/machine.xml index 1a5813e334..5023459cef 100644 --- a/devices/pc/machine/5160/cga/640kb/debugger/machine.xml +++ b/devices/pc/machine/5160/cga/640kb/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/640kb/dos400m/machine.xml b/devices/pc/machine/5160/cga/640kb/dos400m/machine.xml index 81084bad95..1568cba283 100644 --- a/devices/pc/machine/5160/cga/640kb/dos400m/machine.xml +++ b/devices/pc/machine/5160/cga/640kb/dos400m/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive diff --git a/devices/pc/machine/5160/cga/640kb/machine.xml b/devices/pc/machine/5160/cga/640kb/machine.xml index 65bcd40c59..3c7b86e77a 100644 --- a/devices/pc/machine/5160/cga/640kb/machine.xml +++ b/devices/pc/machine/5160/cga/640kb/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive diff --git a/devices/pc/machine/5160/ega/256kb/debugger/machine.xml b/devices/pc/machine/5160/ega/256kb/debugger/machine.xml index ee77d5a47b..2277933610 100644 --- a/devices/pc/machine/5160/ega/256kb/debugger/machine.xml +++ b/devices/pc/machine/5160/ega/256kb/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), 64K EGA, 256K RAM, 10Mb Hard Drive diff --git a/devices/pc/machine/5160/ega/640kb/array/machine.xml b/devices/pc/machine/5160/ega/640kb/array/machine.xml index dc0cd17d5d..55a89643d9 100644 --- a/devices/pc/machine/5160/ega/640kb/array/machine.xml +++ b/devices/pc/machine/5160/ega/640kb/array/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive diff --git a/devices/pc/machine/5160/ega/640kb/debugger/machine.xml b/devices/pc/machine/5160/ega/640kb/debugger/machine.xml index ea00245cae..1e8eaf3d75 100644 --- a/devices/pc/machine/5160/ega/640kb/debugger/machine.xml +++ b/devices/pc/machine/5160/ega/640kb/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive diff --git a/devices/pc/machine/5160/ega/640kb/machine.xml b/devices/pc/machine/5160/ega/640kb/machine.xml index b1ba872754..6eed6535c3 100644 --- a/devices/pc/machine/5160/ega/640kb/machine.xml +++ b/devices/pc/machine/5160/ega/640kb/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive diff --git a/devices/pc/machine/5160/ega/640kb/win101/machine.xml b/devices/pc/machine/5160/ega/640kb/win101/machine.xml index 856c80df26..18c1c9d7f4 100644 --- a/devices/pc/machine/5160/ega/640kb/win101/machine.xml +++ b/devices/pc/machine/5160/ega/640kb/win101/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive diff --git a/devices/pc/machine/5160/mda/256kb/fake188/debugger/machine.xml b/devices/pc/machine/5160/mda/256kb/fake188/debugger/machine.xml index 2127ed062c..589f73468e 100644 --- a/devices/pc/machine/5160/mda/256kb/fake188/debugger/machine.xml +++ b/devices/pc/machine/5160/mda/256kb/fake188/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), MDA, 256Kb, 10Mb Drive diff --git a/devices/pc/machine/5160/mda/256kb/fake188/machine.xml b/devices/pc/machine/5160/mda/256kb/fake188/machine.xml index a1aa683adb..932407235c 100644 --- a/devices/pc/machine/5160/mda/256kb/fake188/machine.xml +++ b/devices/pc/machine/5160/mda/256kb/fake188/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), MDA, 256Kb, 10Mb Drive diff --git a/devices/pc/machine/5160/mda/256kb/machine.xml b/devices/pc/machine/5160/mda/256kb/machine.xml index ccb36065db..af66d184fa 100644 --- a/devices/pc/machine/5160/mda/256kb/machine.xml +++ b/devices/pc/machine/5160/mda/256kb/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), MDA, 256Kb, 10Mb Drive diff --git a/devices/pc/machine/5160/mda/64kb/softkbd/machine.xml b/devices/pc/machine/5160/mda/64kb/softkbd/machine.xml index c1eb8dc18b..de4ad7b805 100644 --- a/devices/pc/machine/5160/mda/64kb/softkbd/machine.xml +++ b/devices/pc/machine/5160/mda/64kb/softkbd/machine.xml @@ -1,5 +1,5 @@ - + IBM PC XT (Model 5160), MDA, 64K, 10Mb Drive diff --git a/devices/pc/machine/5170/ega/1152kb/rev1/machine.xml b/devices/pc/machine/5170/ega/1152kb/rev1/machine.xml index 5a28daf0dd..91e77d17e0 100644 --- a/devices/pc/machine/5170/ega/1152kb/rev1/machine.xml +++ b/devices/pc/machine/5170/ega/1152kb/rev1/machine.xml @@ -1,5 +1,5 @@ - + IBM PC AT (6Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk diff --git a/devices/pc/machine/5170/ega/1152kb/rev3/machine.xml b/devices/pc/machine/5170/ega/1152kb/rev3/machine.xml index 4681bb2c9b..6a28e971df 100644 --- a/devices/pc/machine/5170/ega/1152kb/rev3/machine.xml +++ b/devices/pc/machine/5170/ega/1152kb/rev3/machine.xml @@ -1,5 +1,5 @@ - + IBM PC AT (8Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk diff --git a/devices/pc/machine/5170/ega/640kb/rev1/machine.xml b/devices/pc/machine/5170/ega/640kb/rev1/machine.xml index ddfb09ffc8..ef22360367 100644 --- a/devices/pc/machine/5170/ega/640kb/rev1/machine.xml +++ b/devices/pc/machine/5170/ega/640kb/rev1/machine.xml @@ -1,5 +1,5 @@ - + IBM PC AT, 128K EGA, 640K RAM diff --git a/devices/pc/machine/5170/ega/640kb/rev1/manifest.xml b/devices/pc/machine/5170/ega/640kb/rev1/manifest.xml index fddcc2acf1..3e7f33fc5b 100644 --- a/devices/pc/machine/5170/ega/640kb/rev1/manifest.xml +++ b/devices/pc/machine/5170/ega/640kb/rev1/manifest.xml @@ -1,5 +1,5 @@ - + IBM PC AT References diff --git a/disks/pc/apps/lotus/123/1.0a/manifest.xml b/disks/pc/apps/lotus/123/1.0a/manifest.xml index 21197dd530..3bf73f6ecd 100644 --- a/disks/pc/apps/lotus/123/1.0a/manifest.xml +++ b/disks/pc/apps/lotus/123/1.0a/manifest.xml @@ -1,5 +1,5 @@ - + 1-2-3 1.0a diff --git a/disks/pc/apps/microsoft/winword/2.0c/manifest.xml b/disks/pc/apps/microsoft/winword/2.0c/manifest.xml index 67de4c0003..e672fcad33 100644 --- a/disks/pc/apps/microsoft/winword/2.0c/manifest.xml +++ b/disks/pc/apps/microsoft/winword/2.0c/manifest.xml @@ -1,5 +1,5 @@ - + Word for Windows 2.0c diff --git a/disks/pc/apps/microsoft/word/3.0/manifest.xml b/disks/pc/apps/microsoft/word/3.0/manifest.xml index 64ba8cfb73..cd08ced9a6 100644 --- a/disks/pc/apps/microsoft/word/3.0/manifest.xml +++ b/disks/pc/apps/microsoft/word/3.0/manifest.xml @@ -1,5 +1,5 @@ - + MS Word 3.0 diff --git a/disks/pc/apps/microsoft/word/3.1/manifest.xml b/disks/pc/apps/microsoft/word/3.1/manifest.xml index 0420f6e876..be8d0c3a38 100644 --- a/disks/pc/apps/microsoft/word/3.1/manifest.xml +++ b/disks/pc/apps/microsoft/word/3.1/manifest.xml @@ -1,5 +1,5 @@ - + MS Word 3.1 diff --git a/disks/pc/apps/microsoft/word/5.0/manifest.xml b/disks/pc/apps/microsoft/word/5.0/manifest.xml index 5637d8c16d..d9db712bca 100644 --- a/disks/pc/apps/microsoft/word/5.0/manifest.xml +++ b/disks/pc/apps/microsoft/word/5.0/manifest.xml @@ -1,5 +1,5 @@ - + MS Word 5.0 diff --git a/disks/pc/cpm/machine.xml b/disks/pc/cpm/machine.xml index 75f7e28d7d..72026878ca 100644 --- a/disks/pc/cpm/machine.xml +++ b/disks/pc/cpm/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150) running CP/M-86 diff --git a/disks/pc/cpm/manifest.xml b/disks/pc/cpm/manifest.xml index c6baee4dbe..b001ffa493 100644 --- a/disks/pc/cpm/manifest.xml +++ b/disks/pc/cpm/manifest.xml @@ -1,5 +1,5 @@ - + CP/M-86 1.1B diff --git a/disks/pc/diags/ibm/2.20/machine.xml b/disks/pc/diags/ibm/2.20/machine.xml index cff0caabee..bf34c934b7 100644 --- a/disks/pc/diags/ibm/2.20/machine.xml +++ b/disks/pc/diags/ibm/2.20/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150) running IBM Advanced Diagnostics 2.20 diff --git a/disks/pc/diags/ibm/2.20/manifest.xml b/disks/pc/diags/ibm/2.20/manifest.xml index cfaf223f2b..e2da48eb55 100644 --- a/disks/pc/diags/ibm/2.20/manifest.xml +++ b/disks/pc/diags/ibm/2.20/manifest.xml @@ -1,5 +1,5 @@ - + IBM Advanced Diagnostics 2.20 diff --git a/disks/pc/dos/compaq/3.10/manifest.xml b/disks/pc/dos/compaq/3.10/manifest.xml index f4a7dc14e3..087990d050 100644 --- a/disks/pc/dos/compaq/3.10/manifest.xml +++ b/disks/pc/dos/compaq/3.10/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 3.10 diff --git a/disks/pc/dos/compaq/3.31/manifest.xml b/disks/pc/dos/compaq/3.31/manifest.xml index b9670a71ce..c084dc09d3 100644 --- a/disks/pc/dos/compaq/3.31/manifest.xml +++ b/disks/pc/dos/compaq/3.31/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 3.31 diff --git a/disks/pc/dos/ibm/1.00/manifest.xml b/disks/pc/dos/ibm/1.00/manifest.xml index b214370232..e9301c2490 100644 --- a/disks/pc/dos/ibm/1.00/manifest.xml +++ b/disks/pc/dos/ibm/1.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 1.00 diff --git a/disks/pc/dos/ibm/1.10/manifest.xml b/disks/pc/dos/ibm/1.10/manifest.xml index 686bd8592b..2869ecca4c 100644 --- a/disks/pc/dos/ibm/1.10/manifest.xml +++ b/disks/pc/dos/ibm/1.10/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 1.10 diff --git a/disks/pc/dos/ibm/2.00/manifest.xml b/disks/pc/dos/ibm/2.00/manifest.xml index 90e83ef1da..06ea41efe5 100644 --- a/disks/pc/dos/ibm/2.00/manifest.xml +++ b/disks/pc/dos/ibm/2.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 2.00 diff --git a/disks/pc/dos/ibm/2.10/manifest.xml b/disks/pc/dos/ibm/2.10/manifest.xml index c552c60bc9..d325e8d75d 100644 --- a/disks/pc/dos/ibm/2.10/manifest.xml +++ b/disks/pc/dos/ibm/2.10/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 2.10 diff --git a/disks/pc/dos/ibm/3.00/manifest.xml b/disks/pc/dos/ibm/3.00/manifest.xml index 8829df0182..d53af075ea 100644 --- a/disks/pc/dos/ibm/3.00/manifest.xml +++ b/disks/pc/dos/ibm/3.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 3.00 diff --git a/disks/pc/dos/ibm/3.10/manifest.xml b/disks/pc/dos/ibm/3.10/manifest.xml index e114eb20f8..2285a741e0 100644 --- a/disks/pc/dos/ibm/3.10/manifest.xml +++ b/disks/pc/dos/ibm/3.10/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 3.10 diff --git a/disks/pc/dos/ibm/3.20/manifest.xml b/disks/pc/dos/ibm/3.20/manifest.xml index ef71eec095..927ca6158e 100644 --- a/disks/pc/dos/ibm/3.20/manifest.xml +++ b/disks/pc/dos/ibm/3.20/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 3.20 diff --git a/disks/pc/dos/ibm/3.30/manifest.xml b/disks/pc/dos/ibm/3.30/manifest.xml index 03b9d094a5..36e3d776bd 100644 --- a/disks/pc/dos/ibm/3.30/manifest.xml +++ b/disks/pc/dos/ibm/3.30/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 3.30 diff --git a/disks/pc/dos/ibm/4.00/manifest.xml b/disks/pc/dos/ibm/4.00/manifest.xml index 6a854f308f..6cc66865cc 100644 --- a/disks/pc/dos/ibm/4.00/manifest.xml +++ b/disks/pc/dos/ibm/4.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 4.00 diff --git a/disks/pc/dos/ibm/5.00/manifest.xml b/disks/pc/dos/ibm/5.00/manifest.xml index 978c3c4a82..b34ac84f60 100644 --- a/disks/pc/dos/ibm/5.00/manifest.xml +++ b/disks/pc/dos/ibm/5.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 5.00 diff --git a/disks/pc/dos/ibm/6.10/manifest.xml b/disks/pc/dos/ibm/6.10/manifest.xml index 84c027f3c7..2ebb07e81b 100644 --- a/disks/pc/dos/ibm/6.10/manifest.xml +++ b/disks/pc/dos/ibm/6.10/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 6.10 diff --git a/disks/pc/dos/ibm/7.00/manifest.xml b/disks/pc/dos/ibm/7.00/manifest.xml index e9ae9231a1..659e49e728 100644 --- a/disks/pc/dos/ibm/7.00/manifest.xml +++ b/disks/pc/dos/ibm/7.00/manifest.xml @@ -1,5 +1,5 @@ - + PC-DOS 7.00 diff --git a/disks/pc/dos/microsoft/3.20/manifest.xml b/disks/pc/dos/microsoft/3.20/manifest.xml index 052f442b3d..96aea6dc0a 100644 --- a/disks/pc/dos/microsoft/3.20/manifest.xml +++ b/disks/pc/dos/microsoft/3.20/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 3.20 diff --git a/disks/pc/dos/microsoft/3.30/manifest.xml b/disks/pc/dos/microsoft/3.30/manifest.xml index 116d359283..f3510c192c 100644 --- a/disks/pc/dos/microsoft/3.30/manifest.xml +++ b/disks/pc/dos/microsoft/3.30/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 3.30 diff --git a/disks/pc/dos/microsoft/4.01/manifest.xml b/disks/pc/dos/microsoft/4.01/manifest.xml index 2f7247ec29..c67121102e 100644 --- a/disks/pc/dos/microsoft/4.01/manifest.xml +++ b/disks/pc/dos/microsoft/4.01/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 4.01 diff --git a/disks/pc/dos/microsoft/4.0M/manifest.xml b/disks/pc/dos/microsoft/4.0M/manifest.xml index 620262b483..5ad02188a1 100644 --- a/disks/pc/dos/microsoft/4.0M/manifest.xml +++ b/disks/pc/dos/microsoft/4.0M/manifest.xml @@ -1,5 +1,5 @@ - + MS-DOS 4.0M diff --git a/disks/pc/games/infocom/hhiker/manifest.xml b/disks/pc/games/infocom/hhiker/manifest.xml index ccb446ec74..70e08c21c3 100644 --- a/disks/pc/games/infocom/hhiker/manifest.xml +++ b/disks/pc/games/infocom/hhiker/manifest.xml @@ -1,5 +1,5 @@ - + The Hitchhiker's Guide to the Galaxy diff --git a/disks/pc/games/infocom/machine-debug.xml b/disks/pc/games/infocom/machine-debug.xml index 46125ad3b5..c10cc3c2cd 100644 --- a/disks/pc/games/infocom/machine-debug.xml +++ b/disks/pc/games/infocom/machine-debug.xml @@ -1,5 +1,5 @@ - + IBM PC Model 5150 (CGA, 64K) diff --git a/disks/pc/games/infocom/machine.xml b/disks/pc/games/infocom/machine.xml index df60afd2be..57ca3ed29a 100644 --- a/disks/pc/games/infocom/machine.xml +++ b/disks/pc/games/infocom/machine.xml @@ -1,5 +1,5 @@ - + IBM PC Model 5150 (CGA, 64K) diff --git a/disks/pc/games/infocom/planet/manifest.xml b/disks/pc/games/infocom/planet/manifest.xml index ca89f6e7b7..8d814085da 100644 --- a/disks/pc/games/infocom/planet/manifest.xml +++ b/disks/pc/games/infocom/planet/manifest.xml @@ -1,5 +1,5 @@ - + Planetfall diff --git a/disks/pc/games/infocom/zork1/debugger/machine.xml b/disks/pc/games/infocom/zork1/debugger/machine.xml index a43db6605f..87c2dd5c42 100644 --- a/disks/pc/games/infocom/zork1/debugger/machine.xml +++ b/disks/pc/games/infocom/zork1/debugger/machine.xml @@ -1,5 +1,5 @@ - + Zork I (IBM PC Model 5150) diff --git a/disks/pc/games/infocom/zork1/manifest.xml b/disks/pc/games/infocom/zork1/manifest.xml index b9014736a4..3fe7c8810c 100644 --- a/disks/pc/games/infocom/zork1/manifest.xml +++ b/disks/pc/games/infocom/zork1/manifest.xml @@ -1,5 +1,5 @@ - + Zork I diff --git a/disks/pc/games/infocom/zork2/manifest.xml b/disks/pc/games/infocom/zork2/manifest.xml index 04499c04c2..44e7eafe43 100644 --- a/disks/pc/games/infocom/zork2/manifest.xml +++ b/disks/pc/games/infocom/zork2/manifest.xml @@ -1,5 +1,5 @@ - + Zork II diff --git a/disks/pc/games/infocom/zork3/manifest.xml b/disks/pc/games/infocom/zork3/manifest.xml index c0f4ce68bf..857b45a8a8 100644 --- a/disks/pc/games/infocom/zork3/manifest.xml +++ b/disks/pc/games/infocom/zork3/manifest.xml @@ -1,5 +1,5 @@ - + Zork III diff --git a/disks/pc/games/microsoft/adventure/machine.xml b/disks/pc/games/microsoft/adventure/machine.xml index 167fab502e..5bfc7449e0 100644 --- a/disks/pc/games/microsoft/adventure/machine.xml +++ b/disks/pc/games/microsoft/adventure/machine.xml @@ -1,5 +1,5 @@ - + IBM PC (Model 5150) running Microsoft Adventure diff --git a/disks/pc/games/microsoft/adventure/manifest.xml b/disks/pc/games/microsoft/adventure/manifest.xml index e1fc9aa1db..7f269afd75 100644 --- a/disks/pc/games/microsoft/adventure/manifest.xml +++ b/disks/pc/games/microsoft/adventure/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Adventure 1.00 diff --git a/disks/pc/games/microsoft/flightsim/manifest.xml b/disks/pc/games/microsoft/flightsim/manifest.xml index bc270573f1..27fbc4d2cc 100644 --- a/disks/pc/games/microsoft/flightsim/manifest.xml +++ b/disks/pc/games/microsoft/flightsim/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Flight Simulator diff --git a/disks/pc/minix/1.1/manifest.xml b/disks/pc/minix/1.1/manifest.xml index 3ca40d2c26..a350082362 100644 --- a/disks/pc/minix/1.1/manifest.xml +++ b/disks/pc/minix/1.1/manifest.xml @@ -1,5 +1,5 @@ - + MINIX 1.1 diff --git a/disks/pc/os2/ibm/1.0/machine.xml b/disks/pc/os2/ibm/1.0/machine.xml index 79f89d5951..847587ce25 100644 --- a/disks/pc/os2/ibm/1.0/machine.xml +++ b/disks/pc/os2/ibm/1.0/machine.xml @@ -1,5 +1,5 @@ - + IBM PC AT (8Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk diff --git a/disks/pc/os2/ibm/1.0/manifest.xml b/disks/pc/os2/ibm/1.0/manifest.xml index 4cf4eaf92c..7642b27aa5 100644 --- a/disks/pc/os2/ibm/1.0/manifest.xml +++ b/disks/pc/os2/ibm/1.0/manifest.xml @@ -1,5 +1,5 @@ - + IBM OS/2 1.0 diff --git a/disks/pc/os2/ibm/1.1/manifest.xml b/disks/pc/os2/ibm/1.1/manifest.xml index bacfa80466..b0c87466fb 100644 --- a/disks/pc/os2/ibm/1.1/manifest.xml +++ b/disks/pc/os2/ibm/1.1/manifest.xml @@ -1,5 +1,5 @@ - + IBM OS/2 1.1 diff --git a/disks/pc/os2/ibm/1.3/manifest.xml b/disks/pc/os2/ibm/1.3/manifest.xml index ddfe650881..3ad8794de2 100644 --- a/disks/pc/os2/ibm/1.3/manifest.xml +++ b/disks/pc/os2/ibm/1.3/manifest.xml @@ -1,5 +1,5 @@ - + IBM OS/2 1.3 diff --git a/disks/pc/os2/misc/1.0/debugger/machine.xml b/disks/pc/os2/misc/1.0/debugger/machine.xml index a9b9b21a36..f2ff7f2a79 100644 --- a/disks/pc/os2/misc/1.0/debugger/machine.xml +++ b/disks/pc/os2/misc/1.0/debugger/machine.xml @@ -1,5 +1,5 @@ - + IBM PC AT (8Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk diff --git a/disks/pc/os2/misc/manifest.xml b/disks/pc/os2/misc/manifest.xml index 91fec760e4..aa3d24a818 100644 --- a/disks/pc/os2/misc/manifest.xml +++ b/disks/pc/os2/misc/manifest.xml @@ -1,5 +1,5 @@ - + OS/2 Miscellaneous Disks diff --git a/disks/pc/tools/borland/pascal/3.0/manifest.xml b/disks/pc/tools/borland/pascal/3.0/manifest.xml index 09ce165492..95976e8420 100644 --- a/disks/pc/tools/borland/pascal/3.0/manifest.xml +++ b/disks/pc/tools/borland/pascal/3.0/manifest.xml @@ -1,5 +1,5 @@ - + Turbo Pascal diff --git a/disks/pc/tools/microsoft/basic/manifest.xml b/disks/pc/tools/microsoft/basic/manifest.xml index f340aeb2ba..b5ab245b0e 100644 --- a/disks/pc/tools/microsoft/basic/manifest.xml +++ b/disks/pc/tools/microsoft/basic/manifest.xml @@ -1,5 +1,5 @@ - + MS BASIC diff --git a/disks/pc/tools/microsoft/c/4.00/manifest.xml b/disks/pc/tools/microsoft/c/4.00/manifest.xml index ea5440c257..272afa08d1 100644 --- a/disks/pc/tools/microsoft/c/4.00/manifest.xml +++ b/disks/pc/tools/microsoft/c/4.00/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft C Compiler 4.00 diff --git a/disks/pc/tools/microsoft/masm/4.00/manifest.xml b/disks/pc/tools/microsoft/masm/4.00/manifest.xml index 6d5588ff4e..114afd04e4 100644 --- a/disks/pc/tools/microsoft/masm/4.00/manifest.xml +++ b/disks/pc/tools/microsoft/masm/4.00/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Macro Assember Tool diff --git a/disks/pc/tools/microsoft/mouse/5.00/manifest.xml b/disks/pc/tools/microsoft/mouse/5.00/manifest.xml index 35ca982418..d139628cfa 100644 --- a/disks/pc/tools/microsoft/mouse/5.00/manifest.xml +++ b/disks/pc/tools/microsoft/mouse/5.00/manifest.xml @@ -1,5 +1,5 @@ - + MS Mouse 5.00 diff --git a/disks/pc/tools/microsoft/windows/sdk/1.01/manifest.xml b/disks/pc/tools/microsoft/windows/sdk/1.01/manifest.xml index 60da191f55..397c90268b 100644 --- a/disks/pc/tools/microsoft/windows/sdk/1.01/manifest.xml +++ b/disks/pc/tools/microsoft/windows/sdk/1.01/manifest.xml @@ -1,5 +1,5 @@ - + Windows 1.01 SDK diff --git a/disks/pc/tools/microsoft/windows/sdk/1.04/manifest.xml b/disks/pc/tools/microsoft/windows/sdk/1.04/manifest.xml index 4518ec5ccf..74db1baa93 100644 --- a/disks/pc/tools/microsoft/windows/sdk/1.04/manifest.xml +++ b/disks/pc/tools/microsoft/windows/sdk/1.04/manifest.xml @@ -1,5 +1,5 @@ - + Windows 1.04 SDK os2museum.com diff --git a/disks/pc/tools/microsoft/windows/sdk/2.03/manifest.xml b/disks/pc/tools/microsoft/windows/sdk/2.03/manifest.xml index 9ad7e24ec4..793b1c9f1f 100644 --- a/disks/pc/tools/microsoft/windows/sdk/2.03/manifest.xml +++ b/disks/pc/tools/microsoft/windows/sdk/2.03/manifest.xml @@ -1,5 +1,5 @@ - + Windows 2.03 SDK os2museum.com diff --git a/disks/pc/unix/ibm/pcix/manifest.xml b/disks/pc/unix/ibm/pcix/manifest.xml index cda0ff2512..5e048ede5f 100644 --- a/disks/pc/unix/ibm/pcix/manifest.xml +++ b/disks/pc/unix/ibm/pcix/manifest.xml @@ -1,5 +1,5 @@ - + PC/IX 1.0 diff --git a/disks/pc/windows/1.01/manifest.xml b/disks/pc/windows/1.01/manifest.xml index a738bb3058..c5049ccf94 100644 --- a/disks/pc/windows/1.01/manifest.xml +++ b/disks/pc/windows/1.01/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows 1.01 diff --git a/disks/pc/windows/1.03/manifest.xml b/disks/pc/windows/1.03/manifest.xml index 66f0408ae8..1ed4a65eee 100644 --- a/disks/pc/windows/1.03/manifest.xml +++ b/disks/pc/windows/1.03/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows 1.03 diff --git a/disks/pc/windows/1.03a/manifest.xml b/disks/pc/windows/1.03a/manifest.xml index acb66b35c6..3dbc98cac1 100644 --- a/disks/pc/windows/1.03a/manifest.xml +++ b/disks/pc/windows/1.03a/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows 1.03a diff --git a/disks/pc/windows/1.04/manifest.xml b/disks/pc/windows/1.04/manifest.xml index 72d13be2ee..b26aebeec4 100644 --- a/disks/pc/windows/1.04/manifest.xml +++ b/disks/pc/windows/1.04/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows 1.04 os2museum.com diff --git a/disks/pc/windows/2.03/manifest.xml b/disks/pc/windows/2.03/manifest.xml index a4e6285a10..bb436871ee 100644 --- a/disks/pc/windows/2.03/manifest.xml +++ b/disks/pc/windows/2.03/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows 2.03 os2museum.com diff --git a/disks/pc/windows/wincomm/manifest.xml b/disks/pc/windows/wincomm/manifest.xml index 7d7a0ae3ae..ee7cc5f208 100644 --- a/disks/pc/windows/wincomm/manifest.xml +++ b/disks/pc/windows/wincomm/manifest.xml @@ -1,5 +1,5 @@ - + Windows COMM Driver (Source) diff --git a/disks/pc/xenix/sco/8086/2.1.3/manifest.xml b/disks/pc/xenix/sco/8086/2.1.3/manifest.xml index 321dc4d32b..a5f0efe90f 100644 --- a/disks/pc/xenix/sco/8086/2.1.3/manifest.xml +++ b/disks/pc/xenix/sco/8086/2.1.3/manifest.xml @@ -1,5 +1,5 @@ - + SCO Xenix 8086 Operating System v2.1.3 diff --git a/docs/about/README.md b/docs/about/README.md index e676741837..ec2978de63 100644 --- a/docs/about/README.md +++ b/docs/about/README.md @@ -71,7 +71,7 @@ or (at your option) any later version. You are required to include the following copyright notice, with a link to [http://pcjs.org](): -> [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) +> [PCjs](http://pcjs.org) © 2012-2015 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) in every source code file of every copy or modified version of this work, and to display that notice on every web page or computer that runs any version of this software. diff --git a/docs/pcjs/demos/README.md b/docs/pcjs/demos/README.md index b17dd6e8d3..47941cffc8 100644 --- a/docs/pcjs/demos/README.md +++ b/docs/pcjs/demos/README.md @@ -14,7 +14,7 @@ the "file:" or "http:" protocol. - [sample3b.html](sample3b.html) and [sample3b.xml](sample3b.xml) + Feel free to copy/paste additional components from other machine XML files on [pcjs.org](http://www.pcjs.org/). + Remember to display the appropriate attribution on anything you share publicly; e.g.: - [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) + [PCjs](http://pcjs.org) © 2012-2015 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) + Stay in sync with the [PCjs repository](https://github.com/jeffpar/pcjs), to keep your copy of PCjs up-to-date. Have fun! diff --git a/docs/pcjs/demos/components.xsl b/docs/pcjs/demos/components.xsl index af447b16f5..978cee62f3 100644 --- a/docs/pcjs/demos/components.xsl +++ b/docs/pcjs/demos/components.xsl @@ -8,7 +8,7 @@ pc pcjs - 1.16.4 + 1.16.5 www.pcjs.org @@ -220,7 +220,7 @@
diff --git a/docs/pcjs/demos/pc-dbg.js b/docs/pcjs/demos/pc-dbg.js index 72b58b8ab5..7861ce92c8 100644 --- a/docs/pcjs/demos/pc-dbg.js +++ b/docs/pcjs/demos/pc-dbg.js @@ -24,7 +24,7 @@ function ib(){for(var a=!1,b=A(window.document,"pcjs","panel"),c=0;c>a.bb;0>this.bb;0>a.bb;0>this.bb].gc(a&this.Sa)};function qb(a,b){return a.Ca[(b&a.pc)>>a.bb].Lg(b&a.Sa)} -k.ra=function(a){var b=a&this.Sa;a=(a&this.pc)>>this.bb;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};function rb(a,b){var c=b&a.Sa,d=(b&a.pc)>>a.bb;return c!=a.Sa?a.Ca[d].Xj(c):a.Ca[d++].Lg(c)|a.Ca[d&a.Fd].Lg(0)<<8}k.ld=function(a,b){this.Ca[(a&this.pc)>>this.bb].mc(a&this.Sa,b&255)};k.Ua=function(a,b){var c=a&this.Sa,d=(a&this.pc)>>this.bb;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))}; +k.ra=function(a){var b=a&this.Sa;a=(a&this.pc)>>this.bb;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};function rb(a,b){var c=b&a.Sa,d=(b&a.pc)>>a.bb;return c!=a.Sa?a.Ca[d].Xj(c):a.Ca[d++].Lg(c)|a.Ca[d&a.Fd].Lg(0)<<8}k.ld=function(a,b){this.Ca[(a&this.pc)>>this.bb].mc(a&this.Sa,b&255)};k.Va=function(a,b){var c=a&this.Sa,d=(a&this.pc)>>this.bb;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))}; function sb(a,b,c){var d=b&a.Sa;b=(b&a.pc)>>a.bb;d!=a.Sa?a.Ca[b].hk(d,c&65535):(a.Ca[b++].Pf(d,c&255),a.Ca[b&a.Fd].Pf(0,c>>8&255))}function tb(a){for(var b=0,c=[],d=0;dthis.sc?this.Ha+a:rc.call(this,0,0,c)}function rc(a,b,c){c||lc.call(this.T,13,0);return-4} function tc(a,b,c){return a+b<=this.sc?this.Ha+a:uc.call(this,0,0,c)}function vc(a,b,c){return a+b>this.sc?this.Ha+a:uc.call(this,0,0,c)}function uc(a,b,c){c||lc.call(this.T,13,0);return-4} -function wc(a,b){var c=this.T,d=c.ib.Ha,e=this.eb,f=c.ib.ta;if(!b){if(768!=c.ib.type)return lc.call(c,10,a,!0),!1;c.Ua(c.ib.Cd+4,c.ib.sb&-769|256)}if(-4==c.ib.load(a))return!1;var g=c.ib.Ha;if(b){if(768==c.ib.type)return lc.call(c,13,a,!0),!1;c.Ua(c.ib.Cd+4,c.ib.sb|=768);c.ib.type=768}c.Ua(d+14,c.wa);c.Ua(d+16,xc(c));c.Ua(d+18,c.H);c.Ua(d+20,c.J);c.Ua(d+22,c.K);c.Ua(d+24,c.C);c.Ua(d+26,c.Y);c.Ua(d+28,c.I);c.Ua(d+30,c.G);c.Ua(d+32,c.F);c.Ua(d+34,c.La.ta);c.Ua(d+36,c.va.ta);c.Ua(d+38,c.Za.ta);c.Ua(d+ -40,c.hb.ta);var d=38,h=26;yc(c,c.ra(g+16)|(b?16384:0));c.H=c.ra(g+18);c.J=c.ra(g+20);c.K=c.ra(g+22);c.C=c.ra(g+24);c.I=c.ra(g+28);c.G=c.ra(g+30);c.F=c.ra(g+32);c.La.load(c.ra(g+34));c.hb.load(c.ra(g+40));zc(c,c.ra(g+14),c.ra(g+36));this.eb>13;if(6144<=h){x=c&3;if(x>a.eb){if(!1!==m&&!(v==a.eb||g&1024&&v<=a.eb)){n=-4;break}s=e.Pa();e.Za.load(e.Pa());e.Y=s;a.Dh=!0}s=!1}else if(1024==h)s=!0,u=-1,t=c,xh||2048==(h&2560))){d||lc.call(e,13,c,!!g);n=-4;break}}else if(3==a.id){if(!m||4096>h||2048==(h&2560)){d|| lc.call(e,13,c,!0);n=-4;break}}else if(4==a.id){if(!m||256!=h&&768!=h){d||lc.call(e,10,c,!0);n=-4;break}}else if(6==a.id&&!(g&4096)&&768>1|a.ea>>2,a.qa^=32896)}function Nd(a){a.la|=a.ea;a.qa=a.la&32896|a.qa&-32897}function xc(a){return a.Ba&-2262|wd(a)|xd(a)|yd(a)|zd(a)|Ad(a)|Bd(a)} function yc(a,b,c){a.ea=256;a.aa=a.la=a.qa=0;b&1&&Jd(a);b&4||(a.la|=1);b&16&&(a.qa|=16);b&64||Ed(a);b&128&&Md(a);b&2048&&Nd(a);a.hc&1||(b&=-61441);void 0===c&&(c=a.va.eb);c?b=b&-12289|a.Ba&12288:a.Hf=(b&12288)>>12;c>a.Hf&&(b=b&-513|a.Ba&512);a.Ba=a.Ba&~a.Ug|b&a.Ug|a.mk;a.Ba&256&&(a.Ab|=2,a.ba|=4)} k.Ib=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.xa[b]=c;d=!0;break;default:d=Mb.prototype.Ib.call(this,a,b,c)}return d};k.ob=function(a){return this.Ca[(a&this.Fe)>>this.bb].gc(a&this.Sa)}; -k.ra=function(a){var b=a&this.Sa;a=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};k.ld=function(a,b){this.Ca[(a&this.Fe)>>this.bb].mc(a&this.Sa,b&255)};k.Ua=function(a,b){var c=a&this.Sa,d=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))};k.$m=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)}; -k.an=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.ho=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)};k.io=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.xp=function(a){this.ba&2||this.ld(this.Qg.$b(this.Ig,0),a)};k.yp=function(a){this.ba&2||this.Ua(this.Qg.$b(this.Ig,1),a)};k.fa=function(){var a=this.ob(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a}; -k.M=function(){var a=this.ob(this.Fa)<<24>>24;this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a&65535};k.L=function(){var a=this.ra(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+2&65535);return a};k.Pa=function(){var a=this.Y;this.Y=this.Y+2&65535;return this.ra(this.Za.Kc(a,1))};function H(a,b){var c=a.Y=a.Y-2&65535;a.Ua(a.Za.$b(c,1),b)} +k.ra=function(a){var b=a&this.Sa;a=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};k.ld=function(a,b){this.Ca[(a&this.Fe)>>this.bb].mc(a&this.Sa,b&255)};k.Va=function(a,b){var c=a&this.Sa,d=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))};k.$m=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)}; +k.an=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.ho=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)};k.io=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.xp=function(a){this.ba&2||this.ld(this.Qg.$b(this.Ig,0),a)};k.yp=function(a){this.ba&2||this.Va(this.Qg.$b(this.Ig,1),a)};k.fa=function(){var a=this.ob(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a}; +k.M=function(){var a=this.ob(this.Fa)<<24>>24;this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a&65535};k.L=function(){var a=this.ra(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+2&65535);return a};k.Pa=function(){var a=this.Y;this.Y=this.Y+2&65535;return this.ra(this.Za.Kc(a,1))};function H(a,b){var c=a.Y=a.Y-2&65535;a.Va(a.Za.$b(c,1),b)} k.rh=function(a){if(a||!this.ma.nb||this.ma.Lk)G(this,"AX",this.H),G(this,"BX",this.C),G(this,"CX",this.J),G(this,"DX",this.K),G(this,"SP",this.Y),G(this,"BP",this.I),G(this,"SI",this.G),G(this,"DI",this.F),G(this,"CS",this.va.ta),G(this,"DS",this.hb.ta),G(this,"SS",this.Za.ta),G(this,"ES",this.La.ta),G(this,"IP",this.wa),a=xc(this),G(this,"PS",a),G(this,"C",a&1?1:0,1),G(this,"P",a&4?1:0,1),G(this,"A",a&16?1:0,1),G(this,"Z",a&64?1:0,1),G(this,"S",a&128?1:0,1),G(this,"T",a&256?1:0,1),G(this,"I",a& 512?1:0,1),G(this,"D",a&1024?1:0,1),G(this,"V",a&2048?1:0,1);if(a=this.xa.speed)a.textContent=this.ma.nb&&this.da.pe?this.da.pe.toFixed(2)+"Mhz":"Stopped"}; k.Of=function(a){this.ma.lg=!0;var b=this.ma.Jk=this.ka&&Od(this.ka),c=this.ma.Mi||!a;this.ma.Mi=!1;this.Wc=this.A=a;this.oa&&!a&&ac(this.oa);a||this.ua(512)||(this.ba|=4);do{var d=this.ba&240;if(d)this.Ea|=d;else if(this.Jg=this.Fa,this.ja=this.Qa=-4,this.D=this.hb,this.N=this.Za,this.Ea=this.ba&256,this.Ab){a:{if(!(this.ba&4))if(this.Ab&1&&this.Ba&512){if(d=Pd(this.oa),-1<=d&&(this.Ab&=-2,0<=d)){this.Ab&=-5;Qd.call(this,d,null,11);d=!0;break a}}else if(this.Ab&2){this.Ab&=-3;Qd.call(this,1,null, @@ -391,7 +391,7 @@ function(a,b){this.Y=a[6].call(this,this.Y,b.call(this))},function(a,b){this.I=a b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))}];function dd(){Lh[this.fa()].call(this)}function fd(){H(this,this.Y);this.A-=this.B.Ac}function Nc(){var a=this.Y;H(this,this.H);H(this,this.J);H(this,this.K);H(this,this.C);H(this,a);H(this,this.I);H(this,this.G);H(this,this.F);this.A-=this.B.Zl} function Oc(){this.F=this.Pa();this.G=this.Pa();this.I=this.Pa();this.Y+=2;this.C=this.Pa();this.K=this.Pa();this.J=this.Pa();this.H=this.Pa();this.A-=this.B.Xl}function Pc(){M[this.fa()].call(this,af)}function ed(){Hh[this.fa()].call(this,bf)}function Qc(){H(this,this.L());this.A-=this.B.Ac}function Rc(){M[this.fa()].call(this,We)}function Sc(){H(this,this.fa());this.A-=this.B.Ac}function Tc(){M[this.fa()].call(this,Ve)} function Uc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=wb(this.sa,this.K,this.Fa-b-1);this.ld(this.La.$b(this.F,0),d);this.F=this.F+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}} -function Vc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.Fa-b-1,d=wb(this.sa,this.K,d)|wb(this.sa,this.K,d)<<8;this.Ua(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}} +function Vc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.Fa-b-1,e=wb(this.sa,this.K,d),d=e|=wb(this.sa,this.K,d)<<8;this.Va(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}} function Wc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.ob(this.hb.Kc(this.G,0));this.G=this.G+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-=b;Ab(this.sa,this.K,d,this.Fa-b-1);a&&(vd(this,-2),this.ba|=256)}} function Xc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.ra(this.hb.Kc(this.G,1));this.G=this.G+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;b=this.Fa-b-1;Ab(this.sa,this.K,d&255,b);Ab(this.sa,this.K,d>>8,b);a&&(vd(this,-2),this.ba|=256)}}function Mh(){var a=this.M();Bd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Nh(){var a=this.M();Bd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)} function Oh(){var a=this.M();wd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Ph(){var a=this.M();wd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Qh(){var a=this.M();zd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Rh(){var a=this.M();zd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Sh(){var a=this.M();wd(this)||zd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc} @@ -418,27 +418,27 @@ Oe)},function(){Ih[this.fa()].call(this,Oe)},function(){M[this.fa()].call(this,O default:if(80286<=this.Ka){Mc.call(this);return}switch(c){case 1:a=this.J;break;case 4:a=this.Y;break;case 5:a=this.I;break;case 6:a=this.G;break;case 7:a=this.F}}M[b].call(this,Oe);switch(c){case 0:ud(this,this.H);this.H=a;break;case 1:rd(this,this.J);this.J=a;break;case 2:td(this,this.K);this.K=a;break;case 3:sd(this,this.C);this.C=a;break;case 4:ud(this,this.Y);this.Y=a;break;case 5:rd(this,this.I);this.I=a;break;case 6:td(this,this.G);this.G=a;break;case 7:sd(this,this.F),this.F=a}},function(){this.ba|= 1;Kh[this.fa()].call(this,Ee,this.Pa)},function(){this.A-=3},function(){var a=this.H;this.H=this.J;this.J=a;this.A-=3},function(){var a=this.H;this.H=this.K;this.K=a;this.A-=3},function(){var a=this.H;this.H=this.C;this.C=a;this.A-=3},function(){var a=this.H;this.H=this.Y;this.Y=a;this.A-=3},function(){var a=this.H;this.H=this.I;this.I=a;this.A-=3},function(){var a=this.H;this.H=this.G;this.G=a;this.A-=3},function(){var a=this.H;this.H=this.F;this.F=a;this.A-=3},function(){this.H=this.H<<24>>24&65535; this.A-=2},function(){this.K=this.H&32768?65535:0;this.A-=this.B.kl},function(){Le.call(this,this.L(),this.L());this.A-=this.B.nl},function(){this.fb("WAIT not implemented",1);this.A--},function(){H(this,xc(this));this.A-=this.B.Ac},function(){yc(this,this.Pa());this.A-=this.B.uc},function(){var a=this.H>>8;a&1?Jd(this):Cd(this);a&4?xd(this)||(this.la^=1):xd(this)&&(this.la^=1);a&16?Kd(this):Dd(this);a&64?Ld(this):Ed(this);a&128?Md(this):Fd(this);this.A-=this.B.Ob},function(){this.H=this.H&255|(xc(this)& -213)<<8;this.A-=this.B.Ob},function(){this.H=this.H&-256|this.U(this.D,this.L());this.A-=this.B.vj},function(){this.H=this.V(this.D,this.L());this.A-=this.B.vj},function(){var a=this.L(),b=this.H;this.ld(this.D.$b(a,0),b);this.A-=this.B.wj},function(){var a=this.L(),b=this.H;this.Ua(this.D.$b(a,1),b);this.A-=this.B.wj},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-1:1,e=this.U(this.D,this.G);this.ld(this.La.$b(this.F, -0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-2:2,e=this.V(this.D,this.G);this.Ua(this.La.$b(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.hj;this.Ea&192&&(a=this.J,b=1,c=this.B.jj,this.Ea& +213)<<8;this.A-=this.B.Ob},function(){this.H=this.H&-256|this.U(this.D,this.L());this.A-=this.B.vj},function(){this.H=this.V(this.D,this.L());this.A-=this.B.vj},function(){var a=this.L(),b=this.H;this.ld(this.D.$b(a,0),b);this.A-=this.B.wj},function(){var a=this.L(),b=this.H;this.Va(this.D.$b(a,1),b);this.A-=this.B.wj},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-1:1,e=this.U(this.D,this.G);this.ld(this.La.$b(this.F, +0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-2:2,e=this.V(this.D,this.G);this.Va(this.La.$b(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.hj;this.Ea&192&&(a=this.J,b=1,c=this.B.jj,this.Ea& 256||(this.A-=this.B.ij));if(a--){var d=this.Ba&1024?-1:1,e=this.U(this.D,this.G),f=this.O(this.La,this.F);$d.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c-this.B.Gb;this.J-=b;a&&zd(this)==(this.Ea&64)&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.hj;this.Ea&192&&(a=this.J,b=1,c=this.B.jj,this.Ea&256||(this.A-=this.B.ij));if(a--){var d=this.Ba&1024?-2:2,e=this.V(this.D,this.G),f=this.P(this.La,this.F);he.call(this,e,f);this.G=this.G+d&65535;this.F= this.F+d&65535;this.A-=c-this.B.Gb;this.J-=b;a&&zd(this)==(this.Ea&64)&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){this.aa=this.la=this.qa=this.H&255&this.fa();this.ea=256;this.A-=this.B.We},function(){this.aa=this.la=this.qa=this.H&this.L();this.ea=65536;this.A-=this.B.We},function(){var a=1,b=0,c=this.B.Ij;this.Ea&192&&(a=this.J,b=1,c=this.B.Kj,this.Ea&256||(this.A-=this.B.Jj));if(a--){var d=this.H;this.ld(this.La.$b(this.F,0),d);this.F=this.F+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-= -b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.Ij;this.Ea&192&&(a=this.J,b=1,c=this.B.Kj,this.Ea&256||(this.A-=this.B.Jj));if(a--){var d=this.H;this.Ua(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.pj;this.Ea&192&&(a=this.J,b=1,c=this.B.rj,this.Ea&256||(this.A-=this.B.qj));a--&&(this.H=this.H&-256|this.U(this.D,this.G),this.G=this.G+(this.Ba&1024?-1:1)&65535,this.A-=c,this.J-=b, +b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.Ij;this.Ea&192&&(a=this.J,b=1,c=this.B.Kj,this.Ea&256||(this.A-=this.B.Jj));if(a--){var d=this.H;this.Va(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.pj;this.Ea&192&&(a=this.J,b=1,c=this.B.rj,this.Ea&256||(this.A-=this.B.qj));a--&&(this.H=this.H&-256|this.U(this.D,this.G),this.G=this.G+(this.Ba&1024?-1:1)&65535,this.A-=c,this.J-=b, a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.pj;this.Ea&192&&(a=this.J,b=1,c=this.B.rj,this.Ea&256||(this.A-=this.B.qj));a--&&(this.H=this.V(this.D,this.G),this.G=this.G+(this.Ba&1024?-2:2)&65535,this.A-=c,this.J-=b,a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.Cj;this.Ea&192&&(a=this.J,b=1,c=this.B.Ej,this.Ea&256||(this.A-=this.B.Dj));a--&&($d.call(this,this.H&255,this.O(this.La,this.F)),this.F=this.F+(this.Ba&1024?-1:1)&65535,this.A-= c-this.B.Gb,this.J-=b,a&&zd(this)==(this.Ea&64)&&(vd(this,-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.Cj;this.Ea&192&&(a=this.J,b=1,c=this.B.Ej,this.Ea&256||(this.A-=this.B.Dj));a--&&(he.call(this,this.H,this.P(this.La,this.F)),this.F=this.F+(this.Ba&1024?-2:2)&65535,this.A-=c-this.B.Gb,this.J-=b,a&&zd(this)==(this.Ea&64)&&(vd(this,-2),this.ba|=256))},function(){this.H=this.H&-256|this.fa();this.A-=this.B.Ob},function(){this.J=this.J&-256|this.fa();this.A-=this.B.Ob},function(){this.K=this.K& -256|this.fa();this.A-=this.B.Ob},function(){this.C=this.C&-256|this.fa();this.A-=this.B.Ob},function(){this.H=this.H&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.J=this.J&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.K=this.K&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.C=this.C&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.H=this.L();this.A-=this.B.Ob},function(){this.J=this.L();this.A-=this.B.Ob},function(){this.K=this.L();this.A-=this.B.Ob},function(){this.C=this.L(); this.A-=this.B.Ob},function(){this.Y=this.L();this.A-=this.B.Ob},function(){this.I=this.L();this.A-=this.B.Ob},function(){this.G=this.L();this.A-=this.B.Ob},function(){this.F=this.L();this.A-=this.B.Ob},ci,di,ci,di,function(){M[this.fa()].call(this,$e)},function(){M[this.fa()].call(this,Ze)},function(){this.ba|=1;Jh[this.fa()].call(this,Fe,this.fa)},function(){this.ba|=1;Kh[this.fa()].call(this,Fe,this.L)},ei,fi,ei,fi,function(){Qd.call(this,3,null,this.B.El)},function(){var a=this.fa();jd(this,a)? Qd.call(this,a,null,0):this.A--},function(){Bd(this)?Qd.call(this,4,null,this.B.Fl):this.A-=this.B.Gl},function(){this.A-=this.B.Cl;if(this.hc&1&&this.Ba&16384){var a=this.ra(this.ib.Ha+0);wc.call(this.va,a,!1)}else{var a=this.va.eb,b=this.Pa(),c=this.Pa(),d=this.Pa();null!=zc(this,b,c,!1)&&(yc(this,d,a),this.dg&&nd(this,this.Fa))}},function(){Jh[this.fa()].call(this,Ge,xe)},function(){Kh[this.fa()].call(this,He,xe)},function(){Jh[this.fa()].call(this,Ge,ye)},function(){Kh[this.fa()].call(this,He, ye)},function(){var a=this.fa(),b=this.H&255;this.H=(b/a&255)<<8|b%a;this.ea=256;this.aa=this.la=b;this.A-=this.B.hl},function(){var a=this.fa();this.aa=this.la=this.H=(this.H>>8)*a+this.H&255;this.ea=256;this.A-=this.B.gl},function(){this.H=this.H&-256|(wd(this)?255:0);this.A-=2},function(){this.H=this.H&-256|this.U(this.D,this.C+(this.H&255)&65535);this.A-=this.B.fm},gi,gi,gi,gi,gi,gi,gi,gi,function(){var a=this.M();(this.J=this.J-1&65535)&&this.aa&this.ea-1?(J(this,this.wa+a),this.A-=this.B.Nl): -this.A-=this.B.sj},function(){var a=this.M();!(this.J=this.J-1&65535)||this.aa&this.ea-1?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.M();(this.J=this.J-1&65535)?(J(this,this.wa+a),this.A-=this.B.Ml):this.A-=this.B.sj},function(){var a=this.M();this.J?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.fa();this.H=this.H&-256|wb(this.sa,a,this.Fa-2);this.A-=this.B.mj},function(){var a=this.fa();this.H=wb(this.sa,a,this.Fa-1)|wb(this.sa, +this.A-=this.B.sj},function(){var a=this.M();!(this.J=this.J-1&65535)||this.aa&this.ea-1?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.M();(this.J=this.J-1&65535)?(J(this,this.wa+a),this.A-=this.B.Ml):this.A-=this.B.sj},function(){var a=this.M();this.J?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.fa();this.H=this.H&-256|wb(this.sa,a,this.Fa-2);this.A-=this.B.mj},function(){var a=this.fa();this.H=wb(this.sa,a,this.Fa-2);this.H|=wb(this.sa, a+1&65535,this.Fa-2)<<8;this.A-=this.B.mj},function(){var a=this.fa();Ab(this.sa,a,this.H&255,this.Fa-2);this.A-=this.B.Bj},function(){var a=this.fa();Ab(this.sa,a,this.H&255,this.Fa-2);Ab(this.sa,a+1&65535,this.H>>8,this.Fa-2);this.A-=this.B.Bj},function(){var a=this.L();H(this,this.wa);J(this,this.wa+a);this.A-=this.B.ll},function(){var a=this.L();J(this,this.wa+a);this.A-=this.B.nj},function(){zc(this,this.L(),this.L());this.A-=this.B.Il},function(){var a=this.M();J(this,this.wa+a);this.A-=this.B.nj}, -function(){this.H=this.H&-256|wb(this.sa,this.K,this.Fa-1);this.A-=this.B.lj},function(){this.H=wb(this.sa,this.K,this.Fa-1)|wb(this.sa,this.K+1&65535,this.Fa-1)<<8;this.A-=this.B.lj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);this.A-=this.B.Aj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);Ab(this.sa,this.K+1&65535,this.H>>8,this.Fa-1);this.A-=this.B.Aj},hi,hi,function(){this.ba|=132;this.A-=this.B.se},function(){this.ba|=68;this.A-=this.B.se},function(){this.Ab|=4;this.A-=2;this.ka&& -Od(this.ka)?(vd(this,-1),this.qb()):this.Ba&512||(this.ka&&vd(this,-1),this.qb())},function(){wd(this)?Cd(this):Jd(this);this.A-=2},function(){this.Pb=-1;Jh[this.fa()].call(this,Je,Ae);0<=this.Pb&&(this.H=this.Pb)},function(){this.Pb=-1;Kh[this.fa()].call(this,Ke,Ae);0<=this.Pb&&(this.H=this.Pb,this.K=this.Mg)},function(){this.aa&=~this.ea;this.A-=2},function(){this.aa|=this.ea;this.A-=2},function(){this.Ba&=-513;this.A-=this.B.jl},function(){this.Ba|=512;this.ba|=4;this.A-=2},function(){this.Ba&= +function(){this.H=this.H&-256|wb(this.sa,this.K,this.Fa-1);this.A-=this.B.lj},function(){this.H=wb(this.sa,this.K,this.Fa-1);this.H|=wb(this.sa,this.K+1&65535,this.Fa-1)<<8;this.A-=this.B.lj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);this.A-=this.B.Aj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);Ab(this.sa,this.K+1&65535,this.H>>8,this.Fa-1);this.A-=this.B.Aj},hi,hi,function(){this.ba|=132;this.A-=this.B.se},function(){this.ba|=68;this.A-=this.B.se},function(){this.Ab|=4;this.A-=2; +this.ka&&Od(this.ka)?(vd(this,-1),this.qb()):this.Ba&512||(this.ka&&vd(this,-1),this.qb())},function(){wd(this)?Cd(this):Jd(this);this.A-=2},function(){this.Pb=-1;Jh[this.fa()].call(this,Je,Ae);0<=this.Pb&&(this.H=this.Pb)},function(){this.Pb=-1;Kh[this.fa()].call(this,Ke,Ae);0<=this.Pb&&(this.H=this.Pb,this.K=this.Mg)},function(){this.aa&=~this.ea;this.A-=2},function(){this.aa|=this.ea;this.A-=2},function(){this.Ba&=-513;this.A-=this.B.jl},function(){this.Ba|=512;this.ba|=4;this.A-=2},function(){this.Ba&= -1025;this.A-=2},function(){this.Ba|=1024;this.A-=2},function(){Jh[this.fa()].call(this,Jc,Ae)},function(){Kh[this.fa()].call(this,Kc,Ae)}],Lh=[function(){var a=this.fa();16>(a&56)&&(this.ba|=1);Kh[a].call(this,this.pk,Ae)},function(){var a=this.fa();a&16||(this.ba|=1);Kh[a].call(this,ii,Ae)},function(){M[this.fa()].call(this,cf)},function(){M[this.fa()].call(this,df)},L,function(){this.va.eb?lc.call(this,13,0,!0):(gf.call(this,this.ra(2054)),this.F=this.ra(2086),this.G=this.ra(2088),this.I=this.ra(2090), this.Y=this.ra(2092),this.C=this.ra(2094),this.K=this.ra(2096),this.J=this.ra(2098),this.H=this.ra(2100),Dc(this.La,2102,this.ra(2084)),Dc(this.va,2108,this.ra(2082)),Dc(this.Za,2114,this.ra(2080)),Dc(this.hb,2120,this.ra(2078)),yc(this,this.ra(2072)),J(this,this.ra(2074)),this.Gc=this.ra(2126)|this.ra(2128)<<16,this.De=this.Gc+this.ra(2130),Dc(this.Zc,2132,this.ra(2076)),this.Sc=this.ra(2138)|this.ra(2140)<<16,this.Ee=this.Sc+this.ra(2142),Dc(this.ib,2144,this.ra(2070)),this.A-=195)},function(){this.va.eb? lc.call(this,13,0,!0):(this.hc&=-9,this.A-=2)},L,L,L,L,Mc,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L, -L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L],od=[function(){this.A-=2+(0>this.ja?0:1);return this.Zc.ta},function(){this.A-=2+(0>this.ja?0:1);return this.ib.ta},function(a){this.ba|=2;this.Zc.load(a);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;-4!=this.ib.load(a)&&(this.Ua(this.ib.Cd+4,this.ib.sb|=512),this.ib.type=768);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&2048!=(this.Ub.sb&2560)&&(this.Ub.rc>=this.va.eb&& -this.Ub.rc>=(a&3)||7168==(this.Ub.sb&7168)))return Ld(this),a;Ed(this);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&512==(this.Ub.sb&2560)&&this.Ub.rc>=this.va.eb&&this.Ub.rc>=(a&3))return Ld(this),a;Ed(this);return a},K,K],Lc=[cd,cd,cd,cd,cd,cd,K,K],ii=[function(a){0>this.ja?Mc.call(this):(a=this.De-this.Gc,this.Ua(this.ja+2,this.Gc),this.Ua(this.ja+4,65280|this.Gc>>16),this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(a=this.Ee-this.Sc,this.Ua(this.ja+ -2,this.Sc),this.Ua(this.ja+4,65280|this.Sc>>16),this.A-=12);return a},function(a){0>this.ja?Mc.call(this):(this.Gc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.De=this.Gc+a,this.ba|=2,this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(this.Sc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.Ee=this.Sc+a,this.ba|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ja?0:1);return this.hc},K,function(a){gf.call(this,a);this.A-=0>this.ja?3:6;this.ba|=2;return a},K]; +L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L],od=[function(){this.A-=2+(0>this.ja?0:1);return this.Zc.ta},function(){this.A-=2+(0>this.ja?0:1);return this.ib.ta},function(a){this.ba|=2;this.Zc.load(a);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;-4!=this.ib.load(a)&&(this.Va(this.ib.Cd+4,this.ib.sb|=512),this.ib.type=768);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&2048!=(this.Ub.sb&2560)&&(this.Ub.rc>=this.va.eb&& +this.Ub.rc>=(a&3)||7168==(this.Ub.sb&7168)))return Ld(this),a;Ed(this);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&512==(this.Ub.sb&2560)&&this.Ub.rc>=this.va.eb&&this.Ub.rc>=(a&3))return Ld(this),a;Ed(this);return a},K,K],Lc=[cd,cd,cd,cd,cd,cd,K,K],ii=[function(a){0>this.ja?Mc.call(this):(a=this.De-this.Gc,this.Va(this.ja+2,this.Gc),this.Va(this.ja+4,65280|this.Gc>>16),this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(a=this.Ee-this.Sc,this.Va(this.ja+ +2,this.Sc),this.Va(this.ja+4,65280|this.Sc>>16),this.A-=12);return a},function(a){0>this.ja?Mc.call(this):(this.Gc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.De=this.Gc+a,this.ba|=2,this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(this.Sc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.Ee=this.Sc+a,this.ba|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ja?0:1);return this.hc},K,function(a){gf.call(this,a);this.A-=0>this.ja?3:6;this.ba|=2;return a},K]; function N(a){y.call(this,"ChipSet",a,N,16384);this.Ka=(this.Ka=a.model)?parseInt(this.Ka,10):ji;this.ic=0;var b=a.sw1;if(b)this.ic=ki(b,li|mi.Bm);else{this.Yd=[360,360];(b=a.floppies)&&b.length&&(this.Yd=b);if(b=this.Yd.length)this.ic|=ni.gi,b--,this.ic|=(b&3)<=oi&&(this.mh=this.eg=2);this.le=a.scaleTimers||!1;this.wp=a.rtcDate; this.Rk=!1;a.sound&&window&&"webkitAudioContext"in window&&(this.yi=new window.webkitAudioContext);this.reset(!0);D(this)}Wa(y,N);var ji=5150,oi=5170,pi={none:0,tv:1,color:2,mono:3,ega:0},ni={gi:1,ONE:0,mq:64,kq:128,Kp:192,Rf:192,Sf:6},li=12,mi={lq:16,Cp:32,Bm:48,Rf:48,Sf:4};k=N.prototype; k.Ib=function(a,b,c){switch(b){case "sw1":return this.xa[b]=c,qi(this,b,c,this.ic,{0:this.Ka==ji?"Bootable Floppy Drive":"Loop on POST",1:this.Ka==ji?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ka==ji)return this.xa[b]=c,qi(this,b,c,this.ze,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.xa[b]=c,!0}return!1}; @@ -629,9 +629,9 @@ k.fc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Ma.Ki){this k.ec=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Od()};k.save=function(){var a=new pd(this);a.set(0,this.bk());return a.data()};k.restore=function(a){return this.Od(a[0])}; k.Od=function(a){var b=0,c,d=!0;void 0===a&&(a=[0,0,128,Array(9),0,0,0,[]]);this.pb=a[b++];b++;this.Da=a[b++];this.lc=a[b++];this.Eb=a[b++];this.mb=a[b++];this.Mf=a[b++];var e=a[b++];c=a[b++];null!=c&&(this.Dc=c);void 0===this.Ga&&(this.dj=4,this.oa&&(this.dj=Qi(this.oa)),this.Ga=Array(4));for(c=0;ca.za.restore(g)&&(e=!1);e&&a.za&&void 0!==a.Va&&(a.Xa=a.za.seek(a.yb,a.Ra,a.ab));return e};k.dk=function(){for(var a=0,b=[],c=0;ca.za.restore(g)&&(e=!1);e&&a.za&&void 0!==a.Ua&&(a.Xa=a.za.seek(a.yb,a.Ra,a.ab));return e};k.dk=function(){for(var a=0,b=[],c=0;c>2&1;this.pb=c&3;d=this.Ga[this.pb];c=d.yb;e=d.Ra=b;f=d.ab=1;g=0;d.gb=0;d.za&&(d.Xa=d.za.seek(d.yb,d.Ra,d.ab))?g=d.Xa.length:d.gb=72;Dl(this,d,a,b,c,e,f,g);b=!0;break;case 13:c=this.Wa(l.Qf);b=c>>2&1;this.pb=c&3;d=this.Ga[this.pb];c=d.yb;e=d.Ra=b;f=1;g=this.Wa(l.hi);d.lb=128<>2&1,c=this.Wa(l.Sp),d.yb+=c-d.ce,0>d.yb&&(d.yb=0),d.yb>=d.Cb&&(d.yb=d.Cb-1),d.ce=c,d.gb=32,d.yb||(d.gb|=268435456),this.Yb(),b=!0}0>>8,l.gq);a.kc((b.gb&16711680)>>>16,l.hq);var n=0;if(e!=b.yb||f!=b.Ra)n=g=1;c&128&&(f^=n,d||(n=0));a.kc(e+n,l.kk);a.kc(f,l.lk);a.kc(g,l.nk);a.kc(h,l.hi)}k.Wa=function(){var a=this.lc[this.Eb];this.Eb++;return a};k.Yb=function(){this.Eb=this.mb=0};k.kc=function(a){this.lc[this.mb++]=a};k.Ci=function(a,b,c){void 0===b||0>b?this.gc(a,c):c(-1,!1)}; -k.Di=function(a,b){return void 0!==b&&0<=b?this.mc(a,b):-1};k.Km=function(a,b){return void 0!==b&&0<=b?this.fk(a,b):-1};k.gc=function(a,b){var c=-1,d,e;if(!a.gb&&a.za){do{if(a.Xa&&(e=a.Va,0<=(c=rl(a.Xa,a.Va++)))){d=a.Xa;break}a.Xa=a.za.seek(a.yb,a.Ra,a.ab);if(!a.Xa){a.gb=1088;break}a.Va=0;this.Yf(a)}while(1)}b(c,!1,d,e)};k.mc=function(a,b){if(a.gb||!a.za)return-1;do{if(a.Xa&&a.za.write(a.Xa,a.Va++,b))break;a.Xa=a.za.seek(a.yb,a.Ra,a.ab);if(!a.Xa){a.gb=8256;b=-1;break}a.Va=0;this.Yf(a)}while(1);return b}; -k.Yf=function(a){a.ab++;a.ab>=a.yg+1&&(a.ab=1,a.Ra++,a.Ra>=a.xg&&(a.Ra=0,a.yb++))};k.fk=function(a,b){if(a.gb)return-1;a.Rc[a.nf++]=b;if(a.nf==a.Rc.length){a.yb=a.Rc[0];a.Ra=a.Rc[1];a.ab=a.Rc[2];a.lb=128<this.mc(a,a.uk))return-1;a.oh++}a.oh>=a.ee&&(b=-1);return b};var wl={1012:sl.prototype.zn,1013:sl.prototype.xn,1015:sl.prototype.yn},xl={1010:sl.prototype.Ro,1013:sl.prototype.Qo,1015:sl.prototype.Po}; -Ja(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=a.yg+1&&(a.ab=1,a.Ra++,a.Ra>=a.xg&&(a.Ra=0,a.yb++))};k.fk=function(a,b){if(a.gb)return-1;a.Rc[a.nf++]=b;if(a.nf==a.Rc.length){a.yb=a.Rc[0];a.Ra=a.Rc[1];a.ab=a.Rc[2];a.lb=128<this.mc(a,a.uk))return-1;a.oh++}a.oh>=a.ee&&(b=-1);return b}; +var wl={1012:sl.prototype.zn,1013:sl.prototype.xn,1015:sl.prototype.yn},xl={1010:sl.prototype.Ro,1013:sl.prototype.Qo,1015:sl.prototype.Po};Ja(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.Kf|=(f.type&3)<<(1-e<<1))}return d}; k.bk=function(){var a=0,b=[];this.Qe?(b[a++]=this.ve,b[a++]=this.om,b[a++]=this.xe,b[a++]=this.Zh,b[a++]=this.Xh,b[a++]=this.Wh,b[a++]=this.Lf,b[a++]=this.Da,b[a++]=this.Yj,b[a++]=this.Yh):(b[a++]=this.Kf,b[a++]=this.Da,b[a++]=this.lc,b[a++]=this.Eb,b[a++]=this.mb,b[a++]=this.nm,b[a++]=this.mm,b[a++]=this.lm,b[a++]=this.xf);b[a]=this.dk();return b}; k.Ui=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.pb=a;b.errorCode=d[f++];b.um=d[f++];b.uf=d[f++];b.jf=d[f++];b.kf=d[f++];b.Ra=d[f++];b.Db=d[f++];b.Vd=d[f++];b.ab=d[f++];b.ee=d[f++];b.lb=d[f++];b.kh=this.Qe?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.me()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===El[this.qg][b.type])b.type=this.cn;c=El[this.qg][b.type]; -b.Hb=c[2]||17;b.vb=c[3]||512;if(e&&this.oa&&(e=this.oa,c=b.type,e.na)){var h=e.na[18],h=a?h&240|c:h&15|c<<4;e.na&&(e.na[18]=h,Ii(e))}void 0===b.za&&(b.za=null,this.Ia("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Jl(this,b);b.Va=d[f++];b.Xa=null;b.za&&(a=d[f],void 0!==a&&0>b.za.restore(a)&&(g=!1),g&&void 0!==b.Va&&(b.Xa=b.za.seek(b.Vd,b.Ra,b.ab+b.kh)));return g};k.dk=function(){for(var a=0,b=[],c=0;cb.za.restore(a)&&(g=!1),g&&void 0!==b.Ua&&(b.Xa=b.za.seek(b.Vd,b.Ra,b.ab+b.kh)));return g};k.dk=function(){for(var a=0,b=[],c=0;c=this.mb&&(this.Eb=this.mb=0,this.Da&=-15);return c}; k.mp=function(a,b,c){B(this,a,b,c,"DATA["+this.mb+"]");this.mb=a&&(this.Da|=2,this.Da&=-2,Kl(this))};k.$n=function(a,b){var c=this.Da;B(this,a,null,b,"STATUS",c);this.Eb=this.Ta.vb){var d=this;d.Da=136;this.gc(this.Ta,function(a){0<=a?(Ll(d),d.Da=80):(d.Da=1,d.ve=16)},!1)}else this.Da=80;return c}; -k.Bo=function(a,b,c){this.Ta&&this.Ta.lb>=this.Ta.vb&&(0>this.mc(this.Ta,b)?(this.Da=1,this.ve=16):1==this.Ta.Va?this.ua(524416)&&B(this,a,b,c,"DATA["+this.Ta.Va+"]"):this.Ta.Va==this.Ta.vb&&(this.Ta.lb-=this.Ta.vb,this.xe=this.xe-1&255,Ll(this),this.Da=80,this.Ta.lb>=this.Ta.vb&&(this.Da|=8)))};k.mn=function(a,b){var c=this.ve;B(this,a,null,b,"ERROR",c);return c};k.Go=function(a,b,c){B(this,a,b,c,"WPREC");this.om=b};k.nn=function(a,b){var c=this.xe;B(this,a,null,b,"SECCNT",c);return c}; +k.kn=function(a,b){var c=-1;if(this.Ta){var d=this,c=this.gc(this.Ta,function(){});1==this.Ta.Ua?this.ua(524416)&&B(this,a,null,b,"DATA["+this.Ta.Ua+"]",c):this.Ta.Ua==this.Ta.vb&&(this.Ta.lb-=this.Ta.vb,this.xe=this.xe-1&255,this.Ta.lb>=this.Ta.vb?(d.Da=136,this.gc(this.Ta,function(a){0<=a?(Ll(d),d.Da=80):(d.Da=1,d.ve=16)},!1)):this.Da=80)}return c}; +k.Bo=function(a,b,c){this.Ta&&this.Ta.lb>=this.Ta.vb&&(0>this.mc(this.Ta,b)?(this.Da=1,this.ve=16):1==this.Ta.Ua?this.ua(524416)&&B(this,a,b,c,"DATA["+this.Ta.Ua+"]"):this.Ta.Ua==this.Ta.vb&&(this.Ta.lb-=this.Ta.vb,this.xe=this.xe-1&255,Ll(this),this.Da=80,this.Ta.lb>=this.Ta.vb&&(this.Da|=8)))};k.mn=function(a,b){var c=this.ve;B(this,a,null,b,"ERROR",c);return c};k.Go=function(a,b,c){B(this,a,b,c,"WPREC");this.om=b};k.nn=function(a,b){var c=this.xe;B(this,a,null,b,"SECCNT",c);return c}; k.Eo=function(a,b,c){B(this,a,b,c,"SECCNT");this.xe=b};k.on=function(a,b){var c=this.Zh;B(this,a,null,b,"SECNUM",c);return c};k.Fo=function(a,b,c){B(this,a,b,c,"SECNUM");this.Zh=b};k.jn=function(a,b){var c=this.Xh;B(this,a,null,b,"CYLLO",c);return c};k.Ao=function(a,b,c){B(this,a,b,c,"CYLLO");this.Xh=b};k.hn=function(a,b){var c=this.Wh;B(this,a,null,b,"CYLHI",c);return c};k.zo=function(a,b,c){B(this,a,b,c,"CYLHI");this.Wh=b};k.ln=function(a,b){var c=this.Lf;B(this,a,null,b,"DRVHD",c);return c}; k.Co=function(a,b,c){B(this,a,b,c,"DRVHD");this.Lf=b;this.Da=this.Ga[this.Lf&16?1:0]?this.Da|64:this.Da&-65};k.pn=function(a,b){var c=this.Da;B(this,a,null,b,"STATUS",c);return c};k.yo=function(a,b,c){B(this,a,b,c,"COMMAND");this.Yj=b;this.oa&&nj(this.oa,14);Ml(this)};k.Do=function(a,b,c){B(this,a,b,c,"FDR");this.Yh&4&&!(b&4)&&(this.ve=1);this.Yh=b}; -function Ml(a){var b=!1,c=a.Yj,d=a.Lf&16?1:0,e=a.Lf&15,f=a.Xh|(a.Wh&3)<<8,g=a.Zh,h=a.xe||256;a.Ta=null;a.ve=0;a.Da=80;(d=a.Ga[d])?(d.Vd=f,d.Ra=e,d.ab=g,d.lb=h*d.vb,c=144<=c?c:c&240,d.Xa=null,d.Va=0,d.errorCode=0,a.Ta=d):c=-1;switch(c&240){case 32:a.Da=136;a.gc(d,function(b){0<=b&&a.oa?(Ll(a),a.Da=80):(a.Da=1,a.ve=16)},!1);break;case 48:a.Da=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.ve=1;b=!0;break;case 145:d.Db=e+1,d.Hb=h,b=!0}b&&Ll(a)} +function Ml(a){var b=!1,c=a.Yj,d=a.Lf&16?1:0,e=a.Lf&15,f=a.Xh|(a.Wh&3)<<8,g=a.Zh,h=a.xe||256;a.Ta=null;a.ve=0;a.Da=80;(d=a.Ga[d])?(d.Vd=f,d.Ra=e,d.ab=g,d.lb=h*d.vb,c=144<=c?c:c&240,d.Xa=null,d.Ua=0,d.errorCode=0,a.Ta=d):c=-1;switch(c&240){case 32:a.Da=136;a.gc(d,function(b){0<=b&&a.oa?(Ll(a),a.Da=80):(a.Da=1,a.ve=16)},!1);break;case 48:a.Da=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.ve=1;b=!0;break;case 145:d.Db=e+1,d.Hb=h,b=!0}b&&Ll(a)} function Ll(a){!a.oa||a.Yh&2||mj(a.oa,14,120)} function Kl(a){a.Eb=0;var b=a.Wa(),c=a.Wa(),d=c&32,e=d>>5,f=c&31,g=a.Wa(),h=a.Wa(),n=g<<2&768|h,m=g&63,t=a.Wa(),s=a.Wa(),u=a.Ga[e];u&&(u.Vd=n,u.Ra=f,u.ab=m,u.lb=t*u.vb);switch(b){case 3:a.Yb(u?u.errorCode:4);a.kc(c);a.kc(g);a.kc(h);a.kc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Wa());)u&&cb?this.gc(a,c):c(-1,!1)}; -k.Di=function(a,b){return void 0!==b&&0<=b?this.mc(a,b):-1};k.Lm=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Va=a.Hb+b&&(a.ab=b,a.Ra++,a.Ra>=a.Db&&(a.Ra=0,a.Vd++))}; +k.Di=function(a,b){return void 0!==b&&0<=b?this.mc(a,b):-1};k.Lm=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ua=a.Hb+b&&(a.ab=b,a.Ra++,a.Ra>=a.Db&&(a.Ra=0,a.Vd++))}; k.fk=function(a,b){if(a.errorCode)return-1;a.Rc[a.nf++]=b;if(a.nf==a.Rc.length){a.Vd=a.Rc[0];a.Ra=a.Rc[1];a.ab=a.Rc[2];a.lb=128<this.mc(a,a.uk))return-1;a.oh++}a.oh>=a.ee&&(b=-1);return b};k.bo=function(){var a=this.T.K&255;!(this.T.H>>8)&&128>8)||(a=!this.oa)||(a=!(this.oa.Wb[0].od&64));return a?!0:!1}; var Gl={800:W.prototype.Zn,801:W.prototype.$n,802:W.prototype.Yn},Fl={496:W.prototype.kn,497:W.prototype.mn,498:W.prototype.nn,499:W.prototype.on,500:W.prototype.jn,501:W.prototype.hn,502:W.prototype.ln,503:W.prototype.pn},Il={800:W.prototype.mp,801:W.prototype.pp,802:W.prototype.op,803:W.prototype.np,807:W.prototype.Sj,811:W.prototype.Sj,815:W.prototype.Sj},Hl={496:W.prototype.Bo,497:W.prototype.Go,498:W.prototype.Eo,499:W.prototype.Fo,500:W.prototype.Ao,501:W.prototype.zo,502:W.prototype.Co,503:W.prototype.yo, 1014:W.prototype.Do};Ja(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;b>e.bb].Pf(d&e.Sa,b&255);void 0!==c&&pm(a,c);Tb(this.T)}};k.Ua=function(a,b,c){var d=om(this,a,!0,1);0<=d&&(sb(this.sa,d,b),void 0!==c&&pm(a,c),Tb(this.T))};function qm(a){return null==a[1]?"%"+p(a[2]):ea(a[0],a[1])} +k.ra=function(a,b){var c=65535,d=om(this,a,!1,1);0<=d&&(c=rb(this.sa,d),void 0!==b&&pm(a,b));return c};k.ld=function(a,b,c){var d=om(this,a,!0,0);if(0<=d){var e=this.sa;e.Ca[(d&e.pc)>>e.bb].Pf(d&e.Sa,b&255);void 0!==c&&pm(a,c);Tb(this.T)}};k.Va=function(a,b,c){var d=om(this,a,!0,1);0<=d&&(sb(this.sa,d,b),void 0!==c&&pm(a,c),Tb(this.T))};function qm(a){return null==a[1]?"%"+p(a[2]):ea(a[0],a[1])} function pm(a,b){b=void 0===b?1:b;null!=a[2]&&(a[2]+=b);null!=a[1]&&(a[0]+=b,a[0]!=(a[0]&65535)&&(a[0]&=65535,a[2]=null))}function Rl(a){var b;a.Cc=["exec"];if(void 0!==a.Xd)for(b=1;b>c.bb],!1)}a.Xd=["read"];if(void 0!==a.$c)for(b=1;b>c.bb],!0);a.$c=["write"]} k.ae=function(a,b,c){if(!rm(this,a,b)){b[3]=c;a.push(b);if(a!=this.Cc){var d=this.sa,e=om(this,b);d.Ca[e>>d.bb].ae(e&d.Sa,a==this.$c)}c||this.Z("breakpoint enabled: "+qm(b)+" ("+a[0]+")");Sl(this);return!0}return!1}; function rm(a,b,c,d){var e=!1;c=om(a,c);for(var f=1;f>d.bb],b==a.$c));g[3]||a.Z("breakpoint cleared: "+qm(g)+" ("+b[0]+")");Sl(a);break}a.Z("breakpoint exists: "+qm(g)+" ("+b[0]+")");break}}return e}function sm(a,b){for(var c=1;ca.Vc&&a.Qc.length&&(a.Vc=0);if(0>a.Vc||b!=a.Qc[a.Vc])a.Qc.splice(0,0,b),a.Vc=0;a.Vc--}else b=a.Qc[a.Vc+1];a=b?b.split(0<=b.indexOf("|")?"|":";"):[""];for(var d in a)a[d]=la(a[d]);return a} -function Ul(a,b){var c=!0;try{if(b.length||(a.rf?(a.Z("ended assemble @"+qm(a.Ae)),a.Pc=a.Ae,a.rf=!1):b="?"),b=b.toLowerCase(),eb(a)&&0d||"z"d||"z"Jm){if(d.load(this.Pg)){this.cf=new pd(this,"1.16.4","failsafe");this.cf.load()&&(Nm(this,d),a=2,Gm(this.cf));this.cf.set("timestamp",qa());Hm(this.cf);var e=this.Xc&&!this.Ch;if(1==a||ua("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== +function Mm(a,b){var c=new pd(a,"1.16.5","validate");if(c.load()&&c.parse()){var d=c.get("timestamp"),e=b?b.get("timestamp"):"unknown";d!=e&&(a.Ia("Machine state may be out-of-date\n("+d+" vs. "+e+")\nCheck your browser's local storage limits"),b||c.clear())}} +k.Vh=function(a){void 0===a&&(a=this.Xc||(this.Pg?1:Jm));var b=!1,c=!1;this.Qk=!1;var d=this.di||new pd(this,"1.16.5");if(-1==a)b=!0;else if(a>Jm){if(d.load(this.Pg)){this.cf=new pd(this,"1.16.5","failsafe");this.cf.load()&&(Nm(this,d),a=2,Gm(this.cf));this.cf.set("timestamp",qa());Hm(this.cf);var e=this.Xc&&!this.Ch;if(1==a||ua("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== f&&"no machine state"!=g?(this.Ia("Error: "+g),"unable to verify user"==g&&(Aa("user",""),this.Yc=null)):this.Z(f+": "+g),Gm(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Mm(this,c?d:null)}else 2==a&&d.clear()}else Mm(this);delete this.Pg;delete this.di}e=Xa(this.id);for(f=0;fa[1];a=a[2];this.ma.Tb=!0;this.Nk||(this.Z("PCjs v1.16.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.Nk=!0);this.T&&Om(this,this.T,b,c,a);this.Qk&&(Nm(this,b),b.clear());!c&&this.cf&&(this.cf.clear(),delete this.cf)}; -function Nm(a,b){if(ua("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.me(),d=b.toString(),e={app:"PCjs",ver:"1.16.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;sa("http://www.pcjs.org/api/v1/report",!0,e)}} -function Em(a,b,c){var d,e="none",f=new pd(a,"1.16.4"),g=new pd(a,"1.16.4","validate"),h=qa();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.T&&a.T.ec&&(c&&a.T.qb(),d=a.T.ec(b,c),"object"===typeof d&&f.set(a.T.id,d),c&&(a.T.ma.Tb=!1,!1===d&&(e=null)));for(var h=Xa(a.id),n=0;na[1];a=a[2];this.ma.Tb=!0;this.Nk||(this.Z("PCjs v1.16.5\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Nk=!0);this.T&&Om(this,this.T,b,c,a);this.Qk&&(Nm(this,b),b.clear());!c&&this.cf&&(this.cf.clear(),delete this.cf)}; +function Nm(a,b){if(ua("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.me(),d=b.toString(),e={app:"PCjs",ver:"1.16.5"};e.url=a.url;e.user=c;e.type="bug";e.data=d;sa("http://www.pcjs.org/api/v1/report",!0,e)}} +function Em(a,b,c){var d,e="none",f=new pd(a,"1.16.5"),g=new pd(a,"1.16.5","validate"),h=qa();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.5");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.T&&a.T.ec&&(c&&a.T.qb(),d=a.T.ec(b,c),"object"===typeof d&&f.set(a.T.id,d),c&&(a.T.ma.Tb=!1,!1===d&&(e=null)));for(var h=Xa(a.id),n=0;n/g.exec(a)){var e=d[2];b("Loading "+e+"...");sa(e,!0,null,null,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var n=h[0],m,t=/( [a-z]+=)(['"])(.*?)\2/g;m=t.exec(f);)n=0>n.indexOf(m[1])?n.replace(">",m[0]+">"):n.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=n&&(g=g.replace(h[0],n))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/, "");a=a.replace(d[0],g);Xm(a,b,c)}})}else c(a,null)} -function Ym(a,b,c,d){function e(a){if(void 0===h){var b=g&&A(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ja(a))}function f(a){e("Error: "+a);n&&(--Rm||La(!0));n=!1}var g,h,n=!0;Rm++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.4/components.xsl");var m=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Rm||La(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +function Ym(a,b,c,d){function e(a){if(void 0===h){var b=g&&A(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ja(a))}function f(a){e("Error: "+a);n&&(--Rm||La(!0));n=!1}var g,h,n=!0;Rm++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.5/components.xsl");var m=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Rm||La(!0)):f("transformNodeToObject failed")}else window.document.implementation&& window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(h),(m=m.transformToFragment(d,window.document))?(g.parentNode.replaceChild(m,g),--Rm||La(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Sm(c,null,null,!1,e,h):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Sm(b,a,d,!0,e,m):Tm(b,null,a,d,!1,e,m)}else f("failed to find machine element: "+a)}catch(t){f(t.message)}return n} window.embedPC=function(a,b,c,d){La(!1);return Ym(a,b,c,d)};window.enableEvents=La;window.sendEvent=Ma;})(); diff --git a/docs/pcjs/demos/pc.js b/docs/pcjs/demos/pc.js index 2a8407f980..2cc72f03d3 100644 --- a/docs/pcjs/demos/pc.js +++ b/docs/pcjs/demos/pc.js @@ -1,8 +1,8 @@ (function(){var k,aa,l,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36]};function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ca(a){return p(a,2)}function da(a,b){return void 0!==b?p(b,4)+":"+p(a,4):p(a)} function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function ha(a){return a.replace(/[&<>"']/g,function(a){return ga[a]})}function ia(){return Date.now()||+new Date} function ja(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ka=[31,28,31,30,31,30,31,31,30,31,30,31]; -function la(a,b,c,d,e,f){b=!!b;var h=0,g=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(g=n.responseText,200==n.status||!n.status&&g.length&&"file:"==(window?window.location.protocol:"file:")||(h=n.status||-1),e&&(d?e.call(d,m,g,h,f):e(m,g,h,f)))});if(c){var r="",s;for(s in c)c.hasOwnProperty(s)&&(r&&(r+="&"),r+=s+"="+encodeURIComponent(c[s]));r=r.replace(/%20/g,"+");n.open("POST", -a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded");n.send(r)}else n.open("GET",a,b),n.send();a=[];b||(g=n.responseText,200!=n.status&&(h=n.status||-1),e&&(d?e.call(d,m,g,h,f):e(m,g,h,f)),a=[h,g]);return a}function ma(){return"http://"+(window?window.location.host:"www.pcjs.org")}function q(a){window&&window.alert(a)}function na(a){var b=!1;window&&(b=window.confirm(a));return b}var oa=null; +function la(a,b,c,d,e,f){b=!!b;var g=0,h=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(h=n.responseText,200==n.status||!n.status&&h.length&&"file:"==(window?window.location.protocol:"file:")||(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)))});if(c){var r="",s;for(s in c)c.hasOwnProperty(s)&&(r&&(r+="&"),r+=s+"="+encodeURIComponent(c[s]));r=r.replace(/%20/g,"+");n.open("POST", +a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded");n.send(r)}else n.open("GET",a,b),n.send();a=[];b||(h=n.responseText,200!=n.status&&(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)),a=[g,h]);return a}function ma(){return"http://"+(window?window.location.host:"www.pcjs.org")}function q(a){window&&window.alert(a)}function na(a){var b=!1;window&&(b=window.confirm(a));return b}var oa=null; function pa(){if(null==oa){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}oa=a}return oa}function qa(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}function ra(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1} function sa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var ta={init:[],show:[],exit:[]},ua=!1,va=!0;function wa(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function za(a){ta.init.push(a)} function Aa(a){if(va)try{for(var b=0;b=this.Df?12:14;this.Cc=1<>2;this.Ra=this.Cc-1;this.zg=(this.Bh+this.Cc)/this.Cc|0;this.hd=this.zg-1;this.kg=[];this.lg=[];this.hi();z(this)}v(u,Ua);k=Ua.prototype;k.hi=function(){this.za=Array(this.zg);for(var a=0;a>a.yb;0>this.yb;0>a.yb;0>this.yb].jc(a&this.Ra)};function bb(a,b){return a.za[(b&a.tc)>>a.yb].jj(b&a.Ra)} -k.pa=function(a){var b=a&this.Ra;a=(a&this.tc)>>this.yb;return b!=this.Ra?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};function cb(a,b){var c=b&a.Ra,d=(b&a.tc)>>a.yb;return c!=a.Ra?a.za[d].wo(c):a.za[d++].jj(c)|a.za[d&a.hd].jj(0)<<8}k.ze=function(a,b){this.za[(a&this.tc)>>this.yb].lc(a&this.Ra,b&255)};k.Na=function(a,b){var c=a&this.Ra,d=(a&this.tc)>>this.yb;c!=this.Ra?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))}; -function db(a,b,c){var d=b&a.Ra;b=(b&a.tc)>>a.yb;d!=a.Ra?a.za[b].Fo(d,c&65535):(a.za[b++].rj(d,c&255),a.za[b&a.hd].rj(0,c>>8&255))}function eb(a){for(var b=0,c=[],d=0;d=this.Df?12:14;this.Cc=1<>2;this.Sa=this.Cc-1;this.zg=(this.Bh+this.Cc)/this.Cc|0;this.hd=this.zg-1;this.kg=[];this.lg=[];this.hi();z(this)}v(u,Ua);k=Ua.prototype;k.hi=function(){this.za=Array(this.zg);for(var a=0;a>a.yb;0>this.yb;0>a.yb;0>this.yb].jc(a&this.Sa)};function bb(a,b){return a.za[(b&a.tc)>>a.yb].jj(b&a.Sa)} +k.pa=function(a){var b=a&this.Sa;a=(a&this.tc)>>this.yb;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};function cb(a,b){var c=b&a.Sa,d=(b&a.tc)>>a.yb;return c!=a.Sa?a.za[d].wo(c):a.za[d++].jj(c)|a.za[d&a.hd].jj(0)<<8}k.ze=function(a,b){this.za[(a&this.tc)>>this.yb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.tc)>>this.yb;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))}; +function db(a,b,c){var d=b&a.Sa;b=(b&a.tc)>>a.yb;d!=a.Sa?a.za[b].Fo(d,c&65535):(a.za[b++].rj(d,c&255),a.za[b&a.hd].rj(0,c>>8&255))}function eb(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.mb=!0}]; Va.prototype={save:function(){return this.ea?null:this.qa},restore:function(a){return this.ea?null==a:a&&this.Ql==a.length<<2?(this.qa=a,this.mb=!0):!1},ye:function(a,b){a||(a=[]);void 0===b&&(b=!0);var c=a;this.jc=c[0]||kb;this.rl=c[1]||kb;b&&(this.jj=c[0]||kb,this.wo=c[1]||kb);c=a;this.lc=!this.Xj&&c[2]||lb;this.Fl=!this.Xj&&c[3]||lb;b&&(this.rj=c[2]||lb,this.Fo=c[3]||lb)}}; function mb(a,b){u.call(this,"CPU",a,mb);var c=a.cycles||b,d=a.multiplier||1;this.ba={};this.ba.Yc=c;this.ba.Nd=d;this.ba.Ug=Math.round(this.ba.Yc/1E4)/100;this.ba.$e=this.ba.Ug*this.ba.Nd;this.ma.Qb=!1;this.ma.Jb=!1;this.ma.$j=!1;this.ma.Qh=a.autoStart;this.ma.Sj=!1;c=Fa.autostart;void 0!==c&&(this.ma.Qh="true"==c?!0:"false"==c?!1:null);this.ma.Jg=!1;this.ba.Yg=this.ba.bf=0;this.ba.Zg=a.csStart;this.ba.Ef=a.csInterval;this.ba.Ff=a.csStop;var e=this;this.xn=function(){nb(e)};z(this)}v(u,mb);k=mb.prototype; -k.xc=function(a,b,c,d){this.ra=b;this.Wa=d;this.Sa=a;var e=Sa(a,"Video");e&&(this.yf=function(){ob(e)},this.cd=function(){e.cd()});this.la=Sa(a,"ChipSet");z(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.ac=function(a,b){if(!b){if(a&&this.restore){pb(this);if(!this.restore(a))return!1;qb(this)}else this.reset();this.ic("No debugger detected")}this.ma.Qb=!0;!rb(this)&&this.Wa&&this.Wa.Yp();this.yf();this.Qe();return!0}; +k.xc=function(a,b,c,d){this.ra=b;this.Wa=d;this.Ta=a;var e=Sa(a,"Video");e&&(this.yf=function(){ob(e)},this.cd=function(){e.cd()});this.la=Sa(a,"ChipSet");z(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.ac=function(a,b){if(!b){if(a&&this.restore){pb(this);if(!this.restore(a))return!1;qb(this)}else this.reset();this.ic("No debugger detected")}this.ma.Qb=!0;!rb(this)&&this.Wa&&this.Wa.Yp();this.yf();this.Qe();return!0}; k.$b=function(a){this.ma.Qb=!1;return a&&this.save?this.save():!0};function rb(a){return!0===a.ma.Qh||null===a.ma.Qh&&void 0===a.sa.run?(nb(a),!0):!1}k.bk=function(){return 0};function qb(a){void 0===a.ba.Zg&&(a.ba.Zg=0);void 0===a.ba.Ef&&(a.ba.Ef=-1);void 0===a.ba.Ff&&(a.ba.Ff=-1);a.ma.Jg=0<=a.ba.Zg&&0c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ba.Ug&&(c=Math.round(c/a.ba.Nd));return c}function pb(a){a.ba.Ld=0;a.ve=a.Rd=a.Xc=a.A=0;qb(a);tb(a,1)} function tb(a,b,c){if(void 0!==b){0.8>a.ba.Ld/a.ba.$e&&(b=1);a.ba.Nd=b;b=a.ba.Ug*a.ba.Nd;if(a.ba.$e!=b){a.ba.$e=b;b=a.ba.$e.toFixed(2)+"Mhz";var d=a.sa.setSpeed;d&&(d.textContent=b);a.ic("target speed: "+b)}c&&a.cd()}vb(a,a.Rd);a.Rd=0;a.ba.af=ia();a.ba.se=0;wb(a)} -function nb(a,b){if(Oa(a,!0)){if(!a.ma.Jb){tb(a);a.Sa&&a.Sa.start(a.ba.af,C(a));a.ma.Jb=!0;a.ma.$j=!0;a.la&&xb(a.la);var c=a.sa.run;c&&(c.textContent="Halt");a.Qe(!0);b&&a.cd()}a.ba.pi>=a.ba.Yc&&wb(a,!0);a.ba.Jf=0;a.ba.Wg=ia();a.ba.se&&(c=a.ba.Wg-a.ba.se,c>a.ba.ik&&(a.ba.af+=c,a.ba.af>a.ba.Wg&&(a.ba.af=a.ba.Wg)));try{do{var d=a.ma.Jg?1:a.ba.sn;if(a.la){yb(a.la);var e=a.la,c=d,f=e.Mb[0];if(f.pe){var h=(C(e.ka,e.Id)-f.rd)/e.gh|0,g=Ab(e,0)-h;6==f.mode&&(g-=h);var m=g*e.gh|0;6==f.mode&&(m>>=1);c>m&&(c= +function nb(a,b){if(Oa(a,!0)){if(!a.ma.Jb){tb(a);a.Ta&&a.Ta.start(a.ba.af,C(a));a.ma.Jb=!0;a.ma.$j=!0;a.la&&xb(a.la);var c=a.sa.run;c&&(c.textContent="Halt");a.Qe(!0);b&&a.cd()}a.ba.pi>=a.ba.Yc&&wb(a,!0);a.ba.Jf=0;a.ba.Wg=ia();a.ba.se&&(c=a.ba.Wg-a.ba.se,c>a.ba.ik&&(a.ba.af+=c,a.ba.af>a.ba.Wg&&(a.ba.af=a.ba.Wg)));try{do{var d=a.ma.Jg?1:a.ba.sn;if(a.la){yb(a.la);var e=a.la,c=d,f=e.Mb[0];if(f.pe){var g=(C(e.ka,e.Id)-f.rd)/e.gh|0,h=Ab(e,0)-g;6==f.mode&&(h-=g);var m=h*e.gh|0;6==f.mode&&(m>>=1);c>m&&(c= m)}var d=c,n=a.la,c=d;if(n.ja&&n.ja[11]&64){var r=n.df-C(n.ka,n.Id);0r&&(c=r)}d=c}a.Cl(d);var s=a.Xc-a.A;a.Rd+=s;a.ba.Jf+=s;vb(a,0,!0);var c=a,t=s;if(c.ma.Jg){var w=!1;c.ba.Yg=c.ba.Yg+c.bk()|0;c.ba.bf-=t;0>=c.ba.bf&&(c.ba.bf+=c.ba.Ef,w=!0);0<=c.ba.Ff&&c.ba.Ff<=C(c)&&(c.ba.Ef=c.ba.Ff=-1,qb(c),B(c),w=!0);w&&c.ic(C(c)+" cycles: checksum="+p(c.ba.Yg))}a.ba.Hf-=s;0>=a.ba.Hf&&(a.ba.Hf+=a.ba.mk,a.yf());a.ba.Gf-=s;0>=a.ba.Gf&&(a.ba.Gf+=a.ba.lk,a.Qe());a.ba.If-=s;if(0>=a.ba.If){a.ba.If+=a.ba.oi;break}}while(a.ma.Jb)}catch(D){B(a); -a.yf();a.Qe();a.Sa&&a.Sa.stop(ia(),C(a));Oa(a,!1);Qa(a,D.message);return}d=setTimeout;e=a.xn;a.ba.se=ia();f=a.ba.ik;a.ba.Jf&&(f=Math.round(f*a.ba.Jf/a.ba.oi));f-=a.ba.se-a.ba.Wg;if(h=a.ba.se-a.ba.af)a.ba.Ld=Math.round(a.Rd/(10*h))/100,864E5<=h&&(a.ve=0,a.la&&yb(a.la,!0),tb(a));if(0>f||a.ba.Ldf||a.ba.Ldthis.Rc?this.La+a:Nb.call(this,0,0,c)}function Nb(a,b,c){c||E.call(this.ka,13,0);return-4} function Pb(a,b,c){return a+b<=this.Rc?this.La+a:Rb.call(this,0,0,c)}function Sb(a,b,c){return a+b>this.Rc?this.La+a:Rb.call(this,0,0,c)}function Rb(a,b,c){c||E.call(this.ka,13,0);return-4} -function Tb(a,b){var c=this.ka,d=c.jb.La,e=this.$a,f=c.jb.Ba;if(!b){if(768!=c.jb.type)return E.call(c,10,a,!0),!1;c.Na(c.jb.xd+4,c.jb.kb&-769|256)}if(-4==c.jb.load(a))return!1;var h=c.jb.La;if(b){if(768==c.jb.type)return E.call(c,13,a,!0),!1;c.Na(c.jb.xd+4,c.jb.kb|=768);c.jb.type=768}c.Na(d+14,c.ua);c.Na(d+16,Ub(c));c.Na(d+18,c.H);c.Na(d+20,c.J);c.Na(d+22,c.K);c.Na(d+24,c.C);c.Na(d+26,c.X);c.Na(d+28,c.I);c.Na(d+30,c.G);c.Na(d+32,c.F);c.Na(d+34,c.Ua.Ba);c.Na(d+36,c.ya.Ba);c.Na(d+38,c.sb.Ba);c.Na(d+ -40,c.xb.Ba);var d=38,g=26;Vb(c,c.pa(h+16)|(b?16384:0));c.H=c.pa(h+18);c.J=c.pa(h+20);c.K=c.pa(h+22);c.C=c.pa(h+24);c.I=c.pa(h+28);c.G=c.pa(h+30);c.F=c.pa(h+32);c.Ua.load(c.pa(h+34));c.xb.load(c.pa(h+40));Wb(c,c.pa(h+14),c.pa(h+36));this.$a>13;if(6144<=g){w=c&3;if(w>a.$a){if(!1!==n&&!(D==a.$a||h&1024&&D<=a.$a)){m=-4;break}s=e.Ja();e.sb.load(e.Ja());e.X=s;a.Qg=!0}s=!1}else if(1024==g)s=!0,t=-1,r=c,wg||2048==(g&2560))){d||E.call(e,13,c,!!h);m=-4;break}}else if(3==a.id){if(!n||4096>g||2048==(g&2560)){d|| -E.call(e,13,c,!0);m=-4;break}}else if(4==a.id){if(!n||256!=g&&768!=g){d||E.call(e,10,c,!0);m=-4;break}}else if(6==a.id&&!(h&4096)&&768>13;if(6144<=h){w=c&3;if(w>a.$a){if(!1!==n&&!(D==a.$a||g&1024&&D<=a.$a)){m=-4;break}s=e.Ja();e.sb.load(e.Ja());e.X=s;a.Qg=!0}s=!1}else if(1024==h)s=!0,t=-1,r=c,wh||2048==(h&2560))){d||E.call(e,13,c,!!g);m=-4;break}}else if(3==a.id){if(!n||4096>h||2048==(h&2560)){d|| +E.call(e,13,c,!0);m=-4;break}}else if(4==a.id){if(!n||256!=h&&768!=h){d||E.call(e,10,c,!0);m=-4;break}}else if(6==a.id&&!(g&4096)&&768>13}else a.load=Fb,a.hk=Ib,a.Dc=Kb,a.Yb=Lb,a.Rc=65535,a.$a=a.pc=0,a.xd=-4} function Yb(a){this.Ia=a.model||8088;var b=0;switch(this.Ia){default:case 8088:b=4772727;break;case 80286:b=6E6}mb.call(this,a,b);this.xj=61442;this.hg=1792;this.gg=4;this.ef=255;this.B=80286<=this.Ia?Zb:$b;this.Va=ac.slice();this.Ml=bc.slice();this.Nl=cc.slice();this.Aj=dc;80186<=this.Ia&&(this.ef=31,this.Va[15]=G,this.Va[96]=ec,this.Va[97]=fc,this.Va[98]=gc,this.Va[99]=G,this.Va[100]=G,this.Va[101]=G,this.Va[102]=G,this.Va[103]=G,this.Va[104]=hc,this.Va[105]=ic,this.Va[106]=jc,this.Va[107]=kc,this.Va[108]= -lc,this.Va[109]=mc,this.Va[110]=nc,this.Va[111]=oc,this.Va[192]=pc,this.Va[193]=qc,this.Va[200]=rc,this.Va[201]=sc,this.Va[241]=tc,this.Ml[7]=uc,this.Nl[7]=uc,80286<=this.Ia&&(this.xj=2,this.hg|=28672,this.gg=0,this.Va[15]=vc,this.Va[99]=wc,this.Va[84]=xc));this.jg=[];this.zj=[];this.Xc=this.Bg=0;this.ma.zf=this.ma.am=!1;this.za=[];this.be=this.yb=this.Ra=this.hd=0;this.T=this.hm;this.U=this.im;this.O=this.ln;this.P=this.mn;this.R=this.Co;this.S=this.Do;yc(this)}v(mb,Yb); -var $b={ej:4,aa:5,ta:6,fa:7,ga:8,Q:9,V:11,W:12,te:4,ok:60,pk:83,Sb:3,vb:9,gc:16,dh:1,tk:19,vk:28,xk:16,wk:21,uk:37,rk:2,yi:9,sk:5,qk:33,Ai:10,zi:8,Pf:3,Of:15,Lk:51,Mk:1,Nk:2,Ok:4,Kk:32,Bi:15,Qk:15,Tb:16,Ub:4,Sk:11,Rk:18,Pk:24,Fb:4,Tk:2,Ci:16,Uk:17,Hi:18,Vk:19,Gi:5,Ii:6,$k:2,Zk:8,Xk:9,Yk:10,Wk:10,Ji:10,Ki:10,zk:80,Bk:144,yk:86,Ak:154,Dk:101,Fk:165,Ck:107,Ek:171,bl:70,dl:113,al:76,cl:124,Hk:80,Jk:128,Gk:86,Ik:134,Rf:3,Qf:16,Pi:10,Oi:8,el:51,hc:8,fl:17,gl:36,qc:11,hl:16,Sf:10,Qd:2,vi:18,wi:7,xi:15,Di:12, -Ei:7,Fi:11,Li:18,Mi:7,Ni:15,Qi:15,Ri:7,Si:13,Wi:11,Xi:7,Yi:8,il:8,ll:12,jl:18,kl:17,ml:15,Ui:8,Ti:20,Vi:2,aj:3,Tf:9,$i:5,Zi:11,cj:4,bj:17,nl:11},Zb={ej:0,aa:0,ta:0,fa:0,ga:0,Q:0,V:1,W:1,te:3,ok:14,pk:16,Sb:2,vb:7,gc:7,dh:0,tk:7,vk:13,xk:7,wk:11,uk:16,rk:3,yi:6,sk:2,qk:13,Ai:5,zi:5,Pf:2,Of:7,Lk:23,Mk:0,Nk:1,Ok:3,Kk:17,Bi:7,Qk:11,Tb:7,Ub:3,Sk:7,Rk:11,Pk:15,Fb:2,Tk:3,Ci:7,Uk:8,Hi:8,Vk:8,Gi:4,Ii:4,$k:2,Zk:3,Xk:5,Yk:2,Wk:3,Ji:5,Ki:3,zk:14,Bk:22,yk:17,Ak:25,Dk:17,Fk:25,Ck:20,Ek:28,bl:13,dl:21,al:16,cl:24, -Hk:13,Jk:21,Gk:16,Ik:24,Rf:2,Qf:7,Pi:5,Oi:5,el:19,hc:5,fl:5,gl:17,qc:3,hl:5,Sf:3,Qd:0,vi:8,wi:5,xi:9,Di:5,Ei:5,Fi:4,Li:5,Mi:5,Ni:4,Qi:7,Ri:5,Si:8,Wi:3,Xi:4,Yi:3,il:11,ll:11,jl:15,kl:15,ml:7,Ui:5,Ti:8,Vi:0,aj:2,Tf:6,$i:3,Zi:6,cj:3,bj:5,nl:5};k=Yb.prototype;k.hi=function(a,b,c,d,e){this.za=a;this.be=b;this.yb=c;this.Ra=d;this.hd=e};k.reset=function(){this.ma.Jb&&B(this);yc(this);pb(this);this.ma.Vc=!1}; +lc,this.Va[109]=mc,this.Va[110]=nc,this.Va[111]=oc,this.Va[192]=pc,this.Va[193]=qc,this.Va[200]=rc,this.Va[201]=sc,this.Va[241]=tc,this.Ml[7]=uc,this.Nl[7]=uc,80286<=this.Ia&&(this.xj=2,this.hg|=28672,this.gg=0,this.Va[15]=vc,this.Va[99]=wc,this.Va[84]=xc));this.jg=[];this.zj=[];this.Xc=this.Bg=0;this.ma.zf=this.ma.am=!1;this.za=[];this.be=this.yb=this.Sa=this.hd=0;this.T=this.hm;this.U=this.im;this.O=this.ln;this.P=this.mn;this.R=this.Co;this.S=this.Do;yc(this)}v(mb,Yb); +var $b={ej:4,aa:5,ta:6,fa:7,ga:8,Q:9,V:11,W:12,te:4,ok:60,pk:83,Sb:3,vb:9,fc:16,dh:1,tk:19,vk:28,xk:16,wk:21,uk:37,rk:2,yi:9,sk:5,qk:33,Ai:10,zi:8,Pf:3,Of:15,Lk:51,Mk:1,Nk:2,Ok:4,Kk:32,Bi:15,Qk:15,Tb:16,Ub:4,Sk:11,Rk:18,Pk:24,Fb:4,Tk:2,Ci:16,Uk:17,Hi:18,Vk:19,Gi:5,Ii:6,$k:2,Zk:8,Xk:9,Yk:10,Wk:10,Ji:10,Ki:10,zk:80,Bk:144,yk:86,Ak:154,Dk:101,Fk:165,Ck:107,Ek:171,bl:70,dl:113,al:76,cl:124,Hk:80,Jk:128,Gk:86,Ik:134,Rf:3,Qf:16,Pi:10,Oi:8,el:51,gc:8,fl:17,gl:36,qc:11,hl:16,Sf:10,Qd:2,vi:18,wi:7,xi:15,Di:12, +Ei:7,Fi:11,Li:18,Mi:7,Ni:15,Qi:15,Ri:7,Si:13,Wi:11,Xi:7,Yi:8,il:8,ll:12,jl:18,kl:17,ml:15,Ui:8,Ti:20,Vi:2,aj:3,Tf:9,$i:5,Zi:11,cj:4,bj:17,nl:11},Zb={ej:0,aa:0,ta:0,fa:0,ga:0,Q:0,V:1,W:1,te:3,ok:14,pk:16,Sb:2,vb:7,fc:7,dh:0,tk:7,vk:13,xk:7,wk:11,uk:16,rk:3,yi:6,sk:2,qk:13,Ai:5,zi:5,Pf:2,Of:7,Lk:23,Mk:0,Nk:1,Ok:3,Kk:17,Bi:7,Qk:11,Tb:7,Ub:3,Sk:7,Rk:11,Pk:15,Fb:2,Tk:3,Ci:7,Uk:8,Hi:8,Vk:8,Gi:4,Ii:4,$k:2,Zk:3,Xk:5,Yk:2,Wk:3,Ji:5,Ki:3,zk:14,Bk:22,yk:17,Ak:25,Dk:17,Fk:25,Ck:20,Ek:28,bl:13,dl:21,al:16,cl:24, +Hk:13,Jk:21,Gk:16,Ik:24,Rf:2,Qf:7,Pi:5,Oi:5,el:19,gc:5,fl:5,gl:17,qc:3,hl:5,Sf:3,Qd:0,vi:8,wi:5,xi:9,Di:5,Ei:5,Fi:4,Li:5,Mi:5,Ni:4,Qi:7,Ri:5,Si:8,Wi:3,Xi:4,Yi:3,il:11,ll:11,jl:15,kl:15,ml:7,Ui:5,Ti:8,Vi:0,aj:2,Tf:6,$i:3,Zi:6,cj:3,bj:5,nl:5};k=Yb.prototype;k.hi=function(a,b,c,d,e){this.za=a;this.be=b;this.yb=c;this.Sa=d;this.hd=e};k.reset=function(){this.ma.Jb&&B(this);yc(this);pb(this);this.ma.Vc=!1}; function yc(a){a.H=0;a.C=0;a.J=0;a.K=0;a.X=0;a.I=0;a.G=0;a.F=0;a.kc=65520;a.Lc=0;a.Ke=1023;a.cf=0;a.bh=-1;a.ya=new Cb(a,Db,"CS");a.xb=new Cb(a,2,"DS");a.Ua=new Cb(a,2,"ES");a.sb=new Cb(a,3,"SS");a.Al=new Cb(a,0,"NULL");Wb(a,0,65535);80286<=a.Ia&&(a.Kc=0,a.Je=65535,a.Wd=new Cb(a,5,"LDT",!0),a.jb=new Cb(a,4,"TSS",!0),a.Kb=new Cb(a,6,"VER",!0),Wb(a,65520,61440),a.ya.La=16711680);Vb(a,0);zc(a);a.nb=0;a.Gb=a.$f=-1;a.ug=0;a.ha=a.Ka=-4;a.D=a.xb;a.N=a.sb;a.Z=a.wa=0} -k.bk=function(){var a=this.H+this.C+this.J+this.K+this.X+this.I+this.G+this.F|0;return a=a+this.ua+this.ya.Ba+this.xb.Ba+this.sb.Ba+this.Ua.Ba+Ub(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.jg[b]&&(a.jg[b]=[]),a.jg[b].push([c,d]))}function Dc(a,b){var c=a.zj[b];null!=c&&(c(--a.Bg),delete a.zj[b])}function zc(a,b){void 0===b&&(b=!!(a.kc&1));b||a.fc("returning to real-mode");a.Aj=b?Ec:dc;Eb(a.ya,b);Eb(a.xb,b);Eb(a.sb,b);Eb(a.Ua,b)} +k.bk=function(){var a=this.H+this.C+this.J+this.K+this.X+this.I+this.G+this.F|0;return a=a+this.ua+this.ya.Ba+this.xb.Ba+this.sb.Ba+this.Ua.Ba+Ub(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.jg[b]&&(a.jg[b]=[]),a.jg[b].push([c,d]))}function Dc(a,b){var c=a.zj[b];null!=c&&(c(--a.Bg),delete a.zj[b])}function zc(a,b){void 0===b&&(b=!!(a.kc&1));b||a.hc("returning to real-mode");a.Aj=b?Ec:dc;Eb(a.ya,b);Eb(a.xb,b);Eb(a.sb,b);Eb(a.Ua,b)} k.save=function(){var a=new H(this);a.set(0,[this.H,this.C,this.J,this.K,this.X,this.I,this.G,this.F,this.cf]);a.set(1,[this.ua,this.ya.save(),this.xb.save(),this.sb.save(),this.Ua.save(),null!=this.Kc?[this.kc,this.Kc,this.Je,this.Lc,this.Ke,this.Wd.save(),this.jb.save(),this.cf]:null,Ub(this)]);a.set(2,[this.D.ph,this.N.ph,this.Z,this.wa,this.nb,this.ha,this.Ka]);a.set(3,[0,this.ve,this.ba.Nd]);a.set(4,eb(this.ra));return a.data()}; k.restore=function(a){var b;b=a[0];this.H=b[0];this.C=b[1];this.J=b[2];this.K=b[3];this.X=b[4];this.I=b[5];this.G=b[6];this.F=b[7];this.cf=b[8]||0;b=a[1];this.ya.restore(b[1]);this.xb.restore(b[2]);this.sb.restore(b[3]);this.Ua.restore(b[4]);var c=b[5];c&&c.length&&(this.kc=c[0],this.Kc=c[1],this.Je=c[2],this.Lc=c[3],this.Ke=c[4],this.Wd.restore(c[5]),this.jb.restore(c[6]),this.cf=c[7],zc(this));Vb(this,b[6]);I(this,b[0]);b=a[2];this.D=Fc(this,b[0]);this.N=Fc(this,b[1]);this.Z=b[2];this.wa=b[3];this.nb= -b[4];this.ha=b[5];this.Ka=b[6];b=a[3];this.ve=b[1];tb(this,b[2]);a:{b=this.ra;a=a[4];for(c=0;c>1?128:0}function Pc(a){return(a.ia^a.na^a.ia>>1)&a.ca>>1?2048:0}function Qc(a){a.Y&=~a.ca}function Rc(a){a.na=a.ia&16|a.na&-17}function Sc(a){a.Y|=a.ca-1}function Tc(a){a.ia&=~a.ca;a.na=a.ia&32896|a.na&-32897}function Uc(a){a.Y|=a.ca} function Vc(a){a.na=~(a.ia&16)&16|a.na&-17}function Wc(a){a.Y&=~(a.ca-1)}function Xc(a){Oc(a)||(a.ia^=a.ca>>1|a.ca>>2,a.na^=32896)}function Yc(a){a.ia|=a.ca;a.na=a.ia&32896|a.na&-32897}function Ub(a){return a.Ea&-2262|Kc(a)|Lc(a)|Mc(a)|Nc(a)|Oc(a)|Pc(a)} function Vb(a,b,c){a.ca=256;a.Y=a.ia=a.na=0;b&1&&Uc(a);b&4||(a.ia|=1);b&16&&(a.na|=16);b&64||Sc(a);b&128&&Xc(a);b&2048&&Yc(a);a.kc&1||(b&=-61441);void 0===c&&(c=a.ya.$a);c?b=b&-12289|a.Ea&12288:a.cf=(b&12288)>>12;c>a.cf&&(b=b&-513|a.Ea&512);a.Ea=a.Ea&~a.hg|b&a.hg|a.xj;a.Ea&256&&(a.nb|=2,a.Z|=4)} -k.Hb=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;d=!0;break;default:d=mb.prototype.Hb.call(this,a,b,c)}return d};k.od=function(a){return this.za[(a&this.be)>>this.yb].jc(a&this.Ra)}; -k.pa=function(a){var b=a&this.Ra;a=(a&this.be)>>this.yb;this.A-=this.B.ej;return b!=this.Ra?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};k.ze=function(a,b){this.za[(a&this.be)>>this.yb].lc(a&this.Ra,b&255)};k.Na=function(a,b){var c=a&this.Ra,d=(a&this.be)>>this.yb;this.A-=this.B.ej;c!=this.Ra?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))};k.hm=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)}; -k.im=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.ln=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)};k.mn=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.Co=function(a){this.Z&2||this.ze(this.cg.Yb(this.Wf,0),a)};k.Do=function(a){this.Z&2||this.Na(this.cg.Yb(this.Wf,1),a)};k.da=function(){var a=this.od(this.Da);this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a}; -k.M=function(){var a=this.od(this.Da)<<24>>24;this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a&65535};k.L=function(){var a=this.pa(this.Da);this.Da=this.ya.La+(this.ua=this.ua+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.pa(this.sb.Dc(a,1))};function F(a,b){var c=a.X=a.X-2&65535;a.Na(a.sb.Yb(c,1),b)} +k.Hb=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;d=!0;break;default:d=mb.prototype.Hb.call(this,a,b,c)}return d};k.od=function(a){return this.za[(a&this.be)>>this.yb].jc(a&this.Sa)}; +k.pa=function(a){var b=a&this.Sa;a=(a&this.be)>>this.yb;this.A-=this.B.ej;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};k.ze=function(a,b){this.za[(a&this.be)>>this.yb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.be)>>this.yb;this.A-=this.B.ej;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))};k.hm=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)}; +k.im=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.ln=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)};k.mn=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.Co=function(a){this.Z&2||this.ze(this.cg.Yb(this.Wf,0),a)};k.Do=function(a){this.Z&2||this.Oa(this.cg.Yb(this.Wf,1),a)};k.da=function(){var a=this.od(this.Da);this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a}; +k.M=function(){var a=this.od(this.Da)<<24>>24;this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a&65535};k.L=function(){var a=this.pa(this.Da);this.Da=this.ya.La+(this.ua=this.ua+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.pa(this.sb.Dc(a,1))};function F(a,b){var c=a.X=a.X-2&65535;a.Oa(a.sb.Yb(c,1),b)} k.Qe=function(a){if(a||!this.ma.Jb||this.ma.Sj)A(this,"AX",this.H),A(this,"BX",this.C),A(this,"CX",this.J),A(this,"DX",this.K),A(this,"SP",this.X),A(this,"BP",this.I),A(this,"SI",this.G),A(this,"DI",this.F),A(this,"CS",this.ya.Ba),A(this,"DS",this.xb.Ba),A(this,"SS",this.sb.Ba),A(this,"ES",this.Ua.Ba),A(this,"IP",this.ua),a=Ub(this),A(this,"PS",a),A(this,"C",a&1?1:0,1),A(this,"P",a&4?1:0,1),A(this,"A",a&16?1:0,1),A(this,"Z",a&64?1:0,1),A(this,"S",a&128?1:0,1),A(this,"T",a&256?1:0,1),A(this,"I",a& 512?1:0,1),A(this,"D",a&1024?1:0,1),A(this,"V",a&2048?1:0,1);if(a=this.sa.speed)a.textContent=this.ma.Jb&&this.ba.Ld?this.ba.Ld.toFixed(2)+"Mhz":"Stopped"}; k.Cl=function(a){this.ma.zf=!0;this.ma.am=!1;this.ma.$j=!1;this.Xc=this.A=a;this.la&&!a&&yb(this.la);a||(this.Z|=4);do{if(a=this.Z&240)this.wa|=a;else if(this.Xf=this.Da,this.ha=this.Ka=-4,this.D=this.xb,this.N=this.sb,this.wa=this.Z&256,this.nb){a:{if(!(this.Z&4))if(this.nb&1&&this.Ea&512){if(a=Zc(this.la),-1<=a&&(this.nb&=-2,0<=a)){this.nb&=-5;$c.call(this,a,null,11);break a}}else if(this.nb&2){this.nb&=-3;$c.call(this,1,null,11);break a}if(a=this.nb&8){a=this.la;for(var b=!1,c=0;cthis.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=a+b)&255} -function cd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a|b)&255}function dd(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return this.Y&255}function ed(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return this.Y&255} -function fd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a&b)&255}function gd(a,b){this.na=a^b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=a-b)&255}function hd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a^b)&255} -function id(a,b){this.na=a^b;this.ca=256;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function jd(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=a+b)&65535}function kd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a|b)&65535} -function ld(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return this.Y&65535}function md(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return this.Y&65535}function nd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a&b)&65535} -function od(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=a-b)&65535}function pd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.gc;return(this.Y=this.ia=this.na=a^b)&65535}function qd(a,b){this.na=a^b;this.ca=65536;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function rd(a,b){this.Y=this.Y&this.ca-1|(a&b?this.ca:0);(a^a>>1)&b>>1?Yc(this):Tc(this)} +a.bb[c],e=0;ethis.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&255} +function cd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&255}function dd(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&255}function ed(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&255} +function fd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&255}function gd(a,b){this.na=a^b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&255}function hd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&255} +function id(a,b){this.na=a^b;this.ca=256;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function jd(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&65535}function kd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&65535} +function ld(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&65535}function md(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&65535}function nd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&65535} +function od(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&65535}function pd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&65535}function qd(a,b){this.na=a^b;this.ca=65536;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function rd(a,b){this.Y=this.Y&this.ca-1|(a&b?this.ca:0);(a^a>>1)&b>>1?Yc(this):Tc(this)} function sd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;rd.call(this,d,256)}return c}function td(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;rd.call(this,d,65536)}return c}function ud(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);rd.call(this,d,256)}return c}function vd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);rd.call(this,d,65536)}return c} function wd(a,b){var c=a;if(b){var d;(d=(b&this.ef)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.ca?1:0)<<8;rd.call(this,d,256)}return c}function xd(a,b){var c=a;if(b){var d;(d=(b&this.ef)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.ca?1:0)<<16;rd.call(this,d,65536)}return c}function Ad(a,b){var c=a;b&&(c=(b&this.ef)%9,c=a>>c|(this.Y&this.ca?1:0)<<8-c|a<<9-c,rd.call(this,c,256),c&=255);return c} function Bd(a,b){var c=a;b&&(c=(b&this.ef)%17,c=a>>c|(this.Y&this.ca?1:0)<<16-c|a<<17-c,rd.call(this,c,65536),c&=65535);return c}function Cd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255}function Fd(a,b){if(b){var c=16>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535}function Gd(a,b){if(b){8>24>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255} function Hd(a,b){if(b){16>16>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535}function Id(){this.A-=0>this.ha?2:this.B.ml;return 1}function Jd(){var a=this.J&this.ef;this.A-=(0>this.ha?this.B.Ui:this.B.Ti)+(a<this.ha?this.B.Ui:this.B.Ti)+(a<this.Ka?this.B.hc:this.B.fl;return b},Md,Md,Md,Md,Md,Md,Md],Qd=[function(a,b){this.A-=0>this.Ka?this.B.Yk:this.B.Wk;return b},K,K,K,K,K,K,K],Rd=[sd,ud,wd,Ad,Cd,Ed,K,Gd],Sd=[td,vd,xd,Bd,Dd,Fd,K,Hd],Ud=[function(a,b){b=this.da();this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.ha?this.B.$i:this.B.Zi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^255},function(a,b){b=0;this.na= +var Nd=[bd,cd,dd,ed,fd,gd,hd,id],Od=[jd,kd,ld,md,nd,od,pd,qd],Pd=[function(a,b){this.A-=0>this.Ka?this.B.gc:this.B.fl;return b},Md,Md,Md,Md,Md,Md,Md],Qd=[function(a,b){this.A-=0>this.Ka?this.B.Yk:this.B.Wk;return b},K,K,K,K,K,K,K],Rd=[sd,ud,wd,Ad,Cd,Ed,K,Gd],Sd=[td,vd,xd,Bd,Dd,Fd,K,Hd],Ud=[function(a,b){b=this.da();this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.ha?this.B.$i:this.B.Zi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^255},function(a,b){b=0;this.na= a^b;this.ca=256;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&255},function(a){this.H=this.Gb=(this.Y=(this.H&255)*a)&65535;this.na=this.ia=this.Y;this.ca=256;this.H&65280?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.bl:this.B.al;this.Z|=2;return a},function(a){var b=(this.H<<24>>24)*(a<<24>>24);this.H=this.Gb=b&65535;this.Y=this.na=this.ia=b;this.ca=256;127b?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.Hk:this.B.Gk;this.Z|=2;return a}, function(a){if(!a)return Td.call(this),a;var b=this.H/a;if(255this.ha?this.B.zk:this.B.yk;this.Z|=2;return a},function(a){if(!a)return Td.call(this),a;var b=(this.H<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Td.call(this),a;this.Gb=this.H=b&255|((this.H<<16>>16)%(a<<24>>24)&255)<<8;this.ia=this.na=this.Y=b|256;this.ca=256;this.A-=0>this.ha?this.B.Dk:this.B.Ck;this.Z|=2;return a}], Vd=[function(a,b){b=this.L();this.Y=this.ia=this.na=a&b;this.ca=65536;this.A-=0>this.ha?this.B.$i:this.B.Zi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^65535},function(a,b){b=0;this.na=a^b;this.ca=65536;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&65535},function(a){this.Gb=this.H=(this.Y=this.H*a)&65535;this.$f=this.K=this.Y>>16&65535;this.na=this.ia=this.Y;this.ca=65536;this.K?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.dl: @@ -97,8 +97,8 @@ function me(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=this.H&-256|a;bre function ne(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=a;break;case 1:this.J=a;break;case 2:this.K=a;break;case 3:this.C=a;break;case 4:this.X=a;break;case 5:this.I=a;break;case 6:this.G=a;break;case 7:this.F=a}this.A-=this.B.cj}else this.Ka=this.ha,this.S(a),this.A-=this.B.bj;return b}function oe(a){a|=this.kc&1;this.kc=this.kc&65520|a&-65521;this.kc&1&&zc(this,!0)}function Wd(a,b){var c=this.ya.Ba,d=this.ua;null!=Wb(this,a,b,!0)&&(F(this,c),F(this,d))} function pe(a){var b=this.Ja(),c=this.Ja();a&&(this.X=this.X+a&65535);Wb(this,b,c,!1)&&(a&&(this.X=this.X+a&65535),this.xb.Ba&65528&&this.xb.pcthis.bh)I(this,this.Xf-this.ya.La),d=!0;else if(8!=this.bh)b=0,a=8,d=!0;else{qe.call(this,-1,0,c);yc(this);return}qe.call(this,a,b,c)&&(d=!1);d&&$c.call(this,this.bh=a,b,0);this.Z&=-4}else this.fc("Fault "+ca(a)+" blocked by Debugger",536870912),I(this,this.Xf-this.ya.La)} -function qe(a,b,c){var d=32,e=bb(this.ra,this.Da);204==e&&(c=!1,d|=1);983040<=this.Da&&1048575>=this.Da&&(c=!1);c&&(a=(c?"\n":"")+"Fault "+ca(a)+(null!=b?" ("+p(b,4)+")":"")+" on opcode 0x"+ca(e)+" at "+da(this.ua,this.ya.Ba)+" (%"+p(this.Da,6)+")",b=this.ma.Jb,this.fc(a,d)?c&&(c=b,B(this.Wa)):(this.Aa(a),B(this)));return c}function G(){E.call(this,6);B(this)}function M(){I(this,this.Xf-this.ya.La);Qa(this,"Undefined opcode 0x"+ca(bb(this.ra,this.Da))+" at "+da(this.ua,this.ya.Ba));B(this)} +function E(a,b,c){if(this.ma.zf){var d=!1;if(80186<=this.Ia)if(0>this.bh)I(this,this.Xf-this.ya.La),d=!0;else if(8!=this.bh)b=0,a=8,d=!0;else{qe.call(this,-1,0,c);yc(this);return}qe.call(this,a,b,c)&&(d=!1);d&&$c.call(this,this.bh=a,b,0);this.Z&=-4}else this.hc("Fault "+ca(a)+" blocked by Debugger",536870912),I(this,this.Xf-this.ya.La)} +function qe(a,b,c){var d=32,e=bb(this.ra,this.Da);204==e&&(c=!1,d|=1);983040<=this.Da&&1048575>=this.Da&&(c=!1);c&&(a=(c?"\n":"")+"Fault "+ca(a)+(null!=b?" ("+p(b,4)+")":"")+" on opcode 0x"+ca(e)+" at "+da(this.ua,this.ya.Ba)+" (%"+p(this.Da,6)+")",b=this.ma.Jb,this.hc(a,d)?c&&(c=b,B(this.Wa)):(this.Aa(a),B(this)));return c}function G(){E.call(this,6);B(this)}function M(){I(this,this.Xf-this.ya.La);Qa(this,"Undefined opcode 0x"+ca(bb(this.ra,this.Da))+" at "+da(this.ua,this.ya.Ba));B(this)} function re(a){a=a.call(this,this.H&255,this.H&255);this.H=this.H&-256|a}function se(a){a=a.call(this,this.H&255,this.J&255);this.H=this.H&-256|a}function te(a){a=a.call(this,this.H&255,this.K&255);this.H=this.H&-256|a}function ue(a){a=a.call(this,this.H&255,this.C&255);this.H=this.H&-256|a}function ve(a){a=a.call(this,this.H&255,this.H>>8);this.H=this.H&-256|a}function we(a){a=a.call(this,this.H&255,this.J>>8);this.H=this.H&-256|a} function xe(a){a=a.call(this,this.H&255,this.K>>8);this.H=this.H&-256|a}function ye(a){a=a.call(this,this.H&255,this.C>>8);this.H=this.H&-256|a}function ze(a){a=a.call(this,this.J&255,this.H&255);this.J=this.J&-256|a}function Ae(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Be(a){a=a.call(this,this.J&255,this.K&255);this.J=this.J&-256|a}function Ce(a){a=a.call(this,this.J&255,this.C&255);this.J=this.J&-256|a} function De(a){a=a.call(this,this.J&255,this.H>>8);this.J=this.J&-256|a}function Ee(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Fe(a){a=a.call(this,this.J&255,this.K>>8);this.J=this.J&-256|a}function Ge(a){a=a.call(this,this.J&255,this.C>>8);this.J=this.J&-256|a}function He(a){a=a.call(this,this.K&255,this.H&255);this.K=this.K&-256|a}function Ie(a){a=a.call(this,this.K&255,this.J&255);this.K=this.K&-256|a} @@ -380,7 +380,7 @@ function(a,b){this.X=a[6].call(this,this.X,b.call(this))},function(a,b){this.I=a b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))}];function vc(){Tg[this.da()].call(this)}function xc(){F(this,this.X);this.A-=this.B.qc}function ec(){var a=this.X;F(this,this.H);F(this,this.J);F(this,this.K);F(this,this.C);F(this,a);F(this,this.I);F(this,this.G);F(this,this.F);this.A-=this.B.gl} function fc(){this.F=this.Ja();this.G=this.Ja();this.I=this.Ja();this.X+=2;this.C=this.Ja();this.K=this.Ja();this.J=this.Ja();this.H=this.Ja();this.A-=this.B.el}function gc(){N[this.da()].call(this,ie)}function wc(){Pg[this.da()].call(this,je)}function hc(){F(this,this.L());this.A-=this.B.qc}function ic(){N[this.da()].call(this,de)}function jc(){F(this,this.da());this.A-=this.B.qc}function kc(){N[this.da()].call(this,ce)} function lc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=gb(this.ra,this.K,this.Da-b-1);this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}} -function mc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.Da-b-1,d=gb(this.ra,this.K,d)|gb(this.ra,this.K,d)<<8;this.Na(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}} +function mc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.Da-b-1,e=gb(this.ra,this.K,d),d=e|=gb(this.ra,this.K,d)<<8;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}} function nc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.od(this.xb.Dc(this.G,0));this.G=this.G+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;ib(this.ra,this.K,d,this.Da-b-1);a&&(J(this,-2),this.Z|=256)}} function oc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.pa(this.xb.Dc(this.G,1));this.G=this.G+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;b=this.Da-b-1;ib(this.ra,this.K,d&255,b);ib(this.ra,this.K,d>>8,b);a&&(J(this,-2),this.Z|=256)}}function Ug(){var a=this.M();Pc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Vg(){var a=this.M();Pc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)} function Wg(){var a=this.M();Kc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Xg(){var a=this.M();Kc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function Yg(){var a=this.M();Nc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Zg(){var a=this.M();Nc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function $g(){var a=this.M();Kc(this)||Nc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub} @@ -389,10 +389,10 @@ function fh(){var a=this.M();!Oc(this)!=!Pc(this)?(I(this,this.ua+a),this.A-=thi function jh(){Rg[this.da()].call(this,Nd,this.da);this.A-=0>this.Ka?1:this.B.dh}function pc(){Rg[this.da()].call(this,Xd,Kd)}function qc(){Sg[this.da()].call(this,Yd,Kd)}function kh(){var a=this.L();I(this,this.Ja());this.X=this.X+a&65535;this.A-=this.B.ll}function lh(){I(this,this.Ja());this.A-=this.B.il} function rc(){var a=this.L(),b=this.da()&31;this.A-=11;F(this,this.I);var c=this.X;if(0>8,c,d=Mc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.Y=a);this.ca=65536;c&&(this.Y|=this.ca);d?Vc(this):Rc(this);this.A-=this.B.te},function(){Og[this.da()].call(this,id)},function(){Pg[this.da()].call(this,qd)},function(){Qg[this.da()].call(this,id)},function(){N[this.da()].call(this,qd)},function(){this.H=this.H&-256|id.call(this,this.H&255,this.da());this.A--},function(){this.H=qd.call(this,this.H,this.L());this.A--}, @@ -401,42 +401,42 @@ function(){this.Z|=20;this.D=this.N=this.xb;this.A-=this.B.Qd},function(){var a= this.G;this.G=(this.ia=this.G+1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F+1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.H;this.H=(this.ia=this.H-1)&65535;this.Y=this.H|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.J;this.J=(this.ia=this.J-1)&65535;this.Y=this.J|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.K;this.K= (this.ia=this.K-1)&65535;this.Y=this.K|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.C;this.C=(this.ia=this.C-1)&65535;this.Y=this.C|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.X;this.X=(this.ia=this.X-1)&65535;this.Y=this.X|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.I;this.I=(this.ia=this.I-1)&65535;this.Y=this.I|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.G;this.G=(this.ia=this.G- 1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F-1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){F(this,this.H);this.A-=this.B.qc},function(){F(this,this.J);this.A-=this.B.qc},function(){F(this,this.K);this.A-=this.B.qc},function(){F(this,this.C);this.A-=this.B.qc},function(){F(this,this.X-2&65535);this.A-=this.B.qc},function(){F(this,this.I);this.A-=this.B.qc},function(){F(this,this.G);this.A-= -this.B.qc},function(){F(this,this.F);this.A-=this.B.qc},function(){this.H=this.Ja();this.A-=this.B.hc},function(){this.J=this.Ja();this.A-=this.B.hc},function(){this.K=this.Ja();this.A-=this.B.hc},function(){this.C=this.Ja();this.A-=this.B.hc},function(){this.X=this.Ja();this.A-=this.B.hc},function(){this.I=this.Ja();this.A-=this.B.hc},function(){this.G=this.Ja();this.A-=this.B.hc},function(){this.F=this.Ja();this.A-=this.B.hc},Ug,Vg,Wg,Xg,Yg,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,Ug,Vg,Wg,Xg,Yg,Zg,$g, +this.B.qc},function(){F(this,this.F);this.A-=this.B.qc},function(){this.H=this.Ja();this.A-=this.B.gc},function(){this.J=this.Ja();this.A-=this.B.gc},function(){this.K=this.Ja();this.A-=this.B.gc},function(){this.C=this.Ja();this.A-=this.B.gc},function(){this.X=this.Ja();this.A-=this.B.gc},function(){this.I=this.Ja();this.A-=this.B.gc},function(){this.G=this.Ja();this.A-=this.B.gc},function(){this.F=this.Ja();this.A-=this.B.gc},Ug,Vg,Wg,Xg,Yg,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,Ug,Vg,Wg,Xg,Yg,Zg,$g, ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,function(){Sg[this.da()].call(this,Od,this.L);this.A-=0>this.Ka?1:this.B.dh},jh,function(){Sg[this.da()].call(this,Od,this.M);this.A-=0>this.Ka?1:this.B.dh},function(){Og[this.da()].call(this,ae)},function(){Pg[this.da()].call(this,be)},function(){Qg[this.ug=this.da()].call(this,me)},function(){N[this.ug=this.da()].call(this,ne)},function(){this.Z|=1;Og[this.da()].call(this,Zd)},function(){this.Z|=1;Pg[this.da()].call(this,Zd)},function(){Qg[this.da()].call(this,Zd)}, function(){N[this.da()].call(this,Zd)},function(){var a=this.da();switch((a&56)>>3){case 0:this.Gb=this.Ua.Ba;break;case 1:this.Gb=this.ya.Ba;break;case 2:this.Gb=this.sb.Ba;break;case 3:this.Gb=this.xb.Ba;break;default:M.call(this);return}this.Z|=1;Pg[a].call(this,$d)},function(){this.Z|=1;this.D=this.N=this.Al;N[this.da()].call(this,fe)},function(){var a,b=this.da(),c=(b&56)>>3;switch(c){case 0:a=this.H;break;case 2:a=this.K;break;case 3:a=this.C;break;default:if(80286<=this.Ia){G.call(this);return}switch(c){case 1:a= this.J;break;case 4:a=this.X;break;case 5:a=this.I;break;case 6:a=this.G;break;case 7:a=this.F}}N[b].call(this,Zd);switch(c){case 0:Jc(this,this.H);this.H=a;break;case 1:Gc(this,this.J);this.J=a;break;case 2:Ic(this,this.K);this.K=a;break;case 3:Hc(this,this.C);this.C=a;break;case 4:Jc(this,this.X);this.X=a;break;case 5:Gc(this,this.I);this.I=a;break;case 6:Ic(this,this.G);this.G=a;break;case 7:Hc(this,this.F),this.F=a}},function(){this.Z|=1;Sg[this.da()].call(this,Pd,this.Ja)},function(){this.A-= 3},function(){var a=this.H;this.H=this.J;this.J=a;this.A-=3},function(){var a=this.H;this.H=this.K;this.K=a;this.A-=3},function(){var a=this.H;this.H=this.C;this.C=a;this.A-=3},function(){var a=this.H;this.H=this.X;this.X=a;this.A-=3},function(){var a=this.H;this.H=this.I;this.I=a;this.A-=3},function(){var a=this.H;this.H=this.G;this.G=a;this.A-=3},function(){var a=this.H;this.H=this.F;this.F=a;this.A-=3},function(){this.H=this.H<<24>>24&65535;this.A-=2},function(){this.K=this.H&32768?65535:0;this.A-= -this.B.sk},function(){Wd.call(this,this.L(),this.L());this.A-=this.B.vk},function(){this.fc("WAIT not implemented",1);this.A--},function(){F(this,Ub(this));this.A-=this.B.qc},function(){Vb(this,this.Ja());this.A-=this.B.hc},function(){var a=this.H>>8;a&1?Uc(this):Qc(this);a&4?Lc(this)||(this.ia^=1):Lc(this)&&(this.ia^=1);a&16?Vc(this):Rc(this);a&64?Wc(this):Sc(this);a&128?Xc(this):Oc(this)&&(this.ia^=this.ca>>1|this.ca>>2,this.na^=32896);this.A-=this.B.Fb},function(){this.H=this.H&255|(Ub(this)&213)<< -8;this.A-=this.B.Fb},function(){this.H=this.H&-256|this.T(this.D,this.L());this.A-=this.B.Ji},function(){this.H=this.U(this.D,this.L());this.A-=this.B.Ji},function(){var a=this.L(),b=this.H;this.ze(this.D.Yb(a,0),b);this.A-=this.B.Ki},function(){var a=this.L(),b=this.H;this.Na(this.D.Yb(a,1),b);this.A-=this.B.Ki},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G);this.ze(this.Ua.Yb(this.F, -0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G);this.Na(this.Ua.Yb(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.vi;this.wa&192&&(a=this.J,b=1,c=this.B.xi,this.wa&256|| +this.B.sk},function(){Wd.call(this,this.L(),this.L());this.A-=this.B.vk},function(){this.hc("WAIT not implemented",1);this.A--},function(){F(this,Ub(this));this.A-=this.B.qc},function(){Vb(this,this.Ja());this.A-=this.B.gc},function(){var a=this.H>>8;a&1?Uc(this):Qc(this);a&4?Lc(this)||(this.ia^=1):Lc(this)&&(this.ia^=1);a&16?Vc(this):Rc(this);a&64?Wc(this):Sc(this);a&128?Xc(this):Oc(this)&&(this.ia^=this.ca>>1|this.ca>>2,this.na^=32896);this.A-=this.B.Fb},function(){this.H=this.H&255|(Ub(this)&213)<< +8;this.A-=this.B.Fb},function(){this.H=this.H&-256|this.T(this.D,this.L());this.A-=this.B.Ji},function(){this.H=this.U(this.D,this.L());this.A-=this.B.Ji},function(){var a=this.L(),b=this.H;this.ze(this.D.Yb(a,0),b);this.A-=this.B.Ki},function(){var a=this.L(),b=this.H;this.Oa(this.D.Yb(a,1),b);this.A-=this.B.Ki},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G);this.ze(this.Ua.Yb(this.F, +0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G);this.Oa(this.Ua.Yb(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.vi;this.wa&192&&(a=this.J,b=1,c=this.B.xi,this.wa&256|| (this.A-=this.B.wi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G),f=this.O(this.Ua,this.F);id.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.vi;this.wa&192&&(a=this.J,b=1,c=this.B.xi,this.wa&256||(this.A-=this.B.wi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G),f=this.P(this.Ua,this.F);qd.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+ d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){this.Y=this.ia=this.na=this.H&255&this.da();this.ca=256;this.A-=this.B.te},function(){this.Y=this.ia=this.na=this.H&this.L();this.ca=65536;this.A-=this.B.te},function(){var a=1,b=0,c=this.B.Wi;this.wa&192&&(a=this.J,b=1,c=this.B.Yi,this.wa&256||(this.A-=this.B.Xi));if(a--){var d=this.H;this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this, --2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Wi;this.wa&192&&(a=this.J,b=1,c=this.B.Yi,this.wa&256||(this.A-=this.B.Xi));if(a--){var d=this.H;this.Na(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Di;this.wa&192&&(a=this.J,b=1,c=this.B.Fi,this.wa&256||(this.A-=this.B.Ei));a--&&(this.H=this.H&-256|this.T(this.D,this.G),this.G=this.G+(this.Ea&1024?-1:1)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa& +-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Wi;this.wa&192&&(a=this.J,b=1,c=this.B.Yi,this.wa&256||(this.A-=this.B.Xi));if(a--){var d=this.H;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Di;this.wa&192&&(a=this.J,b=1,c=this.B.Fi,this.wa&256||(this.A-=this.B.Ei));a--&&(this.H=this.H&-256|this.T(this.D,this.G),this.G=this.G+(this.Ea&1024?-1:1)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa& 16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Di;this.wa&192&&(a=this.J,b=1,c=this.B.Fi,this.wa&256||(this.A-=this.B.Ei));a--&&(this.H=this.U(this.D,this.G),this.G=this.G+(this.Ea&1024?-2:2)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa&16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Qi;this.wa&192&&(a=this.J,b=1,c=this.B.Si,this.wa&256||(this.A-=this.B.Ri));a--&&(id.call(this,this.H&255,this.O(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-1:1)&65535,this.A-=c-this.B.vb,this.J-= b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Qi;this.wa&192&&(a=this.J,b=1,c=this.B.Si,this.wa&256||(this.A-=this.B.Ri));a--&&(qd.call(this,this.H,this.P(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-2:2)&65535,this.A-=c-this.B.vb,this.J-=b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){this.H=this.H&-256|this.da();this.A-=this.B.Fb},function(){this.J=this.J&-256|this.da();this.A-=this.B.Fb},function(){this.K=this.K&-256|this.da();this.A-= this.B.Fb},function(){this.C=this.C&-256|this.da();this.A-=this.B.Fb},function(){this.H=this.H&255|this.da()<<8;this.A-=this.B.Fb},function(){this.J=this.J&255|this.da()<<8;this.A-=this.B.Fb},function(){this.K=this.K&255|this.da()<<8;this.A-=this.B.Fb},function(){this.C=this.C&255|this.da()<<8;this.A-=this.B.Fb},function(){this.H=this.L();this.A-=this.B.Fb},function(){this.J=this.L();this.A-=this.B.Fb},function(){this.K=this.L();this.A-=this.B.Fb},function(){this.C=this.L();this.A-=this.B.Fb},function(){this.X= this.L();this.A-=this.B.Fb},function(){this.I=this.L();this.A-=this.B.Fb},function(){this.G=this.L();this.A-=this.B.Fb},function(){this.F=this.L();this.A-=this.B.Fb},kh,lh,kh,lh,function(){N[this.da()].call(this,he)},function(){N[this.da()].call(this,ge)},function(){this.Z|=1;Rg[this.da()].call(this,Qd,this.da)},function(){this.Z|=1;Sg[this.da()].call(this,Qd,this.L)},mh,nh,mh,nh,function(){$c.call(this,3,null,this.B.Mk)},function(){var a=this.da(),b;a:{b=this.jg[a];if(void 0!==b)for(var c=0;c>8)*a+this.H&255;this.ca=256;this.A-=this.B.ok},function(){this.H=this.H&-256|(Kc(this)?255:0);this.A-=2},function(){this.H=this.H&-256|this.T(this.D,this.C+(this.H&255)&65535);this.A-=this.B.nl},oh,oh,oh,oh,oh,oh,oh,oh,function(){var a=this.M();(this.J=this.J-1&65535)&&this.Y&this.ca-1?(I(this,this.ua+a),this.A-=this.B.Vk): -this.A-=this.B.Gi},function(){var a=this.M();!(this.J=this.J-1&65535)||this.Y&this.ca-1?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.M();(this.J=this.J-1&65535)?(I(this,this.ua+a),this.A-=this.B.Uk):this.A-=this.B.Gi},function(){var a=this.M();this.J?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.da();this.H=this.H&-256|gb(this.ra,a,this.Da-2);this.A-=this.B.Ai},function(){var a=this.da();this.H=gb(this.ra,a,this.Da-1)|gb(this.ra,a+ -1&65535,this.Da-2)<<8;this.A-=this.B.Ai},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);this.A-=this.B.Pi},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);ib(this.ra,a+1&65535,this.H>>8,this.Da-2);this.A-=this.B.Pi},function(){var a=this.L();F(this,this.ua);I(this,this.ua+a);this.A-=this.B.tk},function(){var a=this.L();I(this,this.ua+a);this.A-=this.B.Bi},function(){Wb(this,this.L(),this.L());this.A-=this.B.Qk},function(){var a=this.M();I(this,this.ua+a);this.A-=this.B.Bi}, -function(){this.H=this.H&-256|gb(this.ra,this.K,this.Da-1);this.A-=this.B.zi},function(){this.H=gb(this.ra,this.K,this.Da-1)|gb(this.ra,this.K+1&65535,this.Da-1)<<8;this.A-=this.B.zi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);this.A-=this.B.Oi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);ib(this.ra,this.K+1&65535,this.H>>8,this.Da-1);this.A-=this.B.Oi},ph,ph,function(){this.Z|=132;this.A-=this.B.Qd},function(){this.Z|=68;this.A-=this.B.Qd},function(){this.nb|=4;this.A-=2;this.Ea&512|| -B(this)},function(){Kc(this)?Qc(this):Uc(this);this.A-=2},function(){this.Gb=-1;Rg[this.da()].call(this,Ud,Ld);0<=this.Gb&&(this.H=this.Gb)},function(){this.Gb=-1;Sg[this.da()].call(this,Vd,Ld);0<=this.Gb&&(this.H=this.Gb,this.K=this.$f)},function(){this.Y&=~this.ca;this.A-=2},function(){this.Y|=this.ca;this.A-=2},function(){this.Ea&=-513;this.A-=this.B.rk},function(){this.Ea|=512;this.Z|=4;this.A-=2},function(){this.Ea&=-1025;this.A-=2},function(){this.Ea|=1024;this.A-=2},function(){Rg[this.da()].call(this, +this.A-=this.B.Gi},function(){var a=this.M();!(this.J=this.J-1&65535)||this.Y&this.ca-1?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.M();(this.J=this.J-1&65535)?(I(this,this.ua+a),this.A-=this.B.Uk):this.A-=this.B.Gi},function(){var a=this.M();this.J?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.da();this.H=this.H&-256|gb(this.ra,a,this.Da-2);this.A-=this.B.Ai},function(){var a=this.da();this.H=gb(this.ra,a,this.Da-2);this.H|=gb(this.ra, +a+1&65535,this.Da-2)<<8;this.A-=this.B.Ai},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);this.A-=this.B.Pi},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);ib(this.ra,a+1&65535,this.H>>8,this.Da-2);this.A-=this.B.Pi},function(){var a=this.L();F(this,this.ua);I(this,this.ua+a);this.A-=this.B.tk},function(){var a=this.L();I(this,this.ua+a);this.A-=this.B.Bi},function(){Wb(this,this.L(),this.L());this.A-=this.B.Qk},function(){var a=this.M();I(this,this.ua+a);this.A-=this.B.Bi}, +function(){this.H=this.H&-256|gb(this.ra,this.K,this.Da-1);this.A-=this.B.zi},function(){this.H=gb(this.ra,this.K,this.Da-1);this.H|=gb(this.ra,this.K+1&65535,this.Da-1)<<8;this.A-=this.B.zi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);this.A-=this.B.Oi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);ib(this.ra,this.K+1&65535,this.H>>8,this.Da-1);this.A-=this.B.Oi},ph,ph,function(){this.Z|=132;this.A-=this.B.Qd},function(){this.Z|=68;this.A-=this.B.Qd},function(){this.nb|=4;this.A-=2;this.Ea& +512||B(this)},function(){Kc(this)?Qc(this):Uc(this);this.A-=2},function(){this.Gb=-1;Rg[this.da()].call(this,Ud,Ld);0<=this.Gb&&(this.H=this.Gb)},function(){this.Gb=-1;Sg[this.da()].call(this,Vd,Ld);0<=this.Gb&&(this.H=this.Gb,this.K=this.$f)},function(){this.Y&=~this.ca;this.A-=2},function(){this.Y|=this.ca;this.A-=2},function(){this.Ea&=-513;this.A-=this.B.rk},function(){this.Ea|=512;this.Z|=4;this.A-=2},function(){this.Ea&=-1025;this.A-=2},function(){this.Ea|=1024;this.A-=2},function(){Rg[this.da()].call(this, bc,Ld)},function(){Sg[this.da()].call(this,cc,Ld)}],Tg=[function(){var a=this.da();16>(a&56)&&(this.Z|=1);Sg[a].call(this,this.Aj,Ld)},function(){var a=this.da();a&16||(this.Z|=1);Sg[a].call(this,qh,Ld)},function(){N[this.da()].call(this,ke)},function(){N[this.da()].call(this,le)},M,function(){this.ya.$a?E.call(this,13,0,!0):(oe.call(this,this.pa(2054)),this.F=this.pa(2086),this.G=this.pa(2088),this.I=this.pa(2090),this.X=this.pa(2092),this.C=this.pa(2094),this.K=this.pa(2096),this.J=this.pa(2098), this.H=this.pa(2100),Xb(this.Ua,2102,this.pa(2084)),Xb(this.ya,2108,this.pa(2082)),Xb(this.sb,2114,this.pa(2080)),Xb(this.xb,2120,this.pa(2078)),Vb(this,this.pa(2072)),I(this,this.pa(2074)),this.Kc=this.pa(2126)|this.pa(2128)<<16,this.Je=this.Kc+this.pa(2130),Xb(this.Wd,2132,this.pa(2076)),this.Lc=this.pa(2138)|this.pa(2140)<<16,this.Ke=this.Lc+this.pa(2142),Xb(this.jb,2144,this.pa(2070)),this.A-=195)},function(){this.ya.$a?E.call(this,13,0,!0):(this.kc&=-9,this.A-=2)},M,M,M,M,G,M,M,M,M,M,M,M,M,M, M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M],Ec=[function(){this.A-=2+(0>this.ha? -0:1);return this.Wd.Ba},function(){this.A-=2+(0>this.ha?0:1);return this.jb.Ba},function(a){this.Z|=2;this.Wd.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;-4!=this.jb.load(a)&&(this.Na(this.jb.xd+4,this.jb.kb|=512),this.jb.type=768);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&2048!=(this.Kb.kb&2560)&&(this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3)||7168==(this.Kb.kb&7168)))return Wc(this),a;Sc(this);return a},function(a){this.Z|= -2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&512==(this.Kb.kb&2560)&&this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3))return Wc(this),a;Sc(this);return a},K,K],dc=[uc,uc,uc,uc,uc,uc,K,K],qh=[function(a){0>this.ha?G.call(this):(a=this.Je-this.Kc,this.Na(this.ha+2,this.Kc),this.Na(this.ha+4,65280|this.Kc>>16),this.A-=11);return a},function(a){0>this.ha?G.call(this):(a=this.Ke-this.Lc,this.Na(this.ha+2,this.Lc),this.Na(this.ha+4,65280|this.Lc>>16),this.A-=12);return a},function(a){0>this.ha?G.call(this): +0:1);return this.Wd.Ba},function(){this.A-=2+(0>this.ha?0:1);return this.jb.Ba},function(a){this.Z|=2;this.Wd.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;-4!=this.jb.load(a)&&(this.Oa(this.jb.xd+4,this.jb.kb|=512),this.jb.type=768);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&2048!=(this.Kb.kb&2560)&&(this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3)||7168==(this.Kb.kb&7168)))return Wc(this),a;Sc(this);return a},function(a){this.Z|= +2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&512==(this.Kb.kb&2560)&&this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3))return Wc(this),a;Sc(this);return a},K,K],dc=[uc,uc,uc,uc,uc,uc,K,K],qh=[function(a){0>this.ha?G.call(this):(a=this.Je-this.Kc,this.Oa(this.ha+2,this.Kc),this.Oa(this.ha+4,65280|this.Kc>>16),this.A-=11);return a},function(a){0>this.ha?G.call(this):(a=this.Ke-this.Lc,this.Oa(this.ha+2,this.Lc),this.Oa(this.ha+4,65280|this.Lc>>16),this.A-=12);return a},function(a){0>this.ha?G.call(this): (this.Kc=this.pa(this.ha+2)|this.od(this.ha+4)<<16,this.Je=this.Kc+a,this.Z|=2,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.Lc=this.pa(this.ha+2)|this.od(this.ha+4)<<16,this.Ke=this.Lc+a,this.Z|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.kc},K,function(a){oe.call(this,a);this.A-=0>this.ha?3:6;this.Z|=2;return a},K]; function O(a){u.call(this,"ChipSet",a,O);this.Ia=(this.Ia=a.model)?parseInt(this.Ia,10):rh;this.Vb=0;var b=a.sw1;if(b)this.Vb=sh(b,th|uh.Kl);else{this.vd=[360,360];(b=a.floppies)&&b.length&&(this.vd=b);if(b=this.vd.length)this.Vb|=vh.vh,b--,this.Vb|=(b&3)<=wh&&(this.Ag=this.sf=2);this.Id=a.scaleTimers||!1;this.Bo=a.rtcDate;this.Zj= !1;a.sound&&window&&"webkitAudioContext"in window&&(this.Kh=new window.webkitAudioContext);this.reset(!0);z(this)}v(u,O);var rh=5150,wh=5170,xh={none:0,tv:1,color:2,mono:3,ega:0},vh={vh:1,ONE:0,sp:64,qp:128,Qo:192,jf:192,kf:6},th=12,uh={rp:16,Io:32,Kl:48,jf:48,kf:4};k=O.prototype; k.Hb=function(a,b,c){switch(b){case "sw1":return this.sa[b]=c,yh(this,b,c,this.Vb,{0:this.Ia==rh?"Bootable Floppy Drive":"Loop on POST",1:this.Ia==rh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ia==rh)return this.sa[b]=c,yh(this,b,c,this.Yd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.sa[b]=c,!0}return!1}; -k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Sa=a;this.Ha=Sa(a,"Keyboard");this.gh=c.ba.Yc/1193181;fb(b,this,zh);hb(b,this,Ah);this.Ia=wh){this.lb=16;this.gd=0;this.fd=16;this.qg=0;this.de=160;512<=Jh(this)&&(this.de|=16);3==Kh(this)&&(this.de|=64);this.Ch=3;this.tg=0;this.Xb=Array(7);this.Le=0;a&&(this.ja=Array(64));Lh(this, this.Bo);for(a=21;24>=a;a++)this.ja[a]=0;for(a=14;46>a;a++)void 0===this.ja[a]&&(this.ja[a]=0);this.ja[20]=this.Sc&(uh.jf|2|vh.vh|vh.jf);this.ja[16]=Mh(this,0)<<4|Mh(this,1);Nh(this)}}; function Lh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ic("CMOS date invalid ("+b+"), using "+c)):b&&a.ic("CMOS date: "+c);a.ja[0]=c.getSeconds();a.ja[1]=0;a.ja[2]=c.getMinutes();a.ja[3]=0;a.ja[4]=c.getHours();a.ja[5]=0;a.ja[6]=c.getDay()+1;a.ja[7]=c.getDate();a.ja[8]=c.getMonth()+1;c=c.getFullYear();a.ja[9]=c%100;c/=100;a.ja[50]=c%10|c/10<<4;a.ja[10]=38;a.ja[11]=2;a.ja[12]=0;a.ja[13]=128;a.Uf=a.df=0;a.ol=a.eh=null} function Oh(a){var b;void 0===b&&(b=a.eh);a.df=C(a.ka,a.Id)+b;a.ja[11]&64&&ub(a.ka,b)}function Nh(a){for(var b=0,c=16;46>c;c++)b+=a.ja[c];a.ja[47]=b&255;a.ja[46]=b>>8} -k.save=function(){var a=new H(this);a.set(0,[this.Vb,this.Yd,this.Sc,this.Be]);for(var b=[],c=0;c=wh&&(a.set(5,[this.lb,this.gd,this.fd,this.qg,this.de,this.Ch]),a.set(6,[this.tg,this.Xb,this.Le,this.ja,this.Uf,this.df]));return a.data()}; k.restore=function(a){var b,c;b=a[0];this.Vb=b[0];this.Yd=b[1];this.Sc=b[2];this.Be=b[3];b=a[1];for(c=0;c>2)+1)*a.kn+32*((b?a.Yd:a.Be)&15)}function Vh(a,b){var c=b?a.Vb:a.Sc;return a.Ia!=rh||c&vh.vh?((c&vh.jf)>>vh.kf)+1:0} function Mh(a,b){if(b>uh.kf} -function yh(a,b,c,d,e){for(var f="",h=1;8>=h;h++){var g="pcjs-bitCell";h||(g+=" pcjs-bitCellLeft");f+='
'+h+"
\n"}c.innerHTML=f;b=y(c,"pcjs-bitCell");c=null;for(h=0;h=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
'+g+"
\n"}c.innerHTML=f;b=y(c,"pcjs-bitCell");c=null;for(g=0;gd.Za[0]&&(d.Za[0]=255,d.Za[1]--,0>d.Za[1]&&(d.Za[1]=255)));return e}function $h(a,b,c,d){a=a.bb[b];c=a.Ab[c];c.Za[a.Cb]=c.Zb[a.Cb]=d;a.Cb^=1} function ai(a,b){var c=a.bb[b],d=c.Bd|1;c.Bd&=-16;return d}function bi(a,b,c){a=a.bb[b];b=c&3;a.Bd=a.Bd&~(16<>2].Ab[b&3],c,d,e)} -function di(a,b,c){b=a.bb[b>>2].Ab[b&3];b.Eg&&b.bi&&b.hh?(c&&(b.Fg=c),b.qd||ad(a,b,!0)):c&&c(!0)}function ad(a,b,c){c&&(b.count=b.Za[1]<<8|b.Za[0],b.Gl=b.mode&12,b.ak=b.Vc=!1);for(var d=!1;0<=b.count&&(c=b.xg<<16|b.Ya[1]<<8|b.Ya[0],4==b.Gl?(d=!0,function(c){b.bi.call(b.Eg,b.hh,-1,function(f,h){0>f&&(b.ak||(b.ak=!0),f=255);b.qd||a.ra.ze(c,f);(d=h)&&setTimeout(function(){ii(b)||ad(a,b)},0)})}(c)):8==b.Gl?(c=a.ra.od(c),0>b.bi.call(b.Eg,b.hh,c)&&(b.Vc=!0)):b.Vc=!0),!d&&!ii(b););} +function di(a,b,c){b=a.bb[b>>2].Ab[b&3];b.Eg&&b.bi&&b.hh?(c&&(b.Fg=c),b.qd||ad(a,b,!0)):c&&c(!0)}function ad(a,b,c){c&&(b.count=b.Za[1]<<8|b.Za[0],b.Gl=b.mode&12,b.ak=b.Vc=!1);for(var d=!1;0<=b.count&&(c=b.xg<<16|b.Ya[1]<<8|b.Ya[0],4==b.Gl?(d=!0,function(c){b.bi.call(b.Eg,b.hh,-1,function(f,g){0>f&&(b.ak||(b.ak=!0),f=255);b.qd||a.ra.ze(c,f);(d=g)&&setTimeout(function(){ii(b)||ad(a,b)},0)})}(c)):8==b.Gl?(c=a.ra.od(c),0>b.bi.call(b.Eg,b.hh,c)&&(b.Vc=!0)):b.Vc=!0),!d&&!ii(b););} function ii(a){if(!a.Vc&&0<=--a.count&&(a.mode&32?(a.Ya[0]--,0>a.Ya[0]&&(a.Ya[0]=255,a.Ya[1]--,0>a.Ya[1]&&(a.Ya[1]=255))):(a.Ya[0]++,255>3];b=1<<(b&7);d.Ob&b||(d.Ob|=b,d.Kf=c||0,li(a))}function oi(a,b){var c=a.Wb[b>>3],d=1<<(b&7);c.Ob&d&&(c.Ob&=~d,li(a))} -function li(a,b){var c,d=-1;1>=1),ub(a.ka,c))),2==b&&xb(a))}k=O.prototype;k.dn=function(){return null}; -k.qo=function(a,b){this.Hh=b;var c=(b&192)>>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var h=this.Mb[c];h.oh=f;h.mode=e;h.Jj=d;h.Zb=[0,0];h.Za=[0,0];h.le=[0,0];h.Wc=!1;h.Bf=!1;h.pe=!1;ui(this,c);0==c&&oi(this,0);2==c&&255==this.Wb[0].Tc&&77==this.uc&&(c=this.Mb[0],c.wc[0]=c.Zb[0],c.wc[1]=c.Zb[1],c.rd=C(this.ka,this.Id))}else vi(this,c),d=this.Mb[c],d.le[0]=d.Za[0],d.le[1]=d.Za[1],d.Bf=!0,ui(this,c)}};function xi(a,b){var c=a.Mb[b],d=c.Zb[1]<<8|c.Zb[0];d||(d=1==c.ke?256:65536);return d} +k.qo=function(a,b){this.Hh=b;var c=(b&192)>>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var g=this.Mb[c];g.oh=f;g.mode=e;g.Jj=d;g.Zb=[0,0];g.Za=[0,0];g.le=[0,0];g.Wc=!1;g.Bf=!1;g.pe=!1;ui(this,c);0==c&&oi(this,0);2==c&&255==this.Wb[0].Tc&&77==this.uc&&(c=this.Mb[0],c.wc[0]=c.Zb[0],c.wc[1]=c.Zb[1],c.rd=C(this.ka,this.Id))}else vi(this,c),d=this.Mb[c],d.le[0]=d.Za[0],d.le[1]=d.Za[1],d.Bf=!0,ui(this,c)}};function xi(a,b){var c=a.Mb[b],d=c.Zb[1]<<8|c.Zb[0];d||(d=1==c.ke?256:65536);return d} function Ab(a,b){var c=a.Mb[b],d=c.wc[1]<<8|c.wc[0];d||(d=1==c.ke?256:65536);return d}function ui(a,b){var c=a.Mb[b];c.Ed=32==c.oh?1:0;c.ke=48==c.oh?2:1} -function vi(a,b,c){var d=a.Mb[b];if(d.pe&&(2!=b||a.uc&1)){var e=C(a.ka,a.Id),f=(e-d.rd)/a.gh|0;0>f&&(d.rd=e,f=0);var h=xi(a,b),g=Ab(a,b)-f;0==d.mode?(0>=g&&(g=0),g||(d.Wc=!0,d.pe=!1,b||ni(a,0))):4==d.mode?(d.Wc=1!=g,0>=g&&(g=h+g,0>=g&&(g=h),d.wc[0]=g&255,d.wc[1]=g>>8,d.rd=e,!b&&d.Wc&&ni(a,0))):6==d.mode&&(g-=f,0>=g&&(d.Wc=!d.Wc,g=h+g,0>=g&&(g=h),d.wc[0]=g&255,d.wc[1]=g>>8,d.rd=e,!b&&d.Wc&&ni(a,0)));d.Za[0]=g&255;d.Za[1]=g>>8;c&&(a.rd=0)}return d} +function vi(a,b,c){var d=a.Mb[b];if(d.pe&&(2!=b||a.uc&1)){var e=C(a.ka,a.Id),f=(e-d.rd)/a.gh|0;0>f&&(d.rd=e,f=0);var g=xi(a,b),h=Ab(a,b)-f;0==d.mode?(0>=h&&(h=0),h||(d.Wc=!0,d.pe=!1,b||ni(a,0))):4==d.mode?(d.Wc=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.rd=e,!b&&d.Wc&&ni(a,0))):6==d.mode&&(h-=f,0>=h&&(d.Wc=!d.Wc,h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.rd=e,!b&&d.Wc&&ni(a,0)));d.Za[0]=h&255;d.Za[1]=h>>8;c&&(a.rd=0)}return d} function yb(a,b){for(var c=0;c=wh){var c=a.ka.ba.Yc,d=C(a.ka,a.Id);null==a.eh&&(a.Uf=C(a.ka,a.Id),a.ol=1024,a.eh=Math.floor(a.ka.ba.Yc/a.ol),Oh(a));d>=a.df&&(a.ja[12]|=64,a.ja[11]&64&&(a.ja[12]|=128,ni(a,8)),a.df=d+a.eh);a.ja[0]==a.ja[1]&&a.ja[2]==a.ja[3]&&a.ja[4]==a.ja[5]&&(a.ja[12]|=32,a.ja[11]&32&&(a.ja[12]|=128,ni(a,8)));var e=d-a.Uf,f=Math.floor(e/c);if(f&&!(a.ja[11]&128)){for(;f--;)if(60<=++a.ja[0]&&(a.ja[0]=0,60<=++a.ja[2]&&(a.ja[2]=0,24<=++a.ja[4]))){a.ja[4]= -0;a.ja[6]=a.ja[6]%7+1;var h;h=a.ja[9];var g=ka[a.ja[8]-1];28==g&&0===h%4&&(h%100||0===h%400)&&g++;h=g;++a.ja[7]>h&&(a.ja[7]=1,12<++a.ja[8]&&(a.ja[8]=1,a.ja[9]=(a.ja[9]+1)%100))}a.ja[12]|=16;a.ja[11]&16&&(a.ja[12]|=128,ni(a,8))}a.Uf=d-e%c}}k.Wm=function(){var a=this.wg;if(this.rf&16)if(this.uc&128)a=this.Sc;else if(this.Ha){var a=this.Ha,b=0;a.Nb.length&&(b=a.Nb[0]);a=b}return a};k.jo=function(a,b){this.wg=b};k.Xm=function(){return this.uc}; +0;a.ja[6]=a.ja[6]%7+1;var g;g=a.ja[9];var h=ka[a.ja[8]-1];28==h&&0===g%4&&(g%100||0===g%400)&&h++;g=h;++a.ja[7]>g&&(a.ja[7]=1,12<++a.ja[8]&&(a.ja[8]=1,a.ja[9]=(a.ja[9]+1)%100))}a.ja[12]|=16;a.ja[11]&16&&(a.ja[12]|=128,ni(a,8))}a.Uf=d-e%c}}k.Wm=function(){var a=this.wg;if(this.rf&16)if(this.uc&128)a=this.Sc;else if(this.Ha){var a=this.Ha,b=0;a.Nb.length&&(b=a.Nb[0]);a=b}return a};k.jo=function(a,b){this.wg=b};k.Xm=function(){return this.uc}; k.ko=function(a,b){yi(this,b);this.Ha&&zi(this.Ha,b&128?!1:!0,b&64?!0:!1)};function yi(a,b){var c=!!(b&2),d=!!(a.uc&2);a.uc=b;c!=d&&xb(a,c)}k.Ym=function(){var a=0,a=this.Ia==rh?this.uc&4?a|this.Be&15:a|this.Be>>4&1:this.uc&8?a|this.Sc>>4:a|this.Sc&15;this.uc&1&&vi(this,2).Wc&&(a=this.uc&2?a|32:a|16);return a};k.lo=function(a,b){this.Fh=b};k.Zm=function(){return this.rf};k.mo=function(a,b){this.rf=b};k.mm=function(){var a=this.qg;this.lb&=-258;this.Ha&&Ai(this.Ha);return a}; k.zn=function(a,b){if(this.lb&8)switch(this.gd){case 96:Bi(this,b);break;case 209:Ci(this,b);break;default:if(Bi(this,this.fd&-17),this.Ha){var c=-1;switch(b){case 255:c=250,Di(this.Ha)}Ei(this,c)}}this.gd=b;this.lb&=-9};k.nm=function(){return this.uc&-209|(C(this.ka)&64?16:0)};k.An=function(a,b){yi(this,b)};k.om=function(){var a=this.lb&255;this.lb&256&&(this.lb|=1,this.lb&=-257);return a}; k.yn=function(a,b){this.gd=b;this.lb|=8;var c=0;240<=this.gd&&(c=this.gd^15,this.gd=240);switch(this.gd){case 192:Ei(this,this.de);break;case 173:Bi(this,this.fd|16);break;case 174:Bi(this,this.fd&-17);this.Ha&&Ai(this.Ha);break;case 170:this.Ha&&(this.Ha.Nb=[]);Bi(this,this.fd|16);Ei(this,85);Ci(this,3);break;case 224:Ei(this,this.fd&16?0:1);break;case 240:c&1&&yc(this.ka)}};function Bi(a,b){a.fd=b;a.lb=a.lb&-5|b&4;a.Ha&&zi(a.Ha,!!(b&8),!(b&16))} function Ei(a,b){0<=b&&(a.qg=b,a.lb&=-2,a.lb|=256)}function Ci(a,b){a.Ch=b;Ya(a.ra,!!(b&2));b&1||yc(a.ka)}function Fi(a,b){a.Ia=c)if(d=this.ja[c],10>c){var e=!1;4!=c&&5!=c||this.ja[11]&2||(d=12>d?d?d:12:(d-=12)?d+128:140,e=!0);this.ja[11]&4||(e&&128=c){if(e=b,10>c){var f=!1;this.ja[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&23=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;this.ja[c]=e;11==c&&d&64&&b&64&&Oh(this)};k.Um=function(){return this.tg};k.fo=function(a,b){this.tg=b};k.io=function(a,b){this.vg=b};k.Qn=function(){};k.Rn=function(){}; -function sh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4c||2E4>8&255,this.Bb[c++]=f[b]>>16&255,this.Bb[c++]=f[b]>>24&255;else this.Bb=d;this.Ah=d.symbols;if(!this.Bb.length){q("Empty ROM: "+a);return}if(1==this.Bb.length){q(this.Bb[0]);return}}catch(h){this.Aa("ROM data error: "+ -h.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.Bb=Array(a.length),d=0;d>d.yb].rj(e&d.Ra,a.Bb[c]&255)}return!0}return!1}za(function(){for(var a=y(window.document,"pcjs","rom"),b=0;b>8&255,this.Bb[c++]=f[b]>>16&255,this.Bb[c++]=f[b]>>24&255;else this.Bb=d;this.Ah=d.symbols;if(!this.Bb.length){q("Empty ROM: "+a);return}if(1==this.Bb.length){q(this.Bb[0]);return}}catch(g){this.Aa("ROM data error: "+ +g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.Bb=Array(a.length),d=0;d>d.yb].rj(e&d.Sa,a.Bb[c]&255)}return!0}return!1}za(function(){for(var a=y(window.document,"pcjs","rom"),b=0;bthis.pg?21:23,c=a.ja[b]|a.ja[b+1]<<8,c=c+(this.td>>10);a.ja[b]=c&255;a.ja[b+1]=c>>8;Nh(a)}}else q("No RAM allocated")}; -za(function(){for(var a=y(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Go:65,Ho:66,vj:67,Il:68,E:69,Oo:70,Ro:71,wj:72,To:73,Uo:74,Vo:75,Wo:76,Xo:77,wh:78,Zo:79,$o:80,bp:81,yj:82,fp:83,pp:84,tp:85,up:86,vp:87,xp:88,yp:89,zp:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Ap:97,Cp:98,Ep:99,Fp:100,Gp:101,Hp:102,Ip:103,Jp:104,Kp:105,Lp:106,Mp:107, Np:108,Op:109,Pp:110,Rp:111,Sp:112,Tp:113,Up:114,Vp:115,Wp:116,Xp:117,Zp:118,$p:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},Ni={};Ni[186]=P[";"];Ni[187]=P["="];Ni[188]=P[","];Ni[189]=P["-"];Ni[190]=P["."];Ni[191]=P["/"];Ni[192]=P["`"];Ni[219]=P["["];Ni[220]=P["\\"];Ni[221]=P["]"];Ni[222]=P["'"];Ni[173]=P["-"];var S={};S[P["1"]]=P["!"];S[P["2"]]=P["@"];S[P["3"]]=P["#"];S[P["4"]]=P.$;S[P["5"]]=P["%"];S[P["6"]]=P["^"];S[P["7"]]=P["&"];S[P["8"]]=P["*"];S[P["9"]]=P["("];S[P["0"]]=P[")"]; S[186]=P[":"];S[187]=P["+"];S[188]=P["<"];S[189]=P._;S[190]=P[">"];S[191]=P["?"];S[192]=P["~"];S[219]=P["{"];S[220]=P["|"];S[221]=P["}"];S[222]=P['"'];S[173]=P._;S[61]=P["+"];S[59]=P[":"]; @@ -493,14 +493,14 @@ T[1120]=67;T[1121]=68;T[1144]=69;T[1145]=70;T[1036]=71;T[1038]=72;T[1033]=73;T[1 k.Hb=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.sa[e])switch(b){case "kbd":return this.sa[e]=c,c.onkeydown=function(a){return Si(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=d.Ib.length?d.Ib[0].Xd:0;b&&(65<=b&&90>=b||97<=b&&122>=b)&&(65<=a&&90>=a||97<=a&&122>=a)&&b!=a&&(d.Yh=!0,a=b);(b=!T[a]||!!(d.ub&128))||Ti(d,a,!0);return b},c.onkeyup=function(a){return Si(d,a,!1)},!0;case "caps-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1020, !0)},!0;case "num-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1144,!0)},!0;case "scroll-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1145,!0)},!0;default:var f=b.toUpperCase().replace(/-/g,"_");if(void 0!==Pi[f]&&"button"==a)return this.sa[e]=c,c.onclick=function(a,b,c){return function(){a.ka&&a.ka.cd();Ui(a,c,!0);Ti(a,c,!0)}}(this,f,Pi[f]),!0;if(void 0!==Qi[b])return this.Lj++,this.sa[e]=c,a=function(a,b,c){return function(){Ti(a,c)}}(this,b,Qi[b]), b=function(a,b,c){return function(){Vi(a,c)}}(this,b,Qi[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup=c.onmouseout=b),!0}return!1};function Wi(a,b,c){if(a.Lj){for(var d in S)if(b==S[d]){b=parseInt(d,10);(d=Ni[d])&&(b=d);break}for(var e in Qi)if((d=Qi[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Qi[e]==d),d){(a=a.sa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}} -k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet")};function Di(a,b){a.fc("keyboard reset",32896);a.Nb=[170];b&&a.la&&Fi(a.la,a.Nb[0])}function zi(a,b,c){a.Uh!==c&&(a.Uh=a.Xh=c);a.Kg!==b&&(a.Kg=b)&&!a.Xh&&Gi(a,!0);a.Kg&&a.Xh&&(Di(a,!0),a.Xh=!1)}function Ai(a){var b=0;a.Nb.length&&(b=a.Nb[0],a.la&&Fi(a.la,b))}function Gi(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.Me:a.ub)&b):d||b&255&&(b=255);if(c){a.Me&=~b;d&&(a.Me|=b);c=b;var f,h;for(h in Ri)d="led-"+h,e=Ri[h],c&&c!=e||!(f=a.sa[d])||(f.style.backgroundColor=a.Me&e?"#00ff00":"#000000")}else a.ub&=~b,d&&(a.ub|=b);return!0}}return!1} +function Ui(a,b,c,d){if(T[b]){var e=Math.floor(b/1E3)&2;if(b=Oi[b]||0){!e||b&85||(b>>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.Me:a.ub)&b):d||b&255&&(b=255);if(c){a.Me&=~b;d&&(a.Me|=b);c=b;var f,g;for(g in Ri)d="led-"+g,e=Ri[g],c&&c!=e||!(f=a.sa[d])||(f.style.backgroundColor=a.Me&e?"#00ff00":"#000000")}else a.ub&=~b,d&&(a.ub|=b);return!0}}return!1} function Ti(a,b,c){if(T[b]&&a.ka&&a.ka.ma.Jb){Oi[b]&&a.Ib.length&&0e||(e==a.Ib.length&&(d={},d.Xd=b,d.ub=a.ub,Wi(a,b,!0),e++),0b.ad){if(!b.Af){Vi(a,b.Xd);return}b.Af=!1;c=a.nn}else c=1==b.ad++?a.on:a.pn;b.Dl=setTimeout(function(a){return function(){Xi(a,b)}}(a),c)}}else Vi(a,b.Xd,!0)}function Zi(a,b,c){var d=b;if(65<=b&&90>=b)!(a.ub&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.ub&515)==c&&(d=b-32);else if(!!(a.ub&3)==c){if(a=S[b])d=a}else if(a=Ni[b])d=a;return d}k.ih=function(a){this.Lg=a;a||(this.ub&=-256)}; -function Si(a,b,c){var d=!0,e=!1,f=!1,h=b.keyCode,g=Zi(a,h,!0);a.Tj&&g==P["`"]&&(h=g=27);if(T[h+1E3])if(g+=1E3,2==b.location&&(g+=2E3),Ui(a,g,!1,c)){if(20==h||144==h||145==h)a.dm||(c=e=!0);if(!(c||91!=h&&93!=h))for(var m=0;m=b||97<=b&&122>=b;d>>>=8;){var h=0,g=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==g?a.ub&3||a.ub&512&&b||(h=g):29==g?a.ub&12||(h=g):56==g?a.ub&48||(h=g):e.push(f|(c?0:128)),h&&(c?e.unshift(h):e.push(h|128)))}for(c=0;cd.Nb.length?(d.Nb.push(f),1==d.Nb.length&&d.la&&Fi(d.la,f)):(20==d.Nb.length&&d.Nb.push(255),d.fc("scan code buffer overflow")))}} +function Si(a,b,c){var d=!0,e=!1,f=!1,g=b.keyCode,h=Zi(a,g,!0);a.Tj&&h==P["`"]&&(g=h=27);if(T[g+1E3])if(h+=1E3,2==b.location&&(h+=2E3),Ui(a,h,!1,c)){if(20==g||144==g||145==g)a.dm||(c=e=!0);if(!(c||91!=g&&93!=g))for(var m=0;m=b||97<=b&&122>=b;d>>>=8;){var g=0,h=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==h?a.ub&3||a.ub&512&&b||(g=h):29==h?a.ub&12||(g=h):56==h?a.ub&48||(g=h):e.push(f|(c?0:128)),g&&(c?e.unshift(g):e.push(g|128)))}for(c=0;cd.Nb.length?(d.Nb.push(f),1==d.Nb.length&&d.la&&Fi(d.la,f)):(20==d.Nb.length&&d.Nb.push(255),d.hc("scan code buffer overflow")))}} za(function(){for(var a=y(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(kj)];this.Sg=b;this.Xa=e[2];this.Lb=e[3];this.Nc=d||e[4];65536<=this.Nc&&720896<=this.Xa&&(this.Lb=Math.min(this.Nc>>2,32768));this.Pc=c[0];this.yc=c[1];this.uf=c[2];this.dg=c[3];this.Fc=c[4]&255;this.Rg=c[4]>>8&255;this.mc=c[5];this.ji=kj;if(5==b){this.ji=lj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.Xa,this.Lb,this.Nc],Array(this.Nc>> -2),771,0,4294967295,0,4294967295,0,4294967295,0,0,0]);this.Hd=b[0];this.re=b[1];this.$d=b[2];this.qj=b[3];this.Vg=b[4];this.$h=b[5];this.Ye=b[6];this.mg=b[7];this.ci=b[8];this.di=b[9];this.Xe=b[10];this.Ge=b[11];this.Db=b[12];d=b[13];"number"==typeof d&&(d=[this.Xa,this.Lb,d]);this.Xa=d[0];this.Lb=d[1];d=this.Nc>>2;if((this.ce=b[14])&&this.ce.length>2;if((this.ce=b[14])&&this.ce.length>8&255)} var Y=[,,function(a){a+=this.offset;return(this.ea.Db=this.qa[a])>>this.ea.dj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];Y[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ea.li&this.ea.mi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ea.hb|(b|b<<8|b<<16|b<<24)&this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; @@ -518,35 +518,35 @@ Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;va Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d^=this.ea.Db;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.hb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[d]!=c&&(this.qa[d]=c,this.mb=!0)}; Y[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ea.hb|this.ea.Db&this.ea.hb;this.qa[a]!=b&&(this.qa[a]=b,this.mb=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d&this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; Y[40960]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d|this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d^this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; -function oj(a){var b=[];if(void 0!==a.Sg){b[0]=a.Pc;b[1]=a.yc;b[2]=a.uf;b[3]=a.dg;b[4]=a.Fc|a.Rg<<8;b[5]=a.mc;if(5==a.Sg){var c=[];c[0]=a.Hd;c[1]=a.re;c[2]=a.$d;c[3]=a.qj;c[4]=a.Vg;c[5]=a.$h;c[6]=a.Ye;c[7]=a.mg;c[8]=a.ci;c[9]=a.di;c[10]=a.Xe;c[11]=a.Ge;c[12]=a.Db;c[13]=[a.Xa,a.Lb,a.Nc];var d;a:if(d=a.ce){var e=0,f=[];if(void 0!==d[0])for(var h=0;2>h;h++)for(var g=h;g>1;f[e++]=m;g=n}if(f.lengthg;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.length>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),db(this.ra,b,c|d<<8);ob(this,!0)}};function vj(a){a.oa.Vg&1?(a.Mc=a.Ih,a.ec=a.oa):(a.Mc=a.oa,a.ec=a.Dg)}k.save=function(){var a=new H(this);a.set(0,oj(this.Ih));a.set(1,oj(this.Dg));a.set(2,[this.Pd,this.$c,this.Od]);a.set(3,oj(this.oa));return a.data()}; k.restore=function(a){var b=a[2];this.Pd=b[0];this.$c=b[1];this.Od=b[2];this.Fa=null;this.Mc=this.Ih=new ij(this,1,a[0]);this.ec=this.Dg=new ij(this,3,a[1]);this.oa=new ij(this,5,a[3],this.Nc);this.oa.Pc&&vj(this);wj(this);if(!yj(this))return!1;zj(this);return!0}; k.vn=function(a,b,c){if(c)this.Aa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){q("Empty font ROM image: "+a);return}if(1==d.length){q(d[0]);return}if(8192==d.length)Ki(this,d,[0,6144]);else{this.Aa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Aa("Font ROM data error: "+e.message);return}z(this)}}; function Aj(a,b){if(1==b)return a.ed[0]=W[0],a.ed[1]=W[7],a.ed;if(2==b){var c=a.Fa.uf;if(a.Fa===a.oa){var d=a.oa.$d[0],c=d&7;d&16&&(c|=8);18!=a.oa.$d[1]&&(c|=32)}a.ed[0]=W[c&15];c=c&32?fj:ej;for(d=0;dxa||!L?xa:8,yd=qi.createImageData(n.nc,n.oc),ya=0;256>ya;ya++){for(Xa= +function wj(a){var b=!1;if(window&&a.ng){var c=a.me?0:2048,d=a.me?a.me:9;Bj(a,1,a.zh[0],c,d,14,a.ng,cj,dj)&&(b=!0);c=Aj(a);d=a.me?a.me:8;Bj(a,3,a.zh[1],0,d,8,a.ng,c)&&(b=!0);a.me&&Bj(a,5,a.zh[0],0,a.me,14,a.ng,c)&&(b=!0)}return b}function Bj(a,b,c,d,e,f,g,h,m){var n=!1;Cj(a,b,c,d,e,f,g,h,m)&&(n=!0);a.bm&&Cj(a,b<<1,c,d,e,f,g,h,m)&&(n=!0);return n} +function Cj(a,b,c,d,e,f,g,h,m){var n=!1,r=b&1?0:1,s=a.wd[b];s||(s={nc:e<xa||!L?xa:8,yd=qi.createImageData(n.nc,n.oc),ya=0;256>ya;ya++){for(Xa= 0;Xa=xa-2,Ek=Wa[Xa>(8<=zb&&176<=ya&&223>=ya?7:zb)?t:Qb;Dj(yd,ri,si,ti);D&&Dj(yd,ri+1,si,ti)}qi.putImageData(yd,(ya&15)*n.nc,(ya>>4)*n.oc)}n.Fe[w]="#"+ca(t[0])+ca(t[1])+ca(t[2]);n.Bj[w]=t;n.xh[w]=Bc;n=!0}}a.wd[b]=s;return n}function Ej(a){0a.ie&&(a.ie=0):a.ie=-1} function zj(a){if(a.Rb){for(var b=10;15>=b;b++)if(null==a.Fa.mc[b])return;var c=a.Fa.mc[10],b=c&31,d=a.Fa.mc[11]&31,e=a.Fa.mc[9]&31,f=!1;a.Fa===a.oa&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Fj(a);else{c=a.Fa.mc[15]+((a.Fa.mc[14]&63)<<8);a.Gc!=c&&(Fj(a),a.Gc=c);d=d-b+1;if(a.Hl!=b||a.Oj!=d)a.Hl=b,a.Oj=d;a.Fd=e+1;Ej(a)}}} function Fj(a){if(0<=a.Gc){if(void 0!==a.dc){var b=a.dc[a.Gc];if(b&131072){var b=b&-131073,c=a.Gc%a.Eb,d=Math.floor(a.Gc/a.Eb);a.Rb&&a.wd[a.Rb]&&(a.Pe&&Gj(a,c,d,b,a.Pe),Gj(a,c,d,b));a.dc[a.Gc]=b}}a.Gc=-1}} function Hj(a){var b;a=a.Fa;var c=a.Ge[5];if(null!=c){b=2;var d=512,e=a.Ge[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Zc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.ye=function(a){var b=this.Fa;null!=a&&b&&a!=b.ii&&(b.rh(a),this.ra.rh(b.Xa,b.Lb,b.of))}; -function yj(a,b){var c,d=a.Od,e=a.Fa;if(e)if(1==e.Sg)d=$i;else if(5==e.Sg){var d=null,f=e.Nc>>2,h=32768f&&(d=c?13:14):c&&(d-=2));c=Hj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||(d-=1)):(d=e.yc&1?3:1,e.yc&4&&(d-= +function yj(a,b){var c,d=a.Od,e=a.Fa;if(e)if(1==e.Sg)d=$i;else if(5==e.Sg){var d=null,f=e.Nc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Hj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||(d-=1)):(d=e.yc&1?3:1,e.yc&4&&(d-= 1)));else a.Od=null,null==d&&(d=a.$c);if(!xj(a,d,b))return!1;a.ye(c);return!0} function xj(a,b,c){if(null!=b&&(b!=a.Od||c)){a.Pl=0;a.Od=b;b=a.Fa||(b==$i?a.Mc:a.ec);if(b!=a.Fa||b.Xa!=a.Xa||b.Lb!=a.Lb){Fj(a);if(a.Xa){if(!ab(a.ra,a.Xa,a.Lb))return!1;a.Fa&&(a.Fa.Pc=!1)}a.Fa=b;b.Pc=!0;a.Xa=b.Xa;a.Lb=b.Lb;if(!Za(a.ra,b.Xa,b.Lb,!1,b===a.oa?b:null))return!1}a.Rb=0;a.Eb=a.$g;a.rc=a.qi;a.ki=V[$i][2];b=0;var d=V[a.Od];d&&(a.Eb=d[0],a.rc=d[1],a.ki=d[2],b=d[3]||0,a.Rb=d[4],4==a.Pd&&a.Fa===a.oa&&3==a.Rb&&(7==a.oa.mc[9]?a.rc=43:a.Rb=5));a.kk=a.Eb*a.rc;a.Xg=a.kk/a.ki;a.Jh=(a.Xg<<1)+b;a.Mj= b?a.Jh+b>>1:0;13<=a.Od&&(a.Xg<<=1);a.wd.length&&(a.ld=Math.floor(a.kd/a.Eb),a.md=Math.floor(a.Gd/a.rc),a.Rb?(b=a.wd[a.Rb],d=a.wd[a.Rb<<1],a.em&&80==a.Eb?d&&a.ld>=3*d.nc>>2&&(a.Rb<<=1,b=d):(d&&a.ld>=d.nc&&(a.Rb<<=1,b=d),b&&(a.ld=b.nc,a.md=b.oc)),a.wf=a.xf=0,b&&(a.wf=a.Eb*b.nc,a.xf=a.rc*b.oc)):(a.ld=a.md=1,a.wf=a.Eb,a.xf=a.rc),a.Tg=a.Oc.createImageData(a.wf,a.xf),a.Ne=window.document.createElement("canvas"),a.Ne.width=a.wf,a.Ne.height=a.xf,a.Pe=a.Ne.getContext("2d"),a.tj=a.uj=0,a.Mh=a.kd,a.Nh=a.Gd, b=a.kd-a.Eb*a.ld,d=a.Gd-a.rc*a.md,0>1,a.Mh-=b),0>1,a.Nh-=d),b||d)&&(a.Oc.fillStyle=a.tf.style.backgroundColor,a.Oc.fillRect(0,0,a.kd,a.Gd));!1!==c?ob(a,!0):Ij(a,!0)}return!0}function Dj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Ij(a,b){var c;if(b){if(c=a.Xg,void 0===a.dc||a.dc.length!=c)a.dc=Array(c)}else{if(void 0===a.dc)return;c=a.dc.length}for(var d=0;d>8;d=h&15;var g=a.wd[a.Rb];g.lf&&(d=g.lf[d]);var m=h>>4&15;g.lf&&(m=g.lf[m]);e?(b*=g.nc,c*=g.oc,e.fillStyle=g.Fe[m],e.fillRect(b,c,g.nc,g.oc)):(b=b*a.ld+a.tj,c=c*a.md+a.uj,a.Oc.fillStyle=g.Fe[m],a.Oc.fillRect(b,c,a.ld,a.md));h&256&&(m=(f&15)*g.nc,f=(f>>4)*g.oc,e?e.drawImage(g.xh[d],m,f,g.nc,g.oc,b,c,g.nc,g.oc):a.Oc.drawImage(g.xh[d],m,f,g.nc,g.oc,b,c,a.ld,a.md));h&512&&(f=a.Hl,h=a.Oj,e?(a.Fd&&a.Fd!==g.oc&&(f=Math.floor(f*g.oc/a.Fd),h=Math.floor(h*g.oc/a.Fd)), -e.fillStyle=g.Fe[d],e.fillRect(b,c+f,g.nc,h)):(a.Fd&&a.Fd!==a.md&&(f=Math.floor(f*a.md/a.Fd),h=Math.floor(h*a.md/a.Fd)),a.Oc.fillStyle=g.Fe[d],a.Oc.fillRect(b,c+f,a.ld,h)))} -function ob(a,b){if(a.ma.Qb){var c=!1;a.Fa&&(a.Fa===a.oa?a.oa.re&32&&(c=!0):a.Fa.yc&8&&(c=!0));if(c||b){if(b)Ij(a,!0);else if(void 0===a.dc)return;var d=!1;!(b||++a.Pl&15)&&0<=a.ie&&(a.ie++,d=!0);var e=0,f=a.kk,c=a.Fa.Xa,h=c+a.Fa.Lb,g=(a.Fa.mc[12]<<8)+a.Fa.mc[13];a.Rb&&(g<<=1);var c=c+g,m=a.Jh;c+m>h&&(m=h-c,0>m&&(m=0));h=c+m;if(g=!b){for(var g=a.ra,n=!0,r=c>>g.yb;0a.Gc)return;e=a.Gc;f= -e+1}}if(a.Rb){if(a.wd[a.Rb]){d=0;g=a.he=0;m=1048575;a.Fa.yc&32&&(g=32768,m&=~g,a.ie&2||(m&=-65537));for(c+=e<<1;c>8|(s&255)<<8;t=g;var xa=16;r>=m))>>(xa-=m);Dj(a.Tg,r++,w,n[Qb])}r>Q&&(Q=r);w=R&&(R=w+1)}e+=2;h++;if(r>=a.Eb){r=0;w+=2;if(w>a.rc)break;w==a.rc&&(w=1,e=c+a.Mj)}}DL;L++)R= -Q&2155905152,0>R&&(R+=4294967296),R=X[R]||0,Dj(a.Tg,g++,m,h[R]),Q<<=1;g>r&&(r=g);m=D&&(D=m+1)}e++;if(g>=a.Eb&&(g=0,++m>a.rc))break}n>8;d=g&15;var h=a.wd[a.Rb];h.lf&&(d=h.lf[d]);var m=g>>4&15;h.lf&&(m=h.lf[m]);e?(b*=h.nc,c*=h.oc,e.fillStyle=h.Fe[m],e.fillRect(b,c,h.nc,h.oc)):(b=b*a.ld+a.tj,c=c*a.md+a.uj,a.Oc.fillStyle=h.Fe[m],a.Oc.fillRect(b,c,a.ld,a.md));g&256&&(m=(f&15)*h.nc,f=(f>>4)*h.oc,e?e.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,h.nc,h.oc):a.Oc.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,a.ld,a.md));g&512&&(f=a.Hl,g=a.Oj,e?(a.Fd&&a.Fd!==h.oc&&(f=Math.floor(f*h.oc/a.Fd),g=Math.floor(g*h.oc/a.Fd)), +e.fillStyle=h.Fe[d],e.fillRect(b,c+f,h.nc,g)):(a.Fd&&a.Fd!==a.md&&(f=Math.floor(f*a.md/a.Fd),g=Math.floor(g*a.md/a.Fd)),a.Oc.fillStyle=h.Fe[d],a.Oc.fillRect(b,c+f,a.ld,g)))} +function ob(a,b){if(a.ma.Qb){var c=!1;a.Fa&&(a.Fa===a.oa?a.oa.re&32&&(c=!0):a.Fa.yc&8&&(c=!0));if(c||b){if(b)Ij(a,!0);else if(void 0===a.dc)return;var d=!1;!(b||++a.Pl&15)&&0<=a.ie&&(a.ie++,d=!0);var e=0,f=a.kk,c=a.Fa.Xa,g=c+a.Fa.Lb,h=(a.Fa.mc[12]<<8)+a.Fa.mc[13];a.Rb&&(h<<=1);var c=c+h,m=a.Jh;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.ra,n=!0,r=c>>h.yb;0a.Gc)return;e=a.Gc;f= +e+1}}if(a.Rb){if(a.wd[a.Rb]){d=0;h=a.he=0;m=1048575;a.Fa.yc&32&&(h=32768,m&=~h,a.ie&2||(m&=-65537));for(c+=e<<1;c>8|(s&255)<<8;t=h;var xa=16;r>=m))>>(xa-=m);Dj(a.Tg,r++,w,n[Qb])}r>Q&&(Q=r);w=R&&(R=w+1)}e+=2;g++;if(r>=a.Eb){r=0;w+=2;if(w>a.rc)break;w==a.rc&&(w=1,e=c+a.Mj)}}DL;L++)R= +Q&2155905152,0>R&&(R+=4294967296),R=X[R]||0,Dj(a.Tg,h++,m,g[R]),Q<<=1;h>r&&(r=h);m=D&&(D=m+1)}e++;if(h>=a.Eb&&(h=0,++m>a.rc))break}n>2),a=this.oa.qj&-17|(this.rg&1<Missing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth* d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=window.document.createElement("textarea");f.setAttribute("style","position:absolute; left:0; top:0; width:100%; height:100%; opacity:0; border:0; padding:0; line-height:0;");sa("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.style.clear="both";c.style.position="relative";c.appendChild(f); -var h=e.getContext("2d"),d=new U(d,e,h,f);Na(d,c)}});function Z(a){this.ck=a.adapter;switch(this.ck){case 1:this.ij=1016;this.Nf=4;break;case 2:this.ij=760;this.Nf=3;break;default:q("Unrecognized serial adapter #"+this.ck);return}this.Dd=null;u.call(this,"SerialPort",a,Z);var b=a.binding,c;a=Mj;b&&(void 0===c&&(c="Panel"),(c=Ma(c,this.id))&&(b=c.sa[b])&&this.Hb(null,a,b))}v(u,Z);var Mj="buffer";k=Z.prototype;k.Dj=function(a,b){return a==this.fi?(this.Md=b,this):null}; +var g=e.getContext("2d"),d=new U(d,e,g,f);Na(d,c)}});function Z(a){this.ck=a.adapter;switch(this.ck){case 1:this.ij=1016;this.Nf=4;break;case 2:this.ij=760;this.Nf=3;break;default:q("Unrecognized serial adapter #"+this.ck);return}this.Dd=null;u.call(this,"SerialPort",a,Z);var b=a.binding,c;a=Mj;b&&(void 0===c&&(c="Panel"),(c=Ma(c,this.id))&&(b=c.sa[b])&&this.Hb(null,a,b))}v(u,Z);var Mj="buffer";k=Z.prototype;k.Dj=function(a,b){return a==this.fi?(this.Md=b,this):null}; k.Hb=function(a,b,c){var d=this;switch(b){case Mj:return this.sa[b]=this.Dd=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Nj(d,[b]))},c.onkeypress=function(a){a=a||window.event;Nj(d,[a.which||a.keyCode])},!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet");fb(b,this,Oj,this.ij);hb(b,this,Pj,this.ij);z(this)};k.ac=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0}; k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Kd()};k.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.Gh;c[b++]=this.Ij;c[b++]=this.Ce;c[b++]=this.sg;c[b++]=this.zd;c[b++]=this.fe;c[b++]=this.Uc;c[b++]=this.Bc;c[b++]=this.Gj;c[b]=this.mf;a.set(0,c);return a.data()};k.restore=function(a){return this.Kd(a[0])}; k.Kd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Gh=a[b++];this.Ij=a[b++];this.Ce=a[b++];this.sg=a[b++];this.zd=a[b++];this.fe=a[b++];this.Uc=a[b++];this.Bc=a[b++];this.Gj=a[b++];this.mf=a[b];return!0};function Nj(a,b){a.mf=a.mf.concat(b);Qj(a)}function Qj(a){0>8:this.sg};k.Mm=function(){return this.zd};k.Nm=function(){return this.fe};k.Pm=function(){return this.Uc};k.Om=function(){return this.Bc};k.Vm=function(){return this.Gj}; k.po=function(a,b){if(this.fe&128)this.Ce=this.Ce&-256|b;else{this.Ij=b;this.Bc&=-97;var c;this.Dd?(13!=b&&(8==b?this.Dd.value=this.Dd.value.slice(0,-1):(this.Dd.value+=String.fromCharCode(b),this.Dd.scrollTop=this.Dd.scrollHeight)),c=!0):c=!1;c&&(this.Bc|=96)}};k.Zn=function(a,b){this.fe&128?this.Ce=this.Ce&255|b<<8:this.sg=b};k.$n=function(a,b){this.fe=b}; -k.ao=function(a,b){var c=this.Uc;this.Uc=b;if(this.Md&&(c^b)&3){var c=this.Md,d=this.Uc,e=3==(d&3);if(e){if(!c.Pc){var f=!1;c.Uc&2||(c.reset(),c.fc("serial mouse reset"),f=!0);c.Uc&1||(c.fc("serial mouse ID requested"),f=!0);f&&(Nj(c.vf,[77,77]),c.fc("serial mouse ID sent"));Rj(c,c.Ga);c.setActive(e)}}else c.Pc&&(c.fc("serial mouse inactive"),Sj(c.Ga),c.setActive(e));c.Uc=d}}; +k.ao=function(a,b){var c=this.Uc;this.Uc=b;if(this.Md&&(c^b)&3){var c=this.Md,d=this.Uc,e=3==(d&3);if(e){if(!c.Pc){var f=!1;c.Uc&2||(c.reset(),c.hc("serial mouse reset"),f=!0);c.Uc&1||(c.hc("serial mouse ID requested"),f=!0);f&&(Nj(c.vf,[77,77]),c.hc("serial mouse ID sent"));Rj(c,c.Ga);c.setActive(e)}}else c.Pc&&(c.hc("serial mouse inactive"),Sj(c.Ga),c.setActive(e));c.Uc=d}}; var Oj={0:Z.prototype.$m,1:Z.prototype.Lm,2:Z.prototype.Mm,3:Z.prototype.Nm,4:Z.prototype.Pm,5:Z.prototype.Om,6:Z.prototype.Vm},Pj={0:Z.prototype.po,1:Z.prototype.Zn,3:Z.prototype.$n,4:Z.prototype.ao};za(function(){for(var a=y(window.document,"pcjs","serial"),b=0;ba.eg||0>a.fg)a.eg=b.clientX,a.fg=b.clientY;a.Mg?(a.De=b.movementX||b.mozMovementX||b.webkitMovementX||0,a.Ee=b.movementY||b.mozMovementY||b.webkitMovementY||0):(a.De=b.clientX-a.eg,a.Ee=b.clientY-a.fg);(a.De||a.Ee)&&Uj(a);a.eg=b.clientX;a.fg=b.clientY}},!1),b.addEventListener("mousedown",function(b){Vj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){Vj(a,b.button,!1)},!1),a.Th=!0),b.style.cursor= "none")}function Sj(a){a&&(a.style.cursor="auto")}function Vj(a,b,c){if(a.Pc&&a.ka&&a.ka.ma.Jb){var d;!(d=!1!==a.Mg)&&(d=a.uh)&&(d=a.uh,d=d.$l?d.Ze(!0):!1);d||(a.Mg=null);switch(b){case 0:a.Hg!=c&&(a.Hg=c,Uj(a));break;case 2:a.Ig!=c&&(a.Ig=c,Uj(a))}}}function Uj(a){Nj(a.vf,[64|(a.Hg?32:0)|(a.Ig?16:0)|(a.Ee&192)>>4|(a.De&192)>>6,a.De&63,a.Ee&63]);a.De=a.Ee=0}za(function(){for(var a=y(window.document,"pcjs","mouse"),b=0;b>2;var e=d=0,a=new DataView(a,0,c);h.cb=Array(h.qb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=ak(this,b),this.Ng=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c="dir"),f= +k.load=function(a,b,c,d,e){var f=b;if(!this.qe)if(this.bd=a,this.we=b,this.qe=d,this.Rl=e||this.ea,c){var g=this,h=new FileReader;h.onload=function(){var a=h.result,b,c=a?a.byteLength:0,d=ba[c];if(d){g.qb=d[0];g.rb=d[1];g.wb=d[2];g.gb=512;b=g.gb>>2;var e=d=0,a=new DataView(a,0,c);g.cb=Array(g.qb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=ak(this,b),this.Ng=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c="dir"),f= ma()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.Te?"":d)+"&format=json")),la(f,!0,null,this,this.Vl,b)}; -k.Vl=function(a,b,c,d){var e=null;this.Ue=!1;var f=0>c&&this.Sa&&!this.Sa.ma.Qb;if(this.Ng)c?this.ea.Aa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.nd=!0,e=this);else if(c)this.ea.Aa('Unable to load disk "'+this.bd+'" (error '+c+")",f);else try{if(0h&&0b.indexOf("0x")&& -'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(g.length)if(1==g.length)q(g[0]);else{this.qb=g.length;this.rb=g[0].length;this.wb=g[0][0].length;var m=g[0][0][0];this.gb=m&&m.length||512;for(b=a=0;b>2,r=m.pattern;void 0===r&&(r=m.pattern=0);var s=m.data;if(void 0===s){var t=m.bytes;if(void 0!==t&&t.length){for(var f= -n<<2,w=t.length;wc&&this.Ta&&!this.Ta.ma.Qb;if(this.Ng)c?this.ea.Aa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.nd=!0,e=this);else if(c)this.ea.Aa('Unable to load disk "'+this.bd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&& +'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)q(h[0]);else{this.qb=h.length;this.rb=h[0].length;this.wb=h[0][0].length;var m=h[0][0][0];this.gb=m&&m.length||512;for(b=a=0;b>2,r=m.pattern;void 0===r&&(r=m.pattern=0);var s=m.data;if(void 0===s){var t=m.bytes;if(void 0!==t&&t.length){for(var f= +n<<2,w=t.length;wb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=h>>16&255;c[d++]=h>>24&255}return c}function fk(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} -k.write=function(a,b,c){if(this.Ue)return!1;if(b>2;b=(b&3)<<3;for(var h=d.length;h<=f;h++)d[h]=e;a.vc?f=a.Qc+a.vc&&(a.vc+=f-(a.Qc+a.vc)+1):(a.Qc=f,a.vc=1);d[f]=d[f]&~(255<=this.cb.length||m>=this.cb[g].length||n>=this.cb[g][m].length){c="sector (CHS="+g+":"+m+":"+n+") out of range ("+ -b+" changes applied)";b=-1;break}if(this.Ue){c="unable to modify write-protected disk";b=-1;break}e=h[f++];f=h[f++];h=e+f.length;if(g=this.cb[g][m][n]){for(m=g.data.length;mb&&this.ea.Aa("unable to restore disk '"+this.bd+": "+c);return b}; +k.seek=function(a,b,c,d,e){var f=null,g=this.Qa,h=this.cb[a];if(h){var m=h[b];if(!m&&g.Eh&&b>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function fk(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} +k.write=function(a,b,c){if(this.Ue)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.vc?f=a.Qc+a.vc&&(a.vc+=f-(a.Qc+a.vc)+1):(a.Qc=f,a.vc=1);d[f]=d[f]&~(255<=this.cb.length||m>=this.cb[h].length||n>=this.cb[h][m].length){c="sector (CHS="+h+":"+m+":"+n+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.Ue){c="unable to modify write-protected disk";b=-1;break}e=g[f++];f=g[f++];g=e+f.length;if(h=this.cb[h][m][n]){for(m=h.data.length;mb&&this.ea.Aa("unable to restore disk '"+this.bd+": "+c);return b}; function gk(a){u.call(this,"FDC",a,gk);this.dmaRead=this.Oh;this.dmaWrite=this.Ph;this.dmaFormat=this.Sl;this.je=null;if(a.autoMount&&(this.je=a.autoMount,"string"==typeof this.je))try{this.je=eval("("+a.autoMount+")")}catch(b){q("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.je=null}this.sc=[];this.Vj=!sa("Mobi")&&window&&"FileReader"in window}v(u,gk);l={};aa={}; var hk={3:{jd:3,Cd:0,name:aa.kp},4:{jd:2,Cd:1,name:aa.ip},5:{jd:9,Cd:7,name:aa.wp},6:{jd:9,Cd:7,name:aa.cp},7:{jd:2,Cd:0,name:aa.ep},8:{jd:1,Cd:2,name:aa.jp},10:{jd:2,Cd:7,name:aa.dp},13:{jd:6,Cd:7,name:aa.Po},15:{jd:3,Cd:0,name:aa.hp}};k=gk.prototype; -k.Hb=function(a,b,c){var d=this;switch(b){case "listDisks":return this.sa[b]=c,c.onchange=function(){var a=d.sa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var h={};if(b=b.getAttribute("data-value"))try{h=eval("({"+b+"})")}catch(g){q("FDC option error: "+g.message)}b=h.desc;void 0===b&&(b="");h=h.href;void 0!==h&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a;a=c.value;var b=10,h;if(a){b||(b=16); -if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var g=a.charAt(a.length-1).toLowerCase();"h"==g?(b=16,g=null):"."==g&&(b=10,g=null);null===g&&(a=a.substr(0,a.length-1))}var m,g=a;(b&&10!=b?16==b?null!==g.match(/^[0-9a-f]+$/i):1:null!==g.match(/^[0-9]+$/))&&!isNaN(m=parseInt(a,b))&&(h=m)}a=h;null!=a&&ik(d,a)},!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&jk(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.Vj? -(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;jk(d,ea(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Sa=a;this.la=Sa(a,"ChipSet");this.pd();fb(b,this,kk);hb(b,this,lk);this.Vj&&mk(this,"Local Disk","?");mk(this,"Remote Disk","??");this.pf()||z(this)}; -k.ac=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Sa.Wh){this.sc=[];for(var c=0;c'+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a;a=c.value;var b=10,g;if(a){b||(b=16); +if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var h=a.charAt(a.length-1).toLowerCase();"h"==h?(b=16,h=null):"."==h&&(b=10,h=null);null===h&&(a=a.substr(0,a.length-1))}var m,h=a;(b&&10!=b?16==b?null!==h.match(/^[0-9a-f]+$/i):1:null!==h.match(/^[0-9]+$/))&&!isNaN(m=parseInt(a,b))&&(g=m)}a=g;null!=a&&ik(d,a)},!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&jk(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.Vj? +(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;jk(d,ea(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.la=Sa(a,"ChipSet");this.pd();fb(b,this,kk);hb(b,this,lk);this.Vj&&mk(this,"Local Disk","?");mk(this,"Remote Disk","??");this.pf()||z(this)}; +k.ac=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Ta.Wh){this.sc=[];for(var c=0;ca.va.restore(h)&&(e=!1);e&&a.va&&void 0!==a.Ta&&(a.Qa=a.va.seek(a.tb,a.Oa,a.eb));return e};k.oj=function(){for(var a=0,b=[],c=0;ca.va.restore(g)&&(e=!1);e&&a.va&&void 0!==a.Ra&&(a.Na=a.va.seek(a.tb,a.Pa,a.eb));return e};k.oj=function(){for(var a=0,b=[],c=0;ca.qb||f[1]>a.rb)&&(this.Aa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.fb)),b=null);b?(a.va=b,a.xl=c,a.xe=d,qk(this,c,d,b),f=b.info(),this.Ud|=128,this.Aa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.fb),a.oe||e),a.ah=f[0],a.Lf=f[1],a.Mf=f[2]):a.Se=!1;a.oe&&(a.oe=!1,--this.ge||z(this));ik(this,a.fb)}; function mk(a,b,c){if(a=a.sa.listDisks){for(var d=0;d=this.ib&&(this.xa&=-81,this.zb=this.ib=0);return a}; -k.Tn=function(a,b){this.ib=hk[c].jd){var d=!1;this.zb=0;var c=this.Ma(),e,f,h,g,m,n=c&31;switch(n){case 3:this.Ma(l.lp);this.Ma(l.So);this.Pb();break;case 4:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];this.Pb();this.bc((e.ab&4278190080)>>>24,l.op);break;case 5:case 6:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];e.Oa=d;f=e.tb=this.Ma(l.vj);h=this.Ma(l.wj);g=e.eb=this.Ma(l.yj);m=this.Ma(l.wh);e.pb=128<< -m;e.Ad=this.Ma(l.No);this.Ma(l.Jl);this.Ma(l.Mo);6==n?(n=e,n.ab=72,n.va&&(n.Qa=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaRead",n),di(this.la,2)))):(n=e,n.ab=72,n.va&&(n.va.Ue?n.ab=576:(n.Qa=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaWrite",n),di(this.la,2)))));rk(this,e,c,d,f,h,g,m);d=!0;break;case 7:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];e.tb=e.yd=0;e.ab=268435488;this.Pb();d=!0;break;case 8:e=this.Ca[this.fb];e.Oa=0;this.Pb();this.bc(e.fb|e.Oa<<2|e.ab&255,l.Ll);this.bc(e.tb,l.ap);this.fb= -this.fb+1&3;break;case 10:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;h=e.Oa=d;g=e.eb=1;m=0;e.ab=0;e.va&&(e.Qa=e.va.seek(e.tb,e.Oa,e.eb))?m=e.Qa.length:e.ab=72;rk(this,e,c,d,f,h,g,m);d=!0;break;case 13:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;h=e.Oa=d;g=1;m=this.Ma(l.wh);e.pb=128<>2&1,f=this.Ma(l.Yo),e.tb+=f-e.yd,0>e.tb&&(e.tb=0),e.tb>=e.qb&&(e.tb=e.qb-1),e.yd=f,e.ab=32,e.tb||(e.ab|=268435456),this.Pb(),d=!0}0>>8,l.mp);a.bc((b.ab&16711680)>>>16,l.np);var m=0;if(e!=b.tb||f!=b.Oa)m=h=1;c&128&&(f^=m,d||(m=0));a.bc(e+m,l.vj);a.bc(f,l.wj);a.bc(h,l.yj);a.bc(g,l.wh)}k.Ma=function(){var a=this.cc[this.zb];this.zb++;return a};k.Pb=function(){this.zb=this.ib=0};k.bc=function(a){this.cc[this.ib++]=a};k.Oh=function(a,b,c){void 0===b||0>b?this.jc(a,c):c(-1,!1)};k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1}; -k.Sl=function(a,b){return void 0!==b&&0<=b?this.sj(a,b):-1};k.jc=function(a,b){var c=-1,d,e;if(!a.ab&&a.va){do{if(a.Qa&&(e=a.Ta,0<=(c=fk(a.Qa,a.Ta++)))){d=a.Qa;break}a.Qa=a.va.seek(a.tb,a.Oa,a.eb);if(!a.Qa){a.ab=1088;break}a.Ta=0;this.nf(a)}while(1)}b(c,!1,d,e)};k.lc=function(a,b){if(a.ab||!a.va)return-1;do{if(a.Qa&&a.va.write(a.Qa,a.Ta++,b))break;a.Qa=a.va.seek(a.tb,a.Oa,a.eb);if(!a.Qa){a.ab=8256;b=-1;break}a.Ta=0;this.nf(a)}while(1);return b}; -k.nf=function(a){a.eb++;a.eb>=a.Mf+1&&(a.eb=1,a.Oa++,a.Oa>=a.Lf&&(a.Oa=0,a.tb++))};k.sj=function(a,b){if(a.ab)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.tb=a.zc[0];a.Oa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};var kk={1012:gk.prototype.Gm,1013:gk.prototype.Em,1015:gk.prototype.Fm},lk={1010:gk.prototype.Un,1013:gk.prototype.Tn,1015:gk.prototype.Sn}; +k.Tn=function(a,b){this.ib=hk[c].jd){var d=!1;this.zb=0;var c=this.Ma(),e,f,g,h,m,n=c&31;switch(n){case 3:this.Ma(l.lp);this.Ma(l.So);this.Pb();break;case 4:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];this.Pb();this.bc((e.ab&4278190080)>>>24,l.op);break;case 5:case 6:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];e.Pa=d;f=e.tb=this.Ma(l.vj);g=this.Ma(l.wj);h=e.eb=this.Ma(l.yj);m=this.Ma(l.wh);e.pb=128<< +m;e.Ad=this.Ma(l.No);this.Ma(l.Jl);this.Ma(l.Mo);6==n?(n=e,n.ab=72,n.va&&(n.Na=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaRead",n),di(this.la,2)))):(n=e,n.ab=72,n.va&&(n.va.Ue?n.ab=576:(n.Na=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaWrite",n),di(this.la,2)))));rk(this,e,c,d,f,g,h,m);d=!0;break;case 7:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];e.tb=e.yd=0;e.ab=268435488;this.Pb();d=!0;break;case 8:e=this.Ca[this.fb];e.Pa=0;this.Pb();this.bc(e.fb|e.Pa<<2|e.ab&255,l.Ll);this.bc(e.tb,l.ap);this.fb= +this.fb+1&3;break;case 10:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;g=e.Pa=d;h=e.eb=1;m=0;e.ab=0;e.va&&(e.Na=e.va.seek(e.tb,e.Pa,e.eb))?m=e.Na.length:e.ab=72;rk(this,e,c,d,f,g,h,m);d=!0;break;case 13:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;g=e.Pa=d;h=1;m=this.Ma(l.wh);e.pb=128<>2&1,f=this.Ma(l.Yo),e.tb+=f-e.yd,0>e.tb&&(e.tb=0),e.tb>=e.qb&&(e.tb=e.qb-1),e.yd=f,e.ab=32,e.tb||(e.ab|=268435456),this.Pb(),d=!0}0>>8,l.mp);a.bc((b.ab&16711680)>>>16,l.np);var m=0;if(e!=b.tb||f!=b.Pa)m=g=1;c&128&&(f^=m,d||(m=0));a.bc(e+m,l.vj);a.bc(f,l.wj);a.bc(g,l.yj);a.bc(h,l.wh)}k.Ma=function(){var a=this.cc[this.zb];this.zb++;return a};k.Pb=function(){this.zb=this.ib=0};k.bc=function(a){this.cc[this.ib++]=a};k.Oh=function(a,b,c){void 0===b||0>b?this.jc(a,c):c(-1,!1)};k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1}; +k.Sl=function(a,b){return void 0!==b&&0<=b?this.sj(a,b):-1};k.jc=function(a,b){var c=-1,d=null,e=0;if(!a.ab&&a.va){do{if(a.Na&&(e=a.Ra,0<=(c=fk(a.Na,a.Ra++)))){d=a.Na;break}a.Na=a.va.seek(a.tb,a.Pa,a.eb);if(!a.Na){a.ab=1088;break}a.Ra=0;this.nf(a)}while(1)}b(c,!1,d,e)};k.lc=function(a,b){if(a.ab||!a.va)return-1;do{if(a.Na&&a.va.write(a.Na,a.Ra++,b))break;a.Na=a.va.seek(a.tb,a.Pa,a.eb);if(!a.Na){a.ab=8256;b=-1;break}a.Ra=0;this.nf(a)}while(1);return b}; +k.nf=function(a){a.eb++;a.eb>=a.Mf+1&&(a.eb=1,a.Pa++,a.Pa>=a.Lf&&(a.Pa=0,a.tb++))};k.sj=function(a,b){if(a.ab)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.tb=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};var kk={1012:gk.prototype.Gm,1013:gk.prototype.Em,1015:gk.prototype.Fm},lk={1010:gk.prototype.Un,1013:gk.prototype.Tn,1015:gk.prototype.Sn}; za(function(){for(var a=y(window.document,"pcjs","fdc"),b=0;b=e&&(this.Zf|=(f.type&3)<<(1-e<<1))}return d}; k.mj=function(){var a=0,b=[];this.ne?(b[a++]=this.Td,b[a++]=this.wl,b[a++]=this.Vd,b[a++]=this.nh,b[a++]=this.lh,b[a++]=this.kh,b[a++]=this.ff,b[a++]=this.xa,b[a++]=this.kj,b[a++]=this.mh):(b[a++]=this.Zf,b[a++]=this.xa,b[a++]=this.cc,b[a++]=this.zb,b[a++]=this.ib,b[a++]=this.vl,b[a++]=this.ul,b[a++]=this.tl,b[a++]=this.We);b[a]=this.oj();return b}; -k.gi=function(a,b,c,d,e){var f=0,h=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.fb=a;b.errorCode=d[f++];b.Bl=d[f++];b.Te=d[f++];b.He=d[f++];b.Ie=d[f++];b.Oa=d[f++];b.rb=d[f++];b.Zd=d[f++];b.eb=d[f++];b.Ad=d[f++];b.pb=d[f++];b.yg=this.ne?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.Jd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===sk[this.Cf][b.type])b.type=this.km;c=sk[this.Cf][b.type]; -b.wb=c[2]||17;b.gb=c[3]||512;if(e&&this.la&&(e=this.la,c=b.type,e.ja)){var g=e.ja[18],g=a?g&240|c:g&15|c<<4;e.ja&&(e.ja[18]=g,Nh(e))}void 0===b.va&&(b.va=null,this.Aa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));xk(this,b);b.Ta=d[f++];b.Qa=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(h=!1),h&&void 0!==b.Ta&&(b.Qa=b.va.seek(b.Zd,b.Oa,b.eb+b.yg)));return h};k.oj=function(){for(var a=0,b=[],c=0;cb.va.restore(a)&&(g=!1),g&&void 0!==b.Ra&&(b.Na=b.va.seek(b.Zd,b.Pa,b.eb+b.yg)));return g};k.oj=function(){for(var a=0,b=[],c=0;c=this.ib&&(this.zb=this.ib=0,this.xa&=-15);return a};k.ro=function(a,b){this.ib=c&&(this.xa|=2,this.xa&=-2,yk(this))}; k.gn=function(){var a=this.xa;this.zb=this.Pa.gb){var b=this;b.xa=136;this.jc(this.Pa,function(a){0<=a?(zk(b),b.xa=80):(b.xa=1,b.Td=16)},!1)}else this.xa=80;return a}; -k.En=function(a,b){this.Pa&&this.Pa.pb>=this.Pa.gb&&(0>this.lc(this.Pa,b)?(this.xa=1,this.Td=16):1!=this.Pa.Ta&&this.Pa.Ta==this.Pa.gb&&(this.Pa.pb-=this.Pa.gb,this.Vd=this.Vd-1&255,zk(this),this.xa=80,this.Pa.pb>=this.Pa.gb&&(this.xa|=8)))};k.tm=function(){return this.Td};k.Jn=function(a,b){this.wl=b};k.um=function(){return this.Vd};k.Hn=function(a,b){this.Vd=b};k.vm=function(){return this.nh};k.In=function(a,b){this.nh=b};k.qm=function(){return this.lh};k.Dn=function(a,b){this.lh=b};k.pm=function(){return this.kh}; +k.rm=function(){var a=-1;if(this.Qa){var b=this,a=this.jc(this.Qa,function(){});1!=this.Qa.Ra&&this.Qa.Ra==this.Qa.gb&&(this.Qa.pb-=this.Qa.gb,this.Vd=this.Vd-1&255,this.Qa.pb>=this.Qa.gb?(b.xa=136,this.jc(this.Qa,function(a){0<=a?(zk(b),b.xa=80):(b.xa=1,b.Td=16)},!1)):this.xa=80)}return a}; +k.En=function(a,b){this.Qa&&this.Qa.pb>=this.Qa.gb&&(0>this.lc(this.Qa,b)?(this.xa=1,this.Td=16):1!=this.Qa.Ra&&this.Qa.Ra==this.Qa.gb&&(this.Qa.pb-=this.Qa.gb,this.Vd=this.Vd-1&255,zk(this),this.xa=80,this.Qa.pb>=this.Qa.gb&&(this.xa|=8)))};k.tm=function(){return this.Td};k.Jn=function(a,b){this.wl=b};k.um=function(){return this.Vd};k.Hn=function(a,b){this.Vd=b};k.vm=function(){return this.nh};k.In=function(a,b){this.nh=b};k.qm=function(){return this.lh};k.Dn=function(a,b){this.lh=b};k.pm=function(){return this.kh}; k.Cn=function(a,b){this.kh=b};k.sm=function(){return this.ff};k.Fn=function(a,b){this.ff=b;this.xa=this.Ca[this.ff&16?1:0]?this.xa|64:this.xa&-65};k.wm=function(){return this.xa};k.Bn=function(a,b){this.kj=b;this.la&&oi(this.la,14);Ak(this)};k.Gn=function(a,b){this.mh&4&&!(b&4)&&(this.Td=1);this.mh=b}; -function Ak(a){var b=!1,c=a.kj,d=a.ff&16?1:0,e=a.ff&15,f=a.lh|(a.kh&3)<<8,h=a.nh,g=a.Vd||256;a.Pa=null;a.Td=0;a.xa=80;(d=a.Ca[d])?(d.Zd=f,d.Oa=e,d.eb=h,d.pb=g*d.gb,c=144<=c?c:c&240,d.Qa=null,d.Ta=0,d.errorCode=0,a.Pa=d):c=-1;switch(c&240){case 32:a.xa=136;a.jc(d,function(b){0<=b&&a.la?(zk(a),a.xa=80):(a.xa=1,a.Td=16)},!1);break;case 48:a.xa=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Td=1;b=!0;break;case 145:d.rb=e+1,d.wb=g,b=!0}b&&zk(a)} +function Ak(a){var b=!1,c=a.kj,d=a.ff&16?1:0,e=a.ff&15,f=a.lh|(a.kh&3)<<8,g=a.nh,h=a.Vd||256;a.Qa=null;a.Td=0;a.xa=80;(d=a.Ca[d])?(d.Zd=f,d.Pa=e,d.eb=g,d.pb=h*d.gb,c=144<=c?c:c&240,d.Na=null,d.Ra=0,d.errorCode=0,a.Qa=d):c=-1;switch(c&240){case 32:a.xa=136;a.jc(d,function(b){0<=b&&a.la?(zk(a),a.xa=80):(a.xa=1,a.Td=16)},!1);break;case 48:a.xa=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Td=1;b=!0;break;case 145:d.rb=e+1,d.wb=h,b=!0}b&&zk(a)} function zk(a){!a.la||a.mh&2||ni(a.la,14,120)} -function yk(a){a.zb=0;var b=a.Ma(),c=a.Ma(),d=c&32,e=d>>5,f=c&31,h=a.Ma(),g=a.Ma(),m=h<<2&768|g,n=h&63,r=a.Ma(),s=a.Ma(),t=a.Ca[e];t&&(t.Zd=m,t.Oa=f,t.eb=n,t.pb=r*t.gb);switch(b){case 3:a.Pb(t?t.errorCode:4);a.bc(c);a.bc(h);a.bc(g);a.bc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ma());)t&&c>5,f=c&31,g=a.Ma(),h=a.Ma(),m=g<<2&768|h,n=g&63,r=a.Ma(),s=a.Ma(),t=a.Ca[e];t&&(t.Zd=m,t.Pa=f,t.eb=n,t.pb=r*t.gb);switch(b){case 3:a.Pb(t?t.errorCode:4);a.bc(c);a.bc(g);a.bc(h);a.bc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ma());)t&&cb?this.jc(a,c):c(-1,!1)}; -k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1};k.Tl=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ta=a.wb+b&&(a.eb=b,a.Oa++,a.Oa>=a.rb&&(a.Oa=0,a.Zd++))}; -k.sj=function(a,b){if(a.errorCode)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.Zd=a.zc[0];a.Oa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};k.hn=function(){var a=this.ka.K&255;!(this.ka.H>>8)&&128>8)||(a=!this.la)||(a=!(this.la.Wb[0].Tc&64));return a?!0:!1}; +k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1};k.Tl=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ra=a.wb+b&&(a.eb=b,a.Pa++,a.Pa>=a.rb&&(a.Pa=0,a.Zd++))}; +k.sj=function(a,b){if(a.errorCode)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.Zd=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};k.hn=function(){var a=this.ka.K&255;!(this.ka.H>>8)&&128>8)||(a=!this.la)||(a=!(this.la.Wb[0].Tc&64));return a?!0:!1}; var uk={800:$.prototype.fn,801:$.prototype.gn,802:$.prototype.en},tk={496:$.prototype.rm,497:$.prototype.tm,498:$.prototype.um,499:$.prototype.vm,500:$.prototype.qm,501:$.prototype.pm,502:$.prototype.sm,503:$.prototype.wm},wk={800:$.prototype.ro,801:$.prototype.uo,802:$.prototype.to,803:$.prototype.so,807:$.prototype.fj,811:$.prototype.fj,815:$.prototype.fj},vk={496:$.prototype.En,497:$.prototype.Jn,498:$.prototype.Hn,499:$.prototype.In,500:$.prototype.Dn,501:$.prototype.Cn,502:$.prototype.Fn,503:$.prototype.Bn, 1014:$.prototype.Gn};za(function(){for(var a=y(window.document,"pcjs","hdc"),b=0;bKk){if(d.load(this.bg)){this.Ae=new H(this,"1.16.4","failsafe");this.Ae.load()&&(Ok(this,d),a=2,Hk(this.Ae));this.Ae.set("timestamp",ja());Ik(this.Ae);var e=this.Hc&&!this.Pg;if(1==a||na("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),h=d.get("data");f&&("ok"==f?d.load(h):("error"== -f&&"no machine state"!=h?(this.Aa("Error: "+h),"unable to verify user"==h&&(ra("user",""),this.Ic=null)):this.ic(f+": "+h),Hk(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Nk(this,c?d:null)}else 2==a&&d.clear()}else Nk(this);delete this.bg;delete this.th}e=Ka(this.id);for(f=0;fKk){if(d.load(this.bg)){this.Ae=new H(this,"1.16.5","failsafe");this.Ae.load()&&(Ok(this,d),a=2,Hk(this.Ae));this.Ae.set("timestamp",ja());Ik(this.Ae);var e=this.Hc&&!this.Pg;if(1==a||na("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== +f&&"no machine state"!=g?(this.Aa("Error: "+g),"unable to verify user"==g&&(ra("user",""),this.Ic=null)):this.ic(f+": "+g),Hk(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Nk(this,c?d:null)}else 2==a&&d.clear()}else Nk(this);delete this.bg;delete this.th}e=Ka(this.id);for(f=0;fa[1];a=a[2];this.ma.Qb=!0;this.Uj||(this.ic("PCjs v1.16.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.Uj=!0);this.ka&&Pk(this,this.ka,b,c,a);this.Yj&&(Ok(this,b),b.clear());!c&&this.Ae&&(this.Ae.clear(),delete this.Ae)}; -function Ok(a,b){if(na("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.Jd(),d=b.toString(),e={app:"PCjs",ver:"1.16.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;la("http://www.pcjs.org/api/v1/report",!0,e)}} -function Qk(a,b,c){var d,e="none",f=new H(a,"1.16.4"),h=new H(a,"1.16.4","validate"),g=ja();h.set("timestamp",g);f.set("timestamp",g);f.set("version","1.16.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ka&&a.ka.$b&&(c&&B(a.ka),d=a.ka.$b(b,c),"object"===typeof d&&f.set(a.ka.id,d),c&&(a.ka.ma.Qb=!1,!1===d&&(e=null)));for(var g=Ka(a.id),m=0;ma[1];a=a[2];this.ma.Qb=!0;this.Uj||(this.ic("PCjs v1.16.5\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Uj=!0);this.ka&&Pk(this,this.ka,b,c,a);this.Yj&&(Ok(this,b),b.clear());!c&&this.Ae&&(this.Ae.clear(),delete this.Ae)}; +function Ok(a,b){if(na("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.Jd(),d=b.toString(),e={app:"PCjs",ver:"1.16.5"};e.url=a.url;e.user=c;e.type="bug";e.data=d;la("http://www.pcjs.org/api/v1/report",!0,e)}} +function Qk(a,b,c){var d,e="none",f=new H(a,"1.16.5"),g=new H(a,"1.16.5","validate"),h=ja();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.5");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ka&&a.ka.$b&&(c&&B(a.ka),d=a.ka.$b(b,c),"object"===typeof d&&f.set(a.ka.id,d),c&&(a.ka.ma.Qb=!1,!1===d&&(e=null)));for(var h=Ka(a.id),m=0;mg.indexOf("/")&&(g=window.location.pathname+g);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(g?" url=$2"+g+"$2":""))}g=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),g=new window.ActiveXObject("Microsoft.XMLDOM"),g.async=!1,g.loadXML(a)):g=(new window.DOMParser).parseFromString(a,"text/xml")}catch(s){g= -null,a=s.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");la(e,!0,null,null,function(f,h,g){if(g||!h)c(a,"unable to resolve XML reference: "+d[0]+" ("+g+")");else{if(f=d[3])if(g=h.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var m=g[0],n,r=/( [a-z]+=)(['"])(.*?)\2/g;n=r.exec(f);)m=0>m.indexOf(n[1])?m.replace(">",n[0]+">"):m.replace(new RegExp(n[1]+"(['\"])(.*?)\\1"),n[0]);g[0]!=m&&(h=h.replace(g[0],m))}else{c(a,"missing <"+d[1]+"> in "+e);return}h=h.replace(/<\?xml[^>]*>[\r\n]*/, -"");a=a.replace(d[0],h);Wk(a,b,c)}})}else c(a,null)} -function Xk(a,b,c,d){function e(a){if(void 0===g){var b=h&&y(h,"machine-warning");g=b&&b[0]||h}g&&(g.innerHTML=ha(a))}function f(a){e("Error: "+a);m&&(--Tk||Ba(!0));m=!1}var h,g,m=!0;Tk++;try{if(h=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.4/components.xsl");var n=function(a,d){if(d){var g=function(a,g){if(g)if(g)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(g);m?(h.outerHTML=m,--Tk||Ba(!0)):f("transformNodeToObject failed")}else window.document.implementation&& -window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(g),(m=m.transformToFragment(d,window.document))?(h.parentNode.replaceChild(m,h),--Tk||Ba(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Uk(c,null,null,!1,e,g):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Uk(b,a,d,!0,e,n):Vk(b,null,a,d,!1,e,n)}else f("failed to find machine element: "+a)}catch(r){f(r.message)}return m} +za(function(){for(var a=y(window.document,"pcjs-machine"),b=0;bh.indexOf("/")&&(h=window.location.pathname+h);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(h?" url=$2"+h+"$2":""))}h=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(s){h= +null,a=s.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");la(e,!0,null,null,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var m=h[0],n,r=/( [a-z]+=)(['"])(.*?)\2/g;n=r.exec(f);)m=0>m.indexOf(n[1])?m.replace(">",n[0]+">"):m.replace(new RegExp(n[1]+"(['\"])(.*?)\\1"),n[0]);h[0]!=m&&(g=g.replace(h[0],m))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],g);Wk(a,b,c)}})}else c(a,null)} +function Xk(a,b,c,d){function e(a){if(void 0===h){var b=g&&y(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ha(a))}function f(a){e("Error: "+a);m&&(--Tk||Ba(!0));m=!1}var g,h,m=!0;Tk++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.5/components.xsl");var n=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Tk||Ba(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(h),(m=m.transformToFragment(d,window.document))?(g.parentNode.replaceChild(m,g),--Tk||Ba(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Uk(c,null,null,!1,e,h):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Uk(b,a,d,!0,e,n):Vk(b,null,a,d,!1,e,n)}else f("failed to find machine element: "+a)}catch(r){f(r.message)}return m} window.embedPC=function(a,b,c,d){Ba(!1);return Xk(a,b,c,d)};window.enableEvents=Ba;window.sendEvent=Ca;})(); diff --git a/modules/c1pjs/lib/computer.js b/modules/c1pjs/lib/computer.js index 60b29dcc4f..6199e69339 100644 --- a/modules/c1pjs/lib/computer.js +++ b/modules/c1pjs/lib/computer.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -96,7 +96,7 @@ function C1PComputer(parmsComputer, modules) C1PComputer.sAppName = APPNAME || "C1Pjs"; C1PComputer.sAppVer = APPVERSION; -C1PComputer.sCopyright = "Copyright © 2012-2014 Jeff Parsons "; +C1PComputer.sCopyright = "Copyright © 2012-2015 Jeff Parsons "; Component.subclass(Component, C1PComputer); diff --git a/modules/c1pjs/lib/cpu.js b/modules/c1pjs/lib/cpu.js index 4bc5c16171..371ed64fb2 100644 --- a/modules/c1pjs/lib/cpu.js +++ b/modules/c1pjs/lib/cpu.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/debugger.js b/modules/c1pjs/lib/debugger.js index 73a5ad366e..af568ca0fd 100644 --- a/modules/c1pjs/lib/debugger.js +++ b/modules/c1pjs/lib/debugger.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-21 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/defines.js b/modules/c1pjs/lib/defines.js index 56f4ba4414..e0b621422f 100644 --- a/modules/c1pjs/lib/defines.js +++ b/modules/c1pjs/lib/defines.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/disk.js b/modules/c1pjs/lib/disk.js index c78c48fc13..09cd2cdd15 100644 --- a/modules/c1pjs/lib/disk.js +++ b/modules/c1pjs/lib/disk.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Aug-09 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/keyboard.js b/modules/c1pjs/lib/keyboard.js index 1c53681a47..acb820c9fd 100644 --- a/modules/c1pjs/lib/keyboard.js +++ b/modules/c1pjs/lib/keyboard.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-20 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/nodebugger.js b/modules/c1pjs/lib/nodebugger.js index dd552645a8..60116dd902 100644 --- a/modules/c1pjs/lib/nodebugger.js +++ b/modules/c1pjs/lib/nodebugger.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/panel.js b/modules/c1pjs/lib/panel.js index 1f8d876c8f..5e59aa0ad3 100644 --- a/modules/c1pjs/lib/panel.js +++ b/modules/c1pjs/lib/panel.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-19 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/ram.js b/modules/c1pjs/lib/ram.js index dc30e8e266..5944a68637 100644 --- a/modules/c1pjs/lib/ram.js +++ b/modules/c1pjs/lib/ram.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/rom.js b/modules/c1pjs/lib/rom.js index e736373e0d..8d11513a56 100644 --- a/modules/c1pjs/lib/rom.js +++ b/modules/c1pjs/lib/rom.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/serial.js b/modules/c1pjs/lib/serial.js index 863ffe1fd9..e391687d8b 100644 --- a/modules/c1pjs/lib/serial.js +++ b/modules/c1pjs/lib/serial.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jul-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/lib/video.js b/modules/c1pjs/lib/video.js index 6e97126c95..f52c8ec27b 100644 --- a/modules/c1pjs/lib/video.js +++ b/modules/c1pjs/lib/video.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/c1pjs/templates/components.xsl b/modules/c1pjs/templates/components.xsl index 87b0802b2c..37f795e898 100644 --- a/modules/c1pjs/templates/components.xsl +++ b/modules/c1pjs/templates/components.xsl @@ -168,7 +168,7 @@
diff --git a/modules/diskdump/bin/diskdump b/modules/diskdump/bin/diskdump index 4c445d4a79..91820b972b 100644 --- a/modules/diskdump/bin/diskdump +++ b/modules/diskdump/bin/diskdump @@ -6,7 +6,7 @@ * @suppress {missingProperties} * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -37,4 +37,4 @@ var path = require("path"); var fs = require("fs"); var lib = path.join(path.dirname(fs.realpathSync(__filename)), "../lib/"); -require(lib + "diskdump.js").CLI(); \ No newline at end of file +require(lib + "diskdump.js").CLI(); diff --git a/modules/diskdump/lib/diskdump.js b/modules/diskdump/lib/diskdump.js index 7fe30e17ac..c357089215 100644 --- a/modules/diskdump/lib/diskdump.js +++ b/modules/diskdump/lib/diskdump.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-02-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -174,7 +174,7 @@ DiskDump.setLogFile = function(file) { * Class constants */ DiskDump.sAPIURL = "http://www.pcjs.org" + DumpAPI.ENDPOINT; -DiskDump.sCopyright = "© 2012-2014 by Jeff Parsons (@jeffpar)"; +DiskDump.sCopyright = "© 2012-2015 by Jeff Parsons (@jeffpar)"; DiskDump.sNotice = DiskDump.sAPIURL + " " + DiskDump.sCopyright; DiskDump.sUsage = "Usage: " + DiskDump.sAPIURL + "?" + DumpAPI.QUERY.PATH + "={url}&" + DumpAPI.QUERY.FORMAT + "=json|data|hex|bytes|img"; diff --git a/modules/filedump/bin/filedump b/modules/filedump/bin/filedump index e5b08bad19..2c9367a9fe 100644 --- a/modules/filedump/bin/filedump +++ b/modules/filedump/bin/filedump @@ -6,7 +6,7 @@ * @suppress {missingProperties} * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -37,4 +37,4 @@ var path = require("path"); var fs = require("fs"); var lib = path.join(path.dirname(fs.realpathSync(__filename)), "../lib/"); -require(lib + "filedump.js").CLI(); \ No newline at end of file +require(lib + "filedump.js").CLI(); diff --git a/modules/filedump/lib/filedump.js b/modules/filedump/lib/filedump.js index 1210fb453b..728e311e75 100644 --- a/modules/filedump/lib/filedump.js +++ b/modules/filedump/lib/filedump.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-02-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -76,7 +76,7 @@ function FileDump(sFormat, fComments, fDecimal, sServerRoot) * Class constants */ FileDump.sAPIURL = "http://www.pcjs.org" + DumpAPI.ENDPOINT; -FileDump.sCopyright = "© 2012-2014 by Jeff Parsons (@jeffpar)"; +FileDump.sCopyright = "© 2012-2015 by Jeff Parsons (@jeffpar)"; FileDump.sNotice = FileDump.sAPIURL + " " + FileDump.sCopyright; FileDump.sUsage = "Usage: " + FileDump.sAPIURL + "?" + DumpAPI.QUERY.FILE + "=({path}|{URL})&" + DumpAPI.QUERY.FORMAT + "=(json|data|hex|bytes|rom)"; diff --git a/modules/grunts/prepjs/tasks/prepjs.js b/modules/grunts/prepjs/tasks/prepjs.js index 21c0b48ac8..282d27e5d4 100644 --- a/modules/grunts/prepjs/tasks/prepjs.js +++ b/modules/grunts/prepjs/tasks/prepjs.js @@ -4,7 +4,7 @@ * @version 1.1 * Created 2014-Mar-22 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of C1Pjs, PCjs, and other related components written * by Jeff Parsons and originally published at cpusim.org and jsmachines.net. diff --git a/modules/htmlout/bin/htmlout b/modules/htmlout/bin/htmlout index add227a5eb..d3691bd05a 100644 --- a/modules/htmlout/bin/htmlout +++ b/modules/htmlout/bin/htmlout @@ -6,7 +6,7 @@ * @suppress {missingProperties} * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -37,4 +37,4 @@ var path = require("path"); var fs = require("fs"); var lib = path.join(path.dirname(fs.realpathSync(__filename)), "../lib/"); -require(lib + "htmlout.js").CLI(); \ No newline at end of file +require(lib + "htmlout.js").CLI(); diff --git a/modules/htmlout/lib/htmlout.js b/modules/htmlout/lib/htmlout.js index 78badf43b2..25bab0dd81 100644 --- a/modules/htmlout/lib/htmlout.js +++ b/modules/htmlout/lib/htmlout.js @@ -1110,7 +1110,9 @@ HTMLOut.prototype.getDirList = function(sToken, sIndent, aParms) */ HTMLOut.prototype.getYear = function(sToken, sIndent, aParms) { - this.aTokens[sToken] = new Date().getFullYear().toString(); + var year = new Date().getFullYear(); + if (year < 2015) year = 2015; + this.aTokens[sToken] = year.toString(); }; /** diff --git a/modules/htmlout/lib/httpapi.js b/modules/htmlout/lib/httpapi.js index fc163e08ec..3f143aa2f9 100644 --- a/modules/htmlout/lib/httpapi.js +++ b/modules/htmlout/lib/httpapi.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-02-14 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/markout/bin/markout b/modules/markout/bin/markout index eed36b5f03..9c77a44a42 100644 --- a/modules/markout/bin/markout +++ b/modules/markout/bin/markout @@ -6,7 +6,7 @@ * @suppress {missingProperties} * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -37,4 +37,4 @@ var path = require("path"); var fs = require("fs"); var lib = path.join(path.dirname(fs.realpathSync(__filename)), "../lib/"); -require(lib + "markout.js").CLI(); \ No newline at end of file +require(lib + "markout.js").CLI(); diff --git a/modules/markout/lib/markout.js b/modules/markout/lib/markout.js index 33bbb1f2a4..1e757bfc90 100644 --- a/modules/markout/lib/markout.js +++ b/modules/markout/lib/markout.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-02-14 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/pcjs/bin/fptest.js b/modules/pcjs/bin/fptest.js index 8c09d029e1..c95863c345 100644 --- a/modules/pcjs/bin/fptest.js +++ b/modules/pcjs/bin/fptest.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Aug-20 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/bin/pcjs b/modules/pcjs/bin/pcjs index 283891327d..a7a4b466a6 100644 --- a/modules/pcjs/bin/pcjs +++ b/modules/pcjs/bin/pcjs @@ -6,7 +6,7 @@ * @suppress {missingProperties} * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/bin/x86gen.js b/modules/pcjs/bin/x86gen.js index 990e067088..21e531b6d3 100644 --- a/modules/pcjs/bin/x86gen.js +++ b/modules/pcjs/bin/x86gen.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/bus.js b/modules/pcjs/lib/bus.js index 357b6e8611..8973a14837 100644 --- a/modules/pcjs/lib/bus.js +++ b/modules/pcjs/lib/bus.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/chipset.js b/modules/pcjs/lib/chipset.js index 0f429e3c52..108dbd61b3 100644 --- a/modules/pcjs/lib/chipset.js +++ b/modules/pcjs/lib/chipset.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-14 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -1333,17 +1333,17 @@ ChipSet.prototype.getRTCCycleLimit = function(nCycles) if (nCyclesUpdate > 0) { if (nCycles > nCyclesUpdate) { if (DEBUG && this.messageEnabled(Messages.RTC)) { - this.messagePrint("getRTCCycleLimit(" + nCycles + "): reduced to " + nCyclesUpdate + " cycles", true); + this.printMessage("getRTCCycleLimit(" + nCycles + "): reduced to " + nCyclesUpdate + " cycles", true); } nCycles = nCyclesUpdate; } else { if (DEBUG && this.messageEnabled(Messages.RTC)) { - this.messagePrint("getRTCCycleLimit(" + nCycles + "): already less than " + nCyclesUpdate + " cycles", true); + this.printMessage("getRTCCycleLimit(" + nCycles + "): already less than " + nCyclesUpdate + " cycles", true); } } } else { if (DEBUG && this.messageEnabled(Messages.RTC)) { - this.messagePrint("RTC next update has passed by " + nCyclesUpdate + " cycles", true); + this.printMessage("RTC next update has passed by " + nCyclesUpdate + " cycles", true); } } } @@ -1402,9 +1402,9 @@ ChipSet.prototype.updateRTCTime = function() if (DEBUG) { if (nCyclesUpdate - this.nRTCCyclesNextUpdate > this.nRTCCyclesPerPeriod) { if (bPrev & ChipSet.CMOS.STATUSC.PF) { - this.messagePrint("RTC interrupt handler failed to clear STATUSC", Messages.RTC); + this.printMessage("RTC interrupt handler failed to clear STATUSC", Messages.RTC); } else { - this.messagePrint("CPU took too long trigger new RTC periodic interrupt", Messages.RTC); + this.printMessage("CPU took too long trigger new RTC periodic interrupt", Messages.RTC); } } } @@ -2290,7 +2290,7 @@ ChipSet.prototype.inDMAChannelAddr = function(iDMAC, iChannel, port, addrFrom) var channel = controller.aChannels[iChannel]; var b = channel.addrCurrent[controller.bIndex]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".ADDR[" + controller.bIndex + "]", b, true); + this.printMessageIO(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".ADDR[" + controller.bIndex + "]", b, true); } controller.bIndex ^= 0x1; /* @@ -2327,7 +2327,7 @@ ChipSet.prototype.outDMAChannelAddr = function outDMAChannelAddr(iDMAC, iChannel { var controller = this.aDMACs[iDMAC]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".ADDR[" + controller.bIndex + "]", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".ADDR[" + controller.bIndex + "]", null, true); } var channel = controller.aChannels[iChannel]; channel.addrCurrent[controller.bIndex] = channel.addrInit[controller.bIndex] = bOut; @@ -2350,7 +2350,7 @@ ChipSet.prototype.inDMAChannelCount = function(iDMAC, iChannel, port, addrFrom) var channel = controller.aChannels[iChannel]; var b = channel.countCurrent[controller.bIndex]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".COUNT[" + controller.bIndex + "]", b, true); + this.printMessageIO(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".COUNT[" + controller.bIndex + "]", b, true); } controller.bIndex ^= 0x1; /* @@ -2391,7 +2391,7 @@ ChipSet.prototype.outDMAChannelCount = function(iDMAC, iChannel, port, bOut, add { var controller = this.aDMACs[iDMAC]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".COUNT[" + controller.bIndex + "]", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".COUNT[" + controller.bIndex + "]", null, true); } var channel = controller.aChannels[iChannel]; channel.countCurrent[controller.bIndex] = channel.countInit[controller.bIndex] = bOut; @@ -2434,7 +2434,7 @@ ChipSet.prototype.inDMAStatus = function(iDMAC, port, addrFrom) var b = controller.bStatus | ChipSet.DMA_STATUS.CH0_TC; controller.bStatus &= ~ChipSet.DMA_STATUS.ALL_TC; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "DMA" + iDMAC + ".STATUS", b, true); + this.printMessageIO(port, null, addrFrom, "DMA" + iDMAC + ".STATUS", b, true); } return b; }; @@ -2451,7 +2451,7 @@ ChipSet.prototype.inDMAStatus = function(iDMAC, port, addrFrom) ChipSet.prototype.outDMACmd = function(iDMAC, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".CMD", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".CMD", null, true); } this.aDMACs[iDMAC].bCmd = bOut; }; @@ -2479,7 +2479,7 @@ ChipSet.prototype.outDMAReq = function(iDMAC, port, bOut, addrFrom) { var controller = this.aDMACs[iDMAC]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".REQ", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".REQ", null, true); } /* * Bits 0-1 contain the channel number @@ -2506,7 +2506,7 @@ ChipSet.prototype.outDMAMask = function(iDMAC, port, bOut, addrFrom) { var controller = this.aDMACs[iDMAC]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".MASK", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".MASK", null, true); } var iChannel = bOut & ChipSet.DMA_MASK.CHANNEL; var channel = controller.aChannels[iChannel]; @@ -2526,7 +2526,7 @@ ChipSet.prototype.outDMAMask = function(iDMAC, port, bOut, addrFrom) ChipSet.prototype.outDMAMode = function(iDMAC, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".MODE", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".MODE", null, true); } var iChannel = bOut & ChipSet.DMA_MODE.CHANNEL; this.aDMACs[iDMAC].aChannels[iChannel].mode = bOut; @@ -2547,7 +2547,7 @@ ChipSet.prototype.outDMAMode = function(iDMAC, port, bOut, addrFrom) ChipSet.prototype.outDMAResetFF = function(iDMAC, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".RESET_FF", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".RESET_FF", null, true); } this.aDMACs[iDMAC].bIndex = 0; }; @@ -2564,7 +2564,7 @@ ChipSet.prototype.outDMAResetFF = function(iDMAC, port, bOut, addrFrom) ChipSet.prototype.outDMAMasterClear = function(iDMAC, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".MASTER_CLEAR", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".MASTER_CLEAR", null, true); } /* * The value written to this port doesn't matter; any write triggers a "master clear" operation @@ -2591,7 +2591,7 @@ ChipSet.prototype.inDMAPageReg = function(iDMAC, iChannel, port, addrFrom) { var bIn = this.aDMACs[iDMAC].aChannels[iChannel].bPage; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".PAGE", bIn, true); + this.printMessageIO(port, null, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".PAGE", bIn, true); } return bIn; }; @@ -2609,7 +2609,7 @@ ChipSet.prototype.inDMAPageReg = function(iDMAC, iChannel, port, addrFrom) ChipSet.prototype.outDMAPageReg = function(iDMAC, iChannel, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".PAGE", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA" + iDMAC + ".CHANNEL" + iChannel + ".PAGE", null, true); } this.aDMACs[iDMAC].aChannels[iChannel].bPage = bOut; }; @@ -2627,7 +2627,7 @@ ChipSet.prototype.inDMAPageSpare = function(iSpare, port, addrFrom) { var bIn = this.abDMAPageSpare[iSpare]; if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "DMA.SPARE" + iSpare + ".PAGE", bIn, true); + this.printMessageIO(port, null, addrFrom, "DMA.SPARE" + iSpare + ".PAGE", bIn, true); } return bIn; }; @@ -2644,7 +2644,7 @@ ChipSet.prototype.inDMAPageSpare = function(iSpare, port, addrFrom) ChipSet.prototype.outDMAPageSpare = function(iSpare, port, bOut, addrFrom) { if (this.messageEnabled(Messages.DMA | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "DMA.SPARE" + iSpare + ".PAGE", null, true); + this.printMessageIO(port, bOut, addrFrom, "DMA.SPARE" + iSpare + ".PAGE", null, true); } this.abDMAPageSpare[iSpare] = bOut; }; @@ -2714,7 +2714,7 @@ ChipSet.prototype.requestDMA = function(iDMAChannel, done) if (!channel.component || !channel.fnTransfer || !channel.obj) { if (DEBUG && this.messageEnabled(Messages.DMA | Messages.DATA)) { - this.messagePrint("requestDMA(" + iDMAChannel + "): not connected to a component", true); + this.printMessage("requestDMA(" + iDMAChannel + "): not connected to a component", true); } if (done) done(true); return; @@ -2731,7 +2731,7 @@ ChipSet.prototype.requestDMA = function(iDMAChannel, done) if (channel.masked) { if (DEBUG && this.messageEnabled(Messages.DMA | Messages.DATA)) { - this.messagePrint("requestDMA(" + iDMAChannel + "): channel masked, request queued", true); + this.printMessage("requestDMA(" + iDMAChannel + "): channel masked, request queued", true); } return; } @@ -2786,7 +2786,7 @@ ChipSet.prototype.advanceDMA = function(channel, fInit) if (DEBUG && DEBUGGER && channel.sAddrDebug === null) { channel.sAddrDebug = str.toHex(addr >> 4, 4) + ":" + str.toHex(addr & 0xf, 4); if (this.messageEnabled(this.messageBitsDMA(iDMAChannel)) && channel.xfer != ChipSet.DMA_MODE.XFER_WRITE) { - this.messagePrint("advanceDMA(" + iDMAChannel + ") transferring " + channel.cbDebug + " bytes from " + channel.sAddrDebug, true); + this.printMessage("advanceDMA(" + iDMAChannel + ") transferring " + channel.cbDebug + " bytes from " + channel.sAddrDebug, true); this.dbg.doDump("db", channel.sAddrDebug, "l" + channel.cbDebug); } } @@ -2797,7 +2797,7 @@ ChipSet.prototype.advanceDMA = function(channel, fInit) if (b < 0) { if (!channel.fWarning) { if (DEBUG && chipset.messageEnabled(Messages.DMA)) { - chipset.messagePrint("advanceDMA(" + iDMAChannel + ") ran out of data, assuming 0xff", true); + chipset.printMessage("advanceDMA(" + iDMAChannel + ") ran out of data, assuming 0xff", true); } channel.fWarning = true; } @@ -2809,8 +2809,8 @@ ChipSet.prototype.advanceDMA = function(channel, fInit) if (!channel.masked) { chipset.bus.setByte(addrCur, b); if (BACKTRACK) { - if (!off && obj.file) { - chipset.println('loading ' + obj.file.sPath + '[' + obj.offFile + '] at %' + str.toHex(addrCur)); + if (!off && obj.file && chipset.messageEnabled(Messages.DISK)) { + chipset.printMessage("loading " + obj.file.sPath + '[' + obj.offFile + "] at %" + str.toHex(addrCur), true); } bto = chipset.bus.addBackTrackObject(obj, bto, off); chipset.bus.writeBackTrackObject(addrCur, bto, off); @@ -2841,7 +2841,7 @@ ChipSet.prototype.advanceDMA = function(channel, fInit) } else { if (DEBUG && this.messageEnabled(Messages.DMA | Messages.WARN)) { - this.messagePrint("advanceDMA(" + iDMAChannel + ") unsupported xfer mode: " + str.toHexWord(channel.xfer), true); + this.printMessage("advanceDMA(" + iDMAChannel + ") unsupported xfer mode: " + str.toHexWord(channel.xfer), true); } channel.fError = true; } @@ -2896,7 +2896,7 @@ ChipSet.prototype.updateDMA = function(channel) } if (DEBUG && this.messageEnabled(this.messageBitsDMA(iDMAChannel)) && channel.xfer == ChipSet.DMA_MODE.XFER_WRITE && channel.sAddrDebug) { - this.messagePrint("updateDMA(" + iDMAChannel + ") transferred " + channel.cbDebug + " bytes to " + channel.sAddrDebug, true); + this.printMessage("updateDMA(" + iDMAChannel + ") transferred " + channel.cbDebug + " bytes to " + channel.sAddrDebug, true); this.dbg.doDump("db", channel.sAddrDebug, "l" + channel.cbDebug); } @@ -2938,7 +2938,7 @@ ChipSet.prototype.inPICLo = function(iPIC, addrFrom) } } if (this.messageEnabled(Messages.PIC | Messages.PORT | Messages.CHIPSET)) { - this.messagePort(pic.port, null, addrFrom, "PIC" + iPIC, b, true); + this.printMessageIO(pic.port, null, addrFrom, "PIC" + iPIC, b, true); } return b; }; @@ -2955,7 +2955,7 @@ ChipSet.prototype.outPICLo = function(iPIC, bOut, addrFrom) { var pic = this.aPICs[iPIC]; if (this.messageEnabled(Messages.PIC | Messages.PORT | Messages.CHIPSET)) { - this.messagePort(pic.port, bOut, addrFrom, "PIC" + iPIC, null, true); + this.printMessageIO(pic.port, bOut, addrFrom, "PIC" + iPIC, null, true); } if (bOut & ChipSet.PIC_LO.ICW1) { /* @@ -3039,13 +3039,13 @@ ChipSet.prototype.outPICLo = function(iPIC, bOut, addrFrom) var nIRQ = (nIRL == null? undefined : pic.nIRQBase + nIRL); if (pic.bISR & bIREnd) { if (DEBUG && this.messageEnabled(this.messageBitsIRQ(nIRQ))) { - this.messagePrint("outPIC" + iPIC + "(0x" + str.toHexByte(pic.port) + "): IRQ " + nIRQ + " going out of service", true); + this.printMessage("outPIC" + iPIC + "(0x" + str.toHexByte(pic.port) + "): IRQ " + nIRQ + " going out of service", true); } pic.bISR &= ~bIREnd; this.checkIRR(); } else { if (DEBUG && this.messageEnabled(Messages.PIC | Messages.WARN)) { - this.messagePrint("outPIC" + iPIC + "(0x" + str.toHexByte(pic.port) + "): unexpected EOI command, IRQ " + nIRQ + " not in service", true); + this.printMessage("outPIC" + iPIC + "(0x" + str.toHexByte(pic.port) + "): unexpected EOI command, IRQ " + nIRQ + " not in service", true); if (!SAMPLER && MAXDEBUG) this.dbg.stopCPU(); } } @@ -3098,7 +3098,7 @@ ChipSet.prototype.inPICHi = function(iPIC, addrFrom) var pic = this.aPICs[iPIC]; var b = pic.bIMR; if (this.messageEnabled(Messages.PIC | Messages.PORT | Messages.CHIPSET)) { - this.messagePort(pic.port+1, null, addrFrom, "PIC" + iPIC, b, true); + this.printMessageIO(pic.port+1, null, addrFrom, "PIC" + iPIC, b, true); } return b; }; @@ -3115,7 +3115,7 @@ ChipSet.prototype.outPICHi = function(iPIC, bOut, addrFrom) { var pic = this.aPICs[iPIC]; if (this.messageEnabled(Messages.PIC | Messages.PORT | Messages.CHIPSET)) { - this.messagePort(pic.port+1, bOut, addrFrom, "PIC" + iPIC, null, true); + this.printMessageIO(pic.port+1, bOut, addrFrom, "PIC" + iPIC, null, true); } if (pic.nICW < pic.aICW.length) { pic.aICW[pic.nICW++] = bOut; @@ -3174,7 +3174,7 @@ ChipSet.prototype.setIRR = function(nIRQ, nDelay) if (!(pic.bIRR & bIRR)) { pic.bIRR |= bIRR; if (DEBUG && this.messageEnabled(this.messageBitsIRQ(nIRQ) | Messages.CHIPSET)) { - this.messagePrint("setIRR(" + nIRQ + ")", true); + this.printMessage("setIRR(" + nIRQ + ")", true); } pic.nDelay = nDelay || 0; this.checkIRR(); @@ -3196,7 +3196,7 @@ ChipSet.prototype.clearIRR = function(nIRQ) if (pic.bIRR & bIRR) { pic.bIRR &= ~bIRR; if (DEBUG && this.messageEnabled(this.messageBitsIRQ(nIRQ) | Messages.CHIPSET)) { - this.messagePrint("clearIRR(" + nIRQ + ")", true); + this.printMessage("clearIRR(" + nIRQ + ")", true); } this.checkIRR(); } @@ -3323,7 +3323,7 @@ ChipSet.prototype.getIRRVector = function(iPIC) var nIRQ = pic.nIRQBase + nIRL; if (DEBUG && this.messageEnabled(this.messageBitsIRQ(nIRQ))) { - this.messagePrint("getIRRVector(): IRQ " + nIRQ + " interrupting @" + str.toHexAddr(this.cpu.regIP, this.cpu.segCS.sel) + " stack=" + str.toHexAddr(this.cpu.regSP, this.cpu.segSS.sel), true); + this.printMessage("getIRRVector(): IRQ " + nIRQ + " interrupting @" + str.toHexAddr(this.cpu.regIP, this.cpu.segCS.sel) + " stack=" + str.toHexAddr(this.cpu.regSP, this.cpu.segSS.sel), true); } if (MAXDEBUG && DEBUGGER) { this.acInterrupts[nIRQ]++; @@ -3360,7 +3360,7 @@ ChipSet.prototype.inTimer = function(iTimer, addrFrom) this.updateTimer(iTimer); b = timer.countCurrent[timer.countIndex++]; if (this.messageEnabled(Messages.TIMER | Messages.PORT)) { - this.messagePort(ChipSet.TIMER0.PORT + iTimer, null, addrFrom, "TIMER" + iTimer, b, true); + this.printMessageIO(ChipSet.TIMER0.PORT + iTimer, null, addrFrom, "TIMER" + iTimer, b, true); } return b; }; @@ -3385,7 +3385,7 @@ ChipSet.prototype.inTimer = function(iTimer, addrFrom) ChipSet.prototype.outTimer = function(iTimer, bOut, addrFrom) { if (this.messageEnabled(Messages.TIMER | Messages.PORT)) { - this.messagePort(ChipSet.TIMER0.PORT + iTimer, bOut, addrFrom, "TIMER" + iTimer, null, true); + this.printMessageIO(ChipSet.TIMER0.PORT + iTimer, bOut, addrFrom, "TIMER" + iTimer, null, true); } var timer = this.aTimers[iTimer]; if (timer.countIndex == timer.countBytes) this.resetTimerIndex(iTimer); @@ -3438,8 +3438,8 @@ ChipSet.prototype.outTimer = function(iTimer, bOut, addrFrom) */ ChipSet.prototype.inTimerCtrl = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "TIMER_CTRL", null, Messages.TIMER); - if (DEBUG) this.messagePrint("TIMER_CTRL: Read-Back command not supported (yet)", Messages.TIMER); + this.printMessageIO(port, null, addrFrom, "TIMER_CTRL", null, Messages.TIMER); + if (DEBUG) this.printMessage("TIMER_CTRL: Read-Back command not supported (yet)", Messages.TIMER); return null; }; @@ -3454,13 +3454,13 @@ ChipSet.prototype.inTimerCtrl = function(port, addrFrom) ChipSet.prototype.outTimerCtrl = function(port, bOut, addrFrom) { this.bTimerCtrl = bOut; - this.messagePort(port, bOut, addrFrom, "TIMER_CTRL", null, Messages.TIMER); + this.printMessageIO(port, bOut, addrFrom, "TIMER_CTRL", null, Messages.TIMER); /* * Extract the SC (Select Counter) bits */ var iTimer = (bOut & ChipSet.TIMER_CTRL.SC) >> 6; if (iTimer == 0x3) { - if (DEBUG) this.messagePrint("TIMER_CTRL: Read-Back command not supported (yet)", Messages.TIMER); + if (DEBUG) this.printMessage("TIMER_CTRL: Read-Back command not supported (yet)", Messages.TIMER); return; } /* @@ -3512,7 +3512,7 @@ ChipSet.prototype.outTimerCtrl = function(port, bOut, addrFrom) timer.countStart[1] = timer.countInit[1]; timer.nCyclesStart = this.cpu.getCycles(this.fScaleTimers); if (DEBUG && this.messageEnabled(Messages.TIMER)) { - this.messagePrint("TIMER0 count reset @" + timer.nCyclesStart + " cycles", true); + this.printMessage("TIMER0 count reset @" + timer.nCyclesStart + " cycles", true); } } } @@ -3715,7 +3715,7 @@ ChipSet.prototype.updateTimer = function(iTimer, fCycleReset) if (ticksElapsed < 0) { if (DEBUG && this.messageEnabled(Messages.TIMER)) { - this.messagePrint("updateTimer(" + iTimer + "): negative tick count (" + ticksElapsed + ")", true); + this.printMessage("updateTimer(" + iTimer + "): negative tick count (" + ticksElapsed + ")", true); } timer.nCyclesStart = nCycles; ticksElapsed = 0; @@ -3735,7 +3735,7 @@ ChipSet.prototype.updateTimer = function(iTimer, fCycleReset) if (timer.mode == ChipSet.TIMER_CTRL.MODE0) { if (count <= 0) count = 0; if (DEBUG && this.messageEnabled(Messages.TIMER)) { - this.messagePrint("updateTimer(" + iTimer + "): MODE0 timer count=" + count, true); + this.printMessage("updateTimer(" + iTimer + "): MODE0 timer count=" + count, true); } if (!count) { timer.fOUT = true; @@ -3770,7 +3770,7 @@ ChipSet.prototype.updateTimer = function(iTimer, fCycleReset) count = countInit + count; if (count <= 0) { if (DEBUG && this.messageEnabled(Messages.TIMER)) { - this.messagePrint("updateTimer(" + iTimer + "): underflow=" + count, true); + this.printMessage("updateTimer(" + iTimer + "): underflow=" + count, true); } count = countInit; } @@ -3802,7 +3802,7 @@ ChipSet.prototype.updateTimer = function(iTimer, fCycleReset) count = countInit + count; if (count <= 0) { if (DEBUG && this.messageEnabled(Messages.TIMER)) { - this.messagePrint("updateTimer(" + iTimer + "): underflow=" + count, true); + this.printMessage("updateTimer(" + iTimer + "): underflow=" + count, true); } count = countInit; } @@ -3866,7 +3866,7 @@ ChipSet.prototype.inPPIA = function(port, addrFrom) b = this.kbd.readScanCode(); } } - this.messagePort(port, null, addrFrom, "PPI_A", b); + this.printMessageIO(port, null, addrFrom, "PPI_A", b); return b; }; @@ -3880,7 +3880,7 @@ ChipSet.prototype.inPPIA = function(port, addrFrom) */ ChipSet.prototype.outPPIA = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PPI_A"); + this.printMessageIO(port, bOut, addrFrom, "PPI_A"); this.bPPIA = bOut; }; @@ -3895,7 +3895,7 @@ ChipSet.prototype.outPPIA = function(port, bOut, addrFrom) ChipSet.prototype.inPPIB = function(port, addrFrom) { var b = this.bPPIB; - this.messagePort(port, null, addrFrom, "PPI_B", b); + this.printMessageIO(port, null, addrFrom, "PPI_B", b); return b; }; @@ -3909,7 +3909,7 @@ ChipSet.prototype.inPPIB = function(port, addrFrom) */ ChipSet.prototype.outPPIB = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PPI_B"); + this.printMessageIO(port, bOut, addrFrom, "PPI_B"); this.updatePPIB(bOut); if (this.kbd) this.kbd.setEnable((bOut & ChipSet.PPI_B.CLEAR_KBD)? false : true, (bOut & ChipSet.PPI_B.CLK_KBD)? true : false); }; @@ -3986,7 +3986,7 @@ ChipSet.prototype.inPPIC = function(port, addrFrom) * The ROM BIOS polls this port incessantly during its memory tests, checking for memory parity errors * (which of course we never report), so we further restrict these port messages to MESSAGE_MEM. */ - this.messagePort(port, null, addrFrom, "PPI_C", b, Messages.CHIPSET | Messages.MEM); + this.printMessageIO(port, null, addrFrom, "PPI_C", b, Messages.CHIPSET | Messages.MEM); return b; }; @@ -4000,7 +4000,7 @@ ChipSet.prototype.inPPIC = function(port, addrFrom) */ ChipSet.prototype.outPPIC = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PPI_C"); + this.printMessageIO(port, bOut, addrFrom, "PPI_C"); this.bPPIC = bOut; }; @@ -4015,7 +4015,7 @@ ChipSet.prototype.outPPIC = function(port, bOut, addrFrom) ChipSet.prototype.inPPICtrl = function(port, addrFrom) { var b = this.bPPICtrl; - this.messagePort(port, null, addrFrom, "PPI_CTRL", b); + this.printMessageIO(port, null, addrFrom, "PPI_CTRL", b); return b; }; @@ -4029,7 +4029,7 @@ ChipSet.prototype.inPPICtrl = function(port, addrFrom) */ ChipSet.prototype.outPPICtrl = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PPI_CTRL"); + this.printMessageIO(port, bOut, addrFrom, "PPI_CTRL"); this.bPPICtrl = bOut; }; @@ -4044,7 +4044,7 @@ ChipSet.prototype.outPPICtrl = function(port, bOut, addrFrom) ChipSet.prototype.in8042OutBuff = function(port, addrFrom) { var b = this.b8042OutBuff; - this.messagePort(port, null, addrFrom, "8042_OUTBUFF", b, Messages.C8042); + this.printMessageIO(port, null, addrFrom, "8042_OUTBUFF", b, Messages.C8042); this.b8042Status &= ~(ChipSet.KBC.STATUS.OUTBUFF_FULL | ChipSet.KBC.STATUS.OUTBUFF_DELAY); if (this.kbd) this.kbd.checkScanCode(); return b; @@ -4064,7 +4064,7 @@ ChipSet.prototype.in8042OutBuff = function(port, addrFrom) */ ChipSet.prototype.out8042InBuffData = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "8042_INBUF.DATA", null, Messages.C8042); + this.printMessageIO(port, bOut, addrFrom, "8042_INBUF.DATA", null, Messages.C8042); if (this.b8042Status & ChipSet.KBC.STATUS.CMD_FLAG) { switch (this.b8042InBuff) { @@ -4190,7 +4190,7 @@ ChipSet.prototype.in8042RWReg = function(port, addrFrom) * Thanks to the WAITF function, this has become a very "busy" port, so let's not generate messages * unless both MESSAGE_8042 *and* MESSAGE_LOG are set. */ - this.messagePort(port, null, addrFrom, "8042_RWREG", b, Messages.C8042); + this.printMessageIO(port, null, addrFrom, "8042_RWREG", b, Messages.C8042); return b; }; @@ -4204,7 +4204,7 @@ ChipSet.prototype.in8042RWReg = function(port, addrFrom) */ ChipSet.prototype.out8042RWReg = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "8042_RWREG", null, Messages.C8042); + this.printMessageIO(port, bOut, addrFrom, "8042_RWREG", null, Messages.C8042); this.updatePPIB(bOut); }; @@ -4218,7 +4218,7 @@ ChipSet.prototype.out8042RWReg = function(port, bOut, addrFrom) */ ChipSet.prototype.in8042Status = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "8042_STATUS", this.b8042Status, Messages.C8042); + this.printMessageIO(port, null, addrFrom, "8042_STATUS", this.b8042Status, Messages.C8042); var b = this.b8042Status & 0xff; /* * There's code in the 5170 BIOS (F000:03BF) that writes an 8042 command (0xAA), waits for @@ -4256,7 +4256,7 @@ ChipSet.prototype.in8042Status = function(port, addrFrom) */ ChipSet.prototype.out8042InBuffCmd = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "8042_INBUFF.CMD", null, Messages.C8042); + this.printMessageIO(port, bOut, addrFrom, "8042_INBUFF.CMD", null, Messages.C8042); this.assert(!(this.b8042Status & ChipSet.KBC.STATUS.INBUFF_FULL)); this.b8042InBuff = bOut; @@ -4285,7 +4285,7 @@ ChipSet.prototype.out8042InBuffCmd = function(port, bOut, addrFrom) case ChipSet.KBC.CMD.DISABLE_KBD: // 0xAD this.set8042CmdData(this.b8042CmdData | ChipSet.KBC.DATA.CMD.NO_CLOCK); - if (DEBUG) this.messagePrint("keyboard disabled", Messages.KEYBOARD | Messages.PORT); + if (DEBUG) this.printMessage("keyboard disabled", Messages.KEYBOARD | Messages.PORT); /* * NOTE: The MODEL_5170 BIOS calls "KBD_RESET" (F000:17D2) while the keyboard interface is disabled, * yet we must still deliver the Keyboard's CMDRES.BAT_OK response code? Seems like an odd thing for @@ -4296,13 +4296,13 @@ ChipSet.prototype.out8042InBuffCmd = function(port, bOut, addrFrom) case ChipSet.KBC.CMD.ENABLE_KBD: // 0xAE this.set8042CmdData(this.b8042CmdData & ~ChipSet.KBC.DATA.CMD.NO_CLOCK); if (this.kbd) this.kbd.checkScanCode(); - if (DEBUG) this.messagePrint("keyboard re-enabled", Messages.KEYBOARD | Messages.PORT); + if (DEBUG) this.printMessage("keyboard re-enabled", Messages.KEYBOARD | Messages.PORT); break; case ChipSet.KBC.CMD.SELF_TEST: // 0xAA if (this.kbd) this.kbd.flushScanCode(); this.set8042CmdData(this.b8042CmdData | ChipSet.KBC.DATA.CMD.NO_CLOCK); - if (DEBUG) this.messagePrint("keyboard disabled on reset", Messages.KEYBOARD | Messages.PORT); + if (DEBUG) this.printMessage("keyboard disabled on reset", Messages.KEYBOARD | Messages.PORT); this.set8042OutBuff(ChipSet.KBC.DATA.SELF_TEST.OK); this.set8042OutPort(ChipSet.KBC.OUTPORT.NO_RESET | ChipSet.KBC.OUTPORT.A20_ON); break; @@ -4324,7 +4324,7 @@ ChipSet.prototype.out8042InBuffCmd = function(port, bOut, addrFrom) default: if (DEBUG && this.messageEnabled(Messages.C8042)) { - this.messagePrint("unrecognized 8042 command: " + str.toHexByte(this.b8042InBuff), true); + this.printMessage("unrecognized 8042 command: " + str.toHexByte(this.b8042InBuff), true); this.dbg.stopCPU(); } break; @@ -4377,7 +4377,7 @@ ChipSet.prototype.set8042OutBuff = function(b) this.b8042Status &= ~ChipSet.KBC.STATUS.OUTBUFF_FULL; this.b8042Status |= ChipSet.KBC.STATUS.OUTBUFF_DELAY; if (DEBUG && this.messageEnabled(Messages.KEYBOARD | Messages.PORT)) { - this.messagePrint("set8042OutBuff(0x" + str.toHexByte(b) + ")", true); + this.printMessage("set8042OutBuff(0x" + str.toHexByte(b) + ")", true); } } }; @@ -4399,7 +4399,7 @@ ChipSet.prototype.set8042OutPort = function(b) * determine if that's what the caller intended. */ if (DEBUG && this.messageEnabled(Messages.C8042)) { - this.messagePrint("unexpected 8042 output port reset: " + str.toHexByte(b), true); + this.printMessage("unexpected 8042 output port reset: " + str.toHexByte(b), true); this.dbg.stopCPU(); } this.cpu.resetRegs(); @@ -4509,12 +4509,12 @@ ChipSet.prototype.notifyKbdData = function(b) } else { if (DEBUG && this.messageEnabled(Messages.KEYBOARD | Messages.PORT)) { - this.messagePrint("notifyKbdData(0x" + str.toHexByte(b) + "): output buffer full", true); + this.printMessage("notifyKbdData(0x" + str.toHexByte(b) + "): output buffer full", true); } } } else { if (DEBUG && this.messageEnabled(Messages.KEYBOARD | Messages.PORT)) { - this.messagePrint("notifyKbdData(0x" + str.toHexByte(b) + "): disabled", true); + this.printMessage("notifyKbdData(0x" + str.toHexByte(b) + "): disabled", true); } } } @@ -4530,7 +4530,7 @@ ChipSet.prototype.notifyKbdData = function(b) */ ChipSet.prototype.inCMOSAddr = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "CMOS.ADDR", this.bCMOSAddr, Messages.CMOS); + this.printMessageIO(port, null, addrFrom, "CMOS.ADDR", this.bCMOSAddr, Messages.CMOS); return this.bCMOSAddr; }; @@ -4544,7 +4544,7 @@ ChipSet.prototype.inCMOSAddr = function(port, addrFrom) */ ChipSet.prototype.outCMOSAddr = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "CMOS.ADDR", null, Messages.CMOS); + this.printMessageIO(port, bOut, addrFrom, "CMOS.ADDR", null, Messages.CMOS); this.bCMOSAddr = bOut; this.bNMI = (bOut & ChipSet.CMOS.ADDR.NMI_DISABLE)? ChipSet.NMI.DISABLE : ChipSet.NMI.ENABLE; }; @@ -4562,7 +4562,7 @@ ChipSet.prototype.inCMOSData = function(port, addrFrom) var bAddr = this.bCMOSAddr & ChipSet.CMOS.ADDR.MASK; var bIn = (bAddr <= ChipSet.CMOS.ADDR.STATUSD? this.getRTCByte(bAddr) : this.abCMOSData[bAddr]); if (this.messageEnabled(Messages.CMOS | Messages.PORT)) { - this.messagePort(port, null, addrFrom, "CMOS.DATA[" + str.toHexByte(bAddr) + "]", bIn, true); + this.printMessageIO(port, null, addrFrom, "CMOS.DATA[" + str.toHexByte(bAddr) + "]", bIn, true); } if (addrFrom != null) { if (bAddr == ChipSet.CMOS.ADDR.STATUSC) { @@ -4577,7 +4577,7 @@ ChipSet.prototype.inCMOSData = function(port, addrFrom) * occurs in a timely manner, too. */ if ((bIn & ChipSet.CMOS.STATUSC.PF) && (this.abCMOSData[ChipSet.CMOS.ADDR.STATUSB] & ChipSet.CMOS.STATUSB.PIE)) { - if (DEBUG) this.messagePrint("RTC periodic interrupt cleared", Messages.RTC); + if (DEBUG) this.printMessage("RTC periodic interrupt cleared", Messages.RTC); this.setRTCCycleLimit(); } } @@ -4597,16 +4597,16 @@ ChipSet.prototype.outCMOSData = function(port, bOut, addrFrom) { var bAddr = this.bCMOSAddr & ChipSet.CMOS.ADDR.MASK; if (this.messageEnabled(Messages.CMOS | Messages.PORT)) { - this.messagePort(port, bOut, addrFrom, "CMOS.DATA[" + str.toHexByte(bAddr) + "]", null, true); + this.printMessageIO(port, bOut, addrFrom, "CMOS.DATA[" + str.toHexByte(bAddr) + "]", null, true); } var bDelta = bOut ^ this.abCMOSData[bAddr]; this.abCMOSData[bAddr] = (bAddr <= ChipSet.CMOS.ADDR.STATUSD? this.setRTCByte(bAddr, bOut) : bOut); if (bAddr == ChipSet.CMOS.ADDR.STATUSB && (bDelta & ChipSet.CMOS.STATUSB.PIE)) { if (bOut & ChipSet.CMOS.STATUSB.PIE) { - if (DEBUG) this.messagePrint("RTC periodic interrupts enabled", Messages.RTC); + if (DEBUG) this.printMessage("RTC periodic interrupts enabled", Messages.RTC); this.setRTCCycleLimit(); } else { - if (DEBUG) this.messagePrint("RTC periodic interrupts disabled", Messages.RTC); + if (DEBUG) this.printMessage("RTC periodic interrupts disabled", Messages.RTC); } } }; @@ -4621,7 +4621,7 @@ ChipSet.prototype.outCMOSData = function(port, bOut, addrFrom) */ ChipSet.prototype.inMFGData = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "MFG_DATA", this.bMFGData); + this.printMessageIO(port, null, addrFrom, "MFG_DATA", this.bMFGData); return this.bMFGData; }; @@ -4635,7 +4635,7 @@ ChipSet.prototype.inMFGData = function(port, addrFrom) */ ChipSet.prototype.outMFGData = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "MFG_DATA"); + this.printMessageIO(port, bOut, addrFrom, "MFG_DATA"); this.bMFGData = bOut; }; @@ -4651,7 +4651,7 @@ ChipSet.prototype.outMFGData = function(port, bOut, addrFrom) */ ChipSet.prototype.outNMI = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "NMI"); + this.printMessageIO(port, bOut, addrFrom, "NMI"); this.bNMI = bOut; }; @@ -4670,7 +4670,7 @@ ChipSet.prototype.outCoprocClear = function(port, bOut, addrFrom) /* * TODO: Implement */ - this.messagePort(port, bOut, addrFrom, "COPROC.CLEAR"); + this.printMessageIO(port, bOut, addrFrom, "COPROC.CLEAR"); this.assert(!bOut); }; @@ -4689,7 +4689,7 @@ ChipSet.prototype.outCoprocReset = function(port, bOut, addrFrom) /* * TODO: Implement */ - this.messagePort(port, bOut, addrFrom, "COPROC.RESET"); + this.printMessageIO(port, bOut, addrFrom, "COPROC.RESET"); this.assert(!bOut); }; @@ -4786,13 +4786,13 @@ ChipSet.prototype.setSpeaker = function(fOn) if (fOn) { if (this.sourceAudio) { this.sourceAudio['frequency']['value'] = freq; - if (this.messageEnabled(Messages.SPEAKER)) this.messagePrint("speaker set to " + freq + "hz", true); + if (this.messageEnabled(Messages.SPEAKER)) this.printMessage("speaker set to " + freq + "hz", true); } else { this.sourceAudio = this.contextAudio['createOscillator'](); this.sourceAudio['type'] = 1; // 0: sine wave, 1: square wave, 2: sawtooth wave, 3: triangle wave this.sourceAudio['connect'](this.contextAudio['destination']); this.sourceAudio['frequency']['value'] = freq; - if (this.messageEnabled(Messages.SPEAKER)) this.messagePrint("speaker on at " + freq + "hz", true); + if (this.messageEnabled(Messages.SPEAKER)) this.printMessage("speaker on at " + freq + "hz", true); this.sourceAudio['noteOn'](0); // aka start() } } else { @@ -4800,11 +4800,11 @@ ChipSet.prototype.setSpeaker = function(fOn) this.sourceAudio['noteOff'](0); // aka stop() this.sourceAudio['disconnect'](); // QUESTION: is this automatic following a stop(), since this particular source cannot be started again? delete this.sourceAudio; // QUESTION: ditto? - if (this.messageEnabled(Messages.SPEAKER)) this.messagePrint("speaker off at " + freq + "hz", true); + if (this.messageEnabled(Messages.SPEAKER)) this.printMessage("speaker off at " + freq + "hz", true); } } } else if (fOn) { - this.messagePrint("BEEP", Messages.SPEAKER); + this.printMessage("BEEP", Messages.SPEAKER); } }; diff --git a/modules/pcjs/lib/computer.js b/modules/pcjs/lib/computer.js index 224a6c2d3a..2469fa94cb 100644 --- a/modules/pcjs/lib/computer.js +++ b/modules/pcjs/lib/computer.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -174,7 +174,7 @@ function Computer(parmsComputer, parmsMachine, fSuspended) { } } - if (DEBUG && this.messageEnabled()) this.messagePrint("PREFETCH: " + PREFETCH + ", TYPEDARRAYS: " + TYPEDARRAYS); + if (DEBUG && this.messageEnabled()) this.printMessage("PREFETCH: " + PREFETCH + ", TYPEDARRAYS: " + TYPEDARRAYS); /* * Iterate through all the components again and call their initBus() handler, if any @@ -260,7 +260,7 @@ Component.subclass(Component, Computer); */ Computer.sAppName = APPNAME || "PCjs"; Computer.sAppVer = APPVERSION; -Computer.sCopyright = "Copyright © 2012-2014 Jeff Parsons "; +Computer.sCopyright = "Copyright © 2012-2015 Jeff Parsons "; /* * I think it's a good idea to also display a GPL notice, putting people on notice that even @@ -320,7 +320,7 @@ Computer.prototype.onLoadSetReady = function(sStateFile, sStateData, nErrorCode) if (!nErrorCode) { this.sStateData = sStateData; if (DEBUG && this.messageEnabled()) { - this.messagePrint("loaded state file " + sStateFile.replace(this.sUserID || "xxx", "xxx")); + this.printMessage("loaded state file " + sStateFile.replace(this.sUserID || "xxx", "xxx")); } } else { this.sResumePath = null; @@ -362,7 +362,7 @@ Computer.prototype.wait = function(fn, parms) return; } } - if (DEBUG && this.messageEnabled()) this.messagePrint("Computer.wait(ready)"); + if (DEBUG && this.messageEnabled()) this.printMessage("Computer.wait(ready)"); fn.call(this, parms); }; @@ -388,7 +388,7 @@ Computer.prototype.validateState = function(stateComputer) if (!stateComputer) stateValidate.clear(); } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("Last state: " + sTimestampComputer + " (validate: " + sTimestampValidate + ")"); + this.printMessage("Last state: " + sTimestampComputer + " (validate: " + sTimestampValidate + ")"); } } } @@ -410,7 +410,7 @@ Computer.prototype.powerOn = function(resume) } if (DEBUG && this.messageEnabled()) { - this.messagePrint("Computer.powerOn(" + (resume == Computer.RESUME_REPOWER ? "repower" : (resume ? "resume" : "")) + ")"); + this.printMessage("Computer.powerOn(" + (resume == Computer.RESUME_REPOWER ? "repower" : (resume ? "resume" : "")) + ")"); } var fRepower = false; @@ -649,7 +649,7 @@ Computer.prototype.donePowerOn = function(aParms) var fRestore = aParms[2]; if (DEBUG && this.aFlags.fPowered && this.messageEnabled()) { - this.messagePrint("Computer.donePowerOn(): redundant"); + this.printMessage("Computer.donePowerOn(): redundant"); } this.aFlags.fPowered = true; @@ -735,7 +735,7 @@ Computer.prototype.powerOff = function(fSave, fShutdown) var sState = "none"; if (DEBUG && this.messageEnabled()) { - this.messagePrint("Computer.powerOff(" + (fSave ? "save" : "nosave") + (fShutdown ? ",shutdown" : "") + ")"); + this.printMessage("Computer.powerOff(" + (fSave ? "save" : "nosave") + (fShutdown ? ",shutdown" : "") + ")"); } var stateComputer = new State(this, Computer.sAppVer); @@ -842,14 +842,14 @@ Computer.prototype.powerOff = function(fSave, fShutdown) Computer.prototype.reset = function() { if (this.bus && this.bus.reset) { - this.messagePrint("Resetting " + this.bus.type); + this.printMessage("Resetting " + this.bus.type); this.bus.reset(); } var aComponents = Component.getComponents(this.id); for (var iComponent = 0; iComponent < aComponents.length; iComponent++) { var component = aComponents[iComponent]; if (component !== this && component !== this.bus && component.reset) { - this.messagePrint("Resetting " + component.type); + this.printMessage("Resetting " + component.type); component.reset(); } } @@ -989,7 +989,7 @@ Computer.prototype.verifyUserID = function(sUserID) { this.sUserID = null; var fMessages = DEBUG && this.messageEnabled(); - if (fMessages) this.messagePrint("verifyUserID(" + sUserID + ")"); + if (fMessages) this.printMessage("verifyUserID(" + sUserID + ")"); var sRequest = web.getHost() + UserAPI.ENDPOINT + '?' + UserAPI.QUERY.REQ + '=' + UserAPI.REQ.VERIFY + '&' + UserAPI.QUERY.USER + '=' + sUserID; var response = web.loadResource(sRequest); var nErrorCode = response[0]; @@ -999,16 +999,16 @@ Computer.prototype.verifyUserID = function(sUserID) response = eval("(" + sResponse + ")"); if (response.code && response.code == UserAPI.CODE.OK) { web.setLocalStorageItem(Computer.STATE_USERID, response.data); - if (fMessages) this.messagePrint(Computer.STATE_USERID + " updated: " + response.data); + if (fMessages) this.printMessage(Computer.STATE_USERID + " updated: " + response.data); this.sUserID = response.data; } else { - if (fMessages) this.messagePrint(response.code + ": " + response.data); + if (fMessages) this.printMessage(response.code + ": " + response.data); } } catch (e) { Component.error(e.message + " (" + sResponse + ")"); } } else { - if (fMessages) this.messagePrint("invalid response (error " + nErrorCode + ")"); + if (fMessages) this.printMessage("invalid response (error " + nErrorCode + ")"); } return this.sUserID; }; @@ -1024,12 +1024,12 @@ Computer.prototype.getServerStatePath = function() var sStatePath = null; if (this.sUserID) { if (DEBUG && this.messageEnabled()) { - this.messagePrint(Computer.STATE_USERID + " for load: " + this.sUserID); + this.printMessage(Computer.STATE_USERID + " for load: " + this.sUserID); } sStatePath = web.getHost() + UserAPI.ENDPOINT + '?' + UserAPI.QUERY.REQ + '=' + UserAPI.REQ.LOAD + '&' + UserAPI.QUERY.USER + '=' + this.sUserID + '&' + UserAPI.QUERY.STATE + '=' + State.key(this, Computer.sAppVer); } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint(Computer.STATE_USERID + " unavailable"); + this.printMessage(Computer.STATE_USERID + " unavailable"); } } return sStatePath; @@ -1051,7 +1051,7 @@ Computer.prototype.saveServerState = function(sUserID, sState) */ if (sState) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("size of server state: " + sState.length + " bytes"); + this.printMessage("size of server state: " + sState.length + " bytes"); } var response = this.storeServerState(sUserID, sState, true); if (response && response[UserAPI.RES.CODE] == UserAPI.CODE.OK) { @@ -1068,7 +1068,7 @@ Computer.prototype.saveServerState = function(sUserID, sState) } } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("no state to store"); + this.printMessage("no state to store"); } } }; @@ -1085,7 +1085,7 @@ Computer.prototype.saveServerState = function(sUserID, sState) Computer.prototype.storeServerState = function(sUserID, sState, fSync) { if (DEBUG && this.messageEnabled()) { - this.messagePrint(Computer.STATE_USERID + " for store: " + sUserID); + this.printMessage(Computer.STATE_USERID + " for store: " + sUserID); } /* * TODO: Determine whether or not any browsers cancel our request if we're called during a browser "shutdown" event, @@ -1110,7 +1110,7 @@ Computer.prototype.storeServerState = function(sUserID, sState, fSync) } sResponse = '{"' + UserAPI.RES.CODE + '":' + response[0] + ',"' + UserAPI.RES.DATA + '":"' + sResponse + '"}'; } - if (DEBUG && this.messageEnabled()) this.messagePrint(sResponse); + if (DEBUG && this.messageEnabled()) this.printMessage(sResponse); return JSON.parse(sResponse); } return null; @@ -1217,7 +1217,7 @@ Computer.init = function() var computer = new Computer(parmsComputer, parmsMachine, true); if (DEBUG && computer.messageEnabled()) { - computer.messagePrint("onInit(" + computer.aFlags.fPowered + ")"); + computer.printMessage("onInit(" + computer.aFlags.fPowered + ")"); } /* @@ -1255,7 +1255,7 @@ Computer.show = function() if (computer) { if (DEBUG && computer.messageEnabled()) { - computer.messagePrint("onShow(" + computer.fInitialized + "," + computer.aFlags.fPowered + ")"); + computer.printMessage("onShow(" + computer.fInitialized + "," + computer.aFlags.fPowered + ")"); } if (computer.fInitialized && !computer.aFlags.fPowered) { @@ -1304,7 +1304,7 @@ Computer.exit = function() if (computer) { if (DEBUG && computer.messageEnabled()) { - computer.messagePrint("onExit(" + computer.aFlags.fPowered + ")"); + computer.printMessage("onExit(" + computer.aFlags.fPowered + ")"); } if (computer.aFlags.fPowered) { diff --git a/modules/pcjs/lib/cpu.js b/modules/pcjs/lib/cpu.js index 2e345710f0..40d6abd776 100644 --- a/modules/pcjs/lib/cpu.js +++ b/modules/pcjs/lib/cpu.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/debugger.js b/modules/pcjs/lib/debugger.js index 99fa96ccce..25b3be7143 100644 --- a/modules/pcjs/lib/debugger.js +++ b/modules/pcjs/lib/debugger.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-21 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/defines.js b/modules/pcjs/lib/defines.js index d49e3fb76a..988499f7cd 100644 --- a/modules/pcjs/lib/defines.js +++ b/modules/pcjs/lib/defines.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/disk.js b/modules/pcjs/lib/disk.js index 33cee72efc..ba429eb7b2 100644 --- a/modules/pcjs/lib/disk.js +++ b/modules/pcjs/lib/disk.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Nov-26 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -445,7 +445,7 @@ Disk.prototype.create = function(mode, nCylinders, nHeads, nSectors, cbSector) */ if (this.mode != DiskAPI.MODE.PRELOAD) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("blank disk for \"" + this.sDiskName + "\": " + this.nCylinders + " cylinders, " + this.nHeads + " head(s)"); + this.printMessage("blank disk for \"" + this.sDiskName + "\": " + this.nCylinders + " cylinders, " + this.nHeads + " head(s)"); } var aCylinders = new Array(this.nCylinders); for (var iCylinder = 0; iCylinder < aCylinders.length; iCylinder++) { @@ -506,7 +506,7 @@ Disk.prototype.load = function(sDiskName, sDiskPath, file, fnNotify, controller) if (DEBUG) { var sMessage = 'load("' + sDiskName + '","' + sDiskPath + '")'; this.controller.log(sMessage); - this.messagePrint(sMessage); + this.printMessage(sMessage); } if (this.fnNotify) { @@ -661,7 +661,7 @@ Disk.prototype.doneLoad = function(sDiskFile, sDiskData, nErrorCode, sDiskPath) if (this.fOnDemand) { if (!nErrorCode) { if (DEBUG && this.messageEnabled()) { - this.messagePrint('doneLoad("' + sDiskFile + '","' + sDiskPath + '")'); + this.printMessage('doneLoad("' + sDiskFile + '","' + sDiskPath + '")'); } this.fRemote = true; this.buildFileTable(); @@ -681,7 +681,7 @@ Disk.prototype.doneLoad = function(sDiskFile, sDiskData, nErrorCode, sDiskPath) this.controller.notice("Unable to load disk \"" + this.sDiskName + "\" (error " + nErrorCode + ")", fPrintOnly); } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint('doneLoad("' + sDiskFile + '","' + sDiskPath + '")'); + this.printMessage('doneLoad("' + sDiskFile + '","' + sDiskPath + '")'); } try { /* @@ -779,7 +779,7 @@ Disk.prototype.doneLoad = function(sDiskFile, sDiskData, nErrorCode, sDiskPath) var sHeads = nHeads + " head" + (nHeads > 1 ? "s" : ""); var nSectorsPerTrack = aDiskData[0][0].length; var sSectorsPerTrack = nSectorsPerTrack + " sector" + (nSectorsPerTrack > 1 ? "s" : "") + "/track"; - this.messagePrint(sCylinders + ", " + sHeads + ", " + sSectorsPerTrack); + this.printMessage(sCylinders + ", " + sHeads + ", " + sSectorsPerTrack); } /* * Before the image is usable, we must "normalize" all the sectors. In the past, this meant @@ -898,7 +898,7 @@ Disk.prototype.buildFileTable = function() var sectorBoot = this.getSector(0); if (!sectorBoot) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFileTable(): unable to read boot sector"); + this.printMessage("buildFileTable(): unable to read boot sector"); } return; } @@ -953,7 +953,7 @@ Disk.prototype.buildFileTable = function() } if (!fValid) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFileTable(): unrecognized " + cbDisk + "-byte disk image with " + this.cbSector + "-byte sectors"); + this.printMessage("buildFileTable(): unrecognized " + cbDisk + "-byte disk image with " + this.cbSector + "-byte sectors"); } return; } @@ -991,7 +991,7 @@ Disk.prototype.buildFileTable = function() dir.iClusterMax = (dir.nFATBits == 12? DiskAPI.FAT12.CLUSNUM_MAX : DiskAPI.FAT16.CLUSNUM_MAX); if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFileTable()\n\tlbaFAT: " + dir.lbaFAT + "\n\tlbaRoot: " + dir.lbaRoot + "\n\tlbaData: " + dir.lbaData + "\n\tlbaTotal: " + dir.lbaTotal + "\n\tnClusterSecs: " + dir.nClusterSecs + "\n\tnClusters: " + dir.nClusters); + this.printMessage("buildFileTable()\n\tlbaFAT: " + dir.lbaFAT + "\n\tlbaRoot: " + dir.lbaRoot + "\n\tlbaData: " + dir.lbaData + "\n\tlbaTotal: " + dir.lbaTotal + "\n\tnClusterSecs: " + dir.nClusterSecs + "\n\tnClusters: " + dir.nClusters); } /* @@ -1001,7 +1001,7 @@ Disk.prototype.buildFileTable = function() i = (dir.lbaTotal - dir.lbaData) % dir.nClusterSecs; if (i) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFileTable(): " + cbDisk + "-byte disk image wasting " + i + " sectors"); + this.printMessage("buildFileTable(): " + cbDisk + "-byte disk image wasting " + i + " sectors"); } } @@ -1048,7 +1048,7 @@ Disk.prototype.getDir = function(dir, sDisk, sDir, apba) dir.sDir = sDir + "\\"; - if (DEBUG && this.messageEnabled()) this.messagePrint('getDir("' + sDisk + '","' + dir.sDir + '")'); + if (DEBUG && this.messageEnabled()) this.printMessage('getDir("' + sDisk + '","' + dir.sDir + '")'); for (var iSector = 0; iSector < apba.length; iSector++) { var pba = apba[iSector]; @@ -1060,8 +1060,8 @@ Disk.prototype.getDir = function(dir, sDisk, sDir, apba) if (dir.sName == null || dir.sName == "." || dir.sName == "..") continue; var sPath = dir.sDir + dir.sName; if (DEBUG && this.messageEnabled(Messages.DISK | Messages.DATA)) { - this.messagePrint('"' + sPath + '" size=' + dir.cbSize + ' cluster=' + dir.iCluster + ' sectors=' + JSON.stringify(dir.apba)); - if (dir.apba.length) this.messagePrint(this.dumpSector(this.getSector(dir.apba[0]), dir.apba[0], sPath)); + this.printMessage('"' + sPath + '" size=' + dir.cbSize + ' cluster=' + dir.iCluster + ' sectors=' + JSON.stringify(dir.apba)); + if (dir.apba.length) this.printMessage(this.dumpSector(this.getSector(dir.apba[0]), dir.apba[0], sPath)); } this.aFileTable.push({sPath: sPath, sName: dir.sName, bAttr: dir.bAttr, cbSize: dir.cbSize, apba: dir.apba, disk: this}); } @@ -1116,7 +1116,7 @@ Disk.prototype.getDirEntry = function(dir, pba, i) dir.pbaDirCache = pba; dir.sectorDirCache = this.getSector(dir.pbaDirCache); if (DEBUG && this.messageEnabled(Messages.DISK | Messages.DATA)) { - this.messagePrint(this.dumpSector(dir.sectorDirCache, dir.pbaDirCache, dir.sDir)); + this.printMessage(this.dumpSector(dir.sectorDirCache, dir.pbaDirCache, dir.sDir)); } } if (dir.sectorDirCache) { @@ -1251,7 +1251,7 @@ Disk.prototype.updateSector = function(file, pba, off) this.assert(sector['sector'] == iSector +1); if (sector.file) { if (DEBUG && this.messageEnabled()) { - this.messagePrint('"' + sector.file.sPath + '" cross-linked at offset ' + sector.file.offFile + ' with "' + file.sPath + '" at offset ' + off); + this.printMessage('"' + sector.file.sPath + '" cross-linked at offset ' + sector.file.offFile + ' with "' + file.sPath + '" at offset ' + off); } return false; } @@ -1259,7 +1259,7 @@ Disk.prototype.updateSector = function(file, pba, off) sector.offFile = off; return true; } - if (DEBUG && this.messageEnabled()) this.messagePrint("unable to map PBA " + pba + " to CHS"); + if (DEBUG && this.messageEnabled()) this.printMessage("unable to map PBA " + pba + " to CHS"); return false; }; @@ -1384,7 +1384,7 @@ Disk.prototype.connectRemoteDisk = function(sDiskPath) Disk.prototype.readRemoteSectors = function(iCylinder, iHead, iSector, nSectors, fAsync, done) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("readRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ")"); + this.printMessage("readRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ")"); } if (this.fRemote) { @@ -1434,7 +1434,7 @@ Disk.prototype.doneReadRemoteSectors = function(sURLName, sURLData, nErrorCode, var sector = this.seek(iCylinder, iHead, iSector, true); if (!sector) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("doneReadRemoteSectors(): seek(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ") failed"); + this.printMessage("doneReadRemoteSectors(): seek(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ") failed"); } break; } @@ -1449,7 +1449,7 @@ Disk.prototype.doneReadRemoteSectors = function(sURLName, sURLData, nErrorCode, fAsync = sectorInfo[4]; } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("doneReadRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ") returned error " + nErrorCode); + this.printMessage("doneReadRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ") returned error " + nErrorCode); } } var done = sectorInfo[5]; @@ -1479,7 +1479,7 @@ Disk.prototype.doneReadRemoteSectors = function(sURLName, sURLData, nErrorCode, Disk.prototype.writeRemoteSectors = function(iCylinder, iHead, iSector, nSectors, abSectors, fAsync) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("writeRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ")"); + this.printMessage("writeRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + iSector + ",N=" + nSectors + ")"); } if (this.fRemote) { @@ -1525,7 +1525,7 @@ Disk.prototype.doneWriteRemoteSectors = function(sURLName, sURLData, nErrorCode, } } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("doneWriteRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + sector['sector'] + ") returned error " + nErrorCode); + this.printMessage("doneWriteRemoteSectors(CHS=" + iCylinder + ':' + iHead + ':' + sector['sector'] + ") returned error " + nErrorCode); } this.queueDirtySector(sector, false); } @@ -1584,7 +1584,7 @@ Disk.prototype.queueDirtySector = function(sector, fAsync) this.aDirtyTimestamps.push(usr.getTime()); if (DEBUG && this.messageEnabled()) { - this.messagePrint("queueDirtySector(CHS=" + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + "): " + this.aDirtySectors.length + " dirty"); + this.printMessage("queueDirtySector(CHS=" + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + "): " + this.aDirtySectors.length + " dirty"); } return fAsync && this.updateWriteTimer(); @@ -1655,7 +1655,7 @@ Disk.prototype.findDirtySectors = function(fAsync) var j = this.aDirtySectors.indexOf(sectorNext); this.assert(j >= 0, "findDirtySectors(CHS=" + iCylinder + ':' + iHead + ':' + sectorNext['sector'] + ") missing from aDirtySectors"); if (DEBUG && this.messageEnabled()) { - this.messagePrint("findDirtySectors(CHS=" + iCylinder + ':' + iHead + ':' + sectorNext['sector'] + ")"); + this.printMessage("findDirtySectors(CHS=" + iCylinder + ':' + iHead + ':' + sectorNext['sector'] + ")"); } this.aDirtySectors.splice(j, 1); this.aDirtyTimestamps.splice(j, 1); @@ -1830,7 +1830,7 @@ Disk.prototype.read = function(sector, ibSector, fCompare) var b = -1; if (sector) { if (DEBUG && !ibSector && !fCompare && this.messageEnabled()) { - this.messagePrint('read("' + this.sDiskFile + '",CHS=' + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + ')'); + this.printMessage('read("' + this.sDiskFile + '",CHS=' + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + ')'); } if (ibSector < sector['length']) { var adw = sector['data']; @@ -1857,7 +1857,7 @@ Disk.prototype.write = function(sector, ibSector, b) return false; if (DEBUG && !ibSector && this.messageEnabled()) { - this.messagePrint('write("' + this.sDiskFile + '",CHS=' + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + ')'); + this.printMessage('write("' + this.sDiskFile + '",CHS=' + sector.iCylinder + ':' + sector.iHead + ':' + sector['sector'] + ')'); } if (ibSector < sector['length']) { @@ -1929,7 +1929,7 @@ Disk.prototype.save = function() } } if (DEBUG && this.messageEnabled()) { - this.messagePrint('save("' + this.sDiskName + '"): saved ' + (deltas.length - 1) + ' change(s)'); + this.printMessage('save("' + this.sDiskName + '"): saved ' + (deltas.length - 1) + ' change(s)'); } return deltas; }; @@ -2059,7 +2059,7 @@ Disk.prototype.restore = function(deltas) this.controller.notice("unable to restore disk '" + this.sDiskName + ": " + sReason); } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint('restore("' + this.sDiskName + '"): restored ' + nChanges + ' change(s)'); + this.printMessage('restore("' + this.sDiskName + '"): restored ' + nChanges + ' change(s)'); } } return nChanges; diff --git a/modules/pcjs/lib/fdc.js b/modules/pcjs/lib/fdc.js index 1fb3889964..8897d26ee6 100644 --- a/modules/pcjs/lib/fdc.js +++ b/modules/pcjs/lib/fdc.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Aug-09 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -781,7 +781,7 @@ FDC.prototype.initController = function(data) this.regControl = data[i] || FDC.REG_CONTROL.RATE500K; // default to maximum data rate if (DEBUG && this.messageEnabled()) { - this.messagePrint("FDC initialized for " + this.aDrives.length + " drive(s)"); + this.printMessage("FDC initialized for " + this.aDrives.length + " drive(s)"); } return fSuccess; }; @@ -1287,7 +1287,7 @@ FDC.prototype.loadDiskette = function(iDrive, sDisketteName, sDiskettePath, fAut if (fAutoMount) { drive.fAutoMount = true; this.cAutoMount++; - if (this.messageEnabled()) this.messagePrint("loading diskette '" + sDisketteName + "'"); + if (this.messageEnabled()) this.printMessage("loading diskette '" + sDisketteName + "'"); } drive.fLocal = !!file; var disk = new Disk(this, drive, DiskAPI.MODE.PRELOAD); @@ -1536,13 +1536,13 @@ FDC.prototype.addDiskHistory = function(sDisketteName, sDiskettePath, disk) if (this.aDiskHistory[i][1] == sDiskettePath) { var nChanges = disk.restore(this.aDiskHistory[i][2]); if (DEBUG && this.messageEnabled()) { - this.messagePrint("disk '" + sDisketteName + "' restored from history (" + nChanges + " changes)"); + this.printMessage("disk '" + sDisketteName + "' restored from history (" + nChanges + " changes)"); } return; } } if (DEBUG && this.messageEnabled()) { - this.messagePrint("disk '" + sDisketteName + "' added to history (nothing to restore)"); + this.printMessage("disk '" + sDisketteName + "' added to history (nothing to restore)"); } this.aDiskHistory[i] = [sDisketteName, sDiskettePath, []]; }; @@ -1561,13 +1561,13 @@ FDC.prototype.removeDiskHistory = function(sDisketteName, sDiskettePath) if (this.aDiskHistory[i][1] == sDiskettePath) { this.aDiskHistory.splice(i, 1); if (DEBUG && this.messageEnabled()) { - this.messagePrint("disk '" + sDisketteName + "' removed from history"); + this.printMessage("disk '" + sDisketteName + "' removed from history"); } return; } } if (DEBUG && this.messageEnabled()) { - this.messagePrint("unable to remove disk '" + sDisketteName + "' from history (" + sDiskettePath + ")"); + this.printMessage("unable to remove disk '" + sDisketteName + "' from history (" + sDiskettePath + ")"); } }; @@ -1586,7 +1586,7 @@ FDC.prototype.updateDiskHistory = function(sDisketteName, sDiskettePath, disk) if (this.aDiskHistory[i][1] == sDiskettePath) { this.aDiskHistory[i][2] = disk.save(); if (DEBUG && this.messageEnabled()) { - this.messagePrint("disk '" + sDisketteName + "' updated in history"); + this.printMessage("disk '" + sDisketteName + "' updated in history"); } return; } @@ -1598,7 +1598,7 @@ FDC.prototype.updateDiskHistory = function(sDisketteName, sDiskettePath, disk) * before unloading, the fact that the disk is no longer listed here can't be treated as an error. */ if (DEBUG && this.messageEnabled()) { - this.messagePrint("unable to update disk '" + sDisketteName + "' in history (" + sDiskettePath + ")"); + this.printMessage("unable to update disk '" + sDisketteName + "' in history (" + sDiskettePath + ")"); } }; @@ -1612,7 +1612,7 @@ FDC.prototype.updateDiskHistory = function(sDisketteName, sDiskettePath, disk) */ FDC.prototype.outFDCOutput = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "OUTPUT"); + this.printMessageIO(port, bOut, addrFrom, "OUTPUT"); if (!(bOut & FDC.REG_OUTPUT.ENABLE)) { this.initController(); /* @@ -1664,7 +1664,7 @@ FDC.prototype.outFDCOutput = function(port, bOut, addrFrom) */ FDC.prototype.inFDCStatus = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "STATUS", this.regStatus); + this.printMessageIO(port, null, addrFrom, "STATUS", this.regStatus); return this.regStatus; }; @@ -1689,7 +1689,7 @@ FDC.prototype.inFDCData = function(port, addrFrom) if (this.chipset) this.chipset.clearIRR(ChipSet.IRQ.FDC); } if (this.messageEnabled()) { - this.messagePort(port, null, addrFrom, "DATA[" + this.regDataIndex + "]", bIn); + this.printMessageIO(port, null, addrFrom, "DATA[" + this.regDataIndex + "]", bIn); } if (++this.regDataIndex >= this.regDataTotal) { this.regStatus &= ~(FDC.REG_STATUS.READ_DATA | FDC.REG_STATUS.BUSY); @@ -1709,7 +1709,7 @@ FDC.prototype.inFDCData = function(port, addrFrom) FDC.prototype.outFDCData = function(port, bOut, addrFrom) { if (this.messageEnabled()) { - this.messagePort(port, bOut, addrFrom, "DATA[" + this.regDataTotal + "]"); + this.printMessageIO(port, bOut, addrFrom, "DATA[" + this.regDataTotal + "]"); } if (this.regDataTotal < this.regDataArray.length) { @@ -1724,7 +1724,7 @@ FDC.prototype.outFDCData = function(port, bOut, addrFrom) return; } if (DEBUG && this.messageEnabled()) { - this.messagePrint("unsupported FDC command: " + str.toHexByte(bCmd)); + this.printMessage("unsupported FDC command: " + str.toHexByte(bCmd)); this.dbg.stopCPU(); } }; @@ -1744,7 +1744,7 @@ FDC.prototype.inFDCInput = function(port, addrFrom) * TODO: Determine when the DISK_CHANGE bit is *really* cleared (this is just a guess) */ this.regInput &= ~FDC.REG_INPUT.DISK_CHANGE; - this.messagePort(port, null, addrFrom, "INPUT", bIn); + this.printMessageIO(port, null, addrFrom, "INPUT", bIn); return bIn; }; @@ -1758,7 +1758,7 @@ FDC.prototype.inFDCInput = function(port, addrFrom) */ FDC.prototype.outFDCControl = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "CONTROL"); + this.printMessageIO(port, bOut, addrFrom, "CONTROL"); this.regControl = bOut; }; @@ -1953,7 +1953,7 @@ FDC.prototype.doCmd = function() default: if (DEBUG && this.messageEnabled()) { - this.messagePrint("FDC operation unsupported (command=0x: " + str.toHexByte(bCmd) + ")"); + this.printMessage("FDC operation unsupported (command=0x: " + str.toHexByte(bCmd) + ")"); this.dbg.stopCPU(); } break; @@ -2034,7 +2034,7 @@ FDC.prototype.popCmd = function(name) if (DEBUG && this.messageEnabled(Messages.PORT | Messages.FDC)) { var bCmdMasked = bCmd & FDC.REG_DATA.CMD.MASK; if (!name && !this.regDataIndex && FDC.aCmdInfo[bCmdMasked]) name = FDC.aCmdInfo[bCmdMasked].name; - this.messagePrint("FDC.CMD[" + (name || this.regDataIndex) + "]: 0x" + str.toHexByte(bCmd), true); + this.printMessage("FDC.CMD[" + (name || this.regDataIndex) + "]: 0x" + str.toHexByte(bCmd), true); } this.regDataIndex++; return bCmd; @@ -2086,7 +2086,7 @@ FDC.prototype.beginResult = function() FDC.prototype.pushResult = function(bResult, name) { if (DEBUG && this.messageEnabled(Messages.PORT | Messages.FDC)) { - this.messagePrint("FDC.RES[" + (name || this.regDataTotal) + "]: 0x" + str.toHexByte(bResult), true); + this.printMessage("FDC.RES[" + (name || this.regDataTotal) + "]: 0x" + str.toHexByte(bResult), true); } this.regDataArray[this.regDataTotal++] = bResult; }; @@ -2152,7 +2152,7 @@ FDC.prototype.dmaRead = function(drive, b, done) /* * The DMA controller should be ASKING for data, not GIVING us data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaRead(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaRead(): invalid DMA acknowledgement"); done(-1, false); }; @@ -2171,7 +2171,7 @@ FDC.prototype.dmaWrite = function(drive, b) /* * The DMA controller should be GIVING us data, not ASKING for data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaWrite(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaWrite(): invalid DMA acknowledgement"); return -1; }; @@ -2190,7 +2190,7 @@ FDC.prototype.dmaFormat = function(drive, b) /* * The DMA controller should be GIVING us data, not ASKING for data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaFormat(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaFormat(): invalid DMA acknowledgement"); return -1; }; @@ -2211,7 +2211,7 @@ FDC.prototype.doRead = function(drive) if (drive.disk) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("FDC.doRead(CHS=" + drive.bCylinder + ':' + drive.bHead + ':' + drive.bSector + ",PBA=" + (drive.bCylinder * (drive.disk.nHeads * drive.disk.nSectors) + drive.bHead * drive.disk.nSectors + drive.bSector-1) + ')'); + this.printMessage("FDC.doRead(CHS=" + drive.bCylinder + ':' + drive.bHead + ':' + drive.bSector + ",PBA=" + (drive.bCylinder * (drive.disk.nHeads * drive.disk.nSectors) + drive.bHead * drive.disk.nSectors + drive.bSector-1) + ')'); } drive.sector = null; drive.resCode = FDC.REG_DATA.RES.NONE; @@ -2234,7 +2234,7 @@ FDC.prototype.doWrite = function(drive) if (drive.disk) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("FDC.doWrite(CHS=" + drive.bCylinder + ':' + drive.bHead + ':' + drive.bSector + ",PBA=" + (drive.bCylinder * (drive.disk.nHeads * drive.disk.nSectors) + drive.bHead * drive.disk.nSectors + drive.bSector-1) + ')'); + this.printMessage("FDC.doWrite(CHS=" + drive.bCylinder + ':' + drive.bHead + ':' + drive.bSector + ",PBA=" + (drive.bCylinder * (drive.disk.nHeads * drive.disk.nSectors) + drive.bHead * drive.disk.nSectors + drive.bSector-1) + ')'); } if (drive.disk.fWriteProtected) { drive.resCode = FDC.REG_DATA.RES.NOT_WRITABLE | FDC.REG_DATA.RES.INCOMPLETE; @@ -2437,7 +2437,7 @@ FDC.prototype.writeFormat = function(drive, b) drive.nBytes = 128 << drive.abFormat[3];// N (0 => 128, 1 => 256, 2 => 512, 3 => 1024) drive.cbFormat = 0; if (DEBUG && this.messageEnabled()) { - this.messagePrint("writeFormat(head=" + str.toHexByte(drive.bHead) + ",cyl=" + str.toHexByte(drive.bCylinder) + ",sec=" + str.toHexByte(drive.bSector) + ",len=" + str.toHexWord(drive.nBytes) + ")"); + this.printMessage("writeFormat(head=" + str.toHexByte(drive.bHead) + ",cyl=" + str.toHexByte(drive.bCylinder) + ",sec=" + str.toHexByte(drive.bSector) + ",len=" + str.toHexWord(drive.nBytes) + ")"); } for (var i = 0; i < drive.nBytes; i++) { if (this.writeByte(drive, drive.bFiller) < 0) { diff --git a/modules/pcjs/lib/hdc.js b/modules/pcjs/lib/hdc.js index 65f44d21d5..613d0e8874 100644 --- a/modules/pcjs/lib/hdc.js +++ b/modules/pcjs/lib/hdc.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Nov-26 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -748,7 +748,7 @@ HDC.prototype.initController = function(data, fHard) } } if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC initialized for " + this.aDrives.length + " drive(s)"); + this.printMessage("HDC initialized for " + this.aDrives.length + " drive(s)"); } return fSuccess; }; @@ -1149,7 +1149,7 @@ HDC.prototype.loadDisk = function(iDrive, sDiskName, sDiskPath, fAutoMount) if (fAutoMount) { drive.fAutoMount = true; this.cAutoMount++; - if (this.messageEnabled()) this.messagePrint("loading " + sDiskName); + if (this.messageEnabled()) this.printMessage("loading " + sDiskName); } var disk = drive.disk || new Disk(this, drive, drive.mode); disk.load(sDiskName, sDiskPath, null, this.doneLoadDisk); @@ -1223,7 +1223,7 @@ HDC.prototype.inXTCData = function(port, addrFrom) if (this.chipset) this.chipset.clearIRR(ChipSet.IRQ.XTC); this.regStatus &= ~HDC.XTC.STATUS.INTERRUPT; - this.messagePort(port, null, addrFrom, "DATA[" + this.regDataIndex + "]", bIn); + this.printMessageIO(port, null, addrFrom, "DATA[" + this.regDataIndex + "]", bIn); if (++this.regDataIndex >= this.regDataTotal) { this.regDataIndex = this.regDataTotal = 0; this.regStatus &= ~(HDC.XTC.STATUS.IOMODE | HDC.XTC.STATUS.BUS | HDC.XTC.STATUS.BUSY); @@ -1241,7 +1241,7 @@ HDC.prototype.inXTCData = function(port, addrFrom) */ HDC.prototype.outXTCData = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "DATA[" + this.regDataTotal + "]"); + this.printMessageIO(port, bOut, addrFrom, "DATA[" + this.regDataTotal + "]"); if (this.regDataTotal < this.regDataArray.length) { this.regDataArray[this.regDataTotal++] = bOut; } @@ -1276,7 +1276,7 @@ HDC.prototype.outXTCData = function(port, bOut, addrFrom) HDC.prototype.inXTCStatus = function(port, addrFrom) { var b = this.regStatus; - this.messagePort(port, null, addrFrom, "STATUS", b); + this.printMessageIO(port, null, addrFrom, "STATUS", b); /* * HACK: The HDC BIOS will not finish the HDC.XTC.DATA.CMD.INIT_DRIVE sequence unless it sees XTC.STATUS.REQ set again, nor will * it read any of the XTC.DATA bytes returned from a HDC.XTC.DATA.CMD.REQUEST_SENSE command unless XTC.STATUS.REQ is set again, so @@ -1298,7 +1298,7 @@ HDC.prototype.inXTCStatus = function(port, addrFrom) */ HDC.prototype.outXTCReset = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "RESET"); + this.printMessageIO(port, bOut, addrFrom, "RESET"); /* * Not sure what to do with this value, and the value itself may be "don't care", but we'll save it anyway. */ @@ -1317,7 +1317,7 @@ HDC.prototype.outXTCReset = function(port, bOut, addrFrom) */ HDC.prototype.inXTCConfig = function(port, addrFrom) { - this.messagePort(port, null, addrFrom, "CONFIG", this.regConfig); + this.printMessageIO(port, null, addrFrom, "CONFIG", this.regConfig); return this.regConfig; }; @@ -1331,7 +1331,7 @@ HDC.prototype.inXTCConfig = function(port, addrFrom) */ HDC.prototype.outXTCPulse = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PULSE"); + this.printMessageIO(port, bOut, addrFrom, "PULSE"); /* * Not sure what to do with this value, and the value itself may be "don't care", but we'll save it anyway. */ @@ -1358,7 +1358,7 @@ HDC.prototype.outXTCPulse = function(port, bOut, addrFrom) */ HDC.prototype.outXTCPattern = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "PATTERN"); + this.printMessageIO(port, bOut, addrFrom, "PATTERN"); this.regPattern = bOut; }; @@ -1372,7 +1372,7 @@ HDC.prototype.outXTCPattern = function(port, bOut, addrFrom) */ HDC.prototype.outXTCNoise = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "NOISE"); + this.printMessageIO(port, bOut, addrFrom, "NOISE"); }; /** @@ -1398,8 +1398,8 @@ HDC.prototype.inATCData = function(port, addrFrom) bIn = this.readByte(this.drive, function(b, fAsync, obj, off) { hdc.assert(!fAsync); if (BACKTRACK) { - if (!off && obj.file) { - hdc.println("loading " + obj.file.sPath + '[' + obj.offFile + "] via port 0x" + str.toHexWord(port)); + if (!off && obj.file && hdc.messageEnabled(Messages.DISK)) { + hdc.printMessage("loading " + obj.file.sPath + '[' + obj.offFile + "] via port 0x" + str.toHexWord(port), true); } /* * TODO: We could define a cached BTO that's reset prior to a new ATC command, and then pass that @@ -1415,11 +1415,11 @@ HDC.prototype.inATCData = function(port, addrFrom) if (this.drive.ibSector == 1) { /* - * messagePort() calls, if enabled, can be overwhelming for this port, so limit them to the first byte + * printMessageIO() calls, if enabled, can be overwhelming for this port, so limit them to the first byte * of each sector. */ if (this.messageEnabled(Messages.PORT | Messages.HDC)) { - this.messagePort(port, null, addrFrom, "DATA[" + this.drive.ibSector + "]", bIn); + this.printMessageIO(port, null, addrFrom, "DATA[" + this.drive.ibSector + "]", bIn); } } else if (this.drive.ibSector == this.drive.cbSector) { @@ -1451,7 +1451,7 @@ HDC.prototype.inATCData = function(port, addrFrom) */ hdc.regStatus = HDC.ATC.STATUS.ERROR; hdc.regError = HDC.ATC.ERROR.NO_CHS; - if (DEBUG) hdc.messagePrint("HDC.inATCData(): read failed"); + if (DEBUG) hdc.printMessage("HDC.inATCData(): read failed"); } }, false); } else { @@ -1483,16 +1483,16 @@ HDC.prototype.outATCData = function(port, bOut, addrFrom) this.regStatus = HDC.ATC.STATUS.ERROR; this.regError = HDC.ATC.ERROR.NO_CHS; if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.outATCData(" + str.toHexByte(bOut) + "): write failed"); + this.printMessage("HDC.outATCData(" + str.toHexByte(bOut) + "): write failed"); } } else if (this.drive.ibSector == 1) { /* - * messagePort() calls, if enabled, can be overwhelming for this port, so limit them to the first byte + * printMessageIO() calls, if enabled, can be overwhelming for this port, so limit them to the first byte * of each sector. */ if (this.messageEnabled(Messages.PORT | Messages.HDC)) { - this.messagePort(port, bOut, addrFrom, "DATA[" + this.drive.ibSector + "]"); + this.printMessageIO(port, bOut, addrFrom, "DATA[" + this.drive.ibSector + "]"); } } else if (this.drive.ibSector == this.drive.cbSector) { @@ -1517,7 +1517,7 @@ HDC.prototype.outATCData = function(port, bOut, addrFrom) * TODO: What to do about unexpected writes? The number of bytes has exceeded what the command specified. */ if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.outATCData(" + str.toHexByte(bOut) + "): write exceeds count (" + this.drive.nBytes + ")"); + this.printMessage("HDC.outATCData(" + str.toHexByte(bOut) + "): write exceeds count (" + this.drive.nBytes + ")"); } } } else { @@ -1525,7 +1525,7 @@ HDC.prototype.outATCData = function(port, bOut, addrFrom) * TODO: What to do about unexpected writes? No command was specified. */ if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.outATCData(" + str.toHexByte(bOut) + "): write without command"); + this.printMessage("HDC.outATCData(" + str.toHexByte(bOut) + "): write without command"); } } }; @@ -1541,7 +1541,7 @@ HDC.prototype.outATCData = function(port, bOut, addrFrom) HDC.prototype.inATCError = function(port, addrFrom) { var bIn = this.regError; - this.messagePort(port, null, addrFrom, "ERROR", bIn); + this.printMessageIO(port, null, addrFrom, "ERROR", bIn); return bIn; }; @@ -1555,7 +1555,7 @@ HDC.prototype.inATCError = function(port, addrFrom) */ HDC.prototype.outATCWPreC = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "WPREC"); + this.printMessageIO(port, bOut, addrFrom, "WPREC"); this.regWPreC = bOut; }; @@ -1570,7 +1570,7 @@ HDC.prototype.outATCWPreC = function(port, bOut, addrFrom) HDC.prototype.inATCSecCnt = function(port, addrFrom) { var bIn = this.regSecCnt; - this.messagePort(port, null, addrFrom, "SECCNT", bIn); + this.printMessageIO(port, null, addrFrom, "SECCNT", bIn); return bIn; }; @@ -1584,7 +1584,7 @@ HDC.prototype.inATCSecCnt = function(port, addrFrom) */ HDC.prototype.outATCSecCnt = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "SECCNT"); + this.printMessageIO(port, bOut, addrFrom, "SECCNT"); this.regSecCnt = bOut; }; @@ -1599,7 +1599,7 @@ HDC.prototype.outATCSecCnt = function(port, bOut, addrFrom) HDC.prototype.inATCSecNum = function(port, addrFrom) { var bIn = this.regSecNum; - this.messagePort(port, null, addrFrom, "SECNUM", bIn); + this.printMessageIO(port, null, addrFrom, "SECNUM", bIn); return bIn; }; @@ -1613,7 +1613,7 @@ HDC.prototype.inATCSecNum = function(port, addrFrom) */ HDC.prototype.outATCSecNum = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "SECNUM"); + this.printMessageIO(port, bOut, addrFrom, "SECNUM"); this.regSecNum = bOut; }; @@ -1628,7 +1628,7 @@ HDC.prototype.outATCSecNum = function(port, bOut, addrFrom) HDC.prototype.inATCCylLo = function(port, addrFrom) { var bIn = this.regCylLo; - this.messagePort(port, null, addrFrom, "CYLLO", bIn); + this.printMessageIO(port, null, addrFrom, "CYLLO", bIn); return bIn; }; @@ -1642,7 +1642,7 @@ HDC.prototype.inATCCylLo = function(port, addrFrom) */ HDC.prototype.outATCCylLo = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "CYLLO"); + this.printMessageIO(port, bOut, addrFrom, "CYLLO"); this.regCylLo = bOut; }; @@ -1657,7 +1657,7 @@ HDC.prototype.outATCCylLo = function(port, bOut, addrFrom) HDC.prototype.inATCCylHi = function(port, addrFrom) { var bIn = this.regCylHi; - this.messagePort(port, null, addrFrom, "CYLHI", bIn); + this.printMessageIO(port, null, addrFrom, "CYLHI", bIn); return bIn; }; @@ -1671,7 +1671,7 @@ HDC.prototype.inATCCylHi = function(port, addrFrom) */ HDC.prototype.outATCCylHi = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "CYLHI"); + this.printMessageIO(port, bOut, addrFrom, "CYLHI"); this.regCylHi = bOut; }; @@ -1686,7 +1686,7 @@ HDC.prototype.outATCCylHi = function(port, bOut, addrFrom) HDC.prototype.inATCDrvHd = function(port, addrFrom) { var bIn = this.regDrvHd; - this.messagePort(port, null, addrFrom, "DRVHD", bIn); + this.printMessageIO(port, null, addrFrom, "DRVHD", bIn); return bIn; }; @@ -1700,7 +1700,7 @@ HDC.prototype.inATCDrvHd = function(port, addrFrom) */ HDC.prototype.outATCDrvHd = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "DRVHD"); + this.printMessageIO(port, bOut, addrFrom, "DRVHD"); this.regDrvHd = bOut; /* * The MODEL_5170_REV3 BIOS (see "POST2_CHK_HF2" @F000:14FC) probes for a 2nd hard drive when the number @@ -1736,7 +1736,7 @@ HDC.prototype.outATCDrvHd = function(port, bOut, addrFrom) HDC.prototype.inATCStatus = function(port, addrFrom) { var bIn = this.regStatus; - this.messagePort(port, null, addrFrom, "STATUS", bIn); + this.printMessageIO(port, null, addrFrom, "STATUS", bIn); /* * Despite what IBM's documentation for the "Personal Computer AT Fixed Disk and Diskette Drive Adapter" * (August 31, 1984) says (ie, "A read of the status register clears interrupt request 14"), we cannot @@ -1768,7 +1768,7 @@ HDC.prototype.inATCStatus = function(port, addrFrom) */ HDC.prototype.outATCCommand = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "COMMAND"); + this.printMessageIO(port, bOut, addrFrom, "COMMAND"); this.regCommand = bOut; if (this.chipset) this.chipset.clearIRR(ChipSet.IRQ.ATC); this.doATC(); @@ -1786,7 +1786,7 @@ HDC.prototype.outATCCommand = function(port, bOut, addrFrom) */ HDC.prototype.outATCFDR = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "FDR"); + this.printMessageIO(port, bOut, addrFrom, "FDR"); /* * I'm not really sure if I should set HDC.ATC.DIAG.NO_ERROR in regError after *every* write where * HDC.ATC.FDR.RESET is clear, or only after it has transitioned from set to clear; since the BIOS only @@ -1846,14 +1846,14 @@ HDC.prototype.doATC = function() } if (DEBUG && this.messageEnabled(Messages.HDC)) { - this.messagePrint("HDC.doATC(0x" + str.toHexByte(bCmd) + "): " + HDC.aATCCommands[bCmd], true); + this.printMessage("HDC.doATC(0x" + str.toHexByte(bCmd) + "): " + HDC.aATCCommands[bCmd], true); } switch (bCmd & HDC.ATC.COMMAND.MASK) { case HDC.ATC.COMMAND.READ_DATA: if (DEBUG && this.messageEnabled(Messages.HDC)) { - this.messagePrint("HDC.doRead(" + iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + nSectors + ")", true); + this.printMessage("HDC.doRead(" + iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + nSectors + ")", true); } /* * We're using a call to readByte() that disables auto-increment, so that once we've got the first @@ -1882,7 +1882,7 @@ HDC.prototype.doATC = function() case HDC.ATC.COMMAND.WRITE_DATA: if (DEBUG && this.messageEnabled(Messages.HDC)) { - this.messagePrint("HDC.doWrite(" + iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + nSectors + ")", true); + this.printMessage("HDC.doWrite(" + iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + nSectors + ")", true); } this.regStatus = HDC.ATC.STATUS.DATA_REQ; break; @@ -1931,7 +1931,7 @@ HDC.prototype.doATC = function() default: if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.doATC(0x" + str.toHexByte(this.regCommand) + "): " + (bCmd < 0? ("invalid drive (" + iDrive + ")") : "unsupported operation")); + this.printMessage("HDC.doATC(0x" + str.toHexByte(this.regCommand) + "): " + (bCmd < 0? ("invalid drive (" + iDrive + ")") : "unsupported operation")); if (bCmd >= 0) this.dbg.stopCPU(); } break; @@ -1975,9 +1975,9 @@ HDC.prototype.setATCIRR = function(fWrite) * has a low tolerance for fast controller interrupts during multi-sector operations. */ this.chipset.setIRR(ChipSet.IRQ.ATC, 120); - if (DEBUG) this.messagePrint("HDC.setATCIRR(): enabled", Messages.PIC | Messages.HDC); + if (DEBUG) this.printMessage("HDC.setATCIRR(): enabled", Messages.PIC | Messages.HDC); } else { - if (DEBUG) this.messagePrint("HDC.setATCIRR(): disabled", Messages.PIC | Messages.HDC); + if (DEBUG) this.printMessage("HDC.setATCIRR(): disabled", Messages.PIC | Messages.HDC); } } }; @@ -2059,7 +2059,7 @@ HDC.prototype.doXTC = function() bDataStatus = HDC.XTC.DATA.STATUS.OK; if (!drive && this.iDriveAllowFail == iDrive) { this.iDriveAllowFail = -1; - if (DEBUG) this.messagePrint("HDC.doXTC(): fake failure triggered"); + if (DEBUG) this.printMessage("HDC.doXTC(): fake failure triggered"); bDataStatus = HDC.XTC.DATA.STATUS.ERROR; } this.beginResult(bDataStatus | bDrive); @@ -2096,7 +2096,7 @@ HDC.prototype.doXTC = function() case HDC.XTC.DATA.CMD.RECALIBRATE: // 0x01 drive.bControl = bControl; if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.doXTC(): drive " + iDrive + " control byte: 0x" + str.toHexByte(bControl)); + this.printMessage("HDC.doXTC(): drive " + iDrive + " control byte: 0x" + str.toHexByte(bControl)); } this.beginResult(HDC.XTC.DATA.STATUS.OK | bDrive); break; @@ -2134,7 +2134,7 @@ HDC.prototype.doXTC = function() default: this.beginResult(HDC.XTC.DATA.STATUS.ERROR | bDrive); if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.doXTC(0x" + str.toHexByte(bCmdOrig) + "): " + (bCmd < 0? ("invalid drive (" + iDrive + ")") : "unsupported operation")); + this.printMessage("HDC.doXTC(0x" + str.toHexByte(bCmdOrig) + "): " + (bCmd < 0? ("invalid drive (" + iDrive + ")") : "unsupported operation")); if (bCmd >= 0) this.dbg.stopCPU(); } break; @@ -2155,7 +2155,7 @@ HDC.prototype.popCmd = function() if (bCmdIndex < this.regDataTotal) { bCmd = this.regDataArray[this.regDataIndex++]; if (DEBUG && this.messageEnabled((bCmdIndex > 0? Messages.PORT : 0) | Messages.HDC)) { - this.messagePrint("HDC.CMD[" + bCmdIndex + "]: 0x" + str.toHexByte(bCmd) + (!bCmdIndex && HDC.aXTCCommands[bCmd]? (" (" + HDC.aXTCCommands[bCmd] + ")") : ""), true); + this.printMessage("HDC.CMD[" + bCmdIndex + "]: 0x" + str.toHexByte(bCmd) + (!bCmdIndex && HDC.aXTCCommands[bCmd]? (" (" + HDC.aXTCCommands[bCmd] + ")") : ""), true); } } return bCmd; @@ -2173,7 +2173,7 @@ HDC.prototype.beginResult = function(bResult) if (bResult !== undefined) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.beginResult(0x" + str.toHexByte(bResult) + ")"); + this.printMessage("HDC.beginResult(0x" + str.toHexByte(bResult) + ")"); } this.pushResult(bResult); } @@ -2195,7 +2195,7 @@ HDC.prototype.beginResult = function(bResult) HDC.prototype.pushResult = function(bResult) { if (DEBUG && this.messageEnabled((this.regDataTotal > 0? Messages.PORT : 0) | Messages.HDC)) { - this.messagePrint("HDC.RES[" + this.regDataTotal + "]: 0x" + str.toHexByte(bResult), true); + this.printMessage("HDC.RES[" + this.regDataTotal + "]: 0x" + str.toHexByte(bResult), true); } this.regDataArray[this.regDataTotal++] = bResult; }; @@ -2217,7 +2217,7 @@ HDC.prototype.dmaRead = function(drive, b, done) /* * The DMA controller should be ASKING for data, not GIVING us data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaRead(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaRead(): invalid DMA acknowledgement"); done(-1, false); }; @@ -2236,7 +2236,7 @@ HDC.prototype.dmaWrite = function(drive, b) /* * The DMA controller should be GIVING us data, not ASKING for data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaWrite(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaWrite(): invalid DMA acknowledgement"); return -1; }; @@ -2255,7 +2255,7 @@ HDC.prototype.dmaWriteBuffer = function(drive, b) /* * The DMA controller should be GIVING us data, not ASKING for data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaWriteBuffer(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaWriteBuffer(): invalid DMA acknowledgement"); return -1; }; @@ -2274,7 +2274,7 @@ HDC.prototype.dmaWriteFormat = function(drive, b) /* * The DMA controller should be GIVING us data, not ASKING for data; this suggests an internal DMA miscommunication */ - if (DEBUG) this.messagePrint("dmaWriteFormat(): invalid DMA acknowledgement"); + if (DEBUG) this.printMessage("dmaWriteFormat(): invalid DMA acknowledgement"); return -1; }; @@ -2290,7 +2290,7 @@ HDC.prototype.doDMARead = function(drive, done) drive.errorCode = HDC.XTC.DATA.ERR.NOT_READY; if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.doDMARead(" + drive.iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + ((drive.nBytes / drive.cbSector)|0) + ")"); + this.printMessage("HDC.doDMARead(" + drive.iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + ((drive.nBytes / drive.cbSector)|0) + ")"); } if (drive.disk) { @@ -2334,7 +2334,7 @@ HDC.prototype.doDMAWrite = function(drive, done) drive.errorCode = HDC.XTC.DATA.ERR.NOT_READY; if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.doDMAWrite(" + drive.iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + ((drive.nBytes / drive.cbSector)|0) + ")"); + this.printMessage("HDC.doDMAWrite(" + drive.iDrive + ',' + drive.wCylinder + ':' + drive.bHead + ':' + drive.bSector + ',' + ((drive.nBytes / drive.cbSector)|0) + ")"); } if (drive.disk) { @@ -2384,7 +2384,7 @@ HDC.prototype.doDMAWriteBuffer = function(drive, done) { drive.errorCode = HDC.XTC.DATA.ERR.NOT_READY; - if (DEBUG) this.messagePrint("HDC.doDMAWriteBuffer()"); + if (DEBUG) this.printMessage("HDC.doDMAWriteBuffer()"); if (!drive.abSector || drive.abSector.length != drive.nBytes) { drive.abSector = new Array(drive.nBytes); @@ -2687,7 +2687,7 @@ HDC.prototype.writeFormat = function(drive, b) drive.cbFormat = 0; if (DEBUG && this.messageEnabled()) { - this.messagePrint("HDC.writeFormat(" + drive.wCylinder + ":" + drive.bHead + ":" + drive.bSector + ":" + drive.nBytes + ")"); + this.printMessage("HDC.writeFormat(" + drive.wCylinder + ":" + drive.bHead + ":" + drive.bSector + ":" + drive.nBytes + ")"); } for (var i = 0; i < drive.nBytes; i++) { @@ -2772,7 +2772,7 @@ HDC.prototype.intBIOSDiskette = function(addr) { var AH = this.cpu.regAX >> 8; if ((!AH && this.chipset && this.chipset.checkIMR(ChipSet.IRQ.FDC))) { - if (DEBUG) this.messagePrint("HDC.intBIOSDiskette(): skipping useless INT 0x40 diskette reset"); + if (DEBUG) this.printMessage("HDC.intBIOSDiskette(): skipping useless INT 0x40 diskette reset"); return false; } return true; diff --git a/modules/pcjs/lib/interrupts.js b/modules/pcjs/lib/interrupts.js index 7baa6966bf..6cbeb2f7fc 100644 --- a/modules/pcjs/lib/interrupts.js +++ b/modules/pcjs/lib/interrupts.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Dec-11 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/keyboard.js b/modules/pcjs/lib/keyboard.js index 9980001ae8..2bc53045e2 100644 --- a/modules/pcjs/lib/keyboard.js +++ b/modules/pcjs/lib/keyboard.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-20 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -68,7 +68,7 @@ function Keyboard(parmsKbd) this.fMobile = web.isMobile(); this.fMSIE = web.isUserAgent("MSIE"); - this.messagePrint("mobile keyboard support: " + (this.fMobile? "true" : "false")); + this.printMessage("mobile keyboard support: " + (this.fMobile? "true" : "false")); /* * This is count of the number of "soft keyboard" keys present. At the moment, its only @@ -1020,7 +1020,7 @@ Keyboard.prototype.setBinding = function(sHTMLType, sBinding, control) this.bindings[id] = control; control.onclick = function(kbd, sKey, simCode) { return function onClickKeyboard(event) { - if (!COMPILED && kbd.messageEnabled()) kbd.messagePrint(sKey + " clicked", Messages.KEYS); + if (!COMPILED && kbd.messageEnabled()) kbd.printMessage(sKey + " clicked", Messages.KEYS); if (kbd.cpu) kbd.cpu.setFocus(); kbd.updateShiftState(simCode, true); // future-proofing if/when any LOCK keys are added to CLICKCODES kbd.addActiveKey(simCode, true); @@ -1152,7 +1152,7 @@ Keyboard.prototype.resetDevice = function(fNotify) /* * TODO: There's more to reset, like LED indicators, default type rate, and emptying the scan code buffer. */ - this.messagePrint("keyboard reset", Messages.KEYBOARD | Messages.PORT); + this.printMessage("keyboard reset", Messages.KEYBOARD | Messages.PORT); this.abScanBuffer = [Keyboard.CMDRES.BAT_OK]; if (fNotify && this.chipset) this.chipset.notifyKbdData(this.abScanBuffer[0]); }; @@ -1175,7 +1175,7 @@ Keyboard.prototype.setEnable = function(fData, fClock) var fReset = false; if (this.fClock !== fClock) { if (!COMPILED && this.messageEnabled(Messages.KEYBOARD | Messages.PORT)) { - this.messagePrint("keyboard clock line changing to " + fClock, true); + this.printMessage("keyboard clock line changing to " + fClock, true); } /* * Toggling the clock line low and then high signals a "reset", which we acknowledge once the @@ -1185,7 +1185,7 @@ Keyboard.prototype.setEnable = function(fData, fClock) } if (this.fData !== fData) { if (!COMPILED && this.messageEnabled(Messages.KEYBOARD | Messages.PORT)) { - this.messagePrint("keyboard data line changing to " + fData, true); + this.printMessage("keyboard data line changing to " + fData, true); } this.fData = fData; /* @@ -1243,7 +1243,7 @@ Keyboard.prototype.checkScanCode = function() b = this.abScanBuffer[0]; if (this.chipset) this.chipset.notifyKbdData(b); } - if (this.messageEnabled()) this.messagePrint("scan code 0x" + str.toHexByte(b) + " available"); + if (this.messageEnabled()) this.printMessage("scan code 0x" + str.toHexByte(b) + " available"); return b; }; @@ -1261,7 +1261,7 @@ Keyboard.prototype.readScanCode = function() if (this.abScanBuffer.length) { b = this.abScanBuffer[0]; } - if (this.messageEnabled()) this.messagePrint("scan code 0x" + str.toHexByte(b) + " delivered"); + if (this.messageEnabled()) this.printMessage("scan code 0x" + str.toHexByte(b) + " delivered"); return b; }; @@ -1275,7 +1275,7 @@ Keyboard.prototype.readScanCode = function() Keyboard.prototype.flushScanCode = function() { this.abScanBuffer = []; - if (this.messageEnabled()) this.messagePrint("scan codes flushed"); + if (this.messageEnabled()) this.printMessage("scan codes flushed"); }; /** @@ -1302,7 +1302,7 @@ Keyboard.prototype.shiftScanCode = function(fNotify) this.chipset.notifyKbdData(this.abScanBuffer[0]); } } - if (this.messageEnabled()) this.messagePrint("scan codes shifted, notify " + (fNotify? "true" : "false")); + if (this.messageEnabled()) this.printMessage("scan codes shifted, notify " + (fNotify? "true" : "false")); } }; @@ -1469,7 +1469,7 @@ Keyboard.prototype.addScanCode = function(bScan) */ if (this.abScanBuffer) { if (this.abScanBuffer.length < Keyboard.LIMIT.MAX_SCANCODES) { - if (this.messageEnabled()) this.messagePrint("scan code 0x" + str.toHexByte(bScan) + " buffered"); + if (this.messageEnabled()) this.printMessage("scan code 0x" + str.toHexByte(bScan) + " buffered"); this.abScanBuffer.push(bScan); if (this.abScanBuffer.length == 1) { if (this.chipset) this.chipset.notifyKbdData(bScan); @@ -1479,7 +1479,7 @@ Keyboard.prototype.addScanCode = function(bScan) if (this.abScanBuffer.length == Keyboard.LIMIT.MAX_SCANCODES) { this.abScanBuffer.push(Keyboard.CMDRES.BUFF_FULL); } - this.messagePrint("scan code buffer overflow"); + this.printMessage("scan code buffer overflow"); } }; @@ -1659,7 +1659,7 @@ Keyboard.prototype.addActiveKey = function(simCode, fPress) { if (!Keyboard.SIMCODES[simCode]) { if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("addActiveKey(" + simCode + "," + (fPress? "press" : "down") + "): unrecognized", true); + this.printMessage("addActiveKey(" + simCode + "," + (fPress? "press" : "down") + "): unrecognized", true); } return; } @@ -1697,7 +1697,7 @@ Keyboard.prototype.addActiveKey = function(simCode, fPress) } if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("addActiveKey(" + simCode + "," + (fPress? "press" : "down") + "): " + (i < 0? "already active" : (i == this.aKeysActive.length? "adding" : "updating")), true); + this.printMessage("addActiveKey(" + simCode + "," + (fPress? "press" : "down") + "): " + (i < 0? "already active" : (i == this.aKeysActive.length? "adding" : "updating")), true); } if (i < 0) return; @@ -1798,7 +1798,7 @@ Keyboard.prototype.removeActiveKey = function(simCode, fFlush) { if (!Keyboard.SIMCODES[simCode]) { if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("removeActiveKey(" + simCode + "): unrecognized", true); + this.printMessage("removeActiveKey(" + simCode + "): unrecognized", true); } return false; } @@ -1821,10 +1821,10 @@ Keyboard.prototype.removeActiveKey = function(simCode, fFlush) } } if (!COMPILED && !fFlush && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("removeActiveKey(" + simCode + "): " + (fRemoved? "removed" : "not active"), true); + this.printMessage("removeActiveKey(" + simCode + "): " + (fRemoved? "removed" : "not active"), true); } if (!this.aKeysActive.length && this.fToggleCapsLock) { - if (!COMPILED) this.messagePrint("removeActiveKey(): inverting caps-lock now", Messages.KEYS); + if (!COMPILED) this.printMessage("removeActiveKey(): inverting caps-lock now", Messages.KEYS); this.updateShiftState(Keyboard.SIMCODE.CAPS_LOCK); this.fToggleCapsLock = false; } @@ -1848,7 +1848,7 @@ Keyboard.prototype.updateActiveKey = function(key, msTimer) } if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint((msTimer? '\n' : "") + "updateActiveKey(" + key.simCode + (msTimer? "," + msTimer + "ms" : "") + "): " + (key.fDown? "down" : "up"), true); + this.printMessage((msTimer? '\n' : "") + "updateActiveKey(" + key.simCode + (msTimer? "," + msTimer + "ms" : "") + "): " + (key.fDown? "down" : "up"), true); } this.keySimulate(key.simCode, key.fDown); @@ -1919,7 +1919,7 @@ Keyboard.prototype.getSimCode = function(keyCode, fShifted) Keyboard.prototype.onFocusChange = function(fFocus) { if (this.fHasFocus != fFocus && !COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("onFocusChange(" + (fFocus? "true" : "false") + ")", true); + this.printMessage("onFocusChange(" + (fFocus? "true" : "false") + ")", true); } this.fHasFocus = fFocus; /* @@ -2046,7 +2046,7 @@ Keyboard.prototype.onKeyDown = function(event, fDown) } if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("\nonKey" + (fDown? "Down" : "Up") + "(" + keyCode + "): " + (fIgnore? "ignore" : (fPass? "true" : "false")), true); + this.printMessage("\nonKey" + (fDown? "Down" : "Up") + "(" + keyCode + "): " + (fIgnore? "ignore" : (fPass? "true" : "false")), true); } /* @@ -2086,7 +2086,7 @@ Keyboard.prototype.onKeyPress = function(event) var simCode = this.checkActiveKey(); if (simCode && this.isAlphaKey(simCode) && this.isAlphaKey(keyCode) && simCode != keyCode) { if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("onKeyPress(" + keyCode + ") out of sync with " + simCode + ", invert caps-lock", true); + this.printMessage("onKeyPress(" + keyCode + ") out of sync with " + simCode + ", invert caps-lock", true); } this.fToggleCapsLock = true; keyCode = simCode; @@ -2100,7 +2100,7 @@ Keyboard.prototype.onKeyPress = function(event) var fPass = !Keyboard.SIMCODES[keyCode] || !!(this.bitsState & Keyboard.STATE.CMD); if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("\nonKeyPress(" + keyCode + "): " + (fPass? "true" : "false"), true); + this.printMessage("\nonKeyPress(" + keyCode + "): " + (fPass? "true" : "false"), true); } if (!fPass) { @@ -2190,7 +2190,7 @@ Keyboard.prototype.keySimulate = function(simCode, fDown) } if (!COMPILED && this.messageEnabled(Messages.KEYS)) { - this.messagePrint("keySimulate(" + simCode + "," + (fDown? "down" : "up") + "): " + (fSimulated? "true" : "false"), true); + this.printMessage("keySimulate(" + simCode + "," + (fDown? "down" : "up") + "): " + (fSimulated? "true" : "false"), true); } return fSimulated; diff --git a/modules/pcjs/lib/memory.js b/modules/pcjs/lib/memory.js index 717be26ec3..052b3790c3 100644 --- a/modules/pcjs/lib/memory.js +++ b/modules/pcjs/lib/memory.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/messages.js b/modules/pcjs/lib/messages.js index 8c9f0e63eb..a1aff6f35c 100644 --- a/modules/pcjs/lib/messages.js +++ b/modules/pcjs/lib/messages.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Dec-11 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/mouse.js b/modules/pcjs/lib/mouse.js index e0c21b7cc8..f1eaa7abb1 100644 --- a/modules/pcjs/lib/mouse.js +++ b/modules/pcjs/lib/mouse.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jul-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -544,7 +544,7 @@ Mouse.prototype.sendPacket = function(sDiag, xDiag, yDiag) var b2 = this.xDelta & 0x3F; var b3 = this.yDelta & 0x3F; if (this.messageEnabled(Messages.SERIAL)) { - this.messagePrint((sDiag? (sDiag + ": ") : "") + (yDiag !== undefined? ("mouse (" + xDiag + "," + yDiag + "): ") : "") + "serial packet [" + str.toHexByte(b1) + "," + str.toHexByte(b2) + "," + str.toHexByte(b3) + "]", 0, true); + this.printMessage((sDiag? (sDiag + ": ") : "") + (yDiag !== undefined? ("mouse (" + xDiag + "," + yDiag + "): ") : "") + "serial packet [" + str.toHexByte(b1) + "," + str.toHexByte(b2) + "," + str.toHexByte(b3) + "]", 0, true); } this.componentAdapter.sendRBR([b1, b2, b3]); this.xDelta = this.yDelta = 0; @@ -576,11 +576,11 @@ Mouse.prototype.notifyMCR = function(bMCR) var fIdentify = false; if (!(this.bMCR & SerialPort.MCR.RTS)) { this.reset(); - this.messagePrint("serial mouse reset"); + this.printMessage("serial mouse reset"); fIdentify = true; } if (!(this.bMCR & SerialPort.MCR.DTR)) { - this.messagePrint("serial mouse ID requested"); + this.printMessage("serial mouse ID requested"); fIdentify = true; } if (fIdentify) { @@ -605,7 +605,7 @@ Mouse.prototype.notifyMCR = function(bMCR) * I'm calling this good enough for now. */ this.componentAdapter.sendRBR([Mouse.ID_SERIAL, Mouse.ID_SERIAL]); - this.messagePrint("serial mouse ID sent"); + this.printMessage("serial mouse ID sent"); } this.captureMouse(this.inputScreen); this.setActive(fActive); @@ -624,7 +624,7 @@ Mouse.prototype.notifyMCR = function(bMCR) * a mouse device that's still powered may still send event data to the serial port, and if there was software * polling the serial port, it might expect to see that data. Unlikely, but not impossible. */ - this.messagePrint("serial mouse inactive"); + this.printMessage("serial mouse inactive"); this.releaseMouse(this.inputScreen); this.setActive(fActive); } diff --git a/modules/pcjs/lib/nodebugger.js b/modules/pcjs/lib/nodebugger.js index d716d03b04..b86dade45a 100644 --- a/modules/pcjs/lib/nodebugger.js +++ b/modules/pcjs/lib/nodebugger.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/panel.js b/modules/pcjs/lib/panel.js index 4317b546a2..de1ca3aab2 100644 --- a/modules/pcjs/lib/panel.js +++ b/modules/pcjs/lib/panel.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-19 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/ram.js b/modules/pcjs/lib/ram.js index 52bdcb8320..e5718255a9 100644 --- a/modules/pcjs/lib/ram.js +++ b/modules/pcjs/lib/ram.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/rom.js b/modules/pcjs/lib/rom.js index a4e2822317..2c359d7bb1 100644 --- a/modules/pcjs/lib/rom.js +++ b/modules/pcjs/lib/rom.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/serialport.js b/modules/pcjs/lib/serialport.js index fd5a0a5675..4ba60d39dc 100644 --- a/modules/pcjs/lib/serialport.js +++ b/modules/pcjs/lib/serialport.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jul-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -512,7 +512,7 @@ SerialPort.prototype.advanceRBR = function() { */ SerialPort.prototype.inRBR = function(port, addrFrom) { var b = ((this.bLCR & SerialPort.LCR.DLAB) ? (this.wDL & 0xff) : this.bRBR); - this.messagePort(port, null, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLL" : "RBR", b); + this.printMessageIO(port, null, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLL" : "RBR", b); this.bLSR &= ~SerialPort.LSR.DR; this.advanceRBR(); return b; @@ -528,7 +528,7 @@ SerialPort.prototype.inRBR = function(port, addrFrom) { */ SerialPort.prototype.inIER = function(port, addrFrom) { var b = ((this.bLCR & SerialPort.LCR.DLAB) ? (this.wDL >> 8) : this.bIER); - this.messagePort(port, null, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLM" : "IER", b); + this.printMessageIO(port, null, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLM" : "IER", b); return b; }; @@ -542,7 +542,7 @@ SerialPort.prototype.inIER = function(port, addrFrom) { */ SerialPort.prototype.inIIR = function(port, addrFrom) { var b = this.bIIR; - this.messagePort(port, null, addrFrom, "IIR", b); + this.printMessageIO(port, null, addrFrom, "IIR", b); return b; }; @@ -556,7 +556,7 @@ SerialPort.prototype.inIIR = function(port, addrFrom) { */ SerialPort.prototype.inLCR = function(port, addrFrom) { var b = this.bLCR; - this.messagePort(port, null, addrFrom, "LCR", b); + this.printMessageIO(port, null, addrFrom, "LCR", b); return b; }; @@ -570,7 +570,7 @@ SerialPort.prototype.inLCR = function(port, addrFrom) { */ SerialPort.prototype.inMCR = function(port, addrFrom) { var b = this.bMCR; - this.messagePort(port, null, addrFrom, "MCR", b); + this.printMessageIO(port, null, addrFrom, "MCR", b); return b; }; @@ -584,7 +584,7 @@ SerialPort.prototype.inMCR = function(port, addrFrom) { */ SerialPort.prototype.inLSR = function(port, addrFrom) { var b = this.bLSR; - this.messagePort(port, null, addrFrom, "LSR", b); + this.printMessageIO(port, null, addrFrom, "LSR", b); return b; }; @@ -598,7 +598,7 @@ SerialPort.prototype.inLSR = function(port, addrFrom) { */ SerialPort.prototype.inMSR = function(port, addrFrom) { var b = this.bMSR; - this.messagePort(port, null, addrFrom, "MSR", b); + this.printMessageIO(port, null, addrFrom, "MSR", b); return b; }; @@ -611,7 +611,7 @@ SerialPort.prototype.inMSR = function(port, addrFrom) { * @param {number} [addrFrom] (not defined whenever the Debugger tries to write the specified port) */ SerialPort.prototype.outTHR = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLL" : "THR"); + this.printMessageIO(port, bOut, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLL" : "THR"); if (this.bLCR & SerialPort.LCR.DLAB) { this.wDL = (this.wDL & ~0xff) | bOut; } else { @@ -635,7 +635,7 @@ SerialPort.prototype.outTHR = function(port, bOut, addrFrom) { * @param {number} [addrFrom] (not defined whenever the Debugger tries to write the specified port) */ SerialPort.prototype.outIER = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLM" : "IER"); + this.printMessageIO(port, bOut, addrFrom, (this.bLCR & SerialPort.LCR.DLAB) ? "DLM" : "IER"); if (this.bLCR & SerialPort.LCR.DLAB) { this.wDL = (this.wDL & 0xff) | (bOut << 8); } else { @@ -652,7 +652,7 @@ SerialPort.prototype.outIER = function(port, bOut, addrFrom) { * @param {number} [addrFrom] (not defined whenever the Debugger tries to write the specified port) */ SerialPort.prototype.outLCR = function(port, bOut, addrFrom) { - this.messagePort(port, bOut, addrFrom, "LCR"); + this.printMessageIO(port, bOut, addrFrom, "LCR"); this.bLCR = bOut; }; @@ -666,7 +666,7 @@ SerialPort.prototype.outLCR = function(port, bOut, addrFrom) { */ SerialPort.prototype.outMCR = function(port, bOut, addrFrom) { var bPrev = this.bMCR; - this.messagePort(port, bOut, addrFrom, "MCR"); + this.printMessageIO(port, bOut, addrFrom, "MCR"); this.bMCR = bOut; if (this.mouse && (bPrev ^ bOut) & (SerialPort.MCR.DTR | SerialPort.MCR.RTS)) { this.mouse.notifyMCR(this.bMCR); diff --git a/modules/pcjs/lib/state.js b/modules/pcjs/lib/state.js index 5a2f64f993..ccbfbf76dc 100644 --- a/modules/pcjs/lib/state.js +++ b/modules/pcjs/lib/state.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-May-14 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -279,7 +279,7 @@ State.prototype = { this[this.id] = s; this.fLoaded = true; if (DEBUG && this.messageEnabled()) { - this.messagePrint("localStorage(" + this.key + "): " + s.length + " bytes loaded"); + this.printMessage("localStorage(" + this.key + "): " + s.length + " bytes loaded"); } return true; } @@ -318,7 +318,7 @@ State.prototype = { var s = JSON.stringify(this[this.id]); if (web.setLocalStorageItem(this.key, s)) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("localStorage(" + this.key + "): " + s.length + " bytes stored"); + this.printMessage("localStorage(" + this.key + "): " + s.length + " bytes stored"); } } else { /* @@ -378,7 +378,7 @@ State.prototype = { if (sKey && (fAll || sKey.substr(0, this.key.length) == this.key)) { web.removeLocalStorageItem(sKey); if (DEBUG && this.messageEnabled()) { - this.messagePrint("localStorage(" + sKey + ") removed"); + this.printMessage("localStorage(" + sKey + ") removed"); } aKeys.splice(i, 1); i = 0; @@ -404,12 +404,12 @@ State.prototype = { return false; }, /** - * messagePrint(sMessage) + * printMessage(sMessage) * * @this {State} * @param {string} sMessage is any caller-defined message string */ - messagePrint: function(sMessage) { + printMessage: function(sMessage) { if (DEBUGGER && this.dbg) this.dbg.message(sMessage); } }; diff --git a/modules/pcjs/lib/video.js b/modules/pcjs/lib/video.js index 0aa1a311cb..afdcb6047c 100644 --- a/modules/pcjs/lib/video.js +++ b/modules/pcjs/lib/video.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Jun-15 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -2013,7 +2013,7 @@ Video.prototype.setBinding = function(sHTMLType, sBinding, control) this.sLockMessage = control.textContent; if (this.inputScreen && this.inputScreen.lockPointer) { control.onclick = function onClickLockPointer() { - if (DEBUG) video.messagePrint("lockPointer()"); + if (DEBUG) video.printMessage("lockPointer()"); video.lockPointer(true); }; } else { @@ -2024,7 +2024,7 @@ Video.prototype.setBinding = function(sHTMLType, sBinding, control) case "refresh": control.onclick = function onClickRefresh() { - if (DEBUG) video.messagePrint("refreshScreen()"); + if (DEBUG) video.printMessage("refreshScreen()"); video.updateScreen(true); }; return true; @@ -2183,7 +2183,7 @@ Video.prototype.captureTouch = function() Video.prototype.onFocusChange = function(fFocus) { if (this.fHasFocus != fFocus && DEBUG && this.messageEnabled()) { - this.messagePrint("onFocusChange(" + (fFocus? "true" : "false") + ")", true); + this.printMessage("onFocusChange(" + (fFocus? "true" : "false") + ")", true); } /* * As per http://stackoverflow.com/questions/6740253/disable-scrolling-when-changing-focus-form-elements-ipad-web-app, @@ -2216,7 +2216,7 @@ Video.prototype.releaseTouch = function() */ Video.prototype.onTouchStart = function(event) { - if (DEBUG) this.messagePrint("onTouchStart()"); + if (DEBUG) this.printMessage("onTouchStart()"); this.processTouchEvent(event, true); }; @@ -2228,7 +2228,7 @@ Video.prototype.onTouchStart = function(event) */ Video.prototype.onTouchMove = function(event) { - if (DEBUG) this.messagePrint("onTouchMove()"); + if (DEBUG) this.printMessage("onTouchMove()"); this.processTouchEvent(event, false); }; @@ -2240,7 +2240,7 @@ Video.prototype.onTouchMove = function(event) */ Video.prototype.onTouchEnd = function(event) { - if (DEBUG) this.messagePrint("onTouchEnd()"); + if (DEBUG) this.printMessage("onTouchEnd()"); }; /** @@ -2703,7 +2703,7 @@ Video.prototype.onROMLoad = function(abROM) * TODO: Unlike the MDA/CGA font data, we may want to hang onto this data, so that we can regenerate * the color font(s) whenever the foreground and/or background colors have been changed. */ - if (DEBUG) this.messagePrint("onROMLoad(): EGA fonts loaded"); + if (DEBUG) this.printMessage("onROMLoad(): EGA fonts loaded"); this.setFontData(abROM, [0x2230, 0x3160], 8); } this.setReady(); @@ -2886,7 +2886,7 @@ Video.prototype.buildFont = function(nFont, offData, offSplit, cxChar, cyChar, a var fChanges = false; if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFont(" + nFont + "): building " + Video.cardSpecs[nFont][0] + " font"); + this.printMessage("buildFont(" + nFont + "): building " + Video.cardSpecs[nFont][0] + " font"); } if (this.createFont(nFont, offData, offSplit, cxChar, cyChar, abFontData, aRGBColors, aColorMap)) fChanges = true; @@ -2898,7 +2898,7 @@ Video.prototype.buildFont = function(nFont, offData, offSplit, cxChar, cyChar, a if (this.fDoubleFont) { nFont <<= 1; if (DEBUG && this.messageEnabled()) { - this.messagePrint("buildFont(" + nFont + "): building " + Video.cardSpecs[nFont >> 1][0] + " double-size font"); + this.printMessage("buildFont(" + nFont + "): building " + Video.cardSpecs[nFont >> 1][0] + " double-size font"); } if (this.createFont(nFont, offData, offSplit, cxChar, cyChar, abFontData, aRGBColors, aColorMap)) fChanges = true; } @@ -2947,7 +2947,7 @@ Video.prototype.createFont = function(nFont, offData, offSplit, cxChar, cyChar, var rgbColorOrig = font.aCSSColors[iColor]? font.aRGBColors[iColor] : []; if (rgbColor[0] !== rgbColorOrig[0] || rgbColor[1] !== rgbColorOrig[1] || rgbColor[2] !== rgbColorOrig[2]) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("creating font color " + iColor + " for font " + nFont); + this.printMessage("creating font color " + iColor + " for font " + nFont); } this.createFontColor(font, iColor, rgbColor, nDouble, offData, offSplit, cxChar, cyChar, abFontData); fChanges = true; @@ -3179,7 +3179,7 @@ Video.prototype.checkCursor = function() var iCellCursor = (this.cardActive.aCRTCRegs[Card.CRTC.CURSOR_ADDR_LO] + ((this.cardActive.aCRTCRegs[Card.CRTC.CURSOR_ADDR_HI] & Card.CRTC.ADDR_HI_MASK) << 8)); if (this.iCellCursor != iCellCursor) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("checkCursor(): cursor moved from " + this.iCellCursor + " to " + iCellCursor); + this.printMessage("checkCursor(): cursor moved from " + this.iCellCursor + " to " + iCellCursor); } this.removeCursor(); this.iCellCursor = iCellCursor; @@ -3234,7 +3234,7 @@ Video.prototype.removeCursor = function() this.updateChar(col, row, data); } if (DEBUG && this.messageEnabled()) { - this.messagePrint("removeCursor(): removed from " + row + "," + col); + this.printMessage("removeCursor(): removed from " + row + "," + col); } this.aCellCache[this.iCellCursor] = data; } @@ -3301,7 +3301,7 @@ Video.prototype.getAccess = function() break; default: if (DEBUG && this.messageEnabled()) { - this.messagePrint("getAccess(): invalid GRC mode (" + str.toHexByte(regGRCMode) + ")"); + this.printMessage("getAccess(): invalid GRC mode (" + str.toHexByte(regGRCMode) + ")"); } break; } @@ -3329,7 +3329,7 @@ Video.prototype.setAccess = function(nAccess) if (nAccess != null && card && nAccess != card.nAccess) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("setAccess(0x" + str.toHexWord(nAccess) + ")"); + this.printMessage("setAccess(0x" + str.toHexWord(nAccess) + ")"); } card.setMemoryAccess(nAccess); @@ -3666,7 +3666,7 @@ Video.prototype.setMode = function(nMode, fForce) if (nMode != null && (nMode != this.nMode || fForce)) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("setMode(0x" + str.toHexWord(nMode) + (fForce? ",force" : "") + ")"); + this.printMessage("setMode(0x" + str.toHexWord(nMode) + (fForce? ",force" : "") + ")"); } this.cUpdates = 0; // count updateScreen() calls as a means of driving blink updates @@ -3692,7 +3692,7 @@ Video.prototype.setMode = function(nMode, fForce) if (this.addrBuffer) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("setMode(" + nMode + "): removing 0x" + str.toHex(this.sizeBuffer) + " bytes from 0x" + str.toHex(this.addrBuffer)); + this.printMessage("setMode(" + nMode + "): removing 0x" + str.toHex(this.sizeBuffer) + " bytes from 0x" + str.toHex(this.addrBuffer)); } if (!this.bus.removeMemory(this.addrBuffer, this.sizeBuffer)) { @@ -3711,7 +3711,7 @@ Video.prototype.setMode = function(nMode, fForce) this.sizeBuffer = card.sizeBuffer; if (DEBUG && this.messageEnabled()) { - this.messagePrint("setMode(" + nMode + "): adding 0x" + str.toHex(this.sizeBuffer) + " bytes to 0x" + str.toHex(this.addrBuffer)); + this.printMessage("setMode(" + nMode + "): adding 0x" + str.toHex(this.sizeBuffer) + " bytes to 0x" + str.toHex(this.addrBuffer)); } var controller = (card === this.cardEGA? card : null); @@ -4379,7 +4379,7 @@ Video.prototype.inMDAStatus = function(port, addrFrom) Video.prototype.outFeat = function(port, bOut, addrFrom) { this.cardEGA.featReg = (this.cardEGA.featReg & ~Card.FEAT_CTRL.BITS) | (bOut & Card.FEAT_CTRL.BITS); - this.messagePort(port, bOut, addrFrom, "FEAT"); + this.printMessageIO(port, bOut, addrFrom, "FEAT"); }; /** @@ -4394,7 +4394,7 @@ Video.prototype.inATC = function(port, addrFrom) { var b = this.cardEGA.fATCData? this.cardEGA.aATCRegs[this.cardEGA.iATCReg & Card.ATC.INDX_MASK] : this.cardEGA.iATCReg; if (this.messageEnabled()) { - this.messagePort(Card.ATC.PORT, null, addrFrom, "ATC." + (this.cardEGA.fATCData? this.cardEGA.asATCRegs[this.cardEGA.iATCReg & Card.ATC.INDX_MASK] : "INDX"), b); + this.printMessageIO(Card.ATC.PORT, null, addrFrom, "ATC." + (this.cardEGA.fATCData? this.cardEGA.asATCRegs[this.cardEGA.iATCReg & Card.ATC.INDX_MASK] : "INDX"), b); } this.cardEGA.fATCData = !this.cardEGA.fATCData; return b; @@ -4413,16 +4413,16 @@ Video.prototype.outATC = function(port, bOut, addrFrom) var fPalEnabled = (this.cardEGA.iATCReg & Card.ATC.INDX_PAL_ENABLE); if (!this.cardEGA.fATCData) { this.cardEGA.iATCReg = bOut; - this.messagePort(port, bOut, addrFrom, "ATC.INDX"); + this.printMessageIO(port, bOut, addrFrom, "ATC.INDX"); this.cardEGA.fATCData = true; if ((bOut & Card.ATC.INDX_PAL_ENABLE) && !fPalEnabled) { if (!this.buildFonts()) { if (DEBUG && this.messageEnabled()) { - this.messagePrint("outATC(" + str.toHexByte(bOut) + "): no font changes required"); + this.printMessage("outATC(" + str.toHexByte(bOut) + "): no font changes required"); } } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("outATC(" + str.toHexByte(bOut) + "): redraw screen for font changes"); + this.printMessage("outATC(" + str.toHexByte(bOut) + "): redraw screen for font changes"); } this.updateScreen(true); } @@ -4432,7 +4432,7 @@ Video.prototype.outATC = function(port, bOut, addrFrom) if (iReg >= Card.ATC.PALETTE_REGS || !fPalEnabled) { if (Video.TRAPALL || this.cardEGA.aATCRegs[iReg] !== bOut) { if (this.messageEnabled()) { - this.messagePort(port, bOut, addrFrom, "ATC." + this.cardEGA.asATCRegs[iReg]); + this.printMessageIO(port, bOut, addrFrom, "ATC." + this.cardEGA.asATCRegs[iReg]); } this.cardEGA.aATCRegs[iReg] = bOut; } @@ -4458,7 +4458,7 @@ Video.prototype.inStatus0 = function(port, addrFrom) * TODO: Figure out where Card.STATUS0.FEAT bits should come from.... */ this.cardEGA.status0 = b; - this.messagePort(Card.STATUS0.PORT, null, addrFrom, "STATUS0", b); + this.printMessageIO(Card.STATUS0.PORT, null, addrFrom, "STATUS0", b); return b; }; @@ -4472,7 +4472,7 @@ Video.prototype.outMisc = function(port, bOut, addrFrom) { this.cardEGA.miscReg = bOut; this.enableEGA(); - this.messagePort(Card.MISC.PORT, bOut, addrFrom, "MISC"); + this.printMessageIO(Card.MISC.PORT, bOut, addrFrom, "MISC"); }; /** @@ -4486,7 +4486,7 @@ Video.prototype.outMisc = function(port, bOut, addrFrom) Video.prototype.inSEQIndx = function(port, addrFrom) { var b = this.cardEGA.iSEQReg; - this.messagePort(Card.SEQ.INDX.PORT, null, addrFrom, "SEQ.INDX", b); + this.printMessageIO(Card.SEQ.INDX.PORT, null, addrFrom, "SEQ.INDX", b); return b; }; @@ -4501,7 +4501,7 @@ Video.prototype.inSEQIndx = function(port, addrFrom) Video.prototype.outSEQIndx = function(port, bOut, addrFrom) { this.cardEGA.iSEQReg = bOut; - this.messagePort(Card.SEQ.INDX.PORT, bOut, addrFrom, "SEQ.INDX"); + this.printMessageIO(Card.SEQ.INDX.PORT, bOut, addrFrom, "SEQ.INDX"); }; /** @@ -4516,7 +4516,7 @@ Video.prototype.inSEQData = function(port, addrFrom) { var b = this.cardEGA.aSEQRegs[this.cardEGA.iSEQReg]; if (this.messageEnabled()) { - this.messagePort(Card.SEQ.DATA.PORT, null, addrFrom, "SEQ" + this.cardEGA.asSEQRegs[this.cardEGA.iSEQReg], b); + this.printMessageIO(Card.SEQ.DATA.PORT, null, addrFrom, "SEQ" + this.cardEGA.asSEQRegs[this.cardEGA.iSEQReg], b); } return b; }; @@ -4533,7 +4533,7 @@ Video.prototype.outSEQData = function(port, bOut, addrFrom) { if (Video.TRAPALL || this.cardEGA.aSEQRegs[this.cardEGA.iSEQReg] !== bOut) { if (this.messageEnabled()) { - this.messagePort(Card.SEQ.DATA.PORT, bOut, addrFrom, "SEQ." + this.cardEGA.asSEQRegs[this.cardEGA.iSEQReg]); + this.printMessageIO(Card.SEQ.DATA.PORT, bOut, addrFrom, "SEQ." + this.cardEGA.asSEQRegs[this.cardEGA.iSEQReg]); } this.cardEGA.aSEQRegs[this.cardEGA.iSEQReg] = bOut; } @@ -4553,7 +4553,7 @@ Video.prototype.outSEQData = function(port, bOut, addrFrom) Video.prototype.inGRCPos1 = function(port, addrFrom) { var b = this.cardEGA.iGRCPos1; - this.messagePort(Card.GRC.POS1_PORT, null, addrFrom, "GRC1", b); + this.printMessageIO(Card.GRC.POS1_PORT, null, addrFrom, "GRC1", b); return b; }; @@ -4574,7 +4574,7 @@ Video.prototype.inGRCPos1 = function(port, addrFrom) Video.prototype.outGRCPos1 = function(port, bOut, addrFrom) { this.cardEGA.iGRCPos1 = bOut; - this.messagePort(Card.GRC.POS1_PORT, bOut, addrFrom, "GRC1"); + this.printMessageIO(Card.GRC.POS1_PORT, bOut, addrFrom, "GRC1"); }; /** @@ -4588,7 +4588,7 @@ Video.prototype.outGRCPos1 = function(port, bOut, addrFrom) Video.prototype.inGRCPos2 = function(port, addrFrom) { var b = this.cardEGA.iGRCPos2; - this.messagePort(Card.GRC.POS2_PORT, null, addrFrom, "GRC2", b); + this.printMessageIO(Card.GRC.POS2_PORT, null, addrFrom, "GRC2", b); return b; }; @@ -4608,7 +4608,7 @@ Video.prototype.inGRCPos2 = function(port, addrFrom) Video.prototype.outGRCPos2 = function(port, bOut, addrFrom) { this.cardEGA.iGRCPos2 = bOut; - this.messagePort(Card.GRC.POS2_PORT, bOut, addrFrom, "GRC2"); + this.printMessageIO(Card.GRC.POS2_PORT, bOut, addrFrom, "GRC2"); }; /** @@ -4622,7 +4622,7 @@ Video.prototype.outGRCPos2 = function(port, bOut, addrFrom) Video.prototype.inGRCIndx = function(port, addrFrom) { var b = this.cardEGA.iGRCReg; - this.messagePort(Card.GRC.INDX.PORT, null, addrFrom, "GRC.INDX", b); + this.printMessageIO(Card.GRC.INDX.PORT, null, addrFrom, "GRC.INDX", b); return b; }; @@ -4637,7 +4637,7 @@ Video.prototype.inGRCIndx = function(port, addrFrom) Video.prototype.outGRCIndx = function(port, bOut, addrFrom) { this.cardEGA.iGRCReg = bOut; - this.messagePort(Card.GRC.INDX.PORT, bOut, addrFrom, "GRC.INDX"); + this.printMessageIO(Card.GRC.INDX.PORT, bOut, addrFrom, "GRC.INDX"); }; /** @@ -4652,7 +4652,7 @@ Video.prototype.inGRCData = function(port, addrFrom) { var b = this.cardEGA.aGRCRegs[this.cardEGA.iGRCReg]; if (this.messageEnabled()) { - this.messagePort(Card.GRC.DATA.PORT, null, addrFrom, "GRC." + this.cardEGA.asGRCRegs[this.cardEGA.iGRCReg], b); + this.printMessageIO(Card.GRC.DATA.PORT, null, addrFrom, "GRC." + this.cardEGA.asGRCRegs[this.cardEGA.iGRCReg], b); } return b; }; @@ -4669,7 +4669,7 @@ Video.prototype.outGRCData = function(port, bOut, addrFrom) { if (Video.TRAPALL || this.cardEGA.aGRCRegs[this.cardEGA.iGRCReg] !== bOut) { if (this.messageEnabled()) { - this.messagePort(Card.GRC.DATA.PORT, bOut, addrFrom, "GRC." + this.cardEGA.asGRCRegs[this.cardEGA.iGRCReg]); + this.printMessageIO(Card.GRC.DATA.PORT, bOut, addrFrom, "GRC." + this.cardEGA.asGRCRegs[this.cardEGA.iGRCReg]); } this.cardEGA.aGRCRegs[this.cardEGA.iGRCReg] = bOut; } @@ -4796,7 +4796,7 @@ Video.prototype.inCGAColor = function(port, addrFrom) { var b = this.cardColor.colorReg; if (this.messageEnabled()) { - this.messagePort(this.cardColor.port + 5, null, addrFrom, this.cardColor.type + ".COLOR", b); + this.printMessageIO(this.cardColor.port + 5, null, addrFrom, this.cardColor.type + ".COLOR", b); } return b; }; @@ -4812,7 +4812,7 @@ Video.prototype.inCGAColor = function(port, addrFrom) Video.prototype.outCGAColor = function(port, bOut, addrFrom) { if (this.messageEnabled()) { - this.messagePort(this.cardColor.port + 5, bOut, addrFrom, this.cardColor.type + ".COLOR"); + this.printMessageIO(this.cardColor.port + 5, bOut, addrFrom, this.cardColor.type + ".COLOR"); } if (this.cardColor.colorReg !== bOut) { this.cardColor.colorReg = bOut; @@ -4848,7 +4848,7 @@ Video.prototype.inCGAStatus = function(port, addrFrom) Video.prototype.inCRTCIndx = function(card, addrFrom) { var b = card.iCRTCReg; - this.messagePort(card.port, null, addrFrom, "CRTC.INDX", b); + this.printMessageIO(card.port, null, addrFrom, "CRTC.INDX", b); return b; }; @@ -4864,7 +4864,7 @@ Video.prototype.outCRTCIndx = function(card, bOut, addrFrom) { card.iCRTCPrev = card.iCRTCReg; card.iCRTCReg = bOut & Card.CGA.CRTC.INDX.MASK; - this.messagePort(card.port, bOut, addrFrom, "CRTC.INDX"); + this.printMessageIO(card.port, bOut, addrFrom, "CRTC.INDX"); }; /** @@ -4880,7 +4880,7 @@ Video.prototype.inCRTCData = function(card, addrFrom) var b; if (card.iCRTCReg < card.nCRTCRegs) b = card.aCRTCRegs[card.iCRTCReg]; if (this.messageEnabled()) { - this.messagePort(card.port + 1, null, addrFrom, "CRTC." + card.asCRTCRegs[card.iCRTCReg], b); + this.printMessageIO(card.port + 1, null, addrFrom, "CRTC." + card.asCRTCRegs[card.iCRTCReg], b); } return b; }; @@ -4898,7 +4898,7 @@ Video.prototype.outCRTCData = function(card, bOut, addrFrom) if (card.iCRTCReg < card.nCRTCRegs) { if (Video.TRAPALL || card.aCRTCRegs[card.iCRTCReg] !== bOut) { if (this.messageEnabled()) { - this.messagePort(card.port + 1, bOut, addrFrom, "CRTC." + card.asCRTCRegs[card.iCRTCReg]); + this.printMessageIO(card.port + 1, bOut, addrFrom, "CRTC." + card.asCRTCRegs[card.iCRTCReg]); } card.aCRTCRegs[card.iCRTCReg] = bOut; } @@ -4917,7 +4917,7 @@ Video.prototype.outCRTCData = function(card, bOut, addrFrom) this.checkCursor(); } else { if (DEBUG && this.messageEnabled()) { - this.messagePrint("outCRTCData(): ignoring unexpected write to CRTC[" + str.toHexByte(card.iCRTCReg) + "]: " + str.toHexByte(bOut)); + this.printMessage("outCRTCData(): ignoring unexpected write to CRTC[" + str.toHexByte(card.iCRTCReg) + "]: " + str.toHexByte(bOut)); } } }; @@ -4933,7 +4933,7 @@ Video.prototype.outCRTCData = function(card, bOut, addrFrom) Video.prototype.inCardMode = function(card, addrFrom) { var b = card.modeReg; - this.messagePort(card.port + 4, null, addrFrom, "MODE", b); + this.printMessageIO(card.port + 4, null, addrFrom, "MODE", b); return b; }; @@ -4947,7 +4947,7 @@ Video.prototype.inCardMode = function(card, addrFrom) */ Video.prototype.outCardMode = function(card, bOut, addrFrom) { - this.messagePort(card.port + 4, bOut, addrFrom, "MODE"); + this.printMessageIO(card.port + 4, bOut, addrFrom, "MODE"); card.modeReg = bOut; this.checkMode(false); }; @@ -5034,7 +5034,7 @@ Video.prototype.inCardStatus = function(card, addrFrom) b = (card.statusReg ^= (Card.CGA.STATUS.DISP_ENABLE | Card.CGA.STATUS.VERT_RETRACE)) | 0xf0; } card.statusReg = b; - this.messagePort(card.port + 6, null, addrFrom, (card === this.cardEGA? "STATUS1" : "STATUS"), b); + this.printMessageIO(card.port + 6, null, addrFrom, (card === this.cardEGA? "STATUS1" : "STATUS"), b); return b; }; diff --git a/modules/pcjs/lib/x86.js b/modules/pcjs/lib/x86.js index dddf05cfec..c630121893 100644 --- a/modules/pcjs/lib/x86.js +++ b/modules/pcjs/lib/x86.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -326,12 +326,13 @@ var X86 = { } }; -if (BACKTRACK) { - X86.BACKTRACK = { - SP_LO: 0, - SP_HI: 0 - }; -} +/* + * BACKTRACK-related definitions (used only if BACKTRACK is defined) + */ +X86.BACKTRACK = { + SP_LO: 0, + SP_HI: 0 +}; /* * Some PS flags are stored directly in regPS, hence the "direct" designation. diff --git a/modules/pcjs/lib/x86cpu.js b/modules/pcjs/lib/x86cpu.js index 99dc694c8b..9863d985e4 100644 --- a/modules/pcjs/lib/x86cpu.js +++ b/modules/pcjs/lib/x86cpu.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -1075,7 +1075,7 @@ X86CPU.prototype.setProtMode = function(fProt) fProt = !!(this.regMSW & X86.MSW.PE); } if (!fProt) { - this.messagePrint("returning to real-mode"); + this.printMessage("returning to real-mode"); } this.aOpGrp6 = (fProt? X86Op0F.aOpGrp6Prot : X86Op0F.aOpGrp6Real); this.segCS.updateMode(fProt); @@ -2121,7 +2121,7 @@ X86CPU.prototype.getBytePrefetch = function(addr) var b; if (!this.cbPrefetchQueued) { if (MAXDEBUG) { - this.messagePrint(" getBytePrefetch[" + this.iPrefetchTail + "]: filling"); + this.printMessage(" getBytePrefetch[" + this.iPrefetchTail + "]: filling"); this.assert(addr == this.addrPrefetchHead, "X86CPU.getBytePrefetch(" + str.toHex(addr) + "): invalid head address (" + str.toHex(this.addrPrefetchHead) + ")"); this.assert(this.iPrefetchTail == this.iPrefetchHead, "X86CPU.getBytePrefetch(" + str.toHex(addr) + "): head (" + this.iPrefetchHead + ") does not match tail (" + this.iPrefetchTail + ")"); } @@ -2141,7 +2141,7 @@ X86CPU.prototype.getBytePrefetch = function(addr) } b = this.aPrefetch[this.iPrefetchTail] & 0xff; if (MAXDEBUG) { - this.messagePrint(" getBytePrefetch[" + this.iPrefetchTail + "]: " + str.toHex(addr) + ":" + str.toHexByte(b)); + this.printMessage(" getBytePrefetch[" + this.iPrefetchTail + "]: " + str.toHex(addr) + ":" + str.toHexByte(b)); this.assert(addr == (this.aPrefetch[this.iPrefetchTail] >> 8), "X86CPU.getBytePrefetch(" + str.toHex(addr) + "): invalid tail address (" + str.toHex(this.aPrefetch[this.iPrefetchTail] >> 8) + ")"); } this.iPrefetchTail = (this.iPrefetchTail + 1) & X86CPU.PREFETCH.MASK; @@ -2184,7 +2184,7 @@ X86CPU.prototype.fillPrefetch = function(n) var addr = this.addrPrefetchHead; var b = this.aMemBlocks[(addr & this.addrMemMask) >> this.blockShift].readByte(addr & this.blockLimit); this.aPrefetch[this.iPrefetchHead] = b | (addr << 8); - if (MAXDEBUG) this.messagePrint(" fillPrefetch[" + this.iPrefetchHead + "]: " + str.toHex(addr) + ":" + str.toHexByte(b)); + if (MAXDEBUG) this.printMessage(" fillPrefetch[" + this.iPrefetchHead + "]: " + str.toHex(addr) + ":" + str.toHexByte(b)); this.addrPrefetchHead = (addr + 1) & this.addrMemMask; this.iPrefetchHead = (this.iPrefetchHead + 1) & X86CPU.PREFETCH.MASK; this.cbPrefetchQueued++; @@ -2209,7 +2209,7 @@ X86CPU.prototype.flushPrefetch = function(addr) { this.addrPrefetchHead = addr; this.iPrefetchTail = this.iPrefetchHead = this.cbPrefetchQueued = this.cbPrefetchValid = 0; - if (MAXDEBUG && addr !== undefined) this.messagePrint(" flushPrefetch[-]: " + str.toHex(addr)); + if (MAXDEBUG && addr !== undefined) this.printMessage(" flushPrefetch[-]: " + str.toHex(addr)); }; /** @@ -2232,7 +2232,7 @@ X86CPU.prototype.advancePrefetch = function(inc) this.cbPrefetchQueued -= inc; } else { this.flushPrefetch(this.regEIP); - if (MAXDEBUG) this.messagePrint("advancePrefetch(" + inc + "): flushed"); + if (MAXDEBUG) this.printMessage("advancePrefetch(" + inc + "): flushed"); } }; diff --git a/modules/pcjs/lib/x86grps.js b/modules/pcjs/lib/x86grps.js index c43d670d94..f6a579d245 100644 --- a/modules/pcjs/lib/x86grps.js +++ b/modules/pcjs/lib/x86grps.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/x86help.js b/modules/pcjs/lib/x86help.js index c73b16b27d..030311350f 100644 --- a/modules/pcjs/lib/x86help.js +++ b/modules/pcjs/lib/x86help.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -573,7 +573,7 @@ var X86Help = { opHelpFault: function(nFault, nError, fHalt) { if (!this.aFlags.fComplete) { - this.messagePrint("Fault " + str.toHexByte(nFault) + " blocked by Debugger", Messages.WARN); + this.printMessage("Fault " + str.toHexByte(nFault) + " blocked by Debugger", Messages.WARN); this.setIP(this.opEA - this.segCS.base); return; } @@ -686,22 +686,22 @@ var X86Help = { if (this.messageEnabled(bitsMessage) || fHalt) { var sMessage = (fHalt? '\n' : '') + "Fault " + str.toHexByte(nFault) + (nError != null? " (" + str.toHexWord(nError) + ")" : "") + " on opcode 0x" + str.toHexByte(bOpcode) + " at " + str.toHexAddr(this.regIP, this.segCS.sel) + " (%" + str.toHex(this.regEIP, 6) + ")"; var fRunning = this.aFlags.fRunning; - if (this.messagePrint(sMessage, bitsMessage)) { + if (this.printMessage(sMessage, bitsMessage)) { if (fHalt) { /* * By setting fHalt to fRunning (which is true while running but false while single-stepping), * this allows a fault to be dispatched when you single-step over a faulting instruction; you can * then continue single-stepping into the fault handler, or start running again. * - * Note that we had to capture fRunning before calling messagePrint(), because if MESSAGE.HALT - * is set, messagePrint() will have already halted the CPU. + * Note that we had to capture fRunning before calling printMessage(), because if MESSAGE.HALT + * is set, printMessage() will have already halted the CPU. */ fHalt = fRunning; this.dbg.stopCPU(); } } else { /* - * If messagePrint() returned false, then messageEnabled() must have returned false as well, which + * If printMessage() returned false, then messageEnabled() must have returned false as well, which * means that fHalt must be true. Which means we should shut the machine down. */ this.assert(fHalt); diff --git a/modules/pcjs/lib/x86mods.js b/modules/pcjs/lib/x86mods.js index ee0cb94588..747f1b82ce 100644 --- a/modules/pcjs/lib/x86mods.js +++ b/modules/pcjs/lib/x86mods.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/x86op0f.js b/modules/pcjs/lib/x86op0f.js index c43eb2d281..20d9da278a 100644 --- a/modules/pcjs/lib/x86op0f.js +++ b/modules/pcjs/lib/x86op0f.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/lib/x86opxx.js b/modules/pcjs/lib/x86opxx.js index f50a6773c4..f38110df84 100644 --- a/modules/pcjs/lib/x86opxx.js +++ b/modules/pcjs/lib/x86opxx.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Sep-05 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . @@ -1985,7 +1985,7 @@ var X86OpXX = { * op=0x9B (wait) */ opWAIT: function() { - this.messagePrint("WAIT not implemented", Messages.CPU); + this.printMessage("WAIT not implemented", Messages.CPU); this.nStepCycles--; }, /** diff --git a/modules/pcjs/lib/x86seg.js b/modules/pcjs/lib/x86seg.js index e278e1d8b7..df291f0b86 100644 --- a/modules/pcjs/lib/x86seg.js +++ b/modules/pcjs/lib/x86seg.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Sep-10 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/pcjs/templates/components.xsl b/modules/pcjs/templates/components.xsl index 0ad7caa72f..0cc80144e5 100644 --- a/modules/pcjs/templates/components.xsl +++ b/modules/pcjs/templates/components.xsl @@ -221,7 +221,7 @@
diff --git a/modules/shared/lib/component.js b/modules/shared/lib/component.js index e00bcc033a..ab8aea13c4 100644 --- a/modules/shared/lib/component.js +++ b/modules/shared/lib/component.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-May-14 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . @@ -952,7 +952,7 @@ Component.prototype = { return false; }, /** - * messagePrint(sMessage, bitsMessage, fAddress) + * printMessage(sMessage, bitsMessage, fAddress) * * If bitsMessage is not specified, the component's MESSAGE category is used. * If bitsMessage is true, the message is displayed regardless. @@ -963,7 +963,7 @@ Component.prototype = { * @param {boolean} [fAddress] is true to display the current address * @return {boolean} true if Debugger available, false if not */ - messagePrint: function(sMessage, bitsMessage, fAddress) { + printMessage: function(sMessage, bitsMessage, fAddress) { if (DEBUGGER && this.dbg) { if (bitsMessage === true || this.messageEnabled(bitsMessage | 0)) { this.dbg.message(sMessage, fAddress); @@ -973,7 +973,7 @@ Component.prototype = { return false; }, /** - * messagePort(port, bOut, addrFrom, name, bIn, bitsMessage) + * printMessageIO(port, bOut, addrFrom, name, bIn, bitsMessage) * * If bitsMessage is not specified, the component's MESSAGE category is used. * If bitsMessage is true, the message is displayed as long as MESSAGE.PORT is enabled. @@ -986,7 +986,7 @@ Component.prototype = { * @param {number|null} [bIn] is the input value, if known, on an input operation * @param {number|boolean} [bitsMessage] is zero or more MESSAGE_* category flag(s) */ - messagePort: function(port, bOut, addrFrom, name, bIn, bitsMessage) { + printMessageIO: function(port, bOut, addrFrom, name, bIn, bitsMessage) { if (DEBUGGER && this.dbg) { if (bitsMessage === true) { bitsMessage = 0; diff --git a/modules/shared/lib/defines.js b/modules/shared/lib/defines.js index 4eadc621df..038b6a8498 100644 --- a/modules/shared/lib/defines.js +++ b/modules/shared/lib/defines.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/diskapi.js b/modules/shared/lib/diskapi.js index 0a3df16780..5c28979403 100644 --- a/modules/shared/lib/diskapi.js +++ b/modules/shared/lib/diskapi.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/dumpapi.js b/modules/shared/lib/dumpapi.js index cb6e9da0a2..bb60e5b572 100644 --- a/modules/shared/lib/dumpapi.js +++ b/modules/shared/lib/dumpapi.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/embed.js b/modules/shared/lib/embed.js index 9134a6ac2d..1f078f3bbf 100644 --- a/modules/shared/lib/embed.js +++ b/modules/shared/lib/embed.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Aug-28 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/externs.js b/modules/shared/lib/externs.js index 3434cd78d6..44b7e10297 100644 --- a/modules/shared/lib/externs.js +++ b/modules/shared/lib/externs.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2012-Dec-04 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/netlib.js b/modules/shared/lib/netlib.js index 8d55295b70..b1d09cda77 100644 --- a/modules/shared/lib/netlib.js +++ b/modules/shared/lib/netlib.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-03-16 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/nodebug.js b/modules/shared/lib/nodebug.js index a3eaa8f22e..95a5fd3fb6 100644 --- a/modules/shared/lib/nodebug.js +++ b/modules/shared/lib/nodebug.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Aug-22 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of PCjs, which is part of the JavaScript Machines Project (aka JSMachines) * at and . diff --git a/modules/shared/lib/proclib.js b/modules/shared/lib/proclib.js index efd9d97962..3bc2790e36 100644 --- a/modules/shared/lib/proclib.js +++ b/modules/shared/lib/proclib.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-05-07 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/reportapi.js b/modules/shared/lib/reportapi.js index a54adfab0f..83089be513 100644 --- a/modules/shared/lib/reportapi.js +++ b/modules/shared/lib/reportapi.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-13 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/sockets.js b/modules/shared/lib/sockets.js index d7bdbdd2d7..1c85f5c30d 100644 --- a/modules/shared/lib/sockets.js +++ b/modules/shared/lib/sockets.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-Apr-29 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/strlib.js b/modules/shared/lib/strlib.js index 0bb297366e..ea8f43bd88 100644 --- a/modules/shared/lib/strlib.js +++ b/modules/shared/lib/strlib.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-03-09 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/userapi.js b/modules/shared/lib/userapi.js index 97b90f7868..36257f27e4 100644 --- a/modules/shared/lib/userapi.js +++ b/modules/shared/lib/userapi.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-May-13 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/usrlib.js b/modules/shared/lib/usrlib.js index 1bc8c49ab8..dd2639e2dc 100644 --- a/modules/shared/lib/usrlib.js +++ b/modules/shared/lib/usrlib.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-03-09 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/lib/weblib.js b/modules/shared/lib/weblib.js index b32e858dbd..8f1e9d3489 100644 --- a/modules/shared/lib/weblib.js +++ b/modules/shared/lib/weblib.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-05-08 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/modules/shared/templates/common.xsl b/modules/shared/templates/common.xsl index b419319a4c..796e195fdc 100644 --- a/modules/shared/templates/common.xsl +++ b/modules/shared/templates/common.xsl @@ -39,7 +39,7 @@

diff --git a/pubs/pc/programming/manifest.xml b/pubs/pc/programming/manifest.xml index 38a23dd37d..6d5f728137 100644 --- a/pubs/pc/programming/manifest.xml +++ b/pubs/pc/programming/manifest.xml @@ -1,5 +1,5 @@ - + PC Programming Guides diff --git a/pubs/pc/reference/ibm/5150/techref/manifest.xml b/pubs/pc/reference/ibm/5150/techref/manifest.xml index 6a11573225..0545e76140 100644 --- a/pubs/pc/reference/ibm/5150/techref/manifest.xml +++ b/pubs/pc/reference/ibm/5150/techref/manifest.xml @@ -1,5 +1,5 @@ - + IBM 5150 Manuals minuszerodegrees.net diff --git a/pubs/pc/reference/ibm/5160/techref/manifest.xml b/pubs/pc/reference/ibm/5160/techref/manifest.xml index 4b7b83f193..544c91a745 100644 --- a/pubs/pc/reference/ibm/5160/techref/manifest.xml +++ b/pubs/pc/reference/ibm/5160/techref/manifest.xml @@ -1,5 +1,5 @@ - + IBM 5160 Technical Reference (April 1983) retroarchive.org diff --git a/pubs/pc/reference/ibm/5170/setup/manifest.xml b/pubs/pc/reference/ibm/5170/setup/manifest.xml index e33a14eee0..a01424f0e0 100644 --- a/pubs/pc/reference/ibm/5170/setup/manifest.xml +++ b/pubs/pc/reference/ibm/5170/setup/manifest.xml @@ -1,5 +1,5 @@ - + IBM 5170 Installation and Setup (March 1984) minuszerodegrees.net diff --git a/pubs/pc/reference/ibm/5170/techref/manifest.xml b/pubs/pc/reference/ibm/5170/techref/manifest.xml index 5f275d0abc..3702b9f4d4 100644 --- a/pubs/pc/reference/ibm/5170/techref/manifest.xml +++ b/pubs/pc/reference/ibm/5170/techref/manifest.xml @@ -1,5 +1,5 @@ - + IBM 5170 Technical Reference minuszerodegrees.net diff --git a/pubs/pc/reference/ibm/ega/manifest.xml b/pubs/pc/reference/ibm/ega/manifest.xml index 22f8c73722..c7f5f7721f 100644 --- a/pubs/pc/reference/ibm/ega/manifest.xml +++ b/pubs/pc/reference/ibm/ega/manifest.xml @@ -1,5 +1,5 @@ - + IBM Enhanced Graphics Adapter minuszerodegrees.net diff --git a/pubs/pc/reference/ibm/ps2/manifest.xml b/pubs/pc/reference/ibm/ps2/manifest.xml index af8b0beeb2..cda148748e 100644 --- a/pubs/pc/reference/ibm/ps2/manifest.xml +++ b/pubs/pc/reference/ibm/ps2/manifest.xml @@ -1,5 +1,5 @@ - + PS/2 Technical Reference diff --git a/pubs/pc/reference/intel/80286/manifest.xml b/pubs/pc/reference/intel/80286/manifest.xml index 5676450d64..66f3f45ff8 100644 --- a/pubs/pc/reference/intel/80286/manifest.xml +++ b/pubs/pc/reference/intel/80286/manifest.xml @@ -1,5 +1,5 @@ - + Intel 80286 References diff --git a/pubs/pc/software/os2/sdk10/manifest.xml b/pubs/pc/software/os2/sdk10/manifest.xml index d493e08dcb..fecf8888e3 100644 --- a/pubs/pc/software/os2/sdk10/manifest.xml +++ b/pubs/pc/software/os2/sdk10/manifest.xml @@ -1,5 +1,5 @@ - + OS/2 1.0 Programmer's Toolkit 1.0 diff --git a/pubs/pc/software/windows/sdk20/manifest.xml b/pubs/pc/software/windows/sdk20/manifest.xml index b9ba18f41e..392d18ca29 100644 --- a/pubs/pc/software/windows/sdk20/manifest.xml +++ b/pubs/pc/software/windows/sdk20/manifest.xml @@ -1,5 +1,5 @@ - + Microsoft Windows Software Development Kit 2.0 diff --git a/server.js b/server.js index 1d583bca56..925b3b95cd 100644 --- a/server.js +++ b/server.js @@ -4,7 +4,7 @@ * @version 1.0 * Created 2014-02-01 * - * Copyright © 2012-2014 Jeff Parsons + * Copyright © 2012-2015 Jeff Parsons * * This file is part of the JavaScript Machines Project (aka JSMachines) at * and . diff --git a/versions/c1pjs/1.16.5/c1p-dbg.js b/versions/c1pjs/1.16.5/c1p-dbg.js new file mode 100644 index 0000000000..7178028fa9 --- /dev/null +++ b/versions/c1pjs/1.16.5/c1p-dbg.js @@ -0,0 +1,171 @@ +(function(){var f;function aa(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function n(a){return aa(a,2)}function p(a){return aa(a,4)}function ba(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0":">",'"':""","'":"'"}; +function da(a){return a.replace(/[&<>"']/g,function(a){return ca[a]})}function q(){return Date.now()||+new Date} +function s(a,b,c){var d;d=!0;var e=0,g=null,h=ba(a),k=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");d&&(k.onreadystatechange=function(){4===k.readyState&&(g=k.responseText,200==k.status||!k.status&&g.length&&"file:"==(window?window.location.protocol:"file:")||(e=k.status||-1),c&&(b?c.call(b,h,g,e,void 0):c(h,g,e,void 0)))});k.open("GET",a,d);k.send();d||(g=k.responseText,200!=k.status&&(e=k.status||-1),c&&(b?c.call(b,h,g,e,void 0):c(h,g,e,void 0)))} +function t(a){window&&window.alert(a)}function u(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}function ea(a,b,c){function d(){a-=1;0<=a&&(b()||(a=0));0=a.Na?a.Ib:a.speed+1,!0)}}(this),a=!0}return a}; +f.W=function(a,b,c){this.a=a;this.aa=b;this.sc=c-b+1;this.$a=this.aa+this.sc;this.aa?t("unsupported CPU address buffer offset ("+this.aa+")"):this.Q()};f.ca=function(a,b){if(a&&!this.o.C){this.O=b;(this.m=M(b,"debugger"))&&this.m.Pf();var c=M(b,"video");c&&(this.uc=function(a){return function(){ta(a)}}(c),this.X=function(a){return function(){a.X()}}(c));this.o.C=!0;this.reset(!0);this.update()}};function ua(a,b,c,d,e){0>va(a.Ea,b,c,d,e)&&(a.oc>b&&(a.oc=b),a.pc=a.Ea[d][0]&&b<=a.Ea[d][1]&&a.Ea[d][3].call(a.Ea[d][2],b,c)}function O(a,b,c,d,e){0>va(a.ua,b,c,d,e)&&(a.Mb>b&&(a.Mb=b),a.Nb=a.ua[d][0]&&b<=a.ua[d][1]&&a.ua[d][3].call(a.ua[d][2],b,c)}function va(a,b,c,d,e){for(var g=0;ga.Ib&&a.wa&&(d=a.wa);d>a.nb&&a.speedc?c=0:a.speed==a.rd?a.wa<=a.nb&&(c=0):a.speed==a.Na&&(c=0);a.Bc+=a.rb;return c} +f.Aa=function(){if(J(this,!0)){this.o.ia||(N(this),this.O&&this.O.start(),this.o.ia=!0,this.s.run&&(this.s.run.innerHTML="Halt"),this.X());this.Bc>=this.qb&&ya(this,!0);this.rb=0;this.Wf=q();try{do{this.step(this.Xb);var a=this.xa-this.G;this.Za+=a;this.rb+=a;this.xa=this.G=0;this.pb-=this.Xb;0>=this.pb&&(this.pb+=this.Ld,this.uc());this.ob-=this.Xb;0>=this.ob&&(this.ob+=this.Kd,za(this));this.Xa-=this.Xb;if(0>=this.Xa){this.Xa+=this.yc;break}}while(this.o.ia)}catch(b){this.U();this.update();J(this, +!1);oa(this,b.message);return}setTimeout(function(a){return function(){a.Aa()}}(this),Ba(this))}else this.update(),this.O&&this.O.stop(this.Jd,this.Za)}; +f.step=function(a){var b=!0;this.b=this.h=-1;var c;if(c=a)if(c=this.m)c=this.m,c=0=d.Fa.length&&(d.lb=0));d=!!g}if(d){b=void 0;this.U();break}this.d++;this.u[a].call(this);if(0<=this.b){this.b>=this.oc&&this.b<=this.pc&&wa(this,this.b,this.d);if(d=c)d=this.m,e=!1,Ca(d,this.b,d.Da,"read")&&(e=!0),d=!!e;if(d){b= +!1;this.U();break}this.b=-1}else if(0<=this.h){this.h>=this.Mb&&this.h<=this.Nb&&xa(this,this.h,this.d);if(d=c){d=this.m;var e=this.h,g=this.a[this.h],h=!1;(g&255)!=g&&(d.i("invalid value at "+p(e)+": "+g),h=!0);Ca(d,e,d.Ga,"write")&&(h=!0);d=!!h}if(d){b=!1;this.U();break}this.h=-1}this.G-=this.Ef[a]}while(0>1)&128?64:0),b=b|(a.f&128?128:0);return a.A&60|b} +function Fa(a){a.A|=8;a.u[97]=a.fg;a.u[101]=a.hg;a.u[105]=a.eg;a.u[109]=a.bg;a.u[113]=a.gg;a.u[117]=a.ig;a.u[121]=a.dg;a.u[125]=a.cg;a.u[225]=a.vi;a.u[229]=a.xi;a.u[233]=a.ui;a.u[237]=a.ri;a.u[241]=a.wi;a.u[245]=a.yi;a.u[249]=a.ti;a.u[253]=a.si}function Ga(a){a.A&=-9;a.u[97]=a.Xd;a.u[101]=a.Zd;a.u[105]=a.Wd;a.u[109]=a.Td;a.u[113]=a.Yd;a.u[117]=a.$d;a.u[121]=a.Vd;a.u[125]=a.Ud;a.u[225]=a.ee;a.u[229]=a.ge;a.u[233]=a.de;a.u[237]=a.ae;a.u[241]=a.fe;a.u[245]=a.he;a.u[249]=a.ce;a.u[253]=a.be} +function Q(a,b,c){var d=a.c&256?1:0,e=(b&15)+(c&15)+d;10<=e&&(e=e+6&15|16);e+=(b&240)+(c&240);a.w=b^c;a.v=e;a.f=e&255;160<=e&&(e+=96);512<=e&&(e-=256);a.c=e;a.g=b+c+d&255;a.G--;return e&255}function R(a,b,c){var d=a.c&256?0:1,e=(b&15)-(c&15)-d;0>e&&(e=(e-6&15)-16);e+=(b&240)-(c&240);0>e&&(e-=96);a.f=a.g=(a.c=b-c-d)&255;a.w=b^c;a.v=a.c;a.c^=256;a.G--;return e&255}function sa(a){a.e=0;a.n=0;a.q=0;a.r=256;a.A=0;a.f=0;a.g=0;a.w=0;a.v=0;a.c=0;a.d=0;a.b=-1;a.h=-1;a.wa=0;a.Za=a.xa=a.G=0} +f.Eg=function(){this.d++;this.a[this.r--]=this.d>>8;this.r|=256;this.a[this.r--]=this.d&255;this.r|=256;this.A|=16;this.A=Aa(this);this.a[this.r--]=this.A;this.r|=256;this.A&=239;this.b=65534;this.d=this.a[this.b]|this.a[this.b+1]<<8};f.Yh=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e|=this.a[this.b]};f.$h=function(){this.b=this.a[this.d++];this.f=this.g=this.e|=this.a[this.b]}; +f.ug=function(){this.h=this.a[this.d++];this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};f.ci=function(){this.A=Aa(this);this.a[this.r--]=this.A;this.r|=256};f.Xh=function(){this.b=this.d++;this.f=this.g=this.e|=this.a[this.b]};f.tg=function(){this.c=this.e<<1;this.f=this.g=this.e=this.c&255};f.Uh=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e|=this.a[this.b]}; +f.rg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};f.Dg=function(){this.d+=(this.f&128?0:(this.G--,this.a[this.d]<<24>>24))+1};f.Zh=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.f=this.g=this.e|=this.a[this.b]};f.ai=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.e|=this.a[this.b]}; +f.vg=function(){this.h=this.a[this.d++]+this.n&255;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};f.Hg=function(){this.c=0};f.Wh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.e|=this.a[this.b]};f.Vh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e|=this.a[this.b]};f.sg=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255}; +f.vh=function(){this.b=this.d++;this.a[this.r--]=this.d>>8;this.r|=256;this.a[this.r--]=this.d&255;this.r|=256;this.d=this.a[this.b]|this.a[this.b+1]<<8};f.ng=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e&=this.a[this.b]};f.Ag=function(){this.b=this.a[this.d++];this.g=this.e&this.a[this.b];this.f=this.f&127|this.a[this.b]&128;this.v=0;this.w=this.a[this.b]&64?128:0};f.pg=function(){this.b=this.a[this.d++];this.f=this.g=this.e&=this.a[this.b]}; +f.ii=function(){this.h=this.a[this.d++];this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};f.ei=function(){this.r=this.r+1&255|256;this.A=this.a[this.r];this.c=this.A&1?256:0;this.g=this.A&2?0:1;this.f=this.A&128;this.v=0;this.w=this.A&64?128:0};f.mg=function(){this.b=this.d++;this.f=this.g=this.e&=this.a[this.b]}; +f.hi=function(){this.c=this.c&65280|this.e;this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.e=this.c&255};f.zg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.g=this.e&this.a[this.b];this.f=this.f&127|this.a[this.b]&128;this.v=0;this.w=this.a[this.b]&64?128:0};f.jg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e&=this.a[this.b]}; +f.fi=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};f.Bg=function(){this.d+=(this.f&128?(this.G--,this.a[this.d]<<24>>24):0)+1};f.og=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.f=this.g=this.e&=this.a[this.b]};f.qg=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.e&=this.a[this.b]}; +f.ji=function(){this.h=this.a[this.d++]+this.n&255;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};f.zi=function(){this.c=256};f.lg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.e&=this.a[this.b]};f.kg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e&=this.a[this.b]}; +f.gi=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};f.pi=function(){this.r=this.r+1&255|256;this.A=this.a[this.r];this.c=this.A&1?256:0;this.g=this.A&2?0:1;this.f=this.A&128;this.v=0;this.w=this.A&64?128:0;this.r=this.r+2&255|256;this.d=this.a[this.r-1|256]|this.a[this.r]<<8}; +f.jh=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e^=this.a[this.b]};f.lh=function(){this.b=this.a[this.d++];this.f=this.g=this.e^=this.a[this.b]};f.Rh=function(){this.h=this.a[this.d++];this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255};f.bi=function(){this.a[this.r--]=this.e;this.r|=256};f.ih=function(){this.b=this.d++;this.f=this.g=this.e^=this.a[this.b]}; +f.Qh=function(){this.c=this.c&65279|(this.e&1?256:0);this.e=(this.c=this.c&65280|this.e>>1)&255;this.f=this.g=this.c&255};f.uh=function(){this.b=this.d;this.d=this.a[this.b]|this.a[this.b+1]<<8};f.fh=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e^=this.a[this.b]};f.Oh=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +f.Fg=function(){this.d+=((this.v&255^this.w^this.v>>1)&128?0:(this.G--,this.a[this.d]<<24>>24))+1};f.kh=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.f=this.g=this.e^=this.a[this.b]};f.mh=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.e^=this.a[this.b]};f.Sh=function(){this.h=this.a[this.d++]+this.n&255;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +f.Jg=function(){this.A&=251};f.hh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.e^=this.a[this.b]};f.gh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e^=this.a[this.b]};f.Ph=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +f.qi=function(){this.r=this.r+2&255|256;this.d=(this.a[this.r-1|256]|this.a[this.r]<<8)+1};f.Xd=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.fg=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.e=Q(this,this.e,this.a[this.b])}; +f.Zd=function(){this.b=this.a[this.d++];this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.hg=function(){this.b=this.a[this.d++];this.e=Q(this,this.e,this.a[this.b])};f.ni=function(){this.h=this.a[this.d++];this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};f.di=function(){this.r=this.r+1&255|256;this.f=this.g=this.e=this.a[this.r]}; +f.Wd=function(){this.b=this.d++;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.eg=function(){this.b=this.d++;this.e=Q(this,this.e,this.a[this.b])};f.mi=function(){this.c=this.c&65280|this.e;this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.e=this.c&255};f.th=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.d=this.a[this.b]|this.a[this.b+1]<<8}; +f.Td=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.bg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.e=Q(this,this.e,this.a[this.b])};f.ki=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255}; +f.Gg=function(){this.d+=((this.v&255^this.w^this.v>>1)&128?(this.G--,this.a[this.d]<<24>>24):0)+1};f.Yd=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.gg=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.e=Q(this,this.e,this.a[this.b])}; +f.$d=function(){this.b=this.a[this.d++]+this.n&255;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.ig=function(){this.b=this.a[this.d++]+this.n&255;this.e=Q(this,this.e,this.a[this.b])};f.oi=function(){this.h=this.a[this.d++]+this.n&255;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};f.Bi=function(){this.A|=4}; +f.Vd=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255};f.dg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.e=Q(this,this.e,this.a[this.b])};f.Ud=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255}; +f.cg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.e=Q(this,this.e,this.a[this.b])};f.li=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};f.Fi=function(){this.h=this.a[this.d++]+this.n&255;this.h=this.a[this.h]|this.a[this.h+1]<<8;this.a[this.h]=this.e};f.Ni=function(){this.h=this.a[this.d++];this.a[this.h]=this.q}; +f.Hi=function(){this.h=this.a[this.d++];this.a[this.h]=this.e};f.Ki=function(){this.h=this.a[this.d++];this.a[this.h]=this.n};f.eh=function(){this.f=this.g=this.q=this.q-1&255};f.Ti=function(){this.f=this.g=this.e=this.n};f.Mi=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.q};f.Ci=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.e};f.Ji=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.n}; +f.wg=function(){this.d+=(this.c&256?0:(this.G--,this.a[this.d]<<24>>24))+1};f.Gi=function(){this.h=this.a[this.d++];this.h=(this.a[this.h]|this.a[this.h+1]<<8)+this.q;this.a[this.h]=this.e};f.Oi=function(){this.h=this.a[this.d++]+this.n&255;this.a[this.h]=this.q};f.Ii=function(){this.h=this.a[this.d++]+this.n&255;this.a[this.h]=this.e};f.Li=function(){this.h=this.a[this.d++]+this.q&255;this.a[this.h]=this.n};f.Vi=function(){this.f=this.g=this.e=this.q}; +f.Ei=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.a[this.h]=this.e};f.Ui=function(){this.r=this.n|256};f.Di=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.a[this.h]=this.e};f.Lh=function(){this.b=this.d++;this.f=this.g=this.q=this.a[this.b]};f.Ah=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e=this.a[this.b]};f.Gh=function(){this.b=this.d++;this.f=this.g=this.n=this.a[this.b]}; +f.Mh=function(){this.b=this.a[this.d++];this.f=this.g=this.q=this.a[this.b]};f.Ch=function(){this.b=this.a[this.d++];this.f=this.g=this.e=this.a[this.b]};f.Hh=function(){this.b=this.a[this.d++];this.f=this.g=this.n=this.a[this.b]};f.Ri=function(){this.f=this.g=this.q=this.e};f.zh=function(){this.b=this.d++;this.f=this.g=this.e=this.a[this.b]};f.Qi=function(){this.f=this.g=this.n=this.e};f.Jh=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.q=this.a[this.b]}; +f.wh=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e=this.a[this.b]};f.Eh=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.n=this.a[this.b]};f.xg=function(){this.d+=(this.c&256?(this.G--,this.a[this.d]<<24>>24):0)+1};f.Bh=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.f=this.g=this.e=this.a[this.b]};f.Nh=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.q=this.a[this.b]}; +f.Dh=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.e=this.a[this.b]};f.Ih=function(){this.b=this.a[this.d++]+this.q&255;this.f=this.g=this.n=this.a[this.b]};f.Kg=function(){this.w=this.v=0};f.yh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.e=this.a[this.b]};f.Si=function(){this.f=this.g=this.n=this.r&255};f.Kh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.q=this.a[this.b]}; +f.xh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e=this.a[this.b]};f.Fh=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.n=this.a[this.b]};f.Xg=function(){this.b=this.d++;this.f=this.g=this.c=this.q-this.a[this.b];this.c^=256};f.Pg=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256}; +f.Yg=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.q-this.a[this.b];this.c^=256};f.Rg=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.ah=function(){this.h=this.a[this.d++];this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};f.sh=function(){this.f=this.g=this.q=this.q+1&255};f.Og=function(){this.b=this.d++;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.dh=function(){this.f=this.g=this.n=this.n-1&255}; +f.Wg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.q-this.a[this.b];this.c^=256};f.Lg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.Zg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};f.Cg=function(){this.d+=(this.g&255?(this.G--,this.a[this.d]<<24>>24):0)+1}; +f.Qg=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.Sg=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.bh=function(){this.h=this.a[this.d++]+this.n&255;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};f.Ig=function(){Ga(this)}; +f.Ng=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.Mg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};f.$g=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};f.Ug=function(){this.b=this.d++;this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256}; +f.ee=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.vi=function(){this.b=this.a[this.d++]+this.n&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.e=R(this,this.e,this.a[this.b])};f.Vg=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256}; +f.ge=function(){this.b=this.a[this.d++];this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.xi=function(){this.b=this.a[this.d++];this.e=R(this,this.e,this.a[this.b])};f.ph=function(){this.h=this.a[this.d++];this.f=this.g=this.a[this.h]=this.a[this.h]+1&255};f.rh=function(){this.f=this.g=this.n=this.n+1&255}; +f.de=function(){this.b=this.d++;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.ui=function(){this.b=this.d++;this.e=R(this,this.e,this.a[this.b])};f.Th=function(){};f.Tg=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256}; +f.ae=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.ri=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.e=R(this,this.e,this.a[this.b])};f.nh=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255};f.yg=function(){this.d+=(this.g&255?0:(this.G--,this.a[this.d]<<24>>24))+1}; +f.fe=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.wi=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.q;this.e=R(this,this.e,this.a[this.b])}; +f.he=function(){this.b=this.a[this.d++]+this.n&255;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.yi=function(){this.b=this.a[this.d++]+this.n&255;this.e=R(this,this.e,this.a[this.b])};f.qh=function(){this.h=this.a[this.d++]+this.n&255;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255};f.Ai=function(){Fa(this)}; +f.ce=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.ti=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.q;this.e=R(this,this.e,this.a[this.b])}; +f.be=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.w=this.e^this.a[this.b];this.v=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};f.si=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.e=R(this,this.e,this.a[this.b])};f.oh=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255}; +f.Pi=function(){var a;a=this.a[this.d++];switch(a){case this.yf:this.i("HALT");this.U();break;case this.qd:a=this.d;for(var b="";a=c&&(c+=32);a.Ka=a.Ka.substr(1);La(a,c)}0=b&&(b+=32),Na(a,b),U(a,b,!0,a.pd)&&(a.l.speed==a.l.Na?U(a,b,!1,a.wf):(c=!1,a.ea[b]&&(clearTimeout(a.ea[b]),c=!0),c=Ma(a,c),a.ea[a.za=b]=setTimeout(function(a){return function(){U(a,b,!1,a.xf)}}(a),c),a.m&&I(a.m,a.m.Ba)&&a.m.message("keyPressSimulate("+n(b)+"): setTimeout()")),c=!0));a.m&&I(a.m,a.m.Ba)&&a.m.message("keyPressSimulate("+n(b)+"): "+(c?"true":"false"));return c} +function U(a,b,c,d){var e=!1;c||(a.ea[b]=null,a.za==b&&(a.za=0));var g=0,h=a.k[b];void 0===h&&(1<=b&&26>=b&&(b+=64,g=a.Ab),h=a.k[b]);void 0!==h&&(b=h>>12,e=h>>8&15,g||(g=h&255),c?(a.N[b]|=1<d||d>=this.Xf}a&&(d=this.lc.shift(),void 0!==d&&(this.yd=d),this.Ec=0,this.Md=c);for(d=c=0;8>d;d++)this.zd&1<d[g][0]&&(h=d[g][0]),k=a.Fd&&(d-=a.Fd,dMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","c1pjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.setAttribute("contenteditable","true");e.setAttribute("autocapitalize","off");e.setAttribute("autocorrect","off");e.style.backgroundColor=d.screenColor; +e.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var g=new Image,h=e.getContext("2d"),e=new Pa(d,e,h,g);g.onload=function(a){return function(){a.Q()}}(e,d.charSet);g.src=d.charSet;F(e,c)}}); +function Sa(a){A.call(this,"C1PSerialPort",a);this.o.C=!1;this.Ed=a.demo;this.Af=0;this.zf=1;this.reset()}C(Sa);f=Sa.prototype;f.reset=function(){if(2!=this.Ha){this.Ob=this.qc=0;var a=1;if(this.Hd){var b=this.Hd.match(/\d+/);null!==b&&(a=parseInt(b[0],10))}this.ab='10 PRINT "HELLO OSI #'+a+'"\n';this.Ha=this.Vb=0}};f.start=function(){this.H&&this.Ed&&(V(this.H," C\n\n",3E3),setTimeout(function(a){return function(){a.Ha=1;V(a.H,"LOAD\n")}}(this),12E3));this.Ed=!1}; +f.J=function(a,b,c){var d=this;switch(b){case "listSerial":return this.s[b]=c,!0;case "loadSerial":return this.s[b]=c,c.onclick=function(){d.s.listSerial&&s(d.s.listSerial.value,d,d.Id)},!0;case "mountSerial":return!u("Mobi")&&window&&"FileReader"in window?(this.s[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){var b=a.currentTarget[1].files[0],c=new FileReader;c.onload=function(){d.Id(b.name,c.result.toString(), +0)};c.readAsText(b);return!1}):c.parentNode.removeChild(c),!0}return!1};f.W=function(a,b,c,d){this.a=a;this.Gc=b;this.Hf=c-b+1;this.Sd=this.Gc+this.Hf;if(this.l=d)ua(d,b,c,this,this.I),O(d,b,c,this,this.P);this.Q()};f.ca=function(a,b){a&&!this.o.C&&(this.o.C=!0,this.O=b,this.H=M(b,"keyboard"),this.m=M(b,"debugger"))}; +f.Id=function(a,b,c){b?(this.ab=b,this.Ha=this.Vb=0,this.O&&this.H&&this.l.o.ia?(this.i("auto-loading "+a),this.l.X(),"."!=this.ab.charAt(0)?(this.Ha=1,V(this.H,"NEW\nLOAD\n")):(this.Ha=2,this.O.reset(!0),V(this.H,"ML"))):this.i(a+" ready to load")):this.i(a+" load error ("+c+")")};f.I=function(a,b){void 0!==b&&(a&1?Ta(this):this.ab&&!this.Vb&&Ta(this))};f.P=function(a,b){void 0!==b&&this.m&&T(this.m,this,a,b,this.m.Tc,!0)}; +function Ta(a){if(void 0!==a.ab){a.qc=0;a.Ob=0;if(a.Vb=--d.Ya&&(0=d.Qd&&(d.ja=d.Qd),0>d.ja&&(d.ja=0),d.Ya=20,a.Ia.update(a.Ia.t|a.kc),Xa(a))}this.t=c;a.ac.t&a.La&&W(a,a.od,this)}}(a)};a.ac={t:0,ba:function(){},update:function(a){return function(c){void 0!==c&&(this.t=c&~(a.Oc|a.Pc));W(a,a.ld,this);a.tb.update();a.ke.update()}}(a)};a.Wi={t:0,ba:function(){},update:function(a){return function(c){void 0!==c&&((c&a.Qc)==a.Qc&&(a.Ja.t=a.vd|a.td|a.sd),this.t=c);a.Ja.update()}}(a)};a.Ja={t:a.vd|a.td|a.sd,ba:function(){},update:function(a){return function(c){void 0=== +c&&(c=a.Ja.t);c&=~a.ud;0<=a.L&&0<=a.V[a.L].Wa&&(c|=a.ud);this.t=c;W(a,a.tf,this)}}(a)};a.Kc={t:0,ba:function(a){return function(){Ya(a)}}(a),update:function(a){return function(c){void 0!==c&&(this.t=c);W(a,a.md,this)}}(a)};a.Xi={t:0,ba:function(){},update:function(){return function(){}}(a)}} +f.J=function(a,b,c){switch(b){case "listDisk":return this.s[b]=c,!0;case "loadDisk":return this.s[b]=c,c.onclick=function(a){return function(){if(a.s.listDisk){var b=a.s.listDisk.value,c=b;".json"!=b.substr(b.length-5)&&(c="http://"+window.location.host+"/api/v1/dump?disk="+b);a.i("loading "+ba(b)+"...");s(c,a,a.Qf)}}}(this),!0}return!1};f.W=function(a,b,c,d){this.a=a;this.nc=b;if(this.l=d)ua(d,b,c,this,this.I),O(d,b,c,this,this.P);this.Q()}; +f.ca=function(a,b){a&&!this.o.C&&(this.o.C=!0,this.m=M(b,"debugger"))}; +f.Qf=function(a,b,c){if(c)this.i("disk load error ("+c+")");else{c=[];this.i("mounting "+a+"...");try{if(c=eval("("+b+")"),c.length)if(c[0].length){var d=c[0];if(void 0===d[0].trackNum)this.i("data error: "+d[0]);else if(this.V[0]){for(b=0;b>8&255);a.push(b&255)}function Za(a,b,c){b=b[c];if(void 0===b)throw Error("missing signature: "+c);for(c=0;cb?b&=3:32>b&&(b&=17);switch(b){case a.nd:a=a.$b.t&a.La?a.Ia:a.je;break;case a.kd:a=a.$b;break;case a.od:a=a.ac.t&a.La?a.tb:a.ke;break;case a.ld:a=a.ac;break;case a.qf:a=c?a.Wi:a.Ja;break;case a.md:a=a.Kc;break;default:a=a.Xi}return a}f.I=function(a,b){if(void 0!==b){var c=ab(this,a-this.nc,!1);this.m&&T(this.m,this,a,b,this.m.Ma,!1,c.le);c.ba()}}; +f.P=function(a,b){if(void 0!==b){var c=this.l.I(a),d=ab(this,a-this.nc,!0);if(this.m&&I(this.m,this.m.Ma|this.m.ec)&&(T(this.m,this,a,b,this.m.Ma,!0,d.le),d.Cf))for(var e=128,g=d.t^c;g&&e;)g&e&&this.m.message(" changed "+d.le+"."+d.Cf[e]+" to "+(c&e?"1":"0")),e>>=1;d.update(c)}};function Wa(a,b,c){var d=-1;void 0!==b&&void 0!==c&&(d=0,c&a.pf||(d|=2),a.Ia.t&a.ed||(d|=1));a.L!=d&&(a.L=d,a.Ja.update())}function Xa(a){0<=a.L&&(a.V[a.L].Wa=-1,a.Kc.update(255),a.Ja.update())} +function Ya(a){var b=null;if(0<=a.L){var b=a.V[a.L],c=b.Kb[b.ja];void 0!==c&&(0<=b.Wa&&b.Wa>24)} +f.I=function(a){var b;a>=this.aa&&a=this.$a?this.i("invalid address: "+p(a)):(this.a[this.aa+a]=b&255,xa(this.l,a),this.l.update())};function jb(a,b){Y(a.ta,b,void 0)||a.ta.push(b);return!0}function Y(a,b,c){for(var d=!1,e=0;eh&&(m+=" ;'"+String.fromCharCode(h)+"'")}if(e==a.l.hc&&(h< +a.wd.length&&(m=a.wd[h]),h==a.l.qd)){l=0;for(m='"';h=a.I(b++);)16>l?m+=String.fromCharCode(h):16==l&&(m+="\u2026"),l++;m+='"'}m&&(d+=" "+m);c&&(d=(d+" ").substr(0,30),d+=";"+c.toString());a.$f=b;return d} +function Z(a,b){var c=a.ya;if(void 0!==b){var d=16;"$"==b.charAt(0)?b=b.substr(1):"0x"==b.substr(0,2)?b=b.substr(2):"."==b.charAt(b.length-1)&&(d=10,b=b.substr(0,b.length-1));c=parseInt(b,d);isNaN(c)&&(a.i("invalid base-"+d+" address: "+b),c=void 0)}void 0!==c&&(c=a.$a)&&(a.i("address out of range: "+aa(c)),c=void 0);return c} +function mb(a,b){if("?"==b)a.i("\nfrequency commands:"),a.i("clear\tclear all frequency counts");else{var c=0,d;if(a.ga)if("clear"==b){for(d=0;da.Df.indexOf(k)&&(e=a.D);e==a.Uc&&k!=a.Gb&&(e=a.D)}else a.i("unknown operand: "+l),k=-1;if(0<=k){m=-1;for(h=0;hm)m=h;else{a.i("too many instruction matches (both "+n(m)+" and "+n(h)+")");m=-2;break}if(0<=m){if(d.push(m),void 0!==e)if(g=a.Z[m][1],l=l.match(/[0-9A-F]+/),null!==l)for(l=parseInt(l[0],16),1==g&&e==a.Y&&(l-=c+2,-128>l||127>>=8;else g&& +a.i("instruction missing "+g+" bytes")}else a.i("unknown instruction: "+g+" "+l+"")}}e=d;if(e.length){for(c=0;ck&&em?String.fromCharCode(m):".",e++;a.i(p(h)+" "+g+l)}a.ya=e}break;case "e":e=c[1];if(void 0===e)a.i("missing address");else if(e=Z(a,e),void 0!==e)for(d=2;dd.length&&(a.i("note: only "+d.length+" available"),g=d.length); +void 0!==l&&(a.Ac=0,a.i(g+" instructions earlier:"));l=a.Ac?a.Ac:1;c-=g;for(0>c&&(c=d.length-1);e&&c!=a.lb;){h=d[c];if(0>h)break;a.i(lb(a,h,l++));++c==d.length&&(c=0);e--;g--}a.Zf=g;a.Ac=l}10==e&&a.i("no history available");break;case "r":gb(a,c);break;case "s":a.I(a.l.d)==a.l.Hb?(kb(a,a.l.d+3),a.Va=!0,a.Aa()||a.l.X()):nb(a);break;case "t":nb(a,c[1]);break;case "u":fb(a,c[1],c[2],8);break;case "?":case "help":a.i("\ncommands:\n?\thelp\na [#]\tassemble\nb [#]\tbreakpoint\nd [#]\tdump memory\ne [#]\tedit memory\nf\tdump frequencies\ng [#]\trun to [#]\nh\thalt\no\toptions\np [#]\tdump history\nr\tdump/edit registers\ns\tstep over instruction\nt [#]\tstep instruction(s)\nu [#]\tunassemble"); +a.i("note: frequency and history commands operate only when breakpoints are set");break;default:a.i("unknown command: "+b)}}}x(function(){for(var a=H(window.document,"c1pjs","debugger"),b=0;b");b&&b.ca(!0,a)} +x(function(){for(var a=H(window.document,"c1pjs","computer"),b=0;b');return}}if(void 0===h){t(' definition must appear first in the specification'); +break}if(e=D("debugger",d.id))g["debugger"]=[e],e.W&&e.W(h,k,l,g.cpu[0]);k=new $(d,g);if(l=D("panel",d.id))if(g.panel=[l],l.tc){e=d.id;d=void 0;g=[];e&&(e=0<(d=e.indexOf("."))?e.substr(0,d+1):"");for(d=0;dk.indexOf("/")&&(k=window.location.pathname+k);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(k?" url=$2"+k+"$2":""))}k=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),k=new window.ActiveXObject("Microsoft.XMLDOM"),k.async=!1,k.loadXML(a)):k=(new window.DOMParser).parseFromString(a,"text/xml")}catch(G){k= +null,a=G.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");s(e,null,function(g,h,k){if(k||!h)c(a,"unable to resolve XML reference: "+d[0]+" ("+k+")");else{if(g=d[3])if(k=h.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=k[0],m,r=/( [a-z]+=)(['"])(.*?)\2/g;m=r.exec(g);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);k[0]!=l&&(h=h.replace(k[0],l))}else{c(a,"missing <"+d[1]+"> in "+e);return}h=h.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],h);sb(a,b,c)}})}else c(a,null)} +function tb(a,b,c){function d(a){if(void 0===h){var b=g&&H(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=da(a))}function e(a){d("Error: "+a);k&&(--pb||z(!0));k=!1}var g,h,k=!0;pb++;try{if(g=window.document.getElementById(a)){c||(c="/versions/c1pjs/1.16.5/components.xsl");var l=function(a,h){if(h){var k=function(a,k){if(k)if(k)if(d("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var l=h.transformNode(k);l?(g.outerHTML=l,--pb||z(!0)):e("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(l=new XSLTProcessor,l.importStylesheet(k),(l=l.transformToFragment(h,window.document))?(g.parentNode.replaceChild(l,g),--pb||z(!0)):e("transformToFragment failed")):e("unable to transform XML: unsupported browser");else e("failed to load XSL file: "+c);else e(a)};h?qb(c,null,null,!1,d,k):e("failed to load XML file: "+b)}else e(a)};"<"!=b.charAt(0)?qb(b,a,void 0,!0,d,l):rb(b,null,a,void 0,!1,d,l)}else e("failed to find machine element: "+a)}catch(m){e(m.message)}return k} +window.embedC1P=function(a,b,c){z(!1);return tb(a,b,c)};window.enableEvents=z;window.sendEvent=ia;})(); diff --git a/versions/c1pjs/1.16.5/c1p.js b/versions/c1pjs/1.16.5/c1p.js new file mode 100644 index 0000000000..10a08e3188 --- /dev/null +++ b/versions/c1pjs/1.16.5/c1p.js @@ -0,0 +1,130 @@ +(function(){var e;function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0":">",'"':""","'":"'"};function ca(a){return a.replace(/[&<>"']/g,function(a){return ba[a]})} +function q(a,b,c){var d;d=!0;var f=0,g=null,k=aa(a),h=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");d&&(h.onreadystatechange=function(){4===h.readyState&&(g=h.responseText,200==h.status||!h.status&&g.length&&"file:"==(window?window.location.protocol:"file:")||(f=h.status||-1),c&&(b?c.call(b,k,g,f,void 0):c(k,g,f,void 0)))});h.open("GET",a,d);h.send();d||(g=h.responseText,200!=h.status&&(f=h.status||-1),c&&(b?c.call(b,k,g,f,void 0):c(k,g,f,void 0)))} +function r(a){window&&window.alert(a)}function s(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var t={init:[],show:[],exit:[]},da=!1,u=!0;function v(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function w(a){t.init.push(a)} +function x(a){if(u)try{for(var b=0;b=a.pa?a.bb:a.speed+1,!0)}}(this),a=!0}return a}; +e.Q=function(a,b){this.a=a;(this.qc=b)?r("unsupported CPU address buffer offset ("+this.qc+")"):this.K()};e.T=function(a,b){if(a&&!this.m.B){this.H=b;var c=M(b,"video");c&&(this.lb=function(a){return function(){na(a)}}(c),this.ea=function(a){return function(){a.ea()}}(c));this.m.B=!0;this.reset(!0);this.update()}};function oa(a,b,c,d,f){0>pa(a.Z,b,c,d,f)&&(a.gb>b&&(a.gb=b),a.hbpa(a.U,b,c,d,f)&&(a.Ja>b&&(a.Ja=b),a.Kaa.bb&&a.X&&(d=a.X);d>a.Ra&&a.speed=a.wa&&qa(a,!0);a.xa=0;a.Ud=Date.now()||+new Date} +function ua(a){var b=Date.now()||+new Date,c=a.Rd;a.xa&&(c=Math.round(c*a.xa/a.ob));c-=b-a.Ud;if(b-=a.hc)a.X=Math.round(a.ma/(100*b))/10,864E5<=b&&ma(a);0>c?c=0:a.speed==a.zd?a.X<=a.Ra&&(c=0):a.speed==a.pa&&(c=0);a.qb+=a.xa;return c} +function O(a){if(ia(a,!0)){a.m.S||(ma(a),a.H&&a.H.start(),a.m.S=!0,a.p.run&&(a.p.run.innerHTML="Halt"),a.ea());ta(a);try{do{a.step(a.Ta);var b=a.Y-a.C;a.ma+=b;a.xa+=b;a.Y=a.C=0;a.va-=a.Ta;0>=a.va&&(a.va+=a.jc,a.lb());a.ua-=a.Ta;0>=a.ua&&(a.ua+=a.ic,ra(a));a.ka-=a.Ta;if(0>=a.ka){a.ka+=a.ob;break}}while(a.m.S)}catch(c){N(a);a.update();ia(a,!1);K(a,c.message);return}setTimeout(function(a){return function(){O(a)}}(a),ua(a))}else a.update(),a.H&&a.H.stop(a.hc,a.ma)} +e.step=function(a){this.b=this.h=-1;this.Y=this.C=a;do{a=this.a[this.d];this.d++;this.r[a].call(this);if(0<=this.b){if(this.b>=this.gb&&this.b<=this.hb)for(var b=this.b,c=this.d,d=0;d=this.Z[d][0]&&b<=this.Z[d][1]&&this.Z[d][3].call(this.Z[d][2],b,c);this.b=-1}else if(0<=this.h){if(this.h>=this.Ja&&this.h<=this.Ka)for(b=this.h,c=this.d,d=0;d=this.U[d][0]&&b<=this.U[d][1]&&this.U[d][3].call(this.U[d][2],b,c);this.h=-1}this.C-=this.Dd[a]}while(0>1)&128?64:0),b=b|(a.f&128?128:0);return a.v&60|b} +function R(a,b,c){var d=a.c&256?1:0,f=(b&15)+(c&15)+d;10<=f&&(f=f+6&15|16);f+=(b&240)+(c&240);a.A=b^c;a.s=f;a.f=f&255;160<=f&&(f+=96);512<=f&&(f-=256);a.c=f;a.g=b+c+d&255;a.C--;return f&255}function S(a,b,c){var d=a.c&256?0:1,f=(b&15)-(c&15)-d;0>f&&(f=(f-6&15)-16);f+=(b&240)-(c&240);0>f&&(f-=96);a.f=a.g=(a.c=b-c-d)&255;a.A=b^c;a.s=a.c;a.c^=256;a.C--;return f&255}function la(a){a.e=0;a.k=0;a.n=0;a.o=256;a.v=0;a.f=0;a.g=0;a.A=0;a.s=0;a.c=0;a.d=0;a.b=-1;a.h=-1;a.X=0;a.ma=a.Y=a.C=0} +e.Ae=function(){this.d++;this.a[this.o--]=this.d>>8;this.o|=256;this.a[this.o--]=this.d&255;this.o|=256;this.v|=16;this.v=sa(this);this.a[this.o--]=this.v;this.o|=256;this.v&=239;this.b=65534;this.d=this.a[this.b]|this.a[this.b+1]<<8};e.Uf=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e|=this.a[this.b]};e.Wf=function(){this.b=this.a[this.d++];this.f=this.g=this.e|=this.a[this.b]}; +e.qe=function(){this.h=this.a[this.d++];this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};e.Zf=function(){this.v=sa(this);this.a[this.o--]=this.v;this.o|=256};e.Tf=function(){this.b=this.d++;this.f=this.g=this.e|=this.a[this.b]};e.pe=function(){this.c=this.e<<1;this.f=this.g=this.e=this.c&255};e.Qf=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e|=this.a[this.b]}; +e.ne=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};e.ze=function(){this.d+=(this.f&128?0:(this.C--,this.a[this.d]<<24>>24))+1};e.Vf=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.f=this.g=this.e|=this.a[this.b]};e.Xf=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.e|=this.a[this.b]}; +e.re=function(){this.h=this.a[this.d++]+this.k&255;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255};e.De=function(){this.c=0};e.Sf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e|=this.a[this.b]};e.Rf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.e|=this.a[this.b]};e.oe=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.a[this.h]<<1;this.f=this.g=this.a[this.h]=this.c&255}; +e.rf=function(){this.b=this.d++;this.a[this.o--]=this.d>>8;this.o|=256;this.a[this.o--]=this.d&255;this.o|=256;this.d=this.a[this.b]|this.a[this.b+1]<<8};e.je=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e&=this.a[this.b]};e.we=function(){this.b=this.a[this.d++];this.g=this.e&this.a[this.b];this.f=this.f&127|this.a[this.b]&128;this.s=0;this.A=this.a[this.b]&64?128:0};e.le=function(){this.b=this.a[this.d++];this.f=this.g=this.e&=this.a[this.b]}; +e.eg=function(){this.h=this.a[this.d++];this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};e.ag=function(){this.o=this.o+1&255|256;this.v=this.a[this.o];this.c=this.v&1?256:0;this.g=this.v&2?0:1;this.f=this.v&128;this.s=0;this.A=this.v&64?128:0};e.ie=function(){this.b=this.d++;this.f=this.g=this.e&=this.a[this.b]}; +e.dg=function(){this.c=this.c&65280|this.e;this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.e=this.c&255};e.ve=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.g=this.e&this.a[this.b];this.f=this.f&127|this.a[this.b]&128;this.s=0;this.A=this.a[this.b]&64?128:0};e.fe=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e&=this.a[this.b]}; +e.bg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};e.xe=function(){this.d+=(this.f&128?(this.C--,this.a[this.d]<<24>>24):0)+1};e.ke=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.f=this.g=this.e&=this.a[this.b]};e.me=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.e&=this.a[this.b]}; +e.fg=function(){this.h=this.a[this.d++]+this.k&255;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};e.vg=function(){this.c=256};e.he=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e&=this.a[this.b]};e.ge=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.e&=this.a[this.b]}; +e.cg=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.c&65280|this.a[this.h];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.f=this.g=this.a[this.h]=this.c&255};e.lg=function(){this.o=this.o+1&255|256;this.v=this.a[this.o];this.c=this.v&1?256:0;this.g=this.v&2?0:1;this.f=this.v&128;this.s=0;this.A=this.v&64?128:0;this.o=this.o+2&255|256;this.d=this.a[this.o-1|256]|this.a[this.o]<<8}; +e.ef=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e^=this.a[this.b]};e.gf=function(){this.b=this.a[this.d++];this.f=this.g=this.e^=this.a[this.b]};e.Nf=function(){this.h=this.a[this.d++];this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255};e.Yf=function(){this.a[this.o--]=this.e;this.o|=256};e.df=function(){this.b=this.d++;this.f=this.g=this.e^=this.a[this.b]}; +e.Mf=function(){this.c=this.c&65279|(this.e&1?256:0);this.e=(this.c=this.c&65280|this.e>>1)&255;this.f=this.g=this.c&255};e.qf=function(){this.b=this.d;this.d=this.a[this.b]|this.a[this.b+1]<<8};e.af=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e^=this.a[this.b]};e.Kf=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +e.Be=function(){this.d+=((this.s&255^this.A^this.s>>1)&128?0:(this.C--,this.a[this.d]<<24>>24))+1};e.ff=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.f=this.g=this.e^=this.a[this.b]};e.hf=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.e^=this.a[this.b]};e.Of=function(){this.h=this.a[this.d++]+this.k&255;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +e.Fe=function(){this.v&=251};e.cf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e^=this.a[this.b]};e.bf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.e^=this.a[this.b]};e.Lf=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.c&65279|(this.a[this.h]&1?256:0);this.a[this.h]=(this.c=this.c&65280|this.a[this.h]>>1)&255;this.f=this.g=this.c&255}; +e.mg=function(){this.o=this.o+2&255|256;this.d=(this.a[this.o-1|256]|this.a[this.o]<<8)+1};e.wc=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.be=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.e=R(this,this.e,this.a[this.b])}; +e.yc=function(){this.b=this.a[this.d++];this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.de=function(){this.b=this.a[this.d++];this.e=R(this,this.e,this.a[this.b])};e.jg=function(){this.h=this.a[this.d++];this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};e.$f=function(){this.o=this.o+1&255|256;this.f=this.g=this.e=this.a[this.o]}; +e.vc=function(){this.b=this.d++;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.ae=function(){this.b=this.d++;this.e=R(this,this.e,this.a[this.b])};e.ig=function(){this.c=this.c&65280|this.e;this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.e=this.c&255};e.pf=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.d=this.a[this.b]|this.a[this.b+1]<<8}; +e.sc=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.Yd=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.e=R(this,this.e,this.a[this.b])};e.gg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255}; +e.Ce=function(){this.d+=((this.s&255^this.A^this.s>>1)&128?(this.C--,this.a[this.d]<<24>>24):0)+1};e.xc=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.ce=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.e=R(this,this.e,this.a[this.b])}; +e.zc=function(){this.b=this.a[this.d++]+this.k&255;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.ee=function(){this.b=this.a[this.d++]+this.k&255;this.e=R(this,this.e,this.a[this.b])};e.kg=function(){this.h=this.a[this.d++]+this.k&255;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};e.xg=function(){this.v|=4}; +e.uc=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255};e.$d=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.e=R(this,this.e,this.a[this.b])};e.tc=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.e+this.a[this.b]+(this.c&256?1:0);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255}; +e.Zd=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.e=R(this,this.e,this.a[this.b])};e.hg=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.c&65280|this.a[this.h];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.f=this.g=this.a[this.h]=this.c&255};e.Bg=function(){this.h=this.a[this.d++]+this.k&255;this.h=this.a[this.h]|this.a[this.h+1]<<8;this.a[this.h]=this.e};e.Jg=function(){this.h=this.a[this.d++];this.a[this.h]=this.n}; +e.Dg=function(){this.h=this.a[this.d++];this.a[this.h]=this.e};e.Gg=function(){this.h=this.a[this.d++];this.a[this.h]=this.k};e.$e=function(){this.f=this.g=this.n=this.n-1&255};e.Pg=function(){this.f=this.g=this.e=this.k};e.Ig=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.n};e.yg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.e};e.Fg=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.a[this.h]=this.k}; +e.se=function(){this.d+=(this.c&256?0:(this.C--,this.a[this.d]<<24>>24))+1};e.Cg=function(){this.h=this.a[this.d++];this.h=(this.a[this.h]|this.a[this.h+1]<<8)+this.n;this.a[this.h]=this.e};e.Kg=function(){this.h=this.a[this.d++]+this.k&255;this.a[this.h]=this.n};e.Eg=function(){this.h=this.a[this.d++]+this.k&255;this.a[this.h]=this.e};e.Hg=function(){this.h=this.a[this.d++]+this.n&255;this.a[this.h]=this.k};e.Rg=function(){this.f=this.g=this.e=this.n}; +e.Ag=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.a[this.h]=this.e};e.Qg=function(){this.o=this.k|256};e.zg=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.a[this.h]=this.e};e.Hf=function(){this.b=this.d++;this.f=this.g=this.n=this.a[this.b]};e.wf=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.e=this.a[this.b]};e.Cf=function(){this.b=this.d++;this.f=this.g=this.k=this.a[this.b]}; +e.If=function(){this.b=this.a[this.d++];this.f=this.g=this.n=this.a[this.b]};e.yf=function(){this.b=this.a[this.d++];this.f=this.g=this.e=this.a[this.b]};e.Df=function(){this.b=this.a[this.d++];this.f=this.g=this.k=this.a[this.b]};e.Ng=function(){this.f=this.g=this.n=this.e};e.vf=function(){this.b=this.d++;this.f=this.g=this.e=this.a[this.b]};e.Mg=function(){this.f=this.g=this.k=this.e};e.Ff=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.n=this.a[this.b]}; +e.sf=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.e=this.a[this.b]};e.Af=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.k=this.a[this.b]};e.te=function(){this.d+=(this.c&256?(this.C--,this.a[this.d]<<24>>24):0)+1};e.xf=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.f=this.g=this.e=this.a[this.b]};e.Jf=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.n=this.a[this.b]}; +e.zf=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.e=this.a[this.b]};e.Ef=function(){this.b=this.a[this.d++]+this.n&255;this.f=this.g=this.k=this.a[this.b]};e.Ge=function(){this.A=this.s=0};e.uf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.e=this.a[this.b]};e.Og=function(){this.f=this.g=this.k=this.o&255};e.Gf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.n=this.a[this.b]}; +e.tf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.e=this.a[this.b]};e.Bf=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.k=this.a[this.b]};e.Te=function(){this.b=this.d++;this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256};e.Le=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256}; +e.Ue=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256};e.Ne=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.Xe=function(){this.h=this.a[this.d++];this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};e.of=function(){this.f=this.g=this.n=this.n+1&255};e.Ke=function(){this.b=this.d++;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.Ze=function(){this.f=this.g=this.k=this.k-1&255}; +e.Se=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.n-this.a[this.b];this.c^=256};e.He=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.Ve=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};e.ye=function(){this.d+=(this.g&255?(this.C--,this.a[this.d]<<24>>24):0)+1}; +e.Me=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.Oe=function(){this.b=this.a[this.d++]+this.k&255;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.Ye=function(){this.h=this.a[this.d++]+this.k&255;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255}; +e.Ee=function(){this.v&=-9;this.r[97]=this.wc;this.r[101]=this.yc;this.r[105]=this.vc;this.r[109]=this.sc;this.r[113]=this.xc;this.r[117]=this.zc;this.r[121]=this.uc;this.r[125]=this.tc;this.r[225]=this.Ec;this.r[229]=this.Gc;this.r[233]=this.Dc;this.r[237]=this.Ac;this.r[241]=this.Fc;this.r[245]=this.Hc;this.r[249]=this.Cc;this.r[253]=this.Bc};e.Je=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256}; +e.Ie=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.c=this.e-this.a[this.b];this.c^=256};e.We=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.a[this.h]=this.a[this.h]-1&255};e.Qe=function(){this.b=this.d++;this.f=this.g=this.c=this.k-this.a[this.b];this.c^=256}; +e.Ec=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.rg=function(){this.b=this.a[this.d++]+this.k&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.e=S(this,this.e,this.a[this.b])};e.Re=function(){this.b=this.a[this.d++];this.f=this.g=this.c=this.k-this.a[this.b];this.c^=256}; +e.Gc=function(){this.b=this.a[this.d++];this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.tg=function(){this.b=this.a[this.d++];this.e=S(this,this.e,this.a[this.b])};e.lf=function(){this.h=this.a[this.d++];this.f=this.g=this.a[this.h]=this.a[this.h]+1&255};e.nf=function(){this.f=this.g=this.k=this.k+1&255}; +e.Dc=function(){this.b=this.d++;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.qg=function(){this.b=this.d++;this.e=S(this,this.e,this.a[this.b])};e.Pf=function(){};e.Pe=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.c=this.k-this.a[this.b];this.c^=256}; +e.Ac=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.ng=function(){this.b=this.a[this.d++]|this.a[this.d++]<<8;this.e=S(this,this.e,this.a[this.b])};e.jf=function(){this.h=this.a[this.d++]|this.a[this.d++]<<8;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255};e.ue=function(){this.d+=(this.g&255?0:(this.C--,this.a[this.d]<<24>>24))+1}; +e.Fc=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.sg=function(){this.b=this.a[this.d++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.n;this.e=S(this,this.e,this.a[this.b])}; +e.Hc=function(){this.b=this.a[this.d++]+this.k&255;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.ug=function(){this.b=this.a[this.d++]+this.k&255;this.e=S(this,this.e,this.a[this.b])};e.mf=function(){this.h=this.a[this.d++]+this.k&255;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255}; +e.wg=function(){this.v|=8;this.r[97]=this.be;this.r[101]=this.de;this.r[105]=this.ae;this.r[109]=this.Yd;this.r[113]=this.ce;this.r[117]=this.ee;this.r[121]=this.$d;this.r[125]=this.Zd;this.r[225]=this.rg;this.r[229]=this.tg;this.r[233]=this.qg;this.r[237]=this.ng;this.r[241]=this.sg;this.r[245]=this.ug;this.r[249]=this.pg;this.r[253]=this.og}; +e.Cc=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.pg=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.n;this.e=S(this,this.e,this.a[this.b])}; +e.Bc=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.c=this.e-this.a[this.b]-(this.c&256?0:1);this.A=this.e^this.a[this.b];this.s=this.c;this.f=this.g=this.e=this.c&255;this.c^=256};e.og=function(){this.b=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.e=S(this,this.e,this.a[this.b])};e.kf=function(){this.h=(this.a[this.d++]|this.a[this.d++]<<8)+this.k;this.f=this.g=this.a[this.h]=this.a[this.h]+1&255}; +e.Lg=function(){var a;a=this.a[this.d++];switch(a){case this.xd:this.u("HALT");N(this);break;case this.yd:a=this.d;for(var b="";a=c&&(c+=32);a.da=a.da.substr(1);U(a,c)}0=b&&(b+=32),Ba(a,b),V(a,b,!0,a.Qb)&&(a.t.speed==a.t.pa?V(a,b,!1,a.vd):(c=!1,a.R[b]&&(clearTimeout(a.R[b]),c=!0),c=Aa(a,c),a.R[a.aa=b]=setTimeout(function(a){return function(){V(a,b,!1,a.wd)}}(a),c)),c=!0));return c} +function V(a,b,c,d){var f=!1;c||(a.R[b]=null,a.aa==b&&(a.aa=0));var g=0,k=a.j[b];void 0===k&&(1<=b&&26>=b&&(b+=64,g=a.Ga),k=a.j[b]);void 0!==k&&(b=k>>12,f=k>>8&15,g||(g=k&255),c?(a.G[b]|=1<d||d>=this.Vd}a&&(d=this.cb.shift(),void 0!==d&&(this.Wb=d),this.tb=0,this.kc=c);for(d=c=0;8>d;d++)this.Xb&1<d[g][0]&&(k=d[g][0]),h=a.dc&&(d-=a.dc,dMissing <canvas> support; try a new web browser.";break}f.setAttribute("class","c1pjs-canvas");f.setAttribute("width",d.screenWidth);f.setAttribute("height",d.screenHeight);f.setAttribute("contenteditable","true");f.setAttribute("autocapitalize","off");f.setAttribute("autocorrect","off");f.style.backgroundColor=d.screenColor; +f.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(f.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,f,d.screenWidth,d.screenHeight));c.appendChild(f);var g=new Image,k=f.getContext("2d"),f=new Da(d,f,k,g);g.onload=function(a){return function(){a.K()}}(f,d.charSet);g.src=d.charSet;H(f,c)}}); +function Ga(a){z.call(this,"C1PSerialPort",a);this.m.B=!1;this.bc=a.demo;this.Bd=0;this.Ad=1;this.reset()}E(Ga);e=Ga.prototype;e.reset=function(){if(2!=this.$){this.La=this.ib=0;var a=1;if(this.fc){var b=this.fc.match(/\d+/);null!==b&&(a=parseInt(b[0],10))}this.na='10 PRINT "HELLO OSI #'+a+'"\n';this.$=this.Qa=0}};e.start=function(){this.D&&this.bc&&(W(this.D," C\n\n",3E3),setTimeout(function(a){return function(){a.$=1;W(a.D,"LOAD\n")}}(this),12E3));this.bc=!1}; +e.I=function(a,b,c){var d=this;switch(b){case "listSerial":return this.p[b]=c,!0;case "loadSerial":return this.p[b]=c,c.onclick=function(){d.p.listSerial&&q(d.p.listSerial.value,d,d.gc)},!0;case "mountSerial":return!s("Mobi")&&window&&"FileReader"in window?(this.p[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){var b=a.currentTarget[1].files[0],c=new FileReader;c.onload=function(){d.gc(b.name,c.result.toString(), +0)};c.readAsText(b);return!1}):c.parentNode.removeChild(c),!0}return!1};e.Q=function(a,b,c,d){this.a=a;this.vb=b;this.Gd=c-b+1;this.rc=this.vb+this.Gd;if(this.t=d)oa(d,b,c,this,this.O),P(d,b,c,this,this.M);this.K()};e.T=function(a,b){a&&!this.m.B&&(this.m.B=!0,this.H=b,this.D=M(b,"keyboard"))}; +e.gc=function(a,b,c){b?(this.na=b,this.$=this.Qa=0,this.H&&this.D&&this.t.m.S?(this.u("auto-loading "+a),this.t.ea(),"."!=this.na.charAt(0)?(this.$=1,W(this.D,"NEW\nLOAD\n")):(this.$=2,this.H.reset(!0),W(this.D,"ML"))):this.u(a+" ready to load")):this.u(a+" load error ("+c+")")};e.O=function(a,b){void 0!==b&&(a&1?Ha(this):this.na&&!this.Qa&&Ha(this))};e.M=function(){}; +function Ha(a){if(void 0!==a.na){a.ib=0;a.La=0;if(a.Qa=--d.la&&(0=d.oc&&(d.W=d.oc),0>d.W&&(d.W=0),d.la= +20,a.ba.update(a.ba.q|a.ab),La(a))}this.q=c;a.Xa.q&a.fa&&X(a,a.Pb,this)}}(a)};a.Xa={q:0,P:function(){},update:function(a){return function(c){void 0!==c&&(this.q=c&~(a.Cb|a.Db));X(a,a.Mb,this);a.za.update();a.Kc.update()}}(a)};a.Sg={q:0,P:function(){},update:function(a){return function(c){void 0!==c&&((c&a.Eb)==a.Eb&&(a.ca.q=a.Ub|a.Sb|a.Rb),this.q=c);a.ca.update()}}(a)};a.ca={q:a.Ub|a.Sb|a.Rb,P:function(){},update:function(a){return function(c){void 0===c&&(c=a.ca.q);c&=~a.Tb;0<=a.F&&0<=a.N[a.F].ja&& +(c|=a.Tb);this.q=c;X(a,a.sd,this)}}(a)};a.yb={q:0,P:function(a){return function(){Ma(a)}}(a),update:function(a){return function(c){void 0!==c&&(this.q=c);X(a,a.Nb,this)}}(a)};a.Tg={q:0,P:function(){},update:function(){return function(){}}(a)}} +e.I=function(a,b,c){switch(b){case "listDisk":return this.p[b]=c,!0;case "loadDisk":return this.p[b]=c,c.onclick=function(a){return function(){if(a.p.listDisk){var b=a.p.listDisk.value,c=b;".json"!=b.substr(b.length-5)&&(c="http://"+window.location.host+"/api/v1/dump?disk="+b);a.u("loading "+aa(b)+"...");q(c,a,a.Od)}}}(this),!0}return!1};e.Q=function(a,b,c,d){this.a=a;this.fb=b;if(this.t=d)oa(d,b,c,this,this.O),P(d,b,c,this,this.M);this.K()};e.T=function(a){a&&!this.m.B&&(this.m.B=!0)}; +e.Od=function(a,b,c){if(c)this.u("disk load error ("+c+")");else{c=[];this.u("mounting "+a+"...");try{if(c=eval("("+b+")"),c.length)if(c[0].length){var d=c[0];if(void 0===d[0].trackNum)this.u("data error: "+d[0]);else if(this.N[0]){for(b=0;b>8&255);a.push(b&255)}function Na(a,b,c){b=b[c];if(void 0===b)throw Error("missing signature: "+c);for(c=0;cb?b&=3:32>b&&(b&=17);switch(b){case a.Ob:a=a.Wa.q&a.fa?a.ba:a.Jc;break;case a.Lb:a=a.Wa;break;case a.Pb:a=a.Xa.q&a.fa?a.za:a.Kc;break;case a.Mb:a=a.Xa;break;case a.pd:a=c?a.Sg:a.ca;break;case a.Nb:a=a.yb;break;default:a=a.Tg}return a}e.O=function(a,b){void 0!==b&&Pa(this,a-this.fb,!1).P()};e.M=function(a,b){if(void 0!==b){var c=this.t.O(a);Pa(this,a-this.fb,!0).update(c)}}; +function Ka(a,b,c){var d=-1;void 0!==b&&void 0!==c&&(d=0,c&a.nd||(d|=2),a.ba.q&a.Hb||(d|=1));a.F!=d&&(a.F=d,a.ca.update())}function La(a){0<=a.F&&(a.N[a.F].ja=-1,a.yb.update(255),a.ca.update())}function Ma(a){var b=null;if(0<=a.F){var b=a.N[a.F],c=b.Ha[b.W];void 0!==c&&(0<=b.ja&&b.ja");b&&b.T(!0,a)} +w(function(){for(var a=I(window.document,"c1pjs","computer"),b=0;b');return}}if(void 0===k){r(' definition must appear first in the specification'); +break}if(f=F("debugger",d.id))g["debugger"]=[f],f.Q&&f.Q(k,h,l,g.cpu[0]);h=new Z(d,g);if(l=F("panel",d.id))if(g.panel=[l],l.kb){f=d.id;d=void 0;g=[];f&&(f=0<(d=f.indexOf("."))?f.substr(0,d+1):"");for(d=0;dh.indexOf("/")&&(h=window.location.pathname+h);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(h?" url=$2"+h+"$2":""))}h=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(f||(a=a.replace(/\s*/g,"")),h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(C){h= +null,a=C.message}else a="unrecognized XML: "+(255/g.exec(a)){var f=d[2];b("Loading "+f+"...");q(f,null,function(g,k,h){if(h||!k)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(g=d[3])if(h=k.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=h[0],m,n=/( [a-z]+=)(['"])(.*?)\2/g;m=n.exec(g);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=l&&(k=k.replace(h[0],l))}else{c(a,"missing <"+d[1]+"> in "+f);return}k=k.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],k);Ta(a,b,c)}})}else c(a,null)} +function Ua(a,b,c){function d(a){if(void 0===k){var b=g&&I(g,"machine-warning");k=b&&b[0]||g}k&&(k.innerHTML=ca(a))}function f(a){d("Error: "+a);h&&(--$||y(!0));h=!1}var g,k,h=!0;$++;try{if(g=window.document.getElementById(a)){c||(c="/versions/c1pjs/1.16.5/components.xsl");var l=function(a,h){if(h){var k=function(a,k){if(k)if(k)if(d("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var l=h.transformNode(k);l?(g.outerHTML=l,--$||y(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(l=new XSLTProcessor,l.importStylesheet(k),(l=l.transformToFragment(h,window.document))?(g.parentNode.replaceChild(l,g),--$||y(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};h?Ra(c,null,null,!1,d,k):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Ra(b,a,void 0,!0,d,l):Sa(b,null,a,void 0,!1,d,l)}else f("failed to find machine element: "+a)}catch(m){f(m.message)}return h} +window.embedC1P=function(a,b,c){y(!1);return Ua(a,b,c)};window.enableEvents=y;window.sendEvent=ea;})(); diff --git a/versions/c1pjs/1.16.5/common.css b/versions/c1pjs/1.16.5/common.css new file mode 100644 index 0000000000..1da28836d4 --- /dev/null +++ b/versions/c1pjs/1.16.5/common.css @@ -0,0 +1,259 @@ +@CHARSET "UTF-8"; +/** + @author Jeff Parsons (@jeffpar) + @website http://www.pcjs.org/ + @created 2013-05-05 + @modified 2014-02-23 + @license http://www.gnu.org/licenses/gpl.html + */ +body { + margin: 0; + background: #202020; +} +h1, h2 { + margin-top: 0; + color: #cccccc; +} +h1, h2, h3, h4 { + word-wrap: break-word; +} + +h4 a { + color: #cccccc !important; +} +p { + line-height: 1.5em; +} +a img { + vertical-align: bottom; +} +pre, code { + color: #000000; + background-color: #cccccc; + font-family: Monaco, Consolas, "Lucida Console", monospace; + font-size: 12px; +} +pre { + margin: 1em 2em; + padding: 1em; + border-radius: 5px; + overflow: auto; +} +code { + padding: 1px; +} +pre a, code a { + color: #006400 !important; +} +.common { + width: 100%; + margin: 0 auto; + color: #cccccc; +} +.common a { + + color: #7fc07f; + text-decoration: none; +} +.common hr { + border-color: #808080; +} +.common a:hover { + text-decoration: underline; +} +.common, .machine { + font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; + font-size: 15px; +} +.machine { + margin: 15px; + overflow: hidden; +} +.c1pjs { + overflow: visible; +} +.machine-placeholder { + text-align: center; + font-weight: bold; +} +.common-top { + background: #202020; + font-size: small; +} +.common-top-left { + float: left; + width: 60%; +} +.common-top-left ul { + line-height: 1.5em; + list-style-type: none; + margin: 0; + padding: 1em 1em 1em 9px; + overflow: hidden; +} +.common-top-left ul li { + display: block; + float: left; +} +.common-top-left ul li a { + border-right: 1px solid #6f6f6f; + padding: 2px 6px 2px 6px; +} +.common-top-left ul li:last-child a { + border-right: none; +} +.common-top-right { + float: right; + width: 40%; +} +.common-top-right p { + float: right; + margin: 0; + padding: 1em; +} +.common-middle { + clear: both; + padding: 1px 1em 1px 1em; + background: #404040; +} +.common-sidebar { + float: left; + font-size: small; + width: 140px; + padding-bottom: 20px; + overflow: hidden; + white-space: nowrap; + word-wrap: break-word; +} +.common-list { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list li { + + padding-bottom: 7px; +} +.common-list-data { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list-data li { + line-height: 1.5em; +} +.common-list-data-items, .common-list-data-subitems { + font-size: x-small; + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 2em; +} +.common-list-data-items li, .common-list-data-subitems li { + padding-bottom: 0; +} +.common-main { + margin-left: 150px; + +} +.common-image-gallery { + margin: 0 auto; + text-align: center; +} +.common-image-gallery:after { + content: ''; + display: block; +} +.common-image-frame { + display: inline-block; + margin: 8px; + text-align: center; +} +.common-image-link { + padding: 5px; + border: 1px solid black; + border-radius: 5px; + background-color: #FAEBD7; +} +.common-image-label { + font-size: x-small; +} +.common-bottom { + clear: both; + padding-top: 1em; +} +.common-bottom:after { + content: ''; + display: block; + clear: both; +} +.common-reference { + float: left; + font-size: x-small; +} +.common-reference a { + text-decoration: none; +} +.common-copyright { + float: right; + font-size: x-small; +} +.common-copyright a { + text-decoration: none; +} +.md-list { +} +.md-list li { + line-height: 1.5em; + margin-bottom: 1em; +} +.md-list li p { + padding-left: 2em; +} +.md-list-compact { +} +.md-list-compact li { + margin-bottom: 0; +} +.md-list-none { + list-style-type: none; + padding-left: 2em; +} +.md-list-none li { + margin-bottom: 0; +} +@media screen and (max-width: 900px) { + + .common-sidebar { + width: 100%; + white-space: normal; + } + .common-list { + padding-left: 0; + } + .common-list-data { + padding-left: 0; + } + .common-sidebar h4, .common-list li, .common-list-data li, .common-list-data-items li { + width: 130px; + float: left; + overflow: hidden; + vertical-align: top; + padding-right: 1em; + margin-top: 0; + } + .common-list-data-subitems { + display: none; + } + .common-main { + clear: both; + margin-left: 0; + padding-left: 0; + padding-right: 0; + } + .md-list-none { + padding-left: 1em; + } +} diff --git a/versions/c1pjs/1.16.5/common.xsl b/versions/c1pjs/1.16.5/common.xsl new file mode 100644 index 0000000000..22c5a02d94 --- /dev/null +++ b/versions/c1pjs/1.16.5/common.xsl @@ -0,0 +1,46 @@ + + + + + +]> + + + + + + + + + +
+
+ +
+
+

Powered by Node.js and AWS

+
+
+
+ + +
+

+ +
+
+ +
diff --git a/versions/c1pjs/1.16.5/components.css b/versions/c1pjs/1.16.5/components.css new file mode 100644 index 0000000000..69ee3112f3 --- /dev/null +++ b/versions/c1pjs/1.16.5/components.css @@ -0,0 +1,106 @@ +@CHARSET "UTF-8"; + + +*:not(input,textarea) { + -webkit-user-select: none; +} +.c1pjs-embed { +} +.c1pjs-embed:after { + clear:both; +} +.c1pjs-name { + clear: both; + font-weight: bold; + padding-bottom: 4px; +} +.c1pjs-canvas { + width: 100%; + height: auto; +} +.c1pjs-container { + color: #000000; + position: relative; +} +.c1pjs-label { + font-size: small; + line-height: 19px; + vertical-align: middle; + float: left; + font-family: "Lucida Console", monospace; +} +.c1pjs-control textarea { + font-family: Monaco, monospace; + font-size: x-small; +} +.c1pjs-fieldset { + border: none; + margin: 0; + padding: 0; +} +.c1pjs-flag { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; +} +.c1pjs-register { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; + border: 1px solid black; +} +.c1pjs-switches { + float: left; +} +.c1pjs-bitBucket { + float: left; + width: 19px; + height: 38px; +} +.c1pjs-bitCell { + float: left; + width: 19px; + height: 19px; + margin-right: -1px; + margin-bottom: -1px; + border: 1px solid black; + text-align: center; + line-height: 19px; +} +.c1pjs-bitCellLeft { + border-left: 1px solid black; +} +.c1pjs-bitLabel { + font-size: xx-small; + text-align: center; +} +.c1pjs-description, .c1pjs-status { + font-size: small; + line-height: 2em; +} +.c1pjs-key { + border: 1px solid black; + font-size: x-small; + text-align: center; + position: absolute; + height: 34px; + line-height: 34px; +} +.c1pjs-reference { + float: left; + font-size: x-small; +} +.c1pjs-reference a { + text-decoration: none; +} +.c1pjs-copyright { + float: right; + font-size: x-small; +} +.c1pjs-copyright a { + text-decoration: none; +} diff --git a/versions/c1pjs/1.16.5/components.xsl b/versions/c1pjs/1.16.5/components.xsl new file mode 100644 index 0000000000..6600377345 --- /dev/null +++ b/versions/c1pjs/1.16.5/components.xsl @@ -0,0 +1,571 @@ + + + + + + + + c1p + c1pjs + 1.16.5 + www.pcjs.org + + + + + + + + + + + + + + + + + + + + + + +
+ + + + js + , + + +
+
+ + + + + + + + + + + + + , + + + + + + + + + + + + .machine + . + + + + + + + + + + + + + + border:1px solid black;border-radius:10px; + border:; + + + + + + left:; + + + + + + top:; + + + + + + + + width:; + width:auto;max-width:; + + + + + + + + height:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto; + position:; + position:absolute; + + + + + overflow:auto;width:100%; + + + + - -component + +
+ + + + + + +
+ +
+
+ +
+ +
+
+ +
+ + +
[XML]
+ +
+ +
+
+
+
+ + + + + text-align:center; + + + +

+
+ + +
+
+ + + + type:'' + + + binding:'' + + + + border:1px solid black; + border:; + + + + + + width:; + + + + + + height:; + + + + + + left:; + + + + + + top:; + + + + + + position:absolute; + float:left; + float:right; + margin:0 auto; + ; + float:left; + + + + + + + + +
+ + + font-size:; + + + + + -label + + + width:; + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+
+
+ +
+
+ +

+
+ +
+
+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + null + + + + + + ,autoStart: + + + + + + + + + + + + + + + 600 + + + + + keyboard + ,model: + + + + + + + + + + + + + + + false + + + + + serial + ,demo: + + + + + + + + + + + + + + disk + + + + + + + + + + + + + + + 0 + + + + + + + + + + + rom + ,size:,image:'' + + + + + + + + + + + + + + + 0 + + + + + ram + ,size: + + + + + + + + + + + + + + + 600 + + + + + + 256 + + + + + + 224 + + + + + + 32 + + + + + + 32 + + + + + + 0 + + + + + + 0 + + + + + + + + + + + + black + + + + + video + ,model:,screenWidth:,screenHeight:,charCols:,charRows:,charWidth:,charHeight:,charSet:'',screenColor:'' + + + + + + + + + + + + + + debugger + + + + + + + + + + + + + + panel + + + + + + + + + + + + + [ + {} + , + ] + + + + computer + ,modules: + + + + + type:'',refID:'',start:,end: + + +
diff --git a/versions/c1pjs/1.16.5/document.css b/versions/c1pjs/1.16.5/document.css new file mode 100644 index 0000000000..7072b406e4 --- /dev/null +++ b/versions/c1pjs/1.16.5/document.css @@ -0,0 +1,162 @@ +@CHARSET "UTF-8"; + +.page { + margin: 2% 2%; + padding: 2% 2%; + min-width: 30em; + overflow: auto; + font-size: large; + font-family: Helvetica, Arial, sans-serif; + background: #303030; + color: #ccc; + +} +.page-header { +} +.page-header-title { + text-align: center; + +} +.page a { + color: #7fc07f; + text-decoration: none; +} +a.footlink, a.paralink { + text-decoration: none; +} +a.footlink:link, a.paralink:link { + color: blue; +} +a.footlink:visited, a.paralink:visited { + color: blue; +} +.galleryitem { + float: left; + width: 200px; +} +.item { + float: left; + width: 2em; + text-indent: 1em; +} +.list { + margin-left: 3em; + text-indent: 0; + text-align: justify; +} +ul { + list-style: none; +} +div.pnumber { + float: left; + width: 2em; + text-indent: 1em; +} +div.pitem { + margin-left: 10em; +} +p.indent, .justified p { + text-indent: 2em; + text-align: justify; + line-height: 1.5em; +} +p.noindent { + text-indent: 0; + text-align: justify; +} +p.center, .center { + text-align: center; +} +li.para { + margin-top: 1em; + margin-bottom: 1em; +} +.left { + text-align: left; +} +.right { + text-align: right; +} +blockquote.tag { + font-size: small; + font-family: Monaco, Fixed, monospace; + margin-top: 0; + margin-bottom: 0; +} +.blockquote { + padding-left: 1em; + text-indent: 0; + text-align: justify; +} +.italics { + font-style: italic; +} +.medium { + font-size: medium; +} +.small { + font-size: x-small; +} +.smallcaps { + font-variant: small-caps; +} +.strike { + text-decoration: line-through; +} +.summation, .bracelist { + display: inline-block; + position: relative; + vertical-align: middle; + text-align: center; + margin-bottom: 0.5ex; + text-indent: 0; +} +.bracelist-symbol { + font-size: 3em; + vertical-align: -40%; +} +.summation .summation-lower, .summation .summation-upper, .bracelist-item { + display: block; + font-size: 75%; + text-align: center; +} +.summation .summation-upper { + margin-bottom: 0; + margin-left: 0.8ex; + font-style: italic; +} +.summation .summation-lower{ + margin-bottom: -0.6ex; + font-style: italic; +} +.summation .summation-symbol { + font-size: 2em; +} +p sup { + vertical-align: baseline; + position: relative; + bottom: .5em; + font-size: small; +} +p sub { + vertical-align: baseline; + position: relative; + bottom: -.5em; + font-size: small; +} +.footnote { + font-size: medium; + text-indent: 1em; + text-align: justify; + margin-top: .5em; +} +.image-right { + float: right; + margin-left: 1em; + margin-top: 1em; + margin-bottom: 1em; +} +.image-caption { + font-size: small; + text-align: center; +} \ No newline at end of file diff --git a/versions/c1pjs/1.16.5/document.xsl b/versions/c1pjs/1.16.5/document.xsl new file mode 100644 index 0000000000..8d583a873d --- /dev/null +++ b/versions/c1pjs/1.16.5/document.xsl @@ -0,0 +1,450 @@ + + + + + +]> + + + + + + + +

+
+ + + + + + + +

+
+ +

+
+
+
+ + + + + + +
+
+ + +
+ +   + + +
+
+ +
+
+ + + + + + + + + + + + + + + + +

+
+ + +

+
+ + +

+
+ + +
+
+ + +
+
+ + + + + + + + + + + + + + +
+
+ + +
+
+ + +
  • +
    + + +
    image
    +
    + + +
    +
    + + + + +
    {.}
    +
    + +
    {.}
    +
    +
    +
    + + + + + + + + + + < + > + + + + × + + ÷ + σ + + + + + + + + + + + + { + + + + + + + + + + [] + + + + +
    + +
    +
    + + + , and + + + + + MDY + + + + + + + + + + + + + + + + + + + + January + February + March + April + May + June + July + August + September + October + November + December + + + , + + + + + +

    + +
    +
    + + +
    + {.}
    +
    +
    +
    + + + +

    Timeline

    +
    + +

    +
    +
    + +
    +
    + + + + + + + + + +

    +
    + +
    +
    +
    + + + +

    People

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + +

    +
      + +
    +
    + + + + + + + + + + +
  • + +
  • +
    + + + +

    +
    +

    + +

    +
    +
    + + + + false + + + + + + [Original] + + + + + + + + + + [] + + +
    by
    + + +
    + [Source: + + + + + + + ] +
    +
    +
    + + + +

    Resources

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + + +

    +
    +
      + +
    +
    + + +
  • +
    + + + +

    +
    +
    + +
    +
    + + + +

    +
    + +
    + + + +

    +
    +
      + +
    +
    + + + + + +
      + +
    +
    + + + + +
  • +
    + +
  • +
    + +
  • +
    +
    +
    + + +
  • +
    + + + + + + + + + + +
    + < ="" + + ></> + ></> + /> + +
    +
    + +
    diff --git a/versions/c1pjs/1.16.5/machine.xsl b/versions/c1pjs/1.16.5/machine.xsl new file mode 100644 index 0000000000..c9cbf682f8 --- /dev/null +++ b/versions/c1pjs/1.16.5/machine.xsl @@ -0,0 +1,49 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    +
    + + + + js + , + +
    +
    + +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/c1pjs/1.16.5/manifest.xsl b/versions/c1pjs/1.16.5/manifest.xsl new file mode 100644 index 0000000000..74530d773a --- /dev/null +++ b/versions/c1pjs/1.16.5/manifest.xsl @@ -0,0 +1,247 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Document Manifest

    +
    +
      + + + + None + + + + + + + + + + + + + + + + +
    +
    +
    +

    + +
    +
    +
    + + +
    + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Software Manifest

    +
    +
      + + + + None + + + + + Unknown + + + + + None + + + + + None + + + + + + + + + + + + + UpdatedReleased + + Unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + +

    No default machine specified for '' in manifest.xml

    +
    + +
    +
    +
    + + + + -dbg + + + + + + +
    + + + + + Unknown + +
  • +
      + + + + + + + + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + +
        + +
      • + + + + + + +
      • +
        +
      +
      +
    • +
      + + + + + + + + +
    +
  • +
    +
    + +
    diff --git a/versions/c1pjs/1.16.5/outline.xsl b/versions/c1pjs/1.16.5/outline.xsl new file mode 100644 index 0000000000..8d2eeac71d --- /dev/null +++ b/versions/c1pjs/1.16.5/outline.xsl @@ -0,0 +1,47 @@ + + + + +]> + + + + + + + + + + + + + + + + + + <xsl:value-of select="title"/><xsl:text> | </xsl:text><xsl:value-of select="$SITEHOST"/> + + + + + +
    +
    + +
    +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.16.5/common.css b/versions/pcjs/1.16.5/common.css new file mode 100644 index 0000000000..1da28836d4 --- /dev/null +++ b/versions/pcjs/1.16.5/common.css @@ -0,0 +1,259 @@ +@CHARSET "UTF-8"; +/** + @author Jeff Parsons (@jeffpar) + @website http://www.pcjs.org/ + @created 2013-05-05 + @modified 2014-02-23 + @license http://www.gnu.org/licenses/gpl.html + */ +body { + margin: 0; + background: #202020; +} +h1, h2 { + margin-top: 0; + color: #cccccc; +} +h1, h2, h3, h4 { + word-wrap: break-word; +} + +h4 a { + color: #cccccc !important; +} +p { + line-height: 1.5em; +} +a img { + vertical-align: bottom; +} +pre, code { + color: #000000; + background-color: #cccccc; + font-family: Monaco, Consolas, "Lucida Console", monospace; + font-size: 12px; +} +pre { + margin: 1em 2em; + padding: 1em; + border-radius: 5px; + overflow: auto; +} +code { + padding: 1px; +} +pre a, code a { + color: #006400 !important; +} +.common { + width: 100%; + margin: 0 auto; + color: #cccccc; +} +.common a { + + color: #7fc07f; + text-decoration: none; +} +.common hr { + border-color: #808080; +} +.common a:hover { + text-decoration: underline; +} +.common, .machine { + font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; + font-size: 15px; +} +.machine { + margin: 15px; + overflow: hidden; +} +.c1pjs { + overflow: visible; +} +.machine-placeholder { + text-align: center; + font-weight: bold; +} +.common-top { + background: #202020; + font-size: small; +} +.common-top-left { + float: left; + width: 60%; +} +.common-top-left ul { + line-height: 1.5em; + list-style-type: none; + margin: 0; + padding: 1em 1em 1em 9px; + overflow: hidden; +} +.common-top-left ul li { + display: block; + float: left; +} +.common-top-left ul li a { + border-right: 1px solid #6f6f6f; + padding: 2px 6px 2px 6px; +} +.common-top-left ul li:last-child a { + border-right: none; +} +.common-top-right { + float: right; + width: 40%; +} +.common-top-right p { + float: right; + margin: 0; + padding: 1em; +} +.common-middle { + clear: both; + padding: 1px 1em 1px 1em; + background: #404040; +} +.common-sidebar { + float: left; + font-size: small; + width: 140px; + padding-bottom: 20px; + overflow: hidden; + white-space: nowrap; + word-wrap: break-word; +} +.common-list { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list li { + + padding-bottom: 7px; +} +.common-list-data { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list-data li { + line-height: 1.5em; +} +.common-list-data-items, .common-list-data-subitems { + font-size: x-small; + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 2em; +} +.common-list-data-items li, .common-list-data-subitems li { + padding-bottom: 0; +} +.common-main { + margin-left: 150px; + +} +.common-image-gallery { + margin: 0 auto; + text-align: center; +} +.common-image-gallery:after { + content: ''; + display: block; +} +.common-image-frame { + display: inline-block; + margin: 8px; + text-align: center; +} +.common-image-link { + padding: 5px; + border: 1px solid black; + border-radius: 5px; + background-color: #FAEBD7; +} +.common-image-label { + font-size: x-small; +} +.common-bottom { + clear: both; + padding-top: 1em; +} +.common-bottom:after { + content: ''; + display: block; + clear: both; +} +.common-reference { + float: left; + font-size: x-small; +} +.common-reference a { + text-decoration: none; +} +.common-copyright { + float: right; + font-size: x-small; +} +.common-copyright a { + text-decoration: none; +} +.md-list { +} +.md-list li { + line-height: 1.5em; + margin-bottom: 1em; +} +.md-list li p { + padding-left: 2em; +} +.md-list-compact { +} +.md-list-compact li { + margin-bottom: 0; +} +.md-list-none { + list-style-type: none; + padding-left: 2em; +} +.md-list-none li { + margin-bottom: 0; +} +@media screen and (max-width: 900px) { + + .common-sidebar { + width: 100%; + white-space: normal; + } + .common-list { + padding-left: 0; + } + .common-list-data { + padding-left: 0; + } + .common-sidebar h4, .common-list li, .common-list-data li, .common-list-data-items li { + width: 130px; + float: left; + overflow: hidden; + vertical-align: top; + padding-right: 1em; + margin-top: 0; + } + .common-list-data-subitems { + display: none; + } + .common-main { + clear: both; + margin-left: 0; + padding-left: 0; + padding-right: 0; + } + .md-list-none { + padding-left: 1em; + } +} diff --git a/versions/pcjs/1.16.5/common.xsl b/versions/pcjs/1.16.5/common.xsl new file mode 100644 index 0000000000..c8b49ec994 --- /dev/null +++ b/versions/pcjs/1.16.5/common.xsl @@ -0,0 +1,46 @@ + + + + + +]> + + + + + + + + + +
    +
    + +
    +
    +

    Powered by Node.js and AWS

    +
    +
    +
    + + +
    +

    + +
    +
    + +
    diff --git a/versions/pcjs/1.16.5/components.css b/versions/pcjs/1.16.5/components.css new file mode 100644 index 0000000000..1a84597c36 --- /dev/null +++ b/versions/pcjs/1.16.5/components.css @@ -0,0 +1,129 @@ +@CHARSET "UTF-8"; + + +*:not(input,textarea) { + -webkit-user-select: none; +} +.pcjs-embed { +} +.pcjs-embed:after { + clear:both; +} +.pcjs-name, .pcjs-menu { + clear: both; + font-weight: bold; + padding-bottom: 4px; +} +.pcjs-menu { + float: left; +} +.pcjs-canvas { + width: 100%; + height: auto; +} +.pcjs-container { + color: #000000; + position: relative; +} +.pcjs-label { + font-size: small; + line-height: 19px; + vertical-align: middle; + float: left; + font-family: "Lucida Console", monospace; +} +.pcjs-control textarea { + font-family: Monaco, monospace; + font-size: x-small; +} +.pcjs-fieldset { + border: none; + margin: 0; + padding: 0; +} +.pcjs-flag { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; +} +.pcjs-register { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; + border: 1px solid black; +} +.pcjs-switches { + float: left; +} +.pcjs-bitBucket { + float: left; + width: 19px; + height: 38px; +} +.pcjs-bitCell { + float: left; + width: 19px; + height: 19px; + margin-right: -1px; + margin-bottom: -1px; + border: 1px solid black; + text-align: center; + line-height: 19px; +} +.pcjs-bitCellLeft { + border-left: 1px solid black; +} +.pcjs-bitLabel { + font-size: xx-small; + text-align: center; +} +.pcjs-description, .pcjs-status { + font-size: x-small; + line-height: 2em; +} +.pcjs-key { + border: 1px solid black; + font-size: x-small; + text-align: center; + position: absolute; + height: 34px; + line-height: 34px; + background-color: #ffffff; +} +.pcjs-led { + float: left; + width: 8px; + height: 8px; + margin: 4px; + border: 1px solid black; + text-align: center; + line-height: 19px; + background-color: #000000; +} +.pcjs-reference { + float: left; + font-size: x-small; +} +.pcjs-reference a { + text-decoration: none; +} +.pcjs-copyright { + float: right; + font-size: x-small; +} +.pcjs-copyright a { + text-decoration: none; +} + +@media screen and (max-width: 900px) { + .pcjs-textarea { + width: 100% !important; + } + .pcjs-registers { + width: 100% !important; + } +} diff --git a/versions/pcjs/1.16.5/components.xsl b/versions/pcjs/1.16.5/components.xsl new file mode 100644 index 0000000000..6abe86a5b7 --- /dev/null +++ b/versions/pcjs/1.16.5/components.xsl @@ -0,0 +1,998 @@ + + + + + + + + pc + pcjs + 1.16.5 + www.pcjs.org + + + + + + + + + + + + + + + + + /devices/pc/machine/5150/mda/64kb/machine.xml + + + + + + + + + + + + + + + + + + + + + + + + + + float: + +
    + + + + + + + + + + js + , + + +
    +
    + + + + + + + + + + + + + + + , + + + + + + + + + + + + + .machine + . + . + + + + + + + url:'' + + + + + + + + + + + + + ,comment:'' + + + + + + border:1px solid black;border-radius:15px; + border:; + + + + + + left:; + + + + + + top:; + + + + + + + + width:; + width:auto;max-width:; + + + + + + + + height:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto; + position:; + position:relative; + + + + + overflow:auto;width:100%; + + + + - -component + +
    + + + + + + +
    + + + + + + + +
    +
    + +
    + +
    +
    + + + + +
    + + +
    [XML]
    + +
    + +
    +
    +
    +
    + + + + + text-align:center; + + + +

    +
    + + +
    +
    + + + + + + +
    +
    + + + + type:'' + + + binding:'' + + + + border:1px solid black; + border:; + + + + + + width:; + + + + + + height:; + + + + + + left:; + + + + + + top:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto; + position:; + position:relative; + float:left; + + + + + + + + + + + + + + + + + + +
    + + + font-size:; + + + + + -label + + + width:; + + + + + text-align:right; + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    + + +
    +
    +
    + +
    +
    + +
    +
    + + + + +
    +
    + +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + ; + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8088 + + + + + + 0 + + + + + + 1 + + + + + + null + + + + + + -1 + + + + + + -1 + + + + + + -1 + + + + + + ,model:,cycles:,multiplier:,autoStart:,csStart:,csInterval:,csStop: + + + + + + + + + + + + + + + 5150 + + + + + + + + + + + + + + + + + + true + + + + + + false + + + + + + {} + + + + + + + + + + + + + + + + + chipset + ,model:'',scaleTimers:,sw1:'',sw2:'',sound:,floppies:,monitor:'',rtcDate:'' + + + + + + + + + + + + + + + + + + + + keyboard + ,model:'' + + + + + + + + + + + + + + + 0 + + + + + + + + + + + serial + ,adapter:,binding:'' + + + + + + + + + + + + + + + + + + + + mouse + ,serial:'' + + + + + + + + + + + + + + + + + + + + + + + + fdc + ,autoMount:'' + + + + + + + + + + + + + + + + + + + + + xt + + + + + hdc + ,drives:'',type:'' + + + + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + null + + + + + + + + + + + + + + + + + rom + ,addr:,size:,alias:,file:'',notify:'' + + + + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + true + + + + + ram + ,addr:,size:,test: + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + 256 + + + + + + 224 + + + + + + 0 + + + + + + + + + + + + false + + + + + + 80 + + + + + + 25 + + + + + + + + + + + + + black + + + + + + false + + + + + + false + + + + + video + ,model:'',mode:,screenWidth:,screenHeight:,memory:,switches:'',scale:,charCols:,charRows:,fontROM:'',screenColor:'',touchScreen:,autoLock: + + + + + + + + + + + + + + + + + + + + + + + + + + debugger + ,commands:'',messages:'' + + + + + + + + + + + + + + panel + + + + + + + + + + + + + + + + + + + + 20 + + + + + + 0 + + + + + + + + + + + + computer + ,buswidth:'',resume:'',state:'' + + + +
    diff --git a/versions/pcjs/1.16.5/document.css b/versions/pcjs/1.16.5/document.css new file mode 100644 index 0000000000..7072b406e4 --- /dev/null +++ b/versions/pcjs/1.16.5/document.css @@ -0,0 +1,162 @@ +@CHARSET "UTF-8"; + +.page { + margin: 2% 2%; + padding: 2% 2%; + min-width: 30em; + overflow: auto; + font-size: large; + font-family: Helvetica, Arial, sans-serif; + background: #303030; + color: #ccc; + +} +.page-header { +} +.page-header-title { + text-align: center; + +} +.page a { + color: #7fc07f; + text-decoration: none; +} +a.footlink, a.paralink { + text-decoration: none; +} +a.footlink:link, a.paralink:link { + color: blue; +} +a.footlink:visited, a.paralink:visited { + color: blue; +} +.galleryitem { + float: left; + width: 200px; +} +.item { + float: left; + width: 2em; + text-indent: 1em; +} +.list { + margin-left: 3em; + text-indent: 0; + text-align: justify; +} +ul { + list-style: none; +} +div.pnumber { + float: left; + width: 2em; + text-indent: 1em; +} +div.pitem { + margin-left: 10em; +} +p.indent, .justified p { + text-indent: 2em; + text-align: justify; + line-height: 1.5em; +} +p.noindent { + text-indent: 0; + text-align: justify; +} +p.center, .center { + text-align: center; +} +li.para { + margin-top: 1em; + margin-bottom: 1em; +} +.left { + text-align: left; +} +.right { + text-align: right; +} +blockquote.tag { + font-size: small; + font-family: Monaco, Fixed, monospace; + margin-top: 0; + margin-bottom: 0; +} +.blockquote { + padding-left: 1em; + text-indent: 0; + text-align: justify; +} +.italics { + font-style: italic; +} +.medium { + font-size: medium; +} +.small { + font-size: x-small; +} +.smallcaps { + font-variant: small-caps; +} +.strike { + text-decoration: line-through; +} +.summation, .bracelist { + display: inline-block; + position: relative; + vertical-align: middle; + text-align: center; + margin-bottom: 0.5ex; + text-indent: 0; +} +.bracelist-symbol { + font-size: 3em; + vertical-align: -40%; +} +.summation .summation-lower, .summation .summation-upper, .bracelist-item { + display: block; + font-size: 75%; + text-align: center; +} +.summation .summation-upper { + margin-bottom: 0; + margin-left: 0.8ex; + font-style: italic; +} +.summation .summation-lower{ + margin-bottom: -0.6ex; + font-style: italic; +} +.summation .summation-symbol { + font-size: 2em; +} +p sup { + vertical-align: baseline; + position: relative; + bottom: .5em; + font-size: small; +} +p sub { + vertical-align: baseline; + position: relative; + bottom: -.5em; + font-size: small; +} +.footnote { + font-size: medium; + text-indent: 1em; + text-align: justify; + margin-top: .5em; +} +.image-right { + float: right; + margin-left: 1em; + margin-top: 1em; + margin-bottom: 1em; +} +.image-caption { + font-size: small; + text-align: center; +} \ No newline at end of file diff --git a/versions/pcjs/1.16.5/document.xsl b/versions/pcjs/1.16.5/document.xsl new file mode 100644 index 0000000000..3b3b7ff65c --- /dev/null +++ b/versions/pcjs/1.16.5/document.xsl @@ -0,0 +1,450 @@ + + + + + +]> + + + + + + + +

    +
    + + + + + + + +

    +
    + +

    +
    +
    +
    + + + + + + +
    +
    + + +
    + +   + + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + +

    +
    + + +

    +
    + + +

    +
    + + +
    +
    + + +
    +
    + + + + + + + + + + + + + + +
    +
    + + +
    +
    + + +
  • +
    + + +
    image
    +
    + + +
    +
    + + + + +
    {.}
    +
    + +
    {.}
    +
    +
    +
    + + + + + + + + + + < + > + + + + × + + ÷ + σ + + + + + + + + + + + + { + + + + + + + + + + [] + + + + +
    + +
    +
    + + + , and + + + + + MDY + + + + + + + + + + + + + + + + + + + + January + February + March + April + May + June + July + August + September + October + November + December + + + , + + + + + +

    + +
    +
    + + +
    + {.}
    +
    +
    +
    + + + +

    Timeline

    +
    + +

    +
    +
    + +
    +
    + + + + + + + + + +

    +
    + +
    +
    +
    + + + +

    People

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + +

    +
      + +
    +
    + + + + + + + + + + +
  • + +
  • +
    + + + +

    +
    +

    + +

    +
    +
    + + + + false + + + + + + [Original] + + + + + + + + + + [] + + +
    by
    + + +
    + [Source: + + + + + + + ] +
    +
    +
    + + + +

    Resources

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + + +

    +
    +
      + +
    +
    + + +
  • +
    + + + +

    +
    +
    + +
    +
    + + + +

    +
    + +
    + + + +

    +
    +
      + +
    +
    + + + + + +
      + +
    +
    + + + + +
  • +
    + +
  • +
    + +
  • +
    +
    +
    + + +
  • +
    + + + + + + + + + + +
    + < ="" + + ></> + ></> + /> + +
    +
    + +
    diff --git a/versions/pcjs/1.16.5/machine.xsl b/versions/pcjs/1.16.5/machine.xsl new file mode 100644 index 0000000000..3ccf900f51 --- /dev/null +++ b/versions/pcjs/1.16.5/machine.xsl @@ -0,0 +1,49 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    +
    + + + + js + , + +
    +
    + +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.16.5/manifest.xsl b/versions/pcjs/1.16.5/manifest.xsl new file mode 100644 index 0000000000..61420aadff --- /dev/null +++ b/versions/pcjs/1.16.5/manifest.xsl @@ -0,0 +1,247 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Document Manifest

    +
    +
      + + + + None + + + + + + + + + + + + + + + + +
    +
    +
    +

    + +
    +
    +
    + + +
    + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Software Manifest

    +
    +
      + + + + None + + + + + Unknown + + + + + None + + + + + None + + + + + + + + + + + + + UpdatedReleased + + Unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + +

    No default machine specified for '' in manifest.xml

    +
    + +
    +
    +
    + + + + -dbg + + + + + + +
    + + + + + Unknown + +
  • +
      + + + + + + + + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + +
        + +
      • + + + + + + +
      • +
        +
      +
      +
    • +
      + + + + + + + + +
    +
  • +
    +
    + +
    diff --git a/versions/pcjs/1.16.5/outline.xsl b/versions/pcjs/1.16.5/outline.xsl new file mode 100644 index 0000000000..00d1bd9664 --- /dev/null +++ b/versions/pcjs/1.16.5/outline.xsl @@ -0,0 +1,47 @@ + + + + +]> + + + + + + + + + + + + + + + + + + <xsl:value-of select="title"/><xsl:text> | </xsl:text><xsl:value-of select="$SITEHOST"/> + + + + + +
    +
    + +
    +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.16.5/pc-dbg.js b/versions/pcjs/1.16.5/pc-dbg.js new file mode 100644 index 0000000000..7861ce92c8 --- /dev/null +++ b/versions/pcjs/1.16.5/pc-dbg.js @@ -0,0 +1,790 @@ +(function(){var k,ba,l,ca={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36]}; +function da(a,b){var c;if(a){b||(b=16);if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var d=a.charAt(a.length-1).toLowerCase();"h"==d?(b=16,d=null):"."==d&&(b=10,d=null);null===d&&(a=a.substr(0,a.length-1))}var e,d=a;(b&&10!=b?16==b?null!==d.match(/^[0-9a-f]+$/i):1:null!==d.match(/^[0-9]+$/))&&!isNaN(e=parseInt(a,b))&&(c=e)}return c} +function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function q(a){return p(a,2)}function r(a){return p(a,4)}function ea(a,b){return void 0!==b?r(b)+":"+r(a):p(a)}function fa(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function ja(a){return a.replace(/[&<>"']/g,function(a){return ha[a]})}function ka(a,b){var c="",d;for(d in a)d=d.replace(/([\\[\]*{}().+?])/g,"\\$1"),c+=(c?"|":"")+d;return b.replace(new RegExp("("+c+")","g"),function(b){return a[b]})}function la(a){return String.prototype.trim?a.trim():a.replace(/^\s+|\s+$/g,"")} +function ma(a,b,c){var d=0,e=a.length,f=0;for(void 0===c&&(c=function(a,b){return a>b?1:a>1,h;h=c(b,a[g]);0c&&a.splice(-(c+1),0,b)}function pa(){return Date.now()||+new Date}function qa(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())} +var ra=[31,28,31,30,31,30,31,31,30,31,30,31]; +function sa(a,b,c,d,e,f){b=!!b;var g=0,h=null,n=fa(a),m=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(m.onreadystatechange=function(){4===m.readyState&&(h=m.responseText,200==m.status||!m.status&&h.length&&"file:"==(window?window.location.protocol:"file:")||(g=m.status||-1),e&&(d?e.call(d,n,h,g,f):e(n,h,g,f)))});if(c){var t="",s;for(s in c)c.hasOwnProperty(s)&&(t&&(t+="&"),t+=s+"="+encodeURIComponent(c[s]));t=t.replace(/%20/g,"+");m.open("POST", +a,b);m.setRequestHeader("Content-type","application/x-www-form-urlencoded");m.send(t)}else m.open("GET",a,b),m.send();a=[];b||(h=m.responseText,200!=m.status&&(g=m.status||-1),e&&(d?e.call(d,n,h,g,f):e(n,h,g,f)),a=[g,h]);return a}function ta(){return"http://"+(window?window.location.host:"www.pcjs.org")}function w(a){window&&window.alert(a)}function ua(a){var b=!1;window&&(b=window.confirm(a));return b}var va=null; +function wa(){if(null==va){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}va=a}return va}function xa(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}function Aa(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1} +function Ba(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}function Ca(a,b,c){function d(){a-=1;0<=a&&(b()||(a=0));0=this.Bf?12:14;this.qc=1<>2;this.Sa=this.qc-1;this.lh=(this.Xf+this.qc)/this.qc|0;this.Fd=this.lh-1;this.zd=[];this.Ad=[];this.og=this.pg=!1;this.Vi();D(this)}Wa(y,jb);k=jb.prototype; +k.Vi=function(){this.Ca=Array(this.lh);for(var a=0;a>a.bb;0>this.bb;0>a.bb;0>this.bb].gc(a&this.Sa)};function qb(a,b){return a.Ca[(b&a.pc)>>a.bb].Lg(b&a.Sa)} +k.ra=function(a){var b=a&this.Sa;a=(a&this.pc)>>this.bb;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};function rb(a,b){var c=b&a.Sa,d=(b&a.pc)>>a.bb;return c!=a.Sa?a.Ca[d].Xj(c):a.Ca[d++].Lg(c)|a.Ca[d&a.Fd].Lg(0)<<8}k.ld=function(a,b){this.Ca[(a&this.pc)>>this.bb].mc(a&this.Sa,b&255)};k.Va=function(a,b){var c=a&this.Sa,d=(a&this.pc)>>this.bb;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))}; +function sb(a,b,c){var d=b&a.Sa;b=(b&a.pc)>>a.bb;d!=a.Sa?a.Ca[b].hk(d,c&65535):(a.Ca[b++].Pf(d,c&255),a.Ca[b&a.Fd].Pf(0,c>>8&255))}function tb(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},function(a){var b=a>>2;a=(a&3)<<3;var c=this.ya[b]>>>a;return 24>a?c&65535:c&255|(this.ya[b+1]&255)<<8},function(a,b){var c=a>>2,d=(a&3)<<3;this.ya[c]=this.ya[c]&~(255<>2,d=(a&3)<<3;24>d?this.ya[c]=this.ya[c]&~(65535<>8);this.zb=!0}],Hb=[function(a){Fb(this.ka,this.be+a);return this.Lg(a)},function(a){Fb(this.ka, +this.be+a)||Fb(this.ka,this.be+a+1);return this.Xj(a)},function(a,b){Gb(this.ka,this.be+a);this.Pf(a,b)},function(a,b){Gb(this.ka,this.be+a)||Gb(this.ka,this.be+a+1);this.hk(a,b)}];lb.prototype={save:function(){return this.ga?null:this.ya},restore:function(a){return this.ga?null==a:a&&this.Im==a.length<<2?(this.ya=a,this.zb=!0):!1},bf:function(a,b){a||(a=[]);void 0===b&&(b=!0);Ib(this,a,b);Jb(this,a,b)},ae:function(a,b){b?0===this.Ck++&&Jb(this,Hb):0===this.Ak++&&Ib(this,Hb)}}; +function Kb(a,b){b?0===--a.Ck&&(a.mc=a.Ah?Eb:a.Pf,a.gk=a.Ah?Eb:a.hk):0===--a.Ak&&(a.gc=a.Lg,a.Wj=a.Xj)}function kb(a,b,c,d,e){a.T=b;a.ka=c;a.be=d;a.Ak=a.Ck=0;a.ka&&Lb(a.ka,d,e)}function Jb(a,b,c){a.mc=!a.Ah&&b[2]||Eb;a.gk=!a.Ah&&b[3]||Eb;c&&(a.Pf=b[2]||Eb,a.hk=b[3]||Eb)}function Ib(a,b,c){a.gc=b[0]||Db;a.Wj=b[1]||Db;c&&(a.Lg=b[0]||Db,a.Xj=b[1]||Db)} +function Mb(a,b){y.call(this,"CPU",a,Mb,1);var c=a.cycles||b,d=a.multiplier||1;this.da={};this.da.td=c;this.da.Qd=d;this.da.Ih=Math.round(this.da.td/1E4)/100;this.da.Ue=this.da.Ih*this.da.Qd;this.ma.Tb=!1;this.ma.nb=!1;this.ma.Mi=!1;this.ma.Ei=a.autoStart;this.ma.Lk=!1;c=Pa.autostart;void 0!==c&&(this.ma.Ei="true"==c?!0:"false"==c?!1:null);this.ma.sf=!1;this.da.sg=this.da.Df=0;this.da.tg=a.csStart;this.da.Cf=a.csInterval;this.da.Ef=a.csStop;var e=this;this.uo=function(){e.Ze()};D(this)}Wa(y,Mb); +k=Mb.prototype;k.zc=function(a,b,c,d){this.sa=b;this.ka=d;this.Ma=a;var e=hb(a,"Video");e&&(this.Bi=function(){Nb(e)},this.Oc=function(){e.Oc()});this.oa=hb(a,"ChipSet");D(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.fc=function(a,b){if(!b){if(a&&this.restore){Ob(this);if(!this.restore(a))return!1;Qb(this)}else this.reset();this.ka?this.ka.ao():this.Z("No debugger detected")}this.ma.Tb=!0;!Rb(this)&&this.ka&&Sb(this.ka);Tb(this);return!0}; +k.ec=function(a){this.ma.Tb=!1;return a&&this.save?this.save():!0};function Rb(a){return!0===a.ma.Ei||null===a.ma.Ei&&!a.ka&&void 0===a.xa.run?(a.Ze(),!0):!1}k.Tk=function(){return 0};function Qb(a){void 0===a.da.tg&&(a.da.tg=0);void 0===a.da.Cf&&(a.da.Cf=-1);void 0===a.da.Ef&&(a.da.Ef=-1);a.ma.sf=0<=a.da.tg&&0=a.da.Df&&(a.da.Df+=a.da.Cf,c=!0);0<=a.da.Ef&&a.da.Ef<=F(a)&&(a.da.Cf=a.da.Ef=-1,Qb(a),a.qb(),c=!0);c&&a.Z(F(a)+" cycles: checksum="+p(a.da.sg))}}function G(a,b,c,d){a.xa[b]&&(void 0===d&&(d=4),void 0===c&&(fb(a,"Register "+b+" is invalid"),a.qb()),c=!a.ma.nb||a.ma.Lk?p(c,d):"----".substr(0,d),a.xa[b].textContent!=c&&(a.xa[b].textContent=c))}k.rh=function(){};k.Bi=function(){};k.Oc=function(){}; +k.Ib=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.xa[b]=c;c.onclick=function(){d.ma.nb?d.qb(!0):d.Ze(!0)};a=!0;break;case "reset":this.xa[b]=c;c.onclick=function(){d.Ma&&Vb(d.Ma)};a=!0;break;case "speed":this.xa[b]=c;a=!0;break;case "setSpeed":this.xa[b]=c,c.onclick=function(){Wb(d,d.da.Qd<<1,!0)},c.textContent=this.da.Ue.toFixed(2)+"Mhz",a=!0}return a};function Xb(a,b){if(a.ma.nb){var c=a.A-b;a.A-=c;a.Wc-=c}}function Yb(a,b,c){a.Ye+=b;c&&(a.Wc=a.A=0)} +function Zb(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1a.da.Ih&&(c=Math.round(c/a.da.Qd));return c}function Ob(a){a.da.pe=0;a.Ye=a.te=a.Wc=a.A=0;Qb(a);Wb(a,1)} +function Wb(a,b,c){if(void 0!==b){0.8>a.da.pe/a.da.Ue&&(b=1);a.da.Qd=b;b=a.da.Ih*a.da.Qd;if(a.da.Ue!=b){a.da.Ue=b;b=a.da.Ue.toFixed(2)+"Mhz";var d=a.xa.setSpeed;d&&(d.textContent=b);a.Z("target speed: "+b)}c&&a.Oc()}Yb(a,a.te);a.te=0;a.da.Af=pa();a.da.Ve=0;Zb(a)} +k.Ze=function(a){if(cb(this,!0)){if(!this.ma.nb){Wb(this);this.Ma&&this.Ma.start(this.da.Af,F(this));this.ma.nb=!0;this.ma.Mi=!0;this.oa&&$b(this.oa);var b=this.xa.run;b&&(b.textContent="Halt");this.rh(!0);a&&this.Oc()}this.da.bj>=this.da.td&&Zb(this,!0);this.da.wg=0;this.da.Jh=pa();this.da.Ve&&(a=this.da.Jh-this.da.Ve,a>this.da.al&&(this.da.Af+=a,this.da.Af>this.da.Jh&&(this.da.Af=this.da.Jh)));try{do{var c=this.ma.sf?1:this.da.po;if(this.oa){ac(this.oa);var d=this.oa;a=c;var e=d.Kb[0];if(e.Se){var f= +(F(d.T,d.le)-e.kd)/d.Sh|0,g=bc(d,0)-f;6==e.mode&&(g-=f);var h=g*d.Sh|0;6==e.mode&&(h>>=1);a>h&&(a=h)}var c=a,n=this.oa;a=c;if(n.na&&n.na[11]&64){var m=n.If-F(n.T,n.le);0m&&(a=m)}c=a}this.Of(c);var t=this.Wc-this.A;this.te+=t;this.da.wg+=t;Yb(this,0,!0);Ub(this,t);this.da.vg-=t;0>=this.da.vg&&(this.da.vg+=this.da.el,this.Bi());this.da.ug-=t;0>=this.da.ug&&(this.da.ug+=this.da.dl,this.rh());this.da.Ff-=t;if(0>=this.da.Ff){this.da.Ff+=this.da.aj;break}}while(this.ma.nb)}catch(s){this.qb();Tb(this); +this.Ma&&this.Ma.stop(pa(),F(this));cb(this,!1);fb(this,s.message);return}c=setTimeout;d=this.uo;this.da.Ve=pa();e=this.da.al;this.da.wg&&(e=Math.round(e*this.da.wg/this.da.aj));e-=this.da.Ve-this.da.Jh;if(f=this.da.Ve-this.da.Af)this.da.pe=Math.round(this.te/(10*f))/100,864E5<=f&&(this.Ye=0,this.oa&&ac(this.oa,!0),Wb(this));if(0>e||this.da.pethis.sc?this.Ha+a:rc.call(this,0,0,c)}function rc(a,b,c){c||lc.call(this.T,13,0);return-4} +function tc(a,b,c){return a+b<=this.sc?this.Ha+a:uc.call(this,0,0,c)}function vc(a,b,c){return a+b>this.sc?this.Ha+a:uc.call(this,0,0,c)}function uc(a,b,c){c||lc.call(this.T,13,0);return-4} +function wc(a,b){var c=this.T,d=c.ib.Ha,e=this.eb,f=c.ib.ta;if(!b){if(768!=c.ib.type)return lc.call(c,10,a,!0),!1;c.Va(c.ib.Cd+4,c.ib.sb&-769|256)}if(-4==c.ib.load(a))return!1;var g=c.ib.Ha;if(b){if(768==c.ib.type)return lc.call(c,13,a,!0),!1;c.Va(c.ib.Cd+4,c.ib.sb|=768);c.ib.type=768}c.Va(d+14,c.wa);c.Va(d+16,xc(c));c.Va(d+18,c.H);c.Va(d+20,c.J);c.Va(d+22,c.K);c.Va(d+24,c.C);c.Va(d+26,c.Y);c.Va(d+28,c.I);c.Va(d+30,c.G);c.Va(d+32,c.F);c.Va(d+34,c.La.ta);c.Va(d+36,c.va.ta);c.Va(d+38,c.Za.ta);c.Va(d+ +40,c.hb.ta);var d=38,h=26;yc(c,c.ra(g+16)|(b?16384:0));c.H=c.ra(g+18);c.J=c.ra(g+20);c.K=c.ra(g+22);c.C=c.ra(g+24);c.I=c.ra(g+28);c.G=c.ra(g+30);c.F=c.ra(g+32);c.La.load(c.ra(g+34));c.hb.load(c.ra(g+40));zc(c,c.ra(g+14),c.ra(g+36));this.eb>13;if(6144<=h){x=c&3;if(x>a.eb){if(!1!==m&&!(v==a.eb||g&1024&&v<=a.eb)){n=-4;break}s=e.Pa();e.Za.load(e.Pa());e.Y=s;a.Dh=!0}s=!1}else if(1024==h)s=!0,u=-1,t=c,xh||2048==(h&2560))){d||lc.call(e,13,c,!!g);n=-4;break}}else if(3==a.id){if(!m||4096>h||2048==(h&2560)){d|| +lc.call(e,13,c,!0);n=-4;break}}else if(4==a.id){if(!m||256!=h&&768!=h){d||lc.call(e,10,c,!0);n=-4;break}}else if(6==a.id&&!(g&4096)&&768>13}else a.load=gc,a.$k=mc,a.Kc=oc,a.$b=pc,a.sc=65535,a.eb=a.rc=0,a.Cd=-4} +function Ec(a){this.Ka=a.model||8088;var b=0;switch(this.Ka){default:case 8088:b=4772727;break;case 80286:b=6E6}Mb.call(this,a,b);this.mk=61442;this.Ug=1792;this.Tg=4;this.Jf=255;this.B=80286<=this.Ka?Fc:Gc;this.$a=Ic.slice();this.Dm=Jc.slice();this.Em=Kc.slice();this.pk=Lc;80186<=this.Ka&&(this.Jf=31,this.$a[15]=Mc,this.$a[96]=Nc,this.$a[97]=Oc,this.$a[98]=Pc,this.$a[99]=Mc,this.$a[100]=Mc,this.$a[101]=Mc,this.$a[102]=Mc,this.$a[103]=Mc,this.$a[104]=Qc,this.$a[105]=Rc,this.$a[106]=Sc,this.$a[107]= +Tc,this.$a[108]=Uc,this.$a[109]=Vc,this.$a[110]=Wc,this.$a[111]=Xc,this.$a[192]=Yc,this.$a[193]=Zc,this.$a[200]=$c,this.$a[201]=ad,this.$a[241]=bd,this.Dm[7]=cd,this.Em[7]=cd,80286<=this.Ka&&(this.mk=2,this.Ug|=28672,this.Tg=0,this.$a[15]=dd,this.$a[99]=ed,this.$a[84]=fd));this.Wg=[];this.Xg=[];this.Wc=this.dg=0;this.ma.lg=this.ma.Jk=!1;this.Ca=[];this.Fe=this.bb=this.Sa=this.Fd=0;this.U=this.$m;this.V=this.an;this.O=this.ho;this.P=this.io;this.R=this.xp;this.S=this.yp;gd(this)}Wa(Mb,Ec); +var Gc={Rj:4,ca:5,Aa:6,ha:7,ia:8,Q:9,W:11,X:12,We:4,gl:60,hl:83,bc:3,Gb:9,tc:16,Ph:1,ll:19,nl:28,pl:16,ol:21,ml:37,jl:2,kj:9,kl:5,il:33,mj:10,lj:8,Bg:3,Ag:15,Dl:51,El:1,Fl:2,Gl:4,Cl:32,nj:15,Il:15,cc:16,dc:4,Kl:11,Jl:18,Hl:24,Ob:4,Ll:2,oj:16,Ml:17,tj:18,Nl:19,sj:5,uj:6,Sl:2,Rl:8,Pl:9,Ql:10,Ol:10,vj:10,wj:10,rl:80,tl:144,ql:86,sl:154,vl:101,xl:165,ul:107,wl:171,Ul:70,Wl:113,Tl:76,Vl:124,zl:80,Bl:128,yl:86,Al:134,Dg:3,Cg:16,Bj:10,Aj:8,Xl:51,uc:8,Yl:17,Zl:36,Ac:11,$l:16,Eg:10,se:2,hj:18,ij:7,jj:15,pj:12, +qj:7,rj:11,xj:18,yj:7,zj:15,Cj:15,Dj:7,Ej:13,Ij:11,Jj:7,Kj:8,am:8,dm:12,bm:18,cm:17,em:15,Gj:8,Fj:20,Hj:2,Nj:3,Fg:9,Mj:5,Lj:11,Pj:4,Oj:17,fm:11},Fc={Rj:0,ca:0,Aa:0,ha:0,ia:0,Q:0,W:1,X:1,We:3,gl:14,hl:16,bc:2,Gb:7,tc:7,Ph:0,ll:7,nl:13,pl:7,ol:11,ml:16,jl:3,kj:6,kl:2,il:13,mj:5,lj:5,Bg:2,Ag:7,Dl:23,El:0,Fl:1,Gl:3,Cl:17,nj:7,Il:11,cc:7,dc:3,Kl:7,Jl:11,Hl:15,Ob:2,Ll:3,oj:7,Ml:8,tj:8,Nl:8,sj:4,uj:4,Sl:2,Rl:3,Pl:5,Ql:2,Ol:3,vj:5,wj:3,rl:14,tl:22,ql:17,sl:25,vl:17,xl:25,ul:20,wl:28,Ul:13,Wl:21,Tl:16,Vl:24, +zl:13,Bl:21,yl:16,Al:24,Dg:2,Cg:7,Bj:5,Aj:5,Xl:19,uc:5,Yl:5,Zl:17,Ac:3,$l:5,Eg:3,se:0,hj:8,ij:5,jj:9,pj:5,qj:5,rj:4,xj:5,yj:5,zj:4,Cj:7,Dj:5,Ej:8,Ij:3,Jj:4,Kj:3,am:11,dm:11,bm:15,cm:15,em:7,Gj:5,Fj:8,Hj:0,Nj:2,Fg:6,Mj:3,Lj:6,Pj:3,Oj:5,fm:5};k=Ec.prototype;k.Vi=function(a,b,c,d,e){this.Ca=a;this.Fe=b;this.bb=c;this.Sa=d;this.Fd=e};k.reset=function(){this.ma.nb&&this.qb();gd(this);Ob(this);this.ma.gd=!1}; +function gd(a){a.H=0;a.C=0;a.J=0;a.K=0;a.Y=0;a.I=0;a.G=0;a.F=0;a.hc=65520;a.Sc=0;a.Ee=1023;a.Hf=0;a.Oh=-1;a.va=new dc(a,ec,"CS");a.hb=new dc(a,2,"DS");a.La=new dc(a,2,"ES");a.Za=new dc(a,3,"SS");a.tm=new dc(a,0,"NULL");zc(a,0,65535);80286<=a.Ka&&(a.Gc=0,a.De=65535,a.Zc=new dc(a,5,"LDT",!0),a.ib=new dc(a,4,"TSS",!0),a.Ub=new dc(a,6,"VER",!0),zc(a,65520,61440),a.va.Ha=16711680);yc(a,0);hd(a);a.Ab=0;a.Pb=a.Mg=-1;a.gh=0;a.ja=a.Qa=-4;a.D=a.hb;a.N=a.Za;a.ba=a.Ea=0} +k.Tk=function(){var a=this.H+this.C+this.J+this.K+this.Y+this.I+this.G+this.F|0;return a=a+this.wa+this.va.ta+this.hb.ta+this.Za.ta+this.La.ta+xc(this)|0};function id(a,b,c,d){void 0!==d&&(void 0===a.Wg[b]&&(a.Wg[b]=[]),a.Wg[b].push([c,d]))}function jd(a,b){var c=a.Wg[b];if(void 0!==c)for(var d=0;d>1?128:0}function Bd(a){return(a.la^a.qa^a.la>>1)&a.ea>>1?2048:0}function Cd(a){a.aa&=~a.ea}function Dd(a){a.qa=a.la&16|a.qa&-17}function Ed(a){a.aa|=a.ea-1}function Fd(a){Ad(a)&&(a.la^=a.ea>>1|a.ea>>2,a.qa^=32896)} +function Id(a){a.la&=~a.ea;a.qa=a.la&32896|a.qa&-32897}function Jd(a){a.aa|=a.ea}function Kd(a){a.qa=~(a.la&16)&16|a.qa&-17}function Ld(a){a.aa&=~(a.ea-1)}function Md(a){Ad(a)||(a.la^=a.ea>>1|a.ea>>2,a.qa^=32896)}function Nd(a){a.la|=a.ea;a.qa=a.la&32896|a.qa&-32897}function xc(a){return a.Ba&-2262|wd(a)|xd(a)|yd(a)|zd(a)|Ad(a)|Bd(a)} +function yc(a,b,c){a.ea=256;a.aa=a.la=a.qa=0;b&1&&Jd(a);b&4||(a.la|=1);b&16&&(a.qa|=16);b&64||Ed(a);b&128&&Md(a);b&2048&&Nd(a);a.hc&1||(b&=-61441);void 0===c&&(c=a.va.eb);c?b=b&-12289|a.Ba&12288:a.Hf=(b&12288)>>12;c>a.Hf&&(b=b&-513|a.Ba&512);a.Ba=a.Ba&~a.Ug|b&a.Ug|a.mk;a.Ba&256&&(a.Ab|=2,a.ba|=4)} +k.Ib=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.xa[b]=c;d=!0;break;default:d=Mb.prototype.Ib.call(this,a,b,c)}return d};k.ob=function(a){return this.Ca[(a&this.Fe)>>this.bb].gc(a&this.Sa)}; +k.ra=function(a){var b=a&this.Sa;a=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;return b!=this.Sa?this.Ca[a].Wj(b):this.Ca[a++].gc(b)|this.Ca[a&this.Fd].gc(0)<<8};k.ld=function(a,b){this.Ca[(a&this.Fe)>>this.bb].mc(a&this.Sa,b&255)};k.Va=function(a,b){var c=a&this.Sa,d=(a&this.Fe)>>this.bb;this.A-=this.B.Rj;c!=this.Sa?this.Ca[d].gk(c,b&65535):(this.Ca[d++].mc(c,b&255),this.Ca[d&this.Fd].mc(0,b>>8&255))};k.$m=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)}; +k.an=function(a,b){this.Qg=a;this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.ho=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,0);return this.ba&1?0:this.ob(this.ja)};k.io=function(a,b){this.Qg=a;this.Qa=this.ja=a.Kc(this.Ig=b,1);return this.ba&1?0:this.ra(this.ja)};k.xp=function(a){this.ba&2||this.ld(this.Qg.$b(this.Ig,0),a)};k.yp=function(a){this.ba&2||this.Va(this.Qg.$b(this.Ig,1),a)};k.fa=function(){var a=this.ob(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a}; +k.M=function(){var a=this.ob(this.Fa)<<24>>24;this.Fa=this.va.Ha+(this.wa=this.wa+1&65535);return a&65535};k.L=function(){var a=this.ra(this.Fa);this.Fa=this.va.Ha+(this.wa=this.wa+2&65535);return a};k.Pa=function(){var a=this.Y;this.Y=this.Y+2&65535;return this.ra(this.Za.Kc(a,1))};function H(a,b){var c=a.Y=a.Y-2&65535;a.Va(a.Za.$b(c,1),b)} +k.rh=function(a){if(a||!this.ma.nb||this.ma.Lk)G(this,"AX",this.H),G(this,"BX",this.C),G(this,"CX",this.J),G(this,"DX",this.K),G(this,"SP",this.Y),G(this,"BP",this.I),G(this,"SI",this.G),G(this,"DI",this.F),G(this,"CS",this.va.ta),G(this,"DS",this.hb.ta),G(this,"SS",this.Za.ta),G(this,"ES",this.La.ta),G(this,"IP",this.wa),a=xc(this),G(this,"PS",a),G(this,"C",a&1?1:0,1),G(this,"P",a&4?1:0,1),G(this,"A",a&16?1:0,1),G(this,"Z",a&64?1:0,1),G(this,"S",a&128?1:0,1),G(this,"T",a&256?1:0,1),G(this,"I",a& +512?1:0,1),G(this,"D",a&1024?1:0,1),G(this,"V",a&2048?1:0,1);if(a=this.xa.speed)a.textContent=this.ma.nb&&this.da.pe?this.da.pe.toFixed(2)+"Mhz":"Stopped"}; +k.Of=function(a){this.ma.lg=!0;var b=this.ma.Jk=this.ka&&Od(this.ka),c=this.ma.Mi||!a;this.ma.Mi=!1;this.Wc=this.A=a;this.oa&&!a&&ac(this.oa);a||this.ua(512)||(this.ba|=4);do{var d=this.ba&240;if(d)this.Ea|=d;else if(this.Jg=this.Fa,this.ja=this.Qa=-4,this.D=this.hb,this.N=this.Za,this.Ea=this.ba&256,this.Ab){a:{if(!(this.ba&4))if(this.Ab&1&&this.Ba&512){if(d=Pd(this.oa),-1<=d&&(this.Ab&=-2,0<=d)){this.Ab&=-5;Qd.call(this,d,null,11);d=!0;break a}}else if(this.Ab&2){this.Ab&=-3;Qd.call(this,1,null, +11);d=!0;break a}if(d=this.Ab&8){for(var d=this.oa,e=!1,f=0;fthis.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=a+b)&255}function Ud(a,b){this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a|b)&255} +function Vd(a,b){this.qa=a^b;this.aa=this.la=a+b+(this.aa&this.ea?1:0);this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return this.aa&255}function Wd(a,b){this.qa=a^b;this.aa=this.la=a-b-(this.aa&this.ea?1:0);this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return this.aa&255}function Xd(a,b){this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a&b)&255} +function Yd(a,b){this.qa=a^b;this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=a-b)&255}function Zd(a,b){this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a^b)&255}function $d(a,b){this.qa=a^b;this.ea=256;this.aa=this.la=a-b;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.kj:this.B.Gb;this.ba|=2;return a} +function ae(a,b){this.qa=a^b;this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=a+b)&65535}function be(a,b){this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a|b)&65535}function ce(a,b){this.qa=a^b;this.aa=this.la=a+b+(this.aa&this.ea?1:0);this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return this.aa&65535} +function de(a,b){this.qa=a^b;this.aa=this.la=a-b-(this.aa&this.ea?1:0);this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return this.aa&65535}function ee(a,b){this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a&b)&65535}function fe(a,b){this.qa=a^b;this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=a-b)&65535} +function ge(a,b){this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.Gb:this.B.tc;return(this.aa=this.la=this.qa=a^b)&65535}function he(a,b){this.qa=a^b;this.ea=65536;this.aa=this.la=a-b;this.A-=0>this.Qa?0>this.ja?this.B.bc:this.B.kj:this.B.Gb;this.ba|=2;return a}function ie(a,b){this.aa=this.aa&this.ea-1|(a&b?this.ea:0);(a^a>>1)&b>>1?Nd(this):Id(this)}function je(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;ie.call(this,d,256)}return c} +function ke(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;ie.call(this,d,65536)}return c}function le(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);ie.call(this,d,256)}return c}function me(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);ie.call(this,d,65536)}return c} +function ne(a,b){var c=a;if(b){var d;(d=(b&this.Jf)%9)?(d=a<>9-d,c=d&255):d=a|(this.aa&this.ea?1:0)<<8;ie.call(this,d,256)}return c}function oe(a,b){var c=a;if(b){var d;(d=(b&this.Jf)%17)?(d=a<>17-d,c=d&65535):d=a|(this.aa&this.ea?1:0)<<16;ie.call(this,d,65536)}return c}function pe(a,b){var c=a;b&&(c=(b&this.Jf)%9,c=a>>c|(this.aa&this.ea?1:0)<<8-c|a<<9-c,ie.call(this,c,256),c&=255);return c} +function qe(a,b){var c=a;b&&(c=(b&this.Jf)%17,c=a>>c|(this.aa&this.ea?1:0)<<16-c|a<<17-c,ie.call(this,c,65536),c&=65535);return c}function re(a,b){var c=a;b&&(c=8>b-1;this.aa=this.la=c>>1;this.aa=c&1?this.aa|256:this.aa&-257;this.qa=a^this.aa;this.ea=256;a=this.aa}return a&255}function ue(a,b){if(b){var c=16>b-1;this.aa=this.la=c>>1;this.aa=c&1?this.aa|65536:this.aa&-65537;this.qa=a^this.aa;this.ea=65536;a=this.aa}return a&65535}function ve(a,b){if(b){8>24>>b-1;this.aa=this.la=c>>1;this.aa=c&1?this.aa|256:this.aa&-257;this.qa=a^this.aa;this.ea=256;a=this.aa}return a&255} +function we(a,b){if(b){16>16>>b-1;this.aa=this.la=c>>1;this.aa=c&1?this.aa|65536:this.aa&-65537;this.qa=a^this.aa;this.ea=65536;a=this.aa}return a&65535}function xe(){this.A-=0>this.ja?2:this.B.em;return 1}function ye(){var a=this.J&this.Jf;this.A-=(0>this.ja?this.B.Gj:this.B.Fj)+(a<this.ja?this.B.Gj:this.B.Fj)+(a<this.Qa?this.B.uc:this.B.Yl;return b},Be,Be,Be,Be,Be,Be,Be],Fe=[function(a,b){this.A-=0>this.Qa?this.B.Ql:this.B.Ol;return b},K,K,K,K,K,K,K],Ge=[je,le,ne,pe,re,te,K,ve],He=[ke,me,oe,qe,se,ue,K,we],Je=[function(a,b){b=this.fa();this.aa=this.la=this.qa=a&b;this.ea=256;this.A-=0>this.ja?this.B.Mj:this.B.Lj;this.ba|=2;return a},K,function(a){this.A-=0>this.ja?this.B.Dg:this.B.Cg;return a^255},function(a,b){b=0;this.qa= +a^b;this.ea=256;this.A-=0>this.ja?this.B.Dg:this.B.Cg;return(this.aa=this.la=b-a)&255},function(a){this.H=this.Pb=(this.aa=(this.H&255)*a)&65535;this.qa=this.la=this.aa;this.ea=256;this.H&65280?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-=0>this.ja?this.B.Ul:this.B.Tl;this.ba|=2;return a},function(a){var b=(this.H<<24>>24)*(a<<24>>24);this.H=this.Pb=b&65535;this.aa=this.qa=this.la=b;this.ea=256;127b?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-=0>this.ja?this.B.zl:this.B.yl;this.ba|= +2;return a},function(a){if(!a)return Ie.call(this),a;var b=this.H/a;if(255this.ja?this.B.rl:this.B.ql;this.ba|=2;return a},function(a){if(!a)return Ie.call(this),a;var b=(this.H<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Ie.call(this),a;this.Pb=this.H=b&255|((this.H<<16>>16)%(a<<24>>24)&255)<<8;this.la=this.qa=this.aa=b|256;this.ea=256;this.A-=0>this.ja?this.B.vl:this.B.ul;this.ba|= +2;return a}],Ke=[function(a,b){b=this.L();this.aa=this.la=this.qa=a&b;this.ea=65536;this.A-=0>this.ja?this.B.Mj:this.B.Lj;this.ba|=2;return a},K,function(a){this.A-=0>this.ja?this.B.Dg:this.B.Cg;return a^65535},function(a,b){b=0;this.qa=a^b;this.ea=65536;this.A-=0>this.ja?this.B.Dg:this.B.Cg;return(this.aa=this.la=b-a)&65535},function(a){this.Pb=this.H=(this.aa=this.H*a)&65535;this.Mg=this.K=this.aa>>16&65535;this.qa=this.la=this.aa;this.ea=65536;this.K?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-= +0>this.ja?this.B.Wl:this.B.Vl;this.ba|=2;return a},function(a){var b=(this.H<<16>>16)*(a<<16>>16);this.H=this.Pb=b&65535;this.K=this.Mg=b>>16&65535;this.aa=this.qa=this.la=b;this.ea=65536;32767b?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-=0>this.ja?this.B.Bl:this.B.Al;this.ba|=2;return a},function(a,b){if(!a)return Ie.call(this),a;b=this.H+65536*this.K;var c=Math.floor(b/a);if(65536<=c)return Ie.call(this),a;this.Pb=this.H=c&65535;this.Mg=this.K=b%a&65535;this.la=this.qa=this.aa=c| +65536;this.ea=65536;this.A-=0>this.ja?this.B.tl:this.B.sl;this.ba|=2;return a},function(a,b){if(!a)return Ie.call(this),a;var c=a<<16>>16;b=this.K<<16|this.H;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Ie.call(this),a;this.Pb=this.H=d&65535;this.Mg=this.K=b%c&65535;this.la=this.qa=this.aa=d|65536;this.ea=65536;this.A-=0>this.ja?this.B.xl:this.B.wl;this.ba|=2;return a}],Jc=[function(a){this.qa=a;a=(this.la=a+1)&255;this.aa=a|(this.aa&this.ea?1:0)<<8;this.ea=256;this.A-=0>this.ja?this.B.Bg: +this.B.Ag;return a},function(a){this.qa=a;a=(this.la=a-1)&255;this.aa=a|(this.aa&this.ea?1:0)<<8;this.ea=256;this.A-=0>this.ja?this.B.Bg:this.B.Ag;return a},K,K,K,K,K,K],Kc=[function(a){this.qa=a;a=(this.la=a+1)&65535;this.aa=a|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=0>this.ja?this.B.Bg:this.B.Ag;return a},function(a){this.qa=a;a=(this.la=a-1)&65535;this.aa=a|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=0>this.ja?this.B.Bg:this.B.Ag;return a},function(a){H(this,this.wa);J(this,a);this.A-= +0>this.ja?this.B.pl:this.B.ol;this.ba|=2;return a},function(a){if(0>this.ja)return K.call(this,a);Le.call(this,a,this.ra(this.ja+2));this.A-=this.B.ml;this.ba|=2;return a},function(a){J(this,a);this.A-=0>this.ja?this.B.Kl:this.B.Jl;this.ba|=2;return a},function(a){if(0>this.ja)return K.call(this,a);zc(this,a,this.ra(this.ja+2));this.dg&&nd(this,this.Fa);this.A-=this.B.Hl;this.ba|=2;return a},function(a){var b=a;this.ba&512&&(a=a-2&65535,80286>this.Ka&&(b=a));H(this,b);this.A-=0>this.ja?this.B.Ac: +this.B.$l;this.ba|=2;return a},Be],Me=[je,le,ne,pe,re,te,K,ve],Ne=[ke,me,oe,qe,se,ue,K,we];function Oe(a,b){this.A-=0>this.Qa?0>this.ja?this.B.Sl:this.B.Rl:this.B.Pl;return b}function Se(){return Oe.call(this,0,this.Pb)}function Te(a,b){this.aa=this.la=this.qa=a&b;this.ea=256;this.A-=0>this.Qa?0>this.ja?this.B.Nj:this.B.Fg:this.B.Fg;this.ba|=2;return a}function Ue(a,b){this.aa=this.la=this.qa=a&b;this.ea=65536;this.A-=0>this.Qa?0>this.ja?this.B.Nj:this.B.Fg:this.B.Fg;this.ba|=2;return a} +function Ve(a,b){var c=(b<<16>>16)*(this.fa()<<24>>24);this.aa=this.qa=this.la=c;this.ea=256;32767c?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-=0>this.ja?21:24;return c&65535}function We(a,b){var c=(b<<16>>16)*(this.L()<<16>>16);this.aa=this.qa=this.la=c;this.ea=65536;32767c?(Jd(this),Nd(this)):(Cd(this),Id(this));this.A-=0>this.ja?21:24;return c&65535}function Xe(a){return a}function Ye(a){if(0>this.ja)return L.call(this),a;this.A-=this.B.Ll;return this.ja} +function Ze(a,b){if(0>this.ja)return L.call(this),a;sd(this,this.ra(this.ja+2));this.A-=this.B.oj;return b}function $e(a,b){if(0>this.ja)return L.call(this),a;ud(this,this.ra(this.ja+2));this.A-=this.B.oj;return b}function af(a){if(0>this.ja)return Mc.call(this),a;var b=a<<16>>16,c=this.ra(this.ja)<<16>>16,d=this.ra(this.ja+2)<<16>>16;this.A-=this.B.il;if(bd)J(this,this.Jg-this.va.Ha),Qd.call(this,5,null,0);this.ba|=2;return a} +function bf(a,b){this.A-=10+(0>this.ja?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Ld(this),a;Ed(this);return a}function cf(a,b){this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(b,!0)&&this.Ub.rc>=this.va.eb&&this.Ub.rc>=(b&3))return Ld(this),this.Ub.sb&65280;Ed(this);return a}function df(a,b){this.A-=14+(0>this.ja?0:2);if(b&65528&&-4!=this.Ub.load(b,!0)&&(7168==(this.Ub.sb&7168)||this.Ub.rc>=this.va.eb)&&this.Ub.rc>=(b&3))return Ld(this),this.Ub.sc;Ed(this);return a} +function ef(a,b){if(0>this.ja){switch(this.gh&7){case 0:this.H=this.H&-256|a;break;case 1:this.J=this.J&-256|a;break;case 2:this.K=this.K&-256|a;break;case 3:this.C=this.C&-256|a;break;case 4:this.H=this.H&255|a<<8;break;case 5:this.J=this.J&255|a<<8;break;case 6:this.K=this.K&255|a<<8;break;case 7:this.C=this.C&255|a<<8}this.A-=this.B.Pj}else this.Qa=this.ja,this.R(a),this.A-=this.B.Oj;return b} +function ff(a,b){if(0>this.ja){switch(this.gh&7){case 0:this.H=a;break;case 1:this.J=a;break;case 2:this.K=a;break;case 3:this.C=a;break;case 4:this.Y=a;break;case 5:this.I=a;break;case 6:this.G=a;break;case 7:this.F=a}this.A-=this.B.Pj}else this.Qa=this.ja,this.S(a),this.A-=this.B.Oj;return b}function gf(a){a|=this.hc&1;this.hc=this.hc&65520|a&-65521;this.hc&1&&hd(this,!0)}function Le(a,b){var c=this.va.ta,d=this.wa;null!=zc(this,a,b,!0)&&(H(this,c),H(this,d))} +function hf(a){var b=this.Pa(),c=this.Pa();a&&(this.Y=this.Y+a&65535);zc(this,b,c,!1)&&(a&&(this.Y=this.Y+a&65535),this.hb.ta&65528&&this.hb.rcthis.Oh)J(this,this.Jg-this.va.Ha),d=!0;else if(8!=this.Oh)b=0,a=8,d=!0;else{jf.call(this,-1,0,c);gd(this);return}jf.call(this,a,b,c)&&(d=!1);d&&Qd.call(this,this.Oh=a,b,0);this.ba&=-4}else this.fb("Fault "+q(a)+" blocked by Debugger",536870912),J(this,this.Jg-this.va.Ha)} +function jf(a,b,c){var d=32,e=qb(this.sa,this.Fa);204==e&&(c=!1,d|=1);983040<=this.Fa&&1048575>=this.Fa&&(c=!1);this.ua(d|1073741824)&&(c=!0);if(this.ua(d)||c)a=(c?"\n":"")+"Fault "+q(a)+(null!=b?" ("+r(b)+")":"")+" on opcode 0x"+q(e)+" at "+ea(this.wa,this.va.ta)+" (%"+p(this.Fa,6)+")",b=this.ma.nb,this.fb(a,d)?c&&(c=b,this.ka.qb()):(this.Ia(a),this.qb());return c}function Mc(){lc.call(this,6);this.qb()} +function L(){J(this,this.Jg-this.va.Ha);fb(this,"Undefined opcode 0x"+q(qb(this.sa,this.Fa))+" at "+ea(this.wa,this.va.ta));this.qb()}function kf(a){a=a.call(this,this.H&255,this.H&255);this.H=this.H&-256|a}function lf(a){a=a.call(this,this.H&255,this.J&255);this.H=this.H&-256|a}function mf(a){a=a.call(this,this.H&255,this.K&255);this.H=this.H&-256|a}function nf(a){a=a.call(this,this.H&255,this.C&255);this.H=this.H&-256|a}function of(a){a=a.call(this,this.H&255,this.H>>8);this.H=this.H&-256|a} +function pf(a){a=a.call(this,this.H&255,this.J>>8);this.H=this.H&-256|a}function qf(a){a=a.call(this,this.H&255,this.K>>8);this.H=this.H&-256|a}function rf(a){a=a.call(this,this.H&255,this.C>>8);this.H=this.H&-256|a}function sf(a){a=a.call(this,this.J&255,this.H&255);this.J=this.J&-256|a}function tf(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function uf(a){a=a.call(this,this.J&255,this.K&255);this.J=this.J&-256|a} +function vf(a){a=a.call(this,this.J&255,this.C&255);this.J=this.J&-256|a}function wf(a){a=a.call(this,this.J&255,this.H>>8);this.J=this.J&-256|a}function xf(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function yf(a){a=a.call(this,this.J&255,this.K>>8);this.J=this.J&-256|a}function zf(a){a=a.call(this,this.J&255,this.C>>8);this.J=this.J&-256|a}function Af(a){a=a.call(this,this.K&255,this.H&255);this.K=this.K&-256|a} +function Bf(a){a=a.call(this,this.K&255,this.J&255);this.K=this.K&-256|a}function Cf(a){a=a.call(this,this.K&255,this.K&255);this.K=this.K&-256|a}function Df(a){a=a.call(this,this.K&255,this.C&255);this.K=this.K&-256|a}function Ef(a){a=a.call(this,this.K&255,this.H>>8);this.K=this.K&-256|a}function Ff(a){a=a.call(this,this.K&255,this.J>>8);this.K=this.K&-256|a}function Gf(a){a=a.call(this,this.K&255,this.K>>8);this.K=this.K&-256|a} +function Hf(a){a=a.call(this,this.K&255,this.C>>8);this.K=this.K&-256|a}function If(a){a=a.call(this,this.C&255,this.H&255);this.C=this.C&-256|a}function Jf(a){a=a.call(this,this.C&255,this.J&255);this.C=this.C&-256|a}function Kf(a){a=a.call(this,this.C&255,this.K&255);this.C=this.C&-256|a}function Lf(a){a=a.call(this,this.C&255,this.C&255);this.C=this.C&-256|a}function Mf(a){a=a.call(this,this.C&255,this.H>>8);this.C=this.C&-256|a} +function Nf(a){a=a.call(this,this.C&255,this.J>>8);this.C=this.C&-256|a}function Of(a){a=a.call(this,this.C&255,this.K>>8);this.C=this.C&-256|a}function Pf(a){a=a.call(this,this.C&255,this.C>>8);this.C=this.C&-256|a}function Qf(a){a=a.call(this,this.H>>8,this.H&255);this.H=this.H&255|a<<8}function Rf(a){a=a.call(this,this.H>>8,this.J&255);this.H=this.H&255|a<<8}function Sf(a){a=a.call(this,this.H>>8,this.K&255);this.H=this.H&255|a<<8} +function Tf(a){a=a.call(this,this.H>>8,this.C&255);this.H=this.H&255|a<<8}function Uf(a){a=a.call(this,this.H>>8,this.H>>8);this.H=this.H&255|a<<8}function Vf(a){a=a.call(this,this.H>>8,this.J>>8);this.H=this.H&255|a<<8}function Wf(a){a=a.call(this,this.H>>8,this.K>>8);this.H=this.H&255|a<<8}function Xf(a){a=a.call(this,this.H>>8,this.C>>8);this.H=this.H&255|a<<8}function Yf(a){a=a.call(this,this.J>>8,this.H&255);this.J=this.J&255|a<<8} +function Zf(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function $f(a){a=a.call(this,this.J>>8,this.K&255);this.J=this.J&255|a<<8}function ag(a){a=a.call(this,this.J>>8,this.C&255);this.J=this.J&255|a<<8}function bg(a){a=a.call(this,this.J>>8,this.H>>8);this.J=this.J&255|a<<8}function cg(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function dg(a){a=a.call(this,this.J>>8,this.K>>8);this.J=this.J&255|a<<8} +function eg(a){a=a.call(this,this.J>>8,this.C>>8);this.J=this.J&255|a<<8}function fg(a){a=a.call(this,this.K>>8,this.H&255);this.K=this.K&255|a<<8}function gg(a){a=a.call(this,this.K>>8,this.J&255);this.K=this.K&255|a<<8}function hg(a){a=a.call(this,this.K>>8,this.K&255);this.K=this.K&255|a<<8}function ig(a){a=a.call(this,this.K>>8,this.C&255);this.K=this.K&255|a<<8}function jg(a){a=a.call(this,this.K>>8,this.H>>8);this.K=this.K&255|a<<8} +function kg(a){a=a.call(this,this.K>>8,this.J>>8);this.K=this.K&255|a<<8}function lg(a){a=a.call(this,this.K>>8,this.K>>8);this.K=this.K&255|a<<8}function mg(a){a=a.call(this,this.K>>8,this.C>>8);this.K=this.K&255|a<<8}function ng(a){a=a.call(this,this.C>>8,this.H&255);this.C=this.C&255|a<<8}function og(a){a=a.call(this,this.C>>8,this.J&255);this.C=this.C&255|a<<8}function pg(a){a=a.call(this,this.C>>8,this.K&255);this.C=this.C&255|a<<8} +function qg(a){a=a.call(this,this.C>>8,this.C&255);this.C=this.C&255|a<<8}function rg(a){a=a.call(this,this.C>>8,this.H>>8);this.C=this.C&255|a<<8}function sg(a){a=a.call(this,this.C>>8,this.J>>8);this.C=this.C&255|a<<8}function tg(a){a=a.call(this,this.C>>8,this.K>>8);this.C=this.C&255|a<<8}function ug(a){a=a.call(this,this.C>>8,this.C>>8);this.C=this.C&255|a<<8}function vg(a){this.H=a.call(this,this.H,this.H)}function wg(a){this.H=a.call(this,this.H,this.J)} +function xg(a){this.H=a.call(this,this.H,this.K)}function yg(a){this.H=a.call(this,this.H,this.C)}function zg(a){this.H=a.call(this,this.H,this.Y)}function Ag(a){this.H=a.call(this,this.H,this.I)}function Bg(a){this.H=a.call(this,this.H,this.G)}function Cg(a){this.H=a.call(this,this.H,this.F)}function Dg(a){this.J=a.call(this,this.J,this.H)}function Eg(a){this.J=a.call(this,this.J,this.J)}function Fg(a){this.J=a.call(this,this.J,this.K)}function Gg(a){this.J=a.call(this,this.J,this.C)} +function Hg(a){this.J=a.call(this,this.J,this.Y)}function Ig(a){this.J=a.call(this,this.J,this.I)}function Jg(a){this.J=a.call(this,this.J,this.G)}function Kg(a){this.J=a.call(this,this.J,this.F)}function Lg(a){this.K=a.call(this,this.K,this.H)}function Mg(a){this.K=a.call(this,this.K,this.J)}function Ng(a){this.K=a.call(this,this.K,this.K)}function Og(a){this.K=a.call(this,this.K,this.C)}function Pg(a){this.K=a.call(this,this.K,this.Y)}function Qg(a){this.K=a.call(this,this.K,this.I)} +function Rg(a){this.K=a.call(this,this.K,this.G)}function Sg(a){this.K=a.call(this,this.K,this.F)}function Tg(a){this.C=a.call(this,this.C,this.H)}function Ug(a){this.C=a.call(this,this.C,this.J)}function Vg(a){this.C=a.call(this,this.C,this.K)}function Wg(a){this.C=a.call(this,this.C,this.C)}function Xg(a){this.C=a.call(this,this.C,this.Y)}function Yg(a){this.C=a.call(this,this.C,this.I)}function Zg(a){this.C=a.call(this,this.C,this.G)}function $g(a){this.C=a.call(this,this.C,this.F)} +function ah(a){this.Y=a.call(this,this.Y,this.H)}function bh(a){this.Y=a.call(this,this.Y,this.J)}function ch(a){this.Y=a.call(this,this.Y,this.K)}function dh(a){this.Y=a.call(this,this.Y,this.C)}function eh(a){this.Y=a.call(this,this.Y,this.Y)}function fh(a){this.Y=a.call(this,this.Y,this.I)}function gh(a){this.Y=a.call(this,this.Y,this.G)}function hh(a){this.Y=a.call(this,this.Y,this.F)}function ih(a){this.I=a.call(this,this.I,this.H)}function jh(a){this.I=a.call(this,this.I,this.J)} +function kh(a){this.I=a.call(this,this.I,this.K)}function lh(a){this.I=a.call(this,this.I,this.C)}function mh(a){this.I=a.call(this,this.I,this.Y)}function nh(a){this.I=a.call(this,this.I,this.I)}function oh(a){this.I=a.call(this,this.I,this.G)}function ph(a){this.I=a.call(this,this.I,this.F)}function qh(a){this.G=a.call(this,this.G,this.H)}function rh(a){this.G=a.call(this,this.G,this.J)}function sh(a){this.G=a.call(this,this.G,this.K)}function th(a){this.G=a.call(this,this.G,this.C)} +function uh(a){this.G=a.call(this,this.G,this.Y)}function vh(a){this.G=a.call(this,this.G,this.I)}function wh(a){this.G=a.call(this,this.G,this.G)}function xh(a){this.G=a.call(this,this.G,this.F)}function yh(a){this.F=a.call(this,this.F,this.H)}function zh(a){this.F=a.call(this,this.F,this.J)}function Ah(a){this.F=a.call(this,this.F,this.K)}function Bh(a){this.F=a.call(this,this.F,this.C)}function Ch(a){this.F=a.call(this,this.F,this.Y)}function Dh(a){this.F=a.call(this,this.F,this.I)} +function Eh(a){this.F=a.call(this,this.F,this.G)}function Fh(a){this.F=a.call(this,this.F,this.F)} +var Gh=[function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.H&255);this.R(a);this.A-=this.B.ca}, +function(a){a=a.call(this,this.O(this.D,this.F),this.H&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.H&255);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.H&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N, +this.I+this.G&65535),this.J&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.J&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.J&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.J&255);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.J&255);this.R(a); +this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.K&255);this.R(a);this.A-= +this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.K&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.K&255);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.K&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this, +this.O(this.N,this.I+this.G&65535),this.C&255);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C&255);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.C&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.C&255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.C&255);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.C& +255);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.H>>8);this.R(a); +this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.H>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.H>>8);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.H>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.ia},function(a){a= +a.call(this,this.O(this.N,this.I+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.J>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.J>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.J>>8);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C), +this.J>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.K>>8); +this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.K>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.K>>8);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C),this.K>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.ia},function(a){a= +a.call(this,this.O(this.N,this.I+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.ia},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.ha},function(a){a=a.call(this,this.O(this.D,this.G),this.C>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.F),this.C>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.L()),this.C>>8);this.R(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.O(this.D,this.C), +this.C>>8);this.R(a);this.A-=this.B.ca},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this, +this.O(this.D,this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a= +a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J&255);this.R(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()& +65535),this.K&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D, +this.C+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W}, +function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H>>8);this.R(a); +this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()& +65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N, +this.I+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this, +this.O(this.D,this.C+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-= +this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C>>8);this.R(a); +this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()& +65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N, +this.I+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.O(this.D,this.C+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J&255); +this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()& +65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this, +this.O(this.D,this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.X}, +function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C&255); +this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+ +this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D, +this.C+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.O(this.D,this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.X}, +function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K>>8);this.R(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.X},function(a){a=a.call(this,this.O(this.N,this.I+this.F+ +this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},kf,sf,Af,If,Qf,Yf,fg,ng,lf,tf,Bf,Jf,Rf, +Zf,gg,og,mf,uf,Cf,Kf,Sf,$f,hg,pg,nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,sg,qf,yf,Gf,Of,Wf,dg,lg,tg,rf,zf,Hf,Pf,Xf,eg,mg,ug],Hh=[function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.H);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.H);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.H);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F& +65535),this.H);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.H);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.H);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.H);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.H);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.J);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this, +this.P(this.D,this.C+this.F&65535),this.J);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.J);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.J);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.J);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.J);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.J);this.S(a); +this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.J);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.K);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.K);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.K);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.K);this.S(a);this.A-=this.B.ha},function(a){a= +a.call(this,this.P(this.D,this.G),this.K);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.K);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.K);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.K);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.C);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.C);this.S(a); +this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.C);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.C);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.C);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.C);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.C);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D, +this.C),this.C);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.Y);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.Y);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.Y);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.Y);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.Y);this.S(a); +this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.Y);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.Y);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.Y);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.I);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.I);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N, +this.I+this.G&65535),this.I);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.I);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.I);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.I);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.I);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.I);this.S(a);this.A-=this.B.ca},function(a){a= +a.call(this,this.P(this.D,this.C+this.G&65535),this.G);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.G);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.G);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.G);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.G);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D, +this.F),this.G);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.G);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.G);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.F);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.F);this.S(a);this.A-=this.B.ia},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.F);this.S(a);this.A-=this.B.ia}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.F);this.S(a);this.A-=this.B.ha},function(a){a=a.call(this,this.P(this.D,this.G),this.F);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.F),this.F);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.L()),this.F);this.S(a);this.A-=this.B.Aa},function(a){a=a.call(this,this.P(this.D,this.C),this.F);this.S(a);this.A-=this.B.ca},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()& +65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+ +this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N, +this.I+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D, +this.C+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this, +this.P(this.D,this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this, +this.P(this.D,this.C+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.P(this.N,this.I+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.Y);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.Y);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.Y);this.S(a);this.A-=this.B.X}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.Y);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.Y);this.S(a);this.A-=this.B.Q}, +function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.I);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.G);this.S(a); +this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.G);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535), +this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535), +this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()& +65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+ +this.L()&65535),this.J);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+ +this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this, +this.P(this.D,this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this, +this.P(this.D,this.C+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.P(this.N,this.I+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.Y);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.Y);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.Y);this.S(a);this.A-=this.B.X}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.Y);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.Y);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.Y);this.S(a);this.A-=this.B.Q}, +function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.I);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.G);this.S(a); +this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.G);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.X},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535), +this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},vg,Dg,Lg,Tg,ah,ih,qh,yh,wg,Eg,Mg,Ug,bh,jh,rh,zh,xg,Fg,Ng,Vg,ch,kh,sh, +Ah,yg,Gg,Og,Wg,dh,lh,th,Bh,zg,Hg,Pg,Xg,eh,mh,uh,Ch,Ag,Ig,Qg,Yg,fh,nh,vh,Dh,Bg,Jg,Rg,Zg,gh,oh,wh,Eh,Cg,Kg,Sg,$g,hh,ph,xh,Fh],Ih=[function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.H&255, +this.U(this.N,this.I+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.H&255,this.U(this.D,this.G));this.H=this.H&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.H&255,this.U(this.D,this.F));this.H=this.H&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.H&255,this.U(this.D,this.L()));this.H=this.H&-256|a;this.A-=this.B.Aa},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C));this.H=this.H&-256|a;this.A-=this.B.ca},function(a){a=a.call(this, +this.J&255,this.U(this.D,this.C+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.J&255,this.U(this.D,this.G));this.J=this.J&-256| +a;this.A-=this.B.ca},function(a){a=a.call(this,this.J&255,this.U(this.D,this.F));this.J=this.J&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.J&255,this.U(this.D,this.L()));this.J=this.J&-256|a;this.A-=this.B.Aa},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C));this.J=this.J&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.F& +65535));this.K=this.K&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.F&65535));this.K=this.K&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.K&255,this.U(this.D,this.G));this.K=this.K&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.K&255,this.U(this.D,this.F));this.K=this.K&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.K& +255,this.U(this.D,this.L()));this.K=this.K&-256|a;this.A-=this.B.Aa},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C));this.K=this.K&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.ia},function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.ia}, +function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.ha},function(a){a=a.call(this,this.C&255,this.U(this.D,this.G));this.C=this.C&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.C&255,this.U(this.D,this.F));this.C=this.C&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.C&255,this.U(this.D,this.L()));this.C=this.C&-256|a;this.A-=this.B.Aa},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C));this.C=this.C&-256|a;this.A-= +this.B.ca},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.H>> +8,this.U(this.D,this.G));this.H=this.H&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.F));this.H=this.H&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.L()));this.H=this.H&255|a<<8;this.A-=this.B.Aa},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C));this.H=this.H&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this, +this.J>>8,this.U(this.D,this.C+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.G));this.J=this.J&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.F));this.J=this.J&255|a<<8;this.A-= +this.B.ca},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.L()));this.J=this.J&255|a<<8;this.A-=this.B.Aa},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C));this.J=this.J&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.G&65535));this.K=this.K&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.G& +65535));this.K=this.K&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.G));this.K=this.K&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.F));this.K=this.K&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.L()));this.K=this.K&255|a<<8;this.A-=this.B.Aa},function(a){a=a.call(this,this.K>> +8,this.U(this.D,this.C));this.K=this.K&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.ha},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.F&65535));this.C=this.C&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.ia},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.F&65535));this.C=this.C&255|a<< +8;this.A-=this.B.ha},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.G));this.C=this.C&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.F));this.C=this.C&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.L()));this.C=this.C&255|a<<8;this.A-=this.B.Aa},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C));this.C=this.C&255|a<<8;this.A-=this.B.ca},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.G+this.M()& +65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.G+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.U(this.D,this.G+this.M()&65535));this.H=this.H&-256| +a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.D,this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this, +this.J&255,this.U(this.D,this.C+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.U(this.D,this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D, +this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.F+this.M()&65535));this.K= +this.K&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.U(this.D,this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q}, +function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.C& +255,this.U(this.N,this.I+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.U(this.D,this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.M()& +65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.G+this.M()&65535));this.H=this.H&255| +a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a= +a.call(this,this.H>>8,this.U(this.D,this.C+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.J>> +8,this.U(this.N,this.I+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.M()&65535)); +this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.F+this.M()&65535));this.K=this.K& +255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a= +a.call(this,this.C>>8,this.U(this.D,this.C+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>> +8,this.U(this.D,this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.G+this.L()&65535)); +this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.G+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.U(this.D,this.G+this.L()&65535));this.H=this.H&-256|a;this.A-= +this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.D,this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.N,this.I+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.U(this.D,this.C+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J& +255,this.U(this.D,this.C+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.U(this.D,this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D,this.F+ +this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.N,this.I+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.U(this.D,this.C+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.F+this.L()&65535));this.K=this.K& +-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.K&255,this.U(this.N,this.I+this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.U(this.D,this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a= +a.call(this,this.K&255,this.U(this.N,this.I+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.U(this.D,this.C+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.C&255,this.U(this.N, +this.I+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.X},function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.U(this.D,this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.N,this.I+this.L()&65535));this.C= +this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.U(this.D,this.C+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.C+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-= +this.B.X},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.D,this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.U(this.N,this.I+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this, +this.H>>8,this.U(this.D,this.C+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.J>>8,this.U(this.N, +this.I+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.N,this.I+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.U(this.D,this.C+this.L()&65535));this.J=this.J& +255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-= +this.B.W},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.N,this.I+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.U(this.D,this.C+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>> +8,this.U(this.D,this.C+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.X},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.U(this.D, +this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.N,this.I+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.U(this.D,this.C+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of, +Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug],M=[function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.H=a.call(this, +this.H,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.H=a.call(this,this.H,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.H=a.call(this,this.H,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.J=a.call(this, +this.J,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.J=a.call(this,this.J,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.J=a.call(this,this.J,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.J=a.call(this,this.J,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.K=a.call(this, +this.K,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.K=a.call(this,this.K,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.K=a.call(this,this.K,this.V(this.D,this.F));this.A-=this.B.ca}, +function(a){this.K=a.call(this,this.K,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.F& +65535));this.A-=this.B.ha},function(a){this.C=a.call(this,this.C,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.C=a.call(this,this.C,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.C=a.call(this,this.C,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+ +this.F&65535));this.A-=this.B.ia},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.Y=a.call(this,this.Y,this.V(this.D, +this.C));this.A-=this.B.ca},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.I=a.call(this,this.I,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.I=a.call(this, +this.I,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.I=a.call(this,this.I,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.G= +a.call(this,this.G,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.G=a.call(this,this.G,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.G=a.call(this,this.G,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.G=a.call(this,this.G,this.V(this.D,this.L()));this.A-=this.B.Aa},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.G&65535));this.A-=this.B.ha},function(a){this.F= +a.call(this,this.F,this.V(this.D,this.C+this.F&65535));this.A-=this.B.ia},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.G&65535));this.A-=this.B.ia},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.F&65535));this.A-=this.B.ha},function(a){this.F=a.call(this,this.F,this.V(this.D,this.G));this.A-=this.B.ca},function(a){this.F=a.call(this,this.F,this.V(this.D,this.F));this.A-=this.B.ca},function(a){this.F=a.call(this,this.F,this.V(this.D,this.L()));this.A-=this.B.Aa}, +function(a){this.F=a.call(this,this.F,this.V(this.D,this.C));this.A-=this.B.ca},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.H= +a.call(this,this.H,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.V(this.D, +this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.M()& +65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.F+this.M()&65535)); +this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.C= +a.call(this,this.C,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this, +this.C,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.Y=a.call(this,this.Y,this.V(this.N, +this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.G+this.M()&65535)); +this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q}, +function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.G= +a.call(this,this.G,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D, +this.C+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.X},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.X},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.V(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D,this.F+ +this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.G+this.L()&65535)); +this.A-=this.B.X},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.J= +a.call(this,this.J,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this, +this.J,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.K=a.call(this,this.K,this.V(this.N, +this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.V(this.D,this.C+this.L()&65535)); +this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.V(this.D,this.G+this.L()&65535));this.A-= +this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.Y= +a.call(this,this.Y,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.Y=a.call(this,this.Y, +this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.V(this.D, +this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.F+this.L()&65535)); +this.A-=this.B.X},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q}, +function(a){this.G=a.call(this,this.G,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.X},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.X},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.F= +a.call(this,this.F,this.V(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.V(this.D,this.C+this.L()&65535));this.A-=this.B.Q},vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,Vg,Wg,Xg,Yg,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,kh,lh,mh,nh,oh,ph, +qh,rh,sh,th,uh,vh,wh,xh,yh,zh,Ah,Bh,Ch,Dh,Eh,Fh],Jh=[function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha}, +function(a,b){var c=a[0].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-= +this.B.ha},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[1].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.O(this.D,this.F), +b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[2].call(this, +this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[2].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a, +b){var c=a[2].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F&65535),b.call(this)); +this.R(c);this.A-=this.B.ha},function(a,b){var c=a[3].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[3].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[3].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G&65535), +b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[4].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c= +a[4].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[4].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[4].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia}, +function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[5].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.O(this.D,this.L()),b.call(this));this.R(c); +this.A-=this.B.Aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[6].call(this,this.O(this.N, +this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[6].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[6].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[6].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[7].call(this, +this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ia},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ha},function(a,b){var c=a[7].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-= +this.B.ca},function(a,b){var c=a[7].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[7].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.Aa},function(a,b){var c=a[7].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.M()& +65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c); +this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c= +a[1].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+ +this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[2].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this, +this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-= +this.B.W},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this, +this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+ +this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c); +this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[6].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.D, +this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a, +b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N, +this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[1].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this, +this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-= +this.B.W},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this, +this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+ +this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c); +this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[5].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.D, +this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a, +b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N, +this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[0].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[0].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[0].call(this,this.C&255,b.call(this));this.C=this.C&-256| +c},function(a,b){var c=a[0].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[0].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[0].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[0].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[1].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[1].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a, +b){var c=a[1].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[1].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[1].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[1].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[1].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[1].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c= +a[2].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[2].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[2].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[2].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[2].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[2].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[2].call(this, +this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[2].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[3].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[3].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[3].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[3].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[3].call(this,this.H>> +8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[3].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[3].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[3].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[4].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[4].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[4].call(this,this.K&255,b.call(this)); +this.K=this.K&-256|c},function(a,b){var c=a[4].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[4].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[4].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[4].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[4].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[5].call(this,this.H&255,b.call(this));this.H= +this.H&-256|c},function(a,b){var c=a[5].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[5].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[5].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[5].call(this,this.K>>8,b.call(this));this.K=this.K&255| +c<<8},function(a,b){var c=a[5].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[6].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[6].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[6].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a, +b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[6].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[6].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[7].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c= +a[7].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[7].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[7].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8}],Kh=[function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-= +this.B.ha},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[0].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.P(this.D,this.F), +b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[1].call(this, +this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[1].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[1].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a, +b){var c=a[1].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F&65535),b.call(this)); +this.S(c);this.A-=this.B.ha},function(a,b){var c=a[2].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[2].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G&65535), +b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[3].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c= +a[3].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[3].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[3].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia}, +function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[4].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[4].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[4].call(this,this.P(this.D,this.L()),b.call(this));this.S(c); +this.A-=this.B.Aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[5].call(this,this.P(this.N, +this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[5].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[5].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[6].call(this, +this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[6].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-= +this.B.ca},function(a,b){var c=a[6].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[6].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[6].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F&65535),b.call(this)); +this.S(c);this.A-=this.B.ia},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ia},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ha},function(a,b){var c=a[7].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[7].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[7].call(this,this.P(this.D, +this.L()),b.call(this));this.S(c);this.A-=this.B.Aa},function(a,b){var c=a[7].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.ca},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.X},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this, +this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+ +this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a, +b){var c=a[2].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+ +this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this)); +this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a, +b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this, +this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.M()&65535), +b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this, +this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.M()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c); +this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c= +a[7].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[0].call(this,this.P(this.N, +this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W}, +function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D, +this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.D,this.G+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W}, +function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this, +this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this, +this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.X},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c= +a[6].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.X},function(a,b){var c=a[7].call(this,this.P(this.N, +this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.Q},function(a,b){this.H=a[0].call(this,this.H,b.call(this))},function(a,b){this.J=a[0].call(this,this.J,b.call(this))},function(a,b){this.K=a[0].call(this,this.K,b.call(this))},function(a,b){this.C=a[0].call(this,this.C,b.call(this))},function(a,b){this.Y=a[0].call(this,this.Y,b.call(this))},function(a,b){this.I=a[0].call(this,this.I,b.call(this))},function(a,b){this.G=a[0].call(this,this.G,b.call(this))},function(a,b){this.F=a[0].call(this,this.F,b.call(this))},function(a,b){this.H= +a[1].call(this,this.H,b.call(this))},function(a,b){this.J=a[1].call(this,this.J,b.call(this))},function(a,b){this.K=a[1].call(this,this.K,b.call(this))},function(a,b){this.C=a[1].call(this,this.C,b.call(this))},function(a,b){this.Y=a[1].call(this,this.Y,b.call(this))},function(a,b){this.I=a[1].call(this,this.I,b.call(this))},function(a,b){this.G=a[1].call(this,this.G,b.call(this))},function(a,b){this.F=a[1].call(this,this.F,b.call(this))},function(a,b){this.H=a[2].call(this,this.H,b.call(this))}, +function(a,b){this.J=a[2].call(this,this.J,b.call(this))},function(a,b){this.K=a[2].call(this,this.K,b.call(this))},function(a,b){this.C=a[2].call(this,this.C,b.call(this))},function(a,b){this.Y=a[2].call(this,this.Y,b.call(this))},function(a,b){this.I=a[2].call(this,this.I,b.call(this))},function(a,b){this.G=a[2].call(this,this.G,b.call(this))},function(a,b){this.F=a[2].call(this,this.F,b.call(this))},function(a,b){this.H=a[3].call(this,this.H,b.call(this))},function(a,b){this.J=a[3].call(this,this.J, +b.call(this))},function(a,b){this.K=a[3].call(this,this.K,b.call(this))},function(a,b){this.C=a[3].call(this,this.C,b.call(this))},function(a,b){this.Y=a[3].call(this,this.Y,b.call(this))},function(a,b){this.I=a[3].call(this,this.I,b.call(this))},function(a,b){this.G=a[3].call(this,this.G,b.call(this))},function(a,b){this.F=a[3].call(this,this.F,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.J=a[4].call(this,this.J,b.call(this))},function(a,b){this.K=a[4].call(this, +this.K,b.call(this))},function(a,b){this.C=a[4].call(this,this.C,b.call(this))},function(a,b){this.Y=a[4].call(this,this.Y,b.call(this))},function(a,b){this.I=a[4].call(this,this.I,b.call(this))},function(a,b){this.G=a[4].call(this,this.G,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.K=a[5].call(this,this.K,b.call(this))},function(a,b){this.C= +a[5].call(this,this.C,b.call(this))},function(a,b){this.Y=a[5].call(this,this.Y,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.J=a[6].call(this,this.J,b.call(this))},function(a,b){this.K=a[6].call(this,this.K,b.call(this))},function(a,b){this.C=a[6].call(this,this.C,b.call(this))}, +function(a,b){this.Y=a[6].call(this,this.Y,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a,b){this.K=a[7].call(this,this.K,b.call(this))},function(a,b){this.C=a[7].call(this,this.C,b.call(this))},function(a,b){this.Y=a[7].call(this,this.Y, +b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))}];function dd(){Lh[this.fa()].call(this)}function fd(){H(this,this.Y);this.A-=this.B.Ac}function Nc(){var a=this.Y;H(this,this.H);H(this,this.J);H(this,this.K);H(this,this.C);H(this,a);H(this,this.I);H(this,this.G);H(this,this.F);this.A-=this.B.Zl} +function Oc(){this.F=this.Pa();this.G=this.Pa();this.I=this.Pa();this.Y+=2;this.C=this.Pa();this.K=this.Pa();this.J=this.Pa();this.H=this.Pa();this.A-=this.B.Xl}function Pc(){M[this.fa()].call(this,af)}function ed(){Hh[this.fa()].call(this,bf)}function Qc(){H(this,this.L());this.A-=this.B.Ac}function Rc(){M[this.fa()].call(this,We)}function Sc(){H(this,this.fa());this.A-=this.B.Ac}function Tc(){M[this.fa()].call(this,Ve)} +function Uc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=wb(this.sa,this.K,this.Fa-b-1);this.ld(this.La.$b(this.F,0),d);this.F=this.F+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}} +function Vc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.Fa-b-1,e=wb(this.sa,this.K,d),d=e|=wb(this.sa,this.K,d)<<8;this.Va(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}} +function Wc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.ob(this.hb.Kc(this.G,0));this.G=this.G+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-=b;Ab(this.sa,this.K,d,this.Fa-b-1);a&&(vd(this,-2),this.ba|=256)}} +function Xc(){var a=1,b=0,c=5;this.Ea&192&&(a=this.J,b=1,this.Ea&256&&(c=4));if(a--){var d=this.ra(this.hb.Kc(this.G,1));this.G=this.G+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;b=this.Fa-b-1;Ab(this.sa,this.K,d&255,b);Ab(this.sa,this.K,d>>8,b);a&&(vd(this,-2),this.ba|=256)}}function Mh(){var a=this.M();Bd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Nh(){var a=this.M();Bd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)} +function Oh(){var a=this.M();wd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Ph(){var a=this.M();wd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Qh(){var a=this.M();zd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Rh(){var a=this.M();zd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Sh(){var a=this.M();wd(this)||zd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc} +function Th(){var a=this.M();wd(this)||zd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Uh(){var a=this.M();Ad(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Vh(){var a=this.M();Ad(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)}function Wh(){var a=this.M();xd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Xh(){var a=this.M();xd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)} +function Yh(){var a=this.M();!Ad(this)!=!Bd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function Zh(){var a=this.M();!Ad(this)==!Bd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function $h(){var a=this.M();zd(this)||!Ad(this)!=!Bd(this)?(J(this,this.wa+a),this.A-=this.B.cc):this.A-=this.B.dc}function ai(){var a=this.M();zd(this)||!Ad(this)!=!Bd(this)?this.A-=this.B.dc:(J(this,this.wa+a),this.A-=this.B.cc)} +function bi(){Jh[this.fa()].call(this,Ce,this.fa);this.A-=0>this.Qa?1:this.B.Ph}function Yc(){Jh[this.fa()].call(this,Me,ze)}function Zc(){Kh[this.fa()].call(this,Ne,ze)}function ci(){var a=this.L();J(this,this.Pa());this.Y=this.Y+a&65535;this.A-=this.B.dm}function di(){J(this,this.Pa());this.A-=this.B.am} +function $c(){var a=this.L(),b=this.fa()&31;this.A-=11;H(this,this.I);var c=this.Y;if(0>8,c,d=yd(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.aa=a);this.ea=65536;c&&(this.aa|=this.ea);d?Kd(this):Dd(this);this.A-=this.B.We},function(){Gh[this.fa()].call(this,$d)},function(){Hh[this.fa()].call(this,he)},function(){Ih[this.fa()].call(this,$d)},function(){M[this.fa()].call(this,he)},function(){this.H=this.H&-256|$d.call(this,this.H&255,this.fa());this.A--},function(){this.H=he.call(this,this.H, +this.L());this.A--},function(){this.ba|=20;this.D=this.N=this.hb;this.A-=this.B.se},function(){var a=this.H&255,b=this.H>>8,c,d=yd(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.aa=a);this.ea=65536;c&&(this.aa|=this.ea);d?Kd(this):Dd(this);this.A-=this.B.We},function(){this.qa=this.H;this.H=(this.la=this.H+1)&65535;this.aa=this.H|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.J;this.J=(this.la=this.J+1)&65535;this.aa=this.J|(this.aa&this.ea?1:0)<< +16;this.ea=65536;this.A-=2},function(){this.qa=this.K;this.K=(this.la=this.K+1)&65535;this.aa=this.K|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.C;this.C=(this.la=this.C+1)&65535;this.aa=this.C|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.Y;this.Y=(this.la=this.Y+1)&65535;this.aa=this.Y|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.I;this.I=(this.la=this.I+1)&65535;this.aa=this.I|(this.aa&this.ea?1:0)<<16;this.ea= +65536;this.A-=2},function(){this.qa=this.G;this.G=(this.la=this.G+1)&65535;this.aa=this.G|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.F;this.F=(this.la=this.F+1)&65535;this.aa=this.F|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.H;this.H=(this.la=this.H-1)&65535;this.aa=this.H|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.J;this.J=(this.la=this.J-1)&65535;this.aa=this.J|(this.aa&this.ea?1:0)<<16;this.ea=65536; +this.A-=2},function(){this.qa=this.K;this.K=(this.la=this.K-1)&65535;this.aa=this.K|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.C;this.C=(this.la=this.C-1)&65535;this.aa=this.C|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.Y;this.Y=(this.la=this.Y-1)&65535;this.aa=this.Y|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.I;this.I=(this.la=this.I-1)&65535;this.aa=this.I|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-= +2},function(){this.qa=this.G;this.G=(this.la=this.G-1)&65535;this.aa=this.G|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){this.qa=this.F;this.F=(this.la=this.F-1)&65535;this.aa=this.F|(this.aa&this.ea?1:0)<<16;this.ea=65536;this.A-=2},function(){H(this,this.H);this.A-=this.B.Ac},function(){H(this,this.J);this.A-=this.B.Ac},function(){H(this,this.K);this.A-=this.B.Ac},function(){H(this,this.C);this.A-=this.B.Ac},function(){H(this,this.Y-2&65535);this.A-=this.B.Ac},function(){H(this, +this.I);this.A-=this.B.Ac},function(){H(this,this.G);this.A-=this.B.Ac},function(){H(this,this.F);this.A-=this.B.Ac},function(){this.H=this.Pa();this.A-=this.B.uc},function(){this.J=this.Pa();this.A-=this.B.uc},function(){this.K=this.Pa();this.A-=this.B.uc},function(){this.C=this.Pa();this.A-=this.B.uc},function(){this.Y=this.Pa();this.A-=this.B.uc},function(){this.I=this.Pa();this.A-=this.B.uc},function(){this.G=this.Pa();this.A-=this.B.uc},function(){this.F=this.Pa();this.A-=this.B.uc},Mh,Nh,Oh, +Ph,Qh,Rh,Sh,Th,Uh,Vh,Wh,Xh,Yh,Zh,$h,ai,Mh,Nh,Oh,Ph,Qh,Rh,Sh,Th,Uh,Vh,Wh,Xh,Yh,Zh,$h,ai,bi,function(){Kh[this.fa()].call(this,De,this.L);this.A-=0>this.Qa?1:this.B.Ph},bi,function(){Kh[this.fa()].call(this,De,this.M);this.A-=0>this.Qa?1:this.B.Ph},function(){Gh[this.fa()].call(this,Te)},function(){Hh[this.fa()].call(this,Ue)},function(){Ih[this.gh=this.fa()].call(this,ef)},function(){M[this.gh=this.fa()].call(this,ff)},function(){this.ba|=1;Gh[this.fa()].call(this,Oe)},function(){this.ba|=1;Hh[this.fa()].call(this, +Oe)},function(){Ih[this.fa()].call(this,Oe)},function(){M[this.fa()].call(this,Oe)},function(){var a=this.fa();switch((a&56)>>3){case 0:this.Pb=this.La.ta;break;case 1:this.Pb=this.va.ta;break;case 2:this.Pb=this.Za.ta;break;case 3:this.Pb=this.hb.ta;break;default:L.call(this);return}this.ba|=1;Hh[a].call(this,Se)},function(){this.ba|=1;this.D=this.N=this.tm;M[this.fa()].call(this,Ye)},function(){var a,b=this.fa(),c=(b&56)>>3;switch(c){case 0:a=this.H;break;case 2:a=this.K;break;case 3:a=this.C;break; +default:if(80286<=this.Ka){Mc.call(this);return}switch(c){case 1:a=this.J;break;case 4:a=this.Y;break;case 5:a=this.I;break;case 6:a=this.G;break;case 7:a=this.F}}M[b].call(this,Oe);switch(c){case 0:ud(this,this.H);this.H=a;break;case 1:rd(this,this.J);this.J=a;break;case 2:td(this,this.K);this.K=a;break;case 3:sd(this,this.C);this.C=a;break;case 4:ud(this,this.Y);this.Y=a;break;case 5:rd(this,this.I);this.I=a;break;case 6:td(this,this.G);this.G=a;break;case 7:sd(this,this.F),this.F=a}},function(){this.ba|= +1;Kh[this.fa()].call(this,Ee,this.Pa)},function(){this.A-=3},function(){var a=this.H;this.H=this.J;this.J=a;this.A-=3},function(){var a=this.H;this.H=this.K;this.K=a;this.A-=3},function(){var a=this.H;this.H=this.C;this.C=a;this.A-=3},function(){var a=this.H;this.H=this.Y;this.Y=a;this.A-=3},function(){var a=this.H;this.H=this.I;this.I=a;this.A-=3},function(){var a=this.H;this.H=this.G;this.G=a;this.A-=3},function(){var a=this.H;this.H=this.F;this.F=a;this.A-=3},function(){this.H=this.H<<24>>24&65535; +this.A-=2},function(){this.K=this.H&32768?65535:0;this.A-=this.B.kl},function(){Le.call(this,this.L(),this.L());this.A-=this.B.nl},function(){this.fb("WAIT not implemented",1);this.A--},function(){H(this,xc(this));this.A-=this.B.Ac},function(){yc(this,this.Pa());this.A-=this.B.uc},function(){var a=this.H>>8;a&1?Jd(this):Cd(this);a&4?xd(this)||(this.la^=1):xd(this)&&(this.la^=1);a&16?Kd(this):Dd(this);a&64?Ld(this):Ed(this);a&128?Md(this):Fd(this);this.A-=this.B.Ob},function(){this.H=this.H&255|(xc(this)& +213)<<8;this.A-=this.B.Ob},function(){this.H=this.H&-256|this.U(this.D,this.L());this.A-=this.B.vj},function(){this.H=this.V(this.D,this.L());this.A-=this.B.vj},function(){var a=this.L(),b=this.H;this.ld(this.D.$b(a,0),b);this.A-=this.B.wj},function(){var a=this.L(),b=this.H;this.Va(this.D.$b(a,1),b);this.A-=this.B.wj},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-1:1,e=this.U(this.D,this.G);this.ld(this.La.$b(this.F, +0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.xj;this.Ea&192&&(a=this.J,b=1,c=this.B.zj,this.Ea&256||(this.A-=this.B.yj));if(a--){var d=this.Ba&1024?-2:2,e=this.V(this.D,this.G);this.Va(this.La.$b(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.hj;this.Ea&192&&(a=this.J,b=1,c=this.B.jj,this.Ea& +256||(this.A-=this.B.ij));if(a--){var d=this.Ba&1024?-1:1,e=this.U(this.D,this.G),f=this.O(this.La,this.F);$d.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c-this.B.Gb;this.J-=b;a&&zd(this)==(this.Ea&64)&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.hj;this.Ea&192&&(a=this.J,b=1,c=this.B.jj,this.Ea&256||(this.A-=this.B.ij));if(a--){var d=this.Ba&1024?-2:2,e=this.V(this.D,this.G),f=this.P(this.La,this.F);he.call(this,e,f);this.G=this.G+d&65535;this.F= +this.F+d&65535;this.A-=c-this.B.Gb;this.J-=b;a&&zd(this)==(this.Ea&64)&&(vd(this,this.Ea&16?-3:-2),this.ba|=256)}},function(){this.aa=this.la=this.qa=this.H&255&this.fa();this.ea=256;this.A-=this.B.We},function(){this.aa=this.la=this.qa=this.H&this.L();this.ea=65536;this.A-=this.B.We},function(){var a=1,b=0,c=this.B.Ij;this.Ea&192&&(a=this.J,b=1,c=this.B.Kj,this.Ea&256||(this.A-=this.B.Jj));if(a--){var d=this.H;this.ld(this.La.$b(this.F,0),d);this.F=this.F+(this.Ba&1024?-1:1)&65535;this.A-=c;this.J-= +b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.Ij;this.Ea&192&&(a=this.J,b=1,c=this.B.Kj,this.Ea&256||(this.A-=this.B.Jj));if(a--){var d=this.H;this.Va(this.La.$b(this.F,1),d);this.F=this.F+(this.Ba&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(vd(this,-2),this.ba|=256)}},function(){var a=1,b=0,c=this.B.pj;this.Ea&192&&(a=this.J,b=1,c=this.B.rj,this.Ea&256||(this.A-=this.B.qj));a--&&(this.H=this.H&-256|this.U(this.D,this.G),this.G=this.G+(this.Ba&1024?-1:1)&65535,this.A-=c,this.J-=b, +a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.pj;this.Ea&192&&(a=this.J,b=1,c=this.B.rj,this.Ea&256||(this.A-=this.B.qj));a--&&(this.H=this.V(this.D,this.G),this.G=this.G+(this.Ba&1024?-2:2)&65535,this.A-=c,this.J-=b,a&&(vd(this,this.Ea&16?-3:-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.Cj;this.Ea&192&&(a=this.J,b=1,c=this.B.Ej,this.Ea&256||(this.A-=this.B.Dj));a--&&($d.call(this,this.H&255,this.O(this.La,this.F)),this.F=this.F+(this.Ba&1024?-1:1)&65535,this.A-= +c-this.B.Gb,this.J-=b,a&&zd(this)==(this.Ea&64)&&(vd(this,-2),this.ba|=256))},function(){var a=1,b=0,c=this.B.Cj;this.Ea&192&&(a=this.J,b=1,c=this.B.Ej,this.Ea&256||(this.A-=this.B.Dj));a--&&(he.call(this,this.H,this.P(this.La,this.F)),this.F=this.F+(this.Ba&1024?-2:2)&65535,this.A-=c-this.B.Gb,this.J-=b,a&&zd(this)==(this.Ea&64)&&(vd(this,-2),this.ba|=256))},function(){this.H=this.H&-256|this.fa();this.A-=this.B.Ob},function(){this.J=this.J&-256|this.fa();this.A-=this.B.Ob},function(){this.K=this.K& +-256|this.fa();this.A-=this.B.Ob},function(){this.C=this.C&-256|this.fa();this.A-=this.B.Ob},function(){this.H=this.H&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.J=this.J&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.K=this.K&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.C=this.C&255|this.fa()<<8;this.A-=this.B.Ob},function(){this.H=this.L();this.A-=this.B.Ob},function(){this.J=this.L();this.A-=this.B.Ob},function(){this.K=this.L();this.A-=this.B.Ob},function(){this.C=this.L(); +this.A-=this.B.Ob},function(){this.Y=this.L();this.A-=this.B.Ob},function(){this.I=this.L();this.A-=this.B.Ob},function(){this.G=this.L();this.A-=this.B.Ob},function(){this.F=this.L();this.A-=this.B.Ob},ci,di,ci,di,function(){M[this.fa()].call(this,$e)},function(){M[this.fa()].call(this,Ze)},function(){this.ba|=1;Jh[this.fa()].call(this,Fe,this.fa)},function(){this.ba|=1;Kh[this.fa()].call(this,Fe,this.L)},ei,fi,ei,fi,function(){Qd.call(this,3,null,this.B.El)},function(){var a=this.fa();jd(this,a)? +Qd.call(this,a,null,0):this.A--},function(){Bd(this)?Qd.call(this,4,null,this.B.Fl):this.A-=this.B.Gl},function(){this.A-=this.B.Cl;if(this.hc&1&&this.Ba&16384){var a=this.ra(this.ib.Ha+0);wc.call(this.va,a,!1)}else{var a=this.va.eb,b=this.Pa(),c=this.Pa(),d=this.Pa();null!=zc(this,b,c,!1)&&(yc(this,d,a),this.dg&&nd(this,this.Fa))}},function(){Jh[this.fa()].call(this,Ge,xe)},function(){Kh[this.fa()].call(this,He,xe)},function(){Jh[this.fa()].call(this,Ge,ye)},function(){Kh[this.fa()].call(this,He, +ye)},function(){var a=this.fa(),b=this.H&255;this.H=(b/a&255)<<8|b%a;this.ea=256;this.aa=this.la=b;this.A-=this.B.hl},function(){var a=this.fa();this.aa=this.la=this.H=(this.H>>8)*a+this.H&255;this.ea=256;this.A-=this.B.gl},function(){this.H=this.H&-256|(wd(this)?255:0);this.A-=2},function(){this.H=this.H&-256|this.U(this.D,this.C+(this.H&255)&65535);this.A-=this.B.fm},gi,gi,gi,gi,gi,gi,gi,gi,function(){var a=this.M();(this.J=this.J-1&65535)&&this.aa&this.ea-1?(J(this,this.wa+a),this.A-=this.B.Nl): +this.A-=this.B.sj},function(){var a=this.M();!(this.J=this.J-1&65535)||this.aa&this.ea-1?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.M();(this.J=this.J-1&65535)?(J(this,this.wa+a),this.A-=this.B.Ml):this.A-=this.B.sj},function(){var a=this.M();this.J?this.A-=this.B.uj:(J(this,this.wa+a),this.A-=this.B.tj)},function(){var a=this.fa();this.H=this.H&-256|wb(this.sa,a,this.Fa-2);this.A-=this.B.mj},function(){var a=this.fa();this.H=wb(this.sa,a,this.Fa-2);this.H|=wb(this.sa, +a+1&65535,this.Fa-2)<<8;this.A-=this.B.mj},function(){var a=this.fa();Ab(this.sa,a,this.H&255,this.Fa-2);this.A-=this.B.Bj},function(){var a=this.fa();Ab(this.sa,a,this.H&255,this.Fa-2);Ab(this.sa,a+1&65535,this.H>>8,this.Fa-2);this.A-=this.B.Bj},function(){var a=this.L();H(this,this.wa);J(this,this.wa+a);this.A-=this.B.ll},function(){var a=this.L();J(this,this.wa+a);this.A-=this.B.nj},function(){zc(this,this.L(),this.L());this.A-=this.B.Il},function(){var a=this.M();J(this,this.wa+a);this.A-=this.B.nj}, +function(){this.H=this.H&-256|wb(this.sa,this.K,this.Fa-1);this.A-=this.B.lj},function(){this.H=wb(this.sa,this.K,this.Fa-1);this.H|=wb(this.sa,this.K+1&65535,this.Fa-1)<<8;this.A-=this.B.lj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);this.A-=this.B.Aj},function(){Ab(this.sa,this.K,this.H&255,this.Fa-1);Ab(this.sa,this.K+1&65535,this.H>>8,this.Fa-1);this.A-=this.B.Aj},hi,hi,function(){this.ba|=132;this.A-=this.B.se},function(){this.ba|=68;this.A-=this.B.se},function(){this.Ab|=4;this.A-=2; +this.ka&&Od(this.ka)?(vd(this,-1),this.qb()):this.Ba&512||(this.ka&&vd(this,-1),this.qb())},function(){wd(this)?Cd(this):Jd(this);this.A-=2},function(){this.Pb=-1;Jh[this.fa()].call(this,Je,Ae);0<=this.Pb&&(this.H=this.Pb)},function(){this.Pb=-1;Kh[this.fa()].call(this,Ke,Ae);0<=this.Pb&&(this.H=this.Pb,this.K=this.Mg)},function(){this.aa&=~this.ea;this.A-=2},function(){this.aa|=this.ea;this.A-=2},function(){this.Ba&=-513;this.A-=this.B.jl},function(){this.Ba|=512;this.ba|=4;this.A-=2},function(){this.Ba&= +-1025;this.A-=2},function(){this.Ba|=1024;this.A-=2},function(){Jh[this.fa()].call(this,Jc,Ae)},function(){Kh[this.fa()].call(this,Kc,Ae)}],Lh=[function(){var a=this.fa();16>(a&56)&&(this.ba|=1);Kh[a].call(this,this.pk,Ae)},function(){var a=this.fa();a&16||(this.ba|=1);Kh[a].call(this,ii,Ae)},function(){M[this.fa()].call(this,cf)},function(){M[this.fa()].call(this,df)},L,function(){this.va.eb?lc.call(this,13,0,!0):(gf.call(this,this.ra(2054)),this.F=this.ra(2086),this.G=this.ra(2088),this.I=this.ra(2090), +this.Y=this.ra(2092),this.C=this.ra(2094),this.K=this.ra(2096),this.J=this.ra(2098),this.H=this.ra(2100),Dc(this.La,2102,this.ra(2084)),Dc(this.va,2108,this.ra(2082)),Dc(this.Za,2114,this.ra(2080)),Dc(this.hb,2120,this.ra(2078)),yc(this,this.ra(2072)),J(this,this.ra(2074)),this.Gc=this.ra(2126)|this.ra(2128)<<16,this.De=this.Gc+this.ra(2130),Dc(this.Zc,2132,this.ra(2076)),this.Sc=this.ra(2138)|this.ra(2140)<<16,this.Ee=this.Sc+this.ra(2142),Dc(this.ib,2144,this.ra(2070)),this.A-=195)},function(){this.va.eb? +lc.call(this,13,0,!0):(this.hc&=-9,this.A-=2)},L,L,L,L,Mc,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L, +L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L],od=[function(){this.A-=2+(0>this.ja?0:1);return this.Zc.ta},function(){this.A-=2+(0>this.ja?0:1);return this.ib.ta},function(a){this.ba|=2;this.Zc.load(a);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;-4!=this.ib.load(a)&&(this.Va(this.ib.Cd+4,this.ib.sb|=512),this.ib.type=768);this.A-=17+(0>this.ja?0:2);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&2048!=(this.Ub.sb&2560)&&(this.Ub.rc>=this.va.eb&& +this.Ub.rc>=(a&3)||7168==(this.Ub.sb&7168)))return Ld(this),a;Ed(this);return a},function(a){this.ba|=2;this.A-=14+(0>this.ja?0:2);if(-4!=this.Ub.load(a,!0)&&512==(this.Ub.sb&2560)&&this.Ub.rc>=this.va.eb&&this.Ub.rc>=(a&3))return Ld(this),a;Ed(this);return a},K,K],Lc=[cd,cd,cd,cd,cd,cd,K,K],ii=[function(a){0>this.ja?Mc.call(this):(a=this.De-this.Gc,this.Va(this.ja+2,this.Gc),this.Va(this.ja+4,65280|this.Gc>>16),this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(a=this.Ee-this.Sc,this.Va(this.ja+ +2,this.Sc),this.Va(this.ja+4,65280|this.Sc>>16),this.A-=12);return a},function(a){0>this.ja?Mc.call(this):(this.Gc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.De=this.Gc+a,this.ba|=2,this.A-=11);return a},function(a){0>this.ja?Mc.call(this):(this.Sc=this.ra(this.ja+2)|this.ob(this.ja+4)<<16,this.Ee=this.Sc+a,this.ba|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ja?0:1);return this.hc},K,function(a){gf.call(this,a);this.A-=0>this.ja?3:6;this.ba|=2;return a},K]; +function N(a){y.call(this,"ChipSet",a,N,16384);this.Ka=(this.Ka=a.model)?parseInt(this.Ka,10):ji;this.ic=0;var b=a.sw1;if(b)this.ic=ki(b,li|mi.Bm);else{this.Yd=[360,360];(b=a.floppies)&&b.length&&(this.Yd=b);if(b=this.Yd.length)this.ic|=ni.gi,b--,this.ic|=(b&3)<=oi&&(this.mh=this.eg=2);this.le=a.scaleTimers||!1;this.wp=a.rtcDate; +this.Rk=!1;a.sound&&window&&"webkitAudioContext"in window&&(this.yi=new window.webkitAudioContext);this.reset(!0);D(this)}Wa(y,N);var ji=5150,oi=5170,pi={none:0,tv:1,color:2,mono:3,ega:0},ni={gi:1,ONE:0,mq:64,kq:128,Kp:192,Rf:192,Sf:6},li=12,mi={lq:16,Cp:32,Bm:48,Rf:48,Sf:4};k=N.prototype; +k.Ib=function(a,b,c){switch(b){case "sw1":return this.xa[b]=c,qi(this,b,c,this.ic,{0:this.Ka==ji?"Bootable Floppy Drive":"Loop on POST",1:this.Ka==ji?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ka==ji)return this.xa[b]=c,qi(this,b,c,this.ze,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.xa[b]=c,!0}return!1}; +k.zc=function(a,b,c,d){this.sa=b;this.T=c;this.ka=d;this.Ma=a;this.Oa=hb(a,"Keyboard");this.Sh=c.da.td/1193181;vb(b,this,ri);zb(b,this,si);this.Kab;b++){var c=13>=b?zi(e,b):e.na[b];a&&(a+="\n");a+="CMOS[0x"+q(b)+"]: 0x"+q(c)}e.ka.Z(a)})}id(c,26,this,this.eo)};k.fc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.ec=function(a){return a&&this.save?this.save():!0}; +k.reset=function(a){var b;this.md=this.ic;this.df=this.ze;Ai(this);this.rb=Array(this.mh);for(b=0;b=oi){this.tb=16;this.Ed=0;this.Dd=16;this.dh=0;this.Ge=160;512<=Ei(this)&&(this.Ge|=16);3==Fi(this)&&(this.Ge|=64);this.qi=3;this.ag=0;this.Yg=Array(7);this.He=0;a&&(this.na=Array(64));Gi(this, +this.wp);for(a=21;24>=a;a++)this.na[a]=0;for(a=14;46>a;a++)void 0===this.na[a]&&(this.na[a]=0);this.na[20]=this.md&(mi.Rf|2|ni.gi|ni.Rf);this.na[16]=Hi(this,0)<<4|Hi(this,1);Ii(this)}}; +function Gi(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Z("CMOS date invalid ("+b+"), using "+c)):b&&a.Z("CMOS date: "+c);a.na[0]=c.getSeconds();a.na[1]=0;a.na[2]=c.getMinutes();a.na[3]=0;a.na[4]=c.getHours();a.na[5]=0;a.na[6]=c.getDay()+1;a.na[7]=c.getDate();a.na[8]=c.getMonth()+1;c=c.getFullYear();a.na[9]=c%100;c/=100;a.na[50]=c%10|c/10<<4;a.na[10]=38;a.na[11]=2;a.na[12]=0;a.na[13]=128;a.Gg=a.If=0;a.gm=a.Qh=null} +function zi(a,b){var c=a.na[b];if(10>b){var d=!1;4!=b&&5!=b||a.na[11]&2||(c=12>c?c?c:12:(c-=12)?c+128:140,d=!0);a.na[11]&4||(d&&128c;c++)b+=a.na[c];a.na[47]=b&255;a.na[46]=b>>8} +k.save=function(){var a=new pd(this);a.set(0,[this.ic,this.ze,this.md,this.df]);for(var b=[],c=0;c=oi&&(a.set(5,[this.tb,this.Ed,this.Dd,this.dh,this.Ge,this.qi]),a.set(6,[this.ag,this.Yg,this.He,this.na,this.Gg,this.If]));return a.data()}; +k.restore=function(a){var b,c;b=a[0];this.ic=b[0];this.ze=b[1];this.md=b[2];this.df=b[3];b=a[1];for(c=0;c>2)+1)*a.fo+32*((b?a.ze:a.df)&15)}function Qi(a,b){var c=b?a.ic:a.md;return a.Ka!=ji||c&ni.gi?((c&ni.Rf)>>ni.Sf)+1:0} +function Hi(a,b){if(b>mi.Sf} +function qi(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
    '+g+"
    \n"}c.innerHTML=f;b=A(c,"pcjs-bitCell");c=null;for(g=0;gg.cb[0]&&(g.cb[0]=255,g.cb[1]--,0>g.cb[1]&&(g.cb[1]=255)));return h}function Vi(a,b,c,d,e,f){var g=a.rb[b];a.ua(384)&&B(a,d,e,f,"DMA"+b+".CHANNEL"+c+".COUNT["+g.ub+"]",null,!0);a=g.Qb[c];a.cb[g.ub]=a.jc[g.ub]=e;g.ub^=1}function Wi(a,b,c,d){var e=a.rb[b],f=e.fe|1;e.fe&=-16;a.ua(384)&&B(a,c,null,d,"DMA"+b+".STATUS",f,!0);return f} +function Xi(a,b,c,d,e){var f=a.rb[b];a.ua(384)&&B(a,c,d,e,"DMA"+b+".REQ",null,!0);a=d&3;f.fe=f.fe&~(16<>2].Qb[b&3],c,d,e)} +function Zi(a,b,c){b=a.rb[b>>2].Qb[b&3];b.qh&&b.Qi&&b.Th?(c&&(b.sh=c),b.Pd||Rd(a,b,!0)):c&&c(!0)}function Rd(a,b,c){c&&(b.count=b.cb[1]<<8|b.cb[0],b.xm=b.mode&12,b.Sk=b.gd=!1);for(var d=!1;0<=b.count&&(c=b.jh<<16|b.kb[1]<<8|b.kb[0],4==b.xm?(d=!0,function(c){b.Qi.call(b.qh,b.Th,-1,function(f,g){0>f&&(b.Sk||(b.Sk=!0),f=255);b.Pd||a.sa.ld(c,f);(d=g)&&setTimeout(function(){gj(b)||Rd(a,b)},0)})}(c)):8==b.xm?(c=a.sa.ob(c),0>b.Qi.call(b.qh,b.Th,c)&&(b.gd=!0)):b.gd=!0),!d&&!gj(b););} +function gj(a){if(!a.gd&&0<=--a.count&&(a.mode&32?(a.kb[0]--,0>a.kb[0]&&(a.kb[0]=255,a.kb[1]--,0>a.kb[1]&&(a.kb[1]=255))):(a.kb[0]++,255>3];b=1<<(b&7);d.Sb&b||(d.Sb|=b,d.Gf=c||0,jj(a))} +function nj(a,b){var c=a.Wb[b>>3],d=1<<(b&7);c.Sb&d&&(c.Sb&=~d,jj(a))}function jj(a,b){var c,d=-1;1>=1),Xb(a.T,c))),2==b&&$b(a))}k=N.prototype; +k.Xn=function(a,b){B(this,a,null,b,"TIMER_CTRL",null,1024);return null};k.lp=function(a,b,c){this.vi=b;B(this,a,b,c,"TIMER_CTRL",null,1024);a=(b&192)>>6;if(3!=a){c=b&1;var d=b&14;if(b&=48){var e=this.Kb[a];e.$h=b;e.mode=d;e.yk=c;e.jc=[0,0];e.cb=[0,0];e.Oe=[0,0];e.sd=!1;e.ng=!1;e.Se=!1;pj(this,a);0==a&&nj(this,0);2==a&&255==this.Wb[0].od&&77==this.Ic&&(a=this.Kb[0],a.Lc[0]=a.jc[0],a.Lc[1]=a.jc[1],a.kd=F(this.T,this.le))}else yi(this,a),b=this.Kb[a],b.Oe[0]=b.cb[0],b.Oe[1]=b.cb[1],b.ng=!0,pj(this,a)}}; +function rj(a,b){var c=a.Kb[b],d=c.jc[1]<<8|c.jc[0];d||(d=1==c.qd?256:65536);return d}function bc(a,b){var c=a.Kb[b],d=c.Lc[1]<<8|c.Lc[0];d||(d=1==c.qd?256:65536);return d}function pj(a,b){var c=a.Kb[b];c.ie=32==c.$h?1:0;c.qd=48==c.$h?2:1} +function yi(a,b,c){var d=a.Kb[b];if(d.Se&&(2!=b||a.Ic&1)){var e=F(a.T,a.le),f=(e-d.kd)/a.Sh|0;0>f&&(d.kd=e,f=0);var g=rj(a,b),h=bc(a,b)-f;0==d.mode?(0>=h&&(h=0),h||(d.sd=!0,d.Se=!1,b||mj(a,0))):4==d.mode?(d.sd=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.Lc[0]=h&255,d.Lc[1]=h>>8,d.kd=e,!b&&d.sd&&mj(a,0))):6==d.mode&&(h-=f,0>=h&&(d.sd=!d.sd,h=g+h,0>=h&&(h=g),d.Lc[0]=h&255,d.Lc[1]=h>>8,d.kd=e,!b&&d.sd&&mj(a,0)));d.cb[0]=h&255;d.cb[1]=h>>8;c&&(a.kd=0)}return d} +function ac(a,b){for(var c=0;c=oi){var c=a.T.da.td,d=F(a.T,a.le);null==a.Qh&&(a.Gg=F(a.T,a.le),a.gm=1024,a.Qh=Math.floor(a.T.da.td/a.gm),Ji(a));d>=a.If&&(a.na[12]|=64,a.na[11]&64&&(a.na[12]|=128,mj(a,8)),a.If=d+a.Qh);a.na[0]==a.na[1]&&a.na[2]==a.na[3]&&a.na[4]==a.na[5]&&(a.na[12]|=32,a.na[11]&32&&(a.na[12]|=128,mj(a,8)));var e=d-a.Gg,f=Math.floor(e/c);if(f&&!(a.na[11]&128)){for(;f--;)if(60<=++a.na[0]&&(a.na[0]=0,60<=++a.na[2]&&(a.na[2]=0,24<=++a.na[4]))){a.na[4]= +0;a.na[6]=a.na[6]%7+1;var g;g=a.na[9];var h=ra[a.na[8]-1];28==h&&0===g%4&&(g%100||0===g%400)&&h++;g=h;++a.na[7]>g&&(a.na[7]=1,12<++a.na[8]&&(a.na[8]=1,a.na[9]=(a.na[9]+1)%100))}a.na[12]|=16;a.na[11]&16&&(a.na[12]|=128,mj(a,8))}a.Gg=d-e%c}}k.Pn=function(a,b){var c=this.ih;if(this.cg&16)if(this.Ic&128)c=this.md;else if(this.Oa){var c=this.Oa,d=0;c.Xb.length&&(d=c.Xb[0]);c.ua()&&c.fb("scan code 0x"+q(d)+" delivered");c=d}B(this,a,null,b,"PPI_A",c);return c}; +k.ep=function(a,b,c){B(this,a,b,c,"PPI_A");this.ih=b};k.Qn=function(a,b){var c=this.Ic;B(this,a,null,b,"PPI_B",c);return c};k.fp=function(a,b,c){B(this,a,b,c,"PPI_B");sj(this,b);this.Oa&&tj(this.Oa,b&128?!1:!0,b&64?!0:!1)};function sj(a,b){var c=!!(b&2),d=!!(a.Ic&2);a.Ic=b;c!=d&&$b(a,c)}k.Rn=function(a,b){var c=0,c=this.Ka==ji?this.Ic&4?c|this.df&15:c|this.df>>4&1:this.Ic&8?c|this.md>>4:c|this.md&15;this.Ic&1&&yi(this,2).sd&&(c=this.Ic&2?c|32:c|16);B(this,a,null,b,"PPI_C",c,16448);return c}; +k.gp=function(a,b,c){B(this,a,b,c,"PPI_C");this.ti=b};k.Sn=function(a,b){var c=this.cg;B(this,a,null,b,"PPI_CTRL",c);return c};k.hp=function(a,b,c){B(this,a,b,c,"PPI_CTRL");this.cg=b};k.en=function(a,b){var c=this.dh;B(this,a,null,b,"8042_OUTBUFF",c,8192);this.tb&=-258;this.Oa&&uj(this.Oa);return c}; +k.wo=function(a,b,c){B(this,a,b,c,"8042_INBUF.DATA",null,8192);if(this.tb&8)switch(this.Ed){case 96:vj(this,b);break;case 209:wj(this,b);break;default:if(vj(this,this.Dd&-17),this.Oa){a=-1;switch(b){case 255:a=250,xj(this.Oa)}yj(this,a)}}this.Ed=b;this.tb&=-9};k.fn=function(a,b){var c=this.Ic&-209|(F(this.T)&64?16:0);B(this,a,null,b,"8042_RWREG",c,8192);return c};k.xo=function(a,b,c){B(this,a,b,c,"8042_RWREG",null,8192);sj(this,b)}; +k.gn=function(a,b){B(this,a,null,b,"8042_STATUS",this.tb,8192);var c=this.tb&255;this.tb&256&&(this.tb|=1,this.tb&=-257);return c}; +k.vo=function(a,b,c){B(this,a,b,c,"8042_INBUFF.CMD",null,8192);this.Ed=b;this.tb|=8;a=0;240<=this.Ed&&(a=this.Ed^15,this.Ed=240);switch(this.Ed){case 192:yj(this,this.Ge);break;case 173:vj(this,this.Dd|16);break;case 174:vj(this,this.Dd&-17);this.Oa&&uj(this.Oa);break;case 170:this.Oa&&(a=this.Oa,a.Xb=[],a.ua()&&a.fb("scan codes flushed"));vj(this,this.Dd|16);yj(this,85);wj(this,3);break;case 224:yj(this,this.Dd&16?0:1);break;case 240:a&1&&gd(this.T)}}; +function vj(a,b){a.Dd=b;a.tb=a.tb&-5|b&4;a.Oa&&tj(a.Oa,!!(b&8),!(b&16))}function yj(a,b){0<=b&&(a.dh=b,a.tb&=-2,a.tb|=256)}function wj(a,b){a.qi=b;mb(a.sa,!!(b&2));b&1||gd(a.T)}function zj(a,b){a.Ka=c?zi(this,c):this.na[c];this.ua(2176)&&B(this,a,null,b,"CMOS.DATA["+q(c)+"]",d,!0);null!=b&&12==c&&(this.na[c]&=15,d&128&&nj(this,8),d&64&&this.na[11]&64&&Ji(this));return d}; +k.Mo=function(a,b,c){var d=this.He&63;this.ua(2176)&&B(this,a,b,c,"CMOS.DATA["+q(d)+"]",null,!0);a=b^this.na[d];if(13>=d){if(c=b,10>d){var e=!1;this.na[11]&4||(c=10*(c>>4)+(c&15),e=!0);if(4==d||5==d)e&&23=c?c=12==c?0:c:(c-=116,c=24==c?12:c))}}else c=b;this.na[d]=c;11==d&&a&64&&b&64&&Ji(this)};k.Nn=function(a,b){B(this,a,null,b,"MFG_DATA",this.ag);return this.ag};k.bp=function(a,b,c){B(this,a,b,c,"MFG_DATA");this.ag=b}; +k.dp=function(a,b,c){B(this,a,b,c,"NMI");this.hh=b};k.No=function(a,b,c){B(this,a,b,c,"COPROC.CLEAR")};k.Oo=function(a,b,c){B(this,a,b,c,"COPROC.RESET")}; +k.eo=function(a){if(this.ua(4096)&&kd(this.ka,26,a)){var b=this.T.H>>8;ld(this.T,a,function(a,d){return function(e){d=F(a.T)-d;var f,g=a.T.K&255,h=a.T.K>>8,n=a.T.K&255,m=a.T.K>>8;if(2==b||3==b)f=" CH(hour)="+r(h)+" CL(min)="+q(g)+" DH(sec)="+q(m);else if(4==b||5==b)f=" CX(year)="+r(a.T.J)+" DH(month)="+q(m)+" DL(day)="+q(n);md(a.ka,26,e,d,f)}}(this,F(this.T)))}return!0};function ki(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.Lb[c++]=f[b]>>16&255,this.Lb[c++]=f[b]>>24&255;else this.Lb=d;this.li=d.symbols;if(!this.Lb.length){w("Empty ROM: "+a);return}if(1==this.Lb.length){w(this.Lb[0]);return}}catch(g){this.Ia("ROM data error: "+ +g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.Lb=Array(a.length),d=0;d>d.bb].Pf(e&d.Sa,a.Lb[c]&255)}return!0}return!1}Ja(function(){for(var a=A(window.document,"pcjs","rom"),b=0;bthis.ah?21:23,c=a.na[b]|a.na[b+1]<<8,c=c+(this.Td>>10);a.na[b]=c&255;a.na[b+1]=c>>8;Ii(a)}}else w("No RAM allocated")}; +Ja(function(){for(var a=A(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Ap:65,Bp:66,kk:67,zm:68,E:69,Ip:70,Lp:71,lk:72,Np:73,Op:74,Pp:75,Qp:76,Rp:77,hi:78,Tp:79,Up:80,Wp:81,nk:82,$p:83,jq:84,nq:85,oq:86,pq:87,rq:88,sq:89,tq:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,uq:97,vq:98,xq:99,yq:100,zq:101,Aq:102,Bq:103,Cq:104,Dq:105,Eq:106,Fq:107, +Gq:108,Hq:109,Iq:110,Kq:111,Lq:112,Mq:113,Nq:114,Oq:115,Pq:116,Qq:117,Rq:118,Sq:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},Ij={};Ij[186]=O[";"];Ij[187]=O["="];Ij[188]=O[","];Ij[189]=O["-"];Ij[190]=O["."];Ij[191]=O["/"];Ij[192]=O["`"];Ij[219]=O["["];Ij[220]=O["\\"];Ij[221]=O["]"];Ij[222]=O["'"];Ij[173]=O["-"];var R={};R[O["1"]]=O["!"];R[O["2"]]=O["@"];R[O["3"]]=O["#"];R[O["4"]]=O.$;R[O["5"]]=O["%"];R[O["6"]]=O["^"];R[O["7"]]=O["&"];R[O["8"]]=O["*"];R[O["9"]]=O["("];R[O["0"]]=O[")"]; +R[186]=O[":"];R[187]=O["+"];R[188]=O["<"];R[189]=O._;R[190]=O[">"];R[191]=O["?"];R[192]=O["~"];R[219]=O["{"];R[220]=O["|"];R[221]=O["}"];R[222]=O['"'];R[173]=O._;R[61]=O["+"];R[59]=O[":"]; +var Jj={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},Kj={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},Lj={esc:1027,1:O["1"],2:O["2"],3:O["3"],4:O["4"],5:O["5"],6:O["6"],7:O["7"],8:O["8"],9:O["9"],0:O["0"],"-":O["-"],"=":O["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":O["["],"]":O["]"],enter:13, +ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":O[";"],quote:O["'"],"`":O["`"],shift:1016,"\\":O["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":O[","],".":O["."],"/":O["/"],"right-shift":3016,prtsc:1044,alt:1018,space:O[" "],"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101,"num-right":1039,"num-add":1107,"num-end":1035, +"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},Mj={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},S={1027:1};S[O["1"]]=2;S[O["!"]]=10754;S[O["2"]]=3;S[O["@"]]=10755;S[O["3"]]=4;S[O["#"]]=10756;S[O["4"]]=5;S[O.$]=10757;S[O["5"]]=6;S[O["%"]]=10758;S[O["6"]]=7;S[O["^"]]=10759;S[O["7"]]=8;S[O["&"]]=10760;S[O["8"]]=9;S[O["*"]]=10761;S[O["9"]]=10;S[O["("]]=10762;S[O["0"]]=11;S[O[")"]]=10763;S[O["-"]]=12;S[O._]=10764;S[O["="]]=13;S[O["+"]]=10765;S[1008]=14;S[1009]=15;S[113]=16; +S[81]=10768;S[119]=17;S[87]=10769;S[101]=18;S[69]=10770;S[114]=19;S[82]=10771;S[116]=20;S[84]=10772;S[121]=21;S[89]=10773;S[117]=22;S[85]=10774;S[105]=23;S[73]=10775;S[111]=24;S[79]=10776;S[112]=25;S[80]=10777;S[O["["]]=26;S[O["{"]]=10778;S[O["]"]]=27;S[O["}"]]=10779;S[13]=28;S[1017]=29;S[97]=30;S[65]=10782;S[115]=31;S[83]=10783;S[100]=32;S[68]=10784;S[102]=33;S[70]=10785;S[103]=34;S[71]=10786;S[104]=35;S[72]=10787;S[106]=36;S[74]=10788;S[107]=37;S[75]=10789;S[108]=38;S[76]=10790;S[O[";"]]=39; +S[O[":"]]=10791;S[O["'"]]=40;S[O['"']]=10792;S[O["`"]]=41;S[O["~"]]=10793;S[1016]=42;S[O["\\"]]=43;S[O["|"]]=10795;S[122]=44;S[90]=10796;S[120]=45;S[88]=10797;S[99]=46;S[67]=10798;S[118]=47;S[86]=10799;S[98]=48;S[66]=10800;S[110]=49;S[78]=10801;S[109]=50;S[77]=10802;S[O[","]]=51;S[O["<"]]=10803;S[O["."]]=52;S[O[">"]]=10804;S[O["/"]]=53;S[O["?"]]=10805;S[3016]=54;S[1044]=55;S[1018]=56;S[O[" "]]=57;S[1020]=58;S[1112]=59;S[1113]=60;S[1114]=61;S[1115]=62;S[1116]=63;S[1117]=64;S[1118]=65;S[1119]=66; +S[1120]=67;S[1121]=68;S[1144]=69;S[1145]=70;S[1036]=71;S[1038]=72;S[1033]=73;S[1109]=74;S[1037]=75;S[1101]=76;S[1039]=77;S[1107]=78;S[1035]=79;S[1040]=80;S[1034]=81;S[1045]=82;S[1046]=83;S[1122]=87;S[1123]=88;S[1091]=91;S[1093]=93;S[1224]=91;S[4003]=7470;S[4008]=7494;S[4046]=3677523;k=Hj.prototype; +k.Ib=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.xa[e])switch(b){case "kbd":return this.xa[e]=c,c.onkeydown=function(a){return Nj(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=d.Rb.length?d.Rb[0].ye:0;b&&(65<=b&&90>=b||97<=b&&122>=b)&&(65<=a&&90>=a||97<=a&&122>=a)&&b!=a&&(d.Ni=!0,a=b);(b=!S[a]||!!(d.Fb&128))||Oj(d,a,!0);return b},c.onkeyup=function(a){return Nj(d,a,!1)},!0;case "caps-lock":return this.xa[e]=c,c.onclick=function(){d.T&&d.T.Oc();Oj(d,1020, +!0)},!0;case "num-lock":return this.xa[e]=c,c.onclick=function(){d.T&&d.T.Oc();Oj(d,1144,!0)},!0;case "scroll-lock":return this.xa[e]=c,c.onclick=function(){d.T&&d.T.Oc();Oj(d,1145,!0)},!0;default:var f=b.toUpperCase().replace(/-/g,"_");if(void 0!==Kj[f]&&"button"==a)return this.xa[e]=c,c.onclick=function(a,b,c){return function(){a.T&&a.T.Oc();Pj(a,c,!0);Oj(a,c,!0)}}(this,f,Kj[f]),!0;if(void 0!==Lj[b])return this.Bk++,this.xa[e]=c,a=function(a,b,c){return function(){Oj(a,c)}}(this,b,Lj[b]),b=function(a, +b,c){return function(){Qj(a,c)}}(this,b,Lj[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup=c.onmouseout=b),!0}return!1};function Rj(a,b,c){if(a.Bk){for(var d in R)if(b==R[d]){b=parseInt(d,10);(d=Ij[d])&&(b=d);break}for(var e in Lj)if((d=Lj[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Lj[e]==d),d){(a=a.xa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}} +k.zc=function(a,b,c,d){this.sa=b;this.T=c;this.ka=d;this.oa=hb(a,"ChipSet")};function xj(a,b){a.fb("keyboard reset",32896);a.Xb=[170];b&&a.oa&&zj(a.oa,a.Xb[0])}function tj(a,b,c){a.Ii!==c&&(a.Ii=a.Li=c);a.wh!==b&&(a.wh=b)&&!a.Li&&Aj(a,!0);a.wh&&a.Li&&(xj(a,!0),a.Li=!1)}function uj(a){var b=0;a.Xb.length&&(b=a.Xb[0],a.oa&&zj(a.oa,b));a.ua()&&a.fb("scan code 0x"+q(b)+" available")} +function Aj(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.lf:a.Fb)&b):d||b&255&&(b=255);if(c){a.lf&=~b;d&&(a.lf|=b);c=b;var f,g;for(g in Mj)d="led-"+g,e=Mj[g],c&&c!=e||!(f=a.xa[d])||(f.style.backgroundColor=a.lf&e?"#00ff00":"#000000")}else a.Fb&=~b,d&&(a.Fb|=b);return!0}}return!1} +function Oj(a,b,c){if(S[b]&&a.T&&a.T.ma.nb){Jj[b]&&a.Rb.length&&0e||(e==a.Rb.length&&(d={},d.ye=b,d.Fb=a.Fb,Rj(a,b,!0),e++),0b.wd){if(!b.mg){Qj(a,b.ye);return}b.mg=!1;c=a.jo}else c=1==b.wd++?a.ko:a.lo;b.vm=setTimeout(function(a){return function(){Sj(a,b)}}(a),c)}}else Qj(a,b.ye,!0)}function Uj(a,b,c){var d=b;if(65<=b&&90>=b)!(a.Fb&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.Fb&515)==c&&(d=b-32);else if(!!(a.Fb&3)==c){if(a=R[b])d=a}else if(a=Ij[b])d=a;return d}k.Uh=function(a){this.xh=a;a||(this.Fb&=-256)}; +function Nj(a,b,c){var d=!0,e=!1,f=!1,g=b.keyCode,h=Uj(a,g,!0);a.Mk&&h==O["`"]&&(g=h=27);if(S[g+1E3])if(h+=1E3,2==b.location&&(h+=2E3),Pj(a,h,!1,c)){if(20==g||144==g||145==g)a.Vm||(c=e=!0);if(!(c||91!=g&&93!=g))for(var n=0;n=b||97<=b&&122>=b;d>>>=8;){var g=0,h=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==h?a.Fb&3||a.Fb&512&&b||(g=h):29==h?a.Fb&12||(g=h):56==h?a.Fb&48||(g=h):e.push(f|(c?0:128)),g&&(c?e.unshift(g):e.push(g|128)))}for(c=0;cd.Xb.length?(d.ua()&&d.fb("scan code 0x"+q(f)+" buffered"),d.Xb.push(f),1==d.Xb.length&&d.oa&&zj(d.oa, +f)):(20==d.Xb.length&&d.Xb.push(255),d.fb("scan code buffer overflow")))}}Ja(function(){for(var a=A(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(ik)];this.ka=a.ka;this.type=e[0];this.port=e[1];this.ne=b;this.Ya=e[2];this.Vb=e[3];this.dd=d||e[4];65536<=this.dd&&720896<=this.Ya&&(this.Vb=Math.min(this.dd>>2,32768));this.fd=c[0];this.Nc=c[1];this.of=c[2];this.Nf=c[3];this.yc=c[4]&255;this.Fh=c[4]>>8&255;this.nc=c[5];this.Wi=ik;this.bh=jk;if(5==b){this.Wi=kk;this.bh=qk;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5), +0,0,0,Array(9),0,[this.Ya,this.Vb,this.dd],Array(this.dd>>2),771,0,4294967295,0,4294967295,0,4294967295,0,0,0]);this.rd=b[0];this.Ld=b[1];this.Wd=b[2];this.ni=rk;this.ei=b[3];this.rg=b[4];this.Eh=b[5];this.Nd=b[6];this.Uf=b[7];this.pi=sk;this.Ri=b[8];this.Si=b[9];this.Md=b[10];this.Ce=b[11];this.oi=tk;this.Jb=b[12];d=b[13];"number"==typeof d&&(d=[this.Ya,this.Vb,d]);this.Ya=d[0];this.Vb=d[1];d=this.dd>>2;if((this.nd=b[14])&&this.nd.length>8&255)} +var wk=[,,function(a){a+=this.offset;return(this.ga.Jb=this.ya[a])>>this.ga.Qj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.ya[b]>>8:this.ya[b])&255}];wk[16]=function(a){a+=this.offset;a=this.ya[a];for(var b=this.ga.Yi&this.ga.Zi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};wk[512]=function(a,b){var c=a+this.offset,d;d=this.ya[c]&~this.ga.wb|(b|b<<8|b<<16|b<<24)&this.ga.wb;d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +wk[1024]=function(a,b){var c=a+this.offset;b=b>>this.ga.ud|b<<8-this.ga.ud&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ga.ue|this.ga.Xe;d=d&this.ga.wb|this.ya[c]&~this.ga.wb;d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +wk[1536]=function(a,b){var c=a+this.offset;b=b>>this.ga.ud|b<<8-this.ga.ud&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ga.ue|this.ga.Xe;d&=this.ga.Jb;d=d&this.ga.wb|this.ya[c]&~this.ga.wb;d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +wk[2560]=function(a,b){var c=a+this.offset;b=b>>this.ga.ud|b<<8-this.ga.ud&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ga.ue|this.ga.Xe;d|=this.ga.Jb;d=d&this.ga.wb|this.ya[c]&~this.ga.wb;d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +wk[3584]=function(a,b){var c=a+this.offset;b=b>>this.ga.ud|b<<8-this.ga.ud&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ga.ue|this.ga.Xe;d^=this.ga.Jb;d=d&this.ga.wb|this.ya[c]&~this.ga.wb;d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)};wk[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ga.wb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.ya[d]&~c;c=c&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[d]!=c&&(this.ya[d]=c,this.zb=!0)}; +wk[4096]=function(a){a+=this.offset;var b=this.ya[a]&~this.ga.wb|this.ga.Jb&this.ga.wb;this.ya[a]!=b&&(this.ya[a]=b,this.zb=!0)};wk[8192]=function(a,b){var c=a+this.offset,d=ek[b&15],d=d&this.ga.wb|this.ya[c]&~this.ga.wb,d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)};wk[24576]=function(a,b){var c=a+this.offset,d=ek[b&15],d=d&this.ga.Jb,d=d&this.ga.wb|this.ya[c]&~this.ga.wb,d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +wk[40960]=function(a,b){var c=a+this.offset,d=ek[b&15],d=d|this.ga.Jb,d=d&this.ga.wb|this.ya[c]&~this.ga.wb,d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)};wk[57344]=function(a,b){var c=a+this.offset,d=ek[b&15],d=d^this.ga.Jb,d=d&this.ga.wb|this.ya[c]&~this.ga.wb,d=d&this.ga.Bb|this.ga.Jb&~this.ga.Bb;this.ya[c]!=d&&(this.ya[c]=d,this.zb=!0)}; +function xk(a){var b=[];if(void 0!==a.ne){b[0]=a.fd;b[1]=a.Nc;b[2]=a.of;b[3]=a.Nf;b[4]=a.yc|a.Fh<<8;b[5]=a.nc;if(5==a.ne){var c=[];c[0]=a.rd;c[1]=a.Ld;c[2]=a.Wd;c[3]=a.ei;c[4]=a.rg;c[5]=a.Eh;c[6]=a.Nd;c[7]=a.Uf;c[8]=a.Ri;c[9]=a.Si;c[10]=a.Md;c[11]=a.Ce;c[12]=a.Jb;c[13]=[a.Ya,a.Vb,a.dd];var d;a:if(d=a.nd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=n;h=m}if(f.lengtha&&(a=0);for(var c="",d=0;8>d;d++){for(var f=p(b.Ya+a)+":",s=0;8>s&&a>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),sb(this.sa,b,c|d<<8);Nb(this,!0)}};function Fk(a){a.pa.rg&1?(a.cd=a.wi,a.Mb=a.pa):(a.cd=a.pa,a.Mb=a.ph)}k.save=function(){var a=new pd(this);a.set(0,xk(this.wi));a.set(1,xk(this.ph));a.set(2,[this.re,this.vd,this.Sd]);a.set(3,xk(this.pa));return a.data()}; +k.restore=function(a){var b=a[2];this.re=b[0];this.vd=b[1];this.Sd=b[2];this.Ja=null;this.cd=this.wi=new gk(this,1,a[0]);this.Mb=this.ph=new gk(this,3,a[1]);this.pa=new gk(this,5,a[3],this.dd);this.pa.fd&&Fk(this);Gk(this);if(!Ik(this))return!1;Jk(this);return!0}; +k.so=function(a,b,c){if(c)this.Ia("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){w("Empty font ROM image: "+a);return}if(1==d.length){w(d[0]);return}if(8192==d.length)Fj(this,d,[0,6144]);else{this.Ia("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ia("Font ROM data error: "+e.message);return}D(this)}}; +function Kk(a,b){if(1==b)return a.Bd[0]=V[0],a.Bd[1]=V[7],a.Bd;if(2==b){var c=a.Ja.of;if(a.Ja===a.pa){var d=a.pa.Wd[0],c=d&7;d&16&&(c|=8);18!=a.pa.Wd[1]&&(c|=32)}a.Bd[0]=V[c&15];c=c&32?ck:bk;for(d=0;dya||!T?ya:8,za=Ac.createImageData(m.vc,m.wc),E=0;256>E;E++){for(I=0;I< +ya;I++)for(var ia=m.Tf&&x&1&&I>=ya-2,aa=Fa[I>(8<=Q&&176<=E&&223>=E?7:Q)?u:Za;Nk(za,Bc,ic,Cc);v&&Nk(za,Bc+1,ic,Cc)}Ac.putImageData(za,(E&15)*m.vc,(E>>4)*m.wc)}m.hf[x]="#"+q(u[0])+q(u[1])+q(u[2]);m.qk[x]=u;m.ii[x]=Pb;m=!0}}a.Zd[b]=s;return m}function Ok(a){0a.Le&&(a.Le=0):a.Le=-1} +function Jk(a){if(a.ac){for(var b=10;15>=b;b++)if(null==a.Ja.nc[b])return;var c=a.Ja.nc[10],b=c&31,d=a.Ja.nc[11]&31,e=a.Ja.nc[9]&31,f=!1;a.Ja===a.pa&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Pk(a);else{c=a.Ja.nc[15]+((a.Ja.nc[14]&63)<<8);a.Uc!=c&&(Pk(a),a.Uc=c);d=d-b+1;if(a.ym!=b||a.Gk!=d)a.ym=b,a.Gk=d;a.je=e+1;Ok(a)}}} +function Pk(a){if(0<=a.Uc){if(void 0!==a.oc){var b=a.oc[a.Uc];if(b&131072){var b=b&-131073,c=a.Uc%a.Nb,d=Math.floor(a.Uc/a.Nb);a.ac&&a.Zd[a.ac]&&(a.pf&&Qk(a,c,d,b,a.pf),Qk(a,c,d,b));a.oc[a.Uc]=b}}a.Uc=-1}} +function Rk(a){var b;a=a.Ja;var c=a.Ce[5];if(null!=c){b=2;var d=512,e=a.Ce[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.ud=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.bf=function(a){var b=this.Ja;null!=a&&b&&a!=b.Kh&&(b.bi(a),this.sa.bi(b.Ya,b.Vb,b.Zf))}; +function Ik(a,b){var c,d=a.Sd,e=a.Ja;if(e)if(1==e.ne)d=Wj;else if(5==e.ne){var d=null,f=e.dd>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Rk(a)}}else e.Nc&8&&(e.Nc&2?(d=e.Nc&16?6:5,e.Nc&4||(d-=1)):(d=e.Nc&1?3:1,e.Nc&4&&(d-= +1)));else a.Sd=null,null==d&&(d=a.vd);if(!Hk(a,d,b))return!1;a.bf(c);return!0} +function Hk(a,b,c){if(null!=b&&(b!=a.Sd||c)){a.Hm=0;a.Sd=b;b=a.Ja||(b==Wj?a.cd:a.Mb);if(b!=a.Ja||b.Ya!=a.Ya||b.Vb!=a.Vb){Pk(a);if(a.Ya){if(!pb(a.sa,a.Ya,a.Vb))return!1;a.Ja&&(a.Ja.fd=!1)}a.Ja=b;b.fd=!0;a.Ya=b.Ya;a.Vb=b.Vb;if(!nb(a.sa,b.Ya,b.Vb,!1,b===a.pa?b:null))return!1}a.ac=0;a.Nb=a.Mh;a.Bc=a.cj;a.Xi=Vj[Wj][2];b=0;var d=Vj[a.Sd];d&&(a.Nb=d[0],a.Bc=d[1],a.Xi=d[2],b=d[3]||0,a.ac=d[4],4==a.re&&a.Ja===a.pa&&3==a.ac&&(7==a.pa.nc[9]?a.Bc=43:a.ac=5));a.cl=a.Nb*a.Bc;a.Lh=a.cl/a.Xi;a.xi=(a.Lh<<1)+b;a.Dk= +b?a.xi+b>>1:0;13<=a.Sd&&(a.Lh<<=1);a.Zd.length&&(a.Id=Math.floor(a.Hd/a.Nb),a.Jd=Math.floor(a.ke/a.Bc),a.ac?(b=a.Zd[a.ac],d=a.Zd[a.ac<<1],a.Wm&&80==a.Nb?d&&a.Id>=3*d.vc>>2&&(a.ac<<=1,b=d):(d&&a.Id>=d.vc&&(a.ac<<=1,b=d),b&&(a.Id=b.vc,a.Jd=b.wc)),a.jg=a.kg=0,b&&(a.jg=a.Nb*b.vc,a.kg=a.Bc*b.wc)):(a.Id=a.Jd=1,a.jg=a.Nb,a.kg=a.Bc),a.Hh=a.ed.createImageData(a.jg,a.kg),a.mf=window.document.createElement("canvas"),a.mf.width=a.jg,a.mf.height=a.kg,a.pf=a.mf.getContext("2d"),a.ik=a.jk=0,a.zi=a.Hd,a.Ai=a.ke, +b=a.Hd-a.Nb*a.Id,d=a.ke-a.Bc*a.Jd,0>1,a.zi-=b),0>1,a.Ai-=d),b||d)&&(a.ed.fillStyle=a.fg.style.backgroundColor,a.ed.fillRect(0,0,a.Hd,a.ke));!1!==c?Nb(a,!0):Sk(a,!0)}return!0}function Nk(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Sk(a,b){var c;if(b){if(c=a.Lh,void 0===a.oc||a.oc.length!=c)a.oc=Array(c)}else{if(void 0===a.oc)return;c=a.oc.length}for(var d=0;d>8;d=g&15;var h=a.Zd[a.ac];h.Tf&&(d=h.Tf[d]);var n=g>>4&15;h.Tf&&(n=h.Tf[n]);e?(b*=h.vc,c*=h.wc,e.fillStyle=h.hf[n],e.fillRect(b,c,h.vc,h.wc)):(b=b*a.Id+a.ik,c=c*a.Jd+a.jk,a.ed.fillStyle=h.hf[n],a.ed.fillRect(b,c,a.Id,a.Jd));g&256&&(n=(f&15)*h.vc,f=(f>>4)*h.wc,e?e.drawImage(h.ii[d],n,f,h.vc,h.wc,b,c,h.vc,h.wc):a.ed.drawImage(h.ii[d],n,f,h.vc,h.wc,b,c,a.Id,a.Jd));g&512&&(f=a.ym,g=a.Gk,e?(a.je&&a.je!==h.wc&&(f=Math.floor(f*h.wc/a.je),g=Math.floor(g*h.wc/a.je)), +e.fillStyle=h.hf[d],e.fillRect(b,c+f,h.vc,g)):(a.je&&a.je!==a.Jd&&(f=Math.floor(f*a.Jd/a.je),g=Math.floor(g*a.Jd/a.je)),a.ed.fillStyle=h.hf[d],a.ed.fillRect(b,c+f,a.Id,g)))} +function Nb(a,b){if(a.ma.Tb){var c=!1;a.Ja&&(a.Ja===a.pa?a.pa.Ld&32&&(c=!0):a.Ja.Nc&8&&(c=!0));if(c||b){if(b)Sk(a,!0);else if(void 0===a.oc)return;var d=!1;!(b||++a.Hm&15)&&0<=a.Le&&(a.Le++,d=!0);var e=0,f=a.cl,c=a.Ja.Ya,g=c+a.Ja.Vb,h=(a.Ja.nc[12]<<8)+a.Ja.nc[13];a.ac&&(h<<=1);var c=c+h,n=a.xi;c+n>g&&(n=g-c,0>n&&(n=0));g=c+n;if(h=!b){for(var h=a.sa,m=!0,t=c>>h.bb;0a.Uc)return;e=a.Uc;f= +e+1}}if(a.ac){if(a.Zd[a.ac]){d=0;h=a.Ke=0;n=1048575;a.Ja.Nc&32&&(h=32768,n&=~h,a.Le&2||(n&=-65537));for(c+=e<<1;c>8|(s&255)<<8;u=h;var ya=16;t>=n))>>(ya-=n);Nk(a.Hh,t++,x,m[Za])}t>C&&(C=t);x=P&&(P=x+1)}e+=2;g++;if(t>=a.Nb){t=0;x+=2;if(x>a.Bc)break;x==a.Bc&&(x=1,e=c+a.Dk)}}vT;T++)P= +C&2155905152,0>P&&(P+=4294967296),P=fk[P]||0,Nk(a.Hh,h++,n,g[P]),C<<=1;h>t&&(t=h);n=v&&(v=n+1)}e++;if(h>=a.Nb&&(h=0,++n>a.Bc))break}m>2),c=this.pa.ei&-17|(this.eh&1<f&&(f=0);f%b.$i>b.oo&&(d|=1);f%=b.fl;f>b.qo&&(d|=8);b.gj=e-f;b===a.pa?(d|=b.Nf&48^48,b.rd=!1):d=(b.Nf^=9)|240;b.Nf=d;B(a,b.port+6,null,c,b===a.pa?"STATUS1":"STATUS",d);return d} +var zk={948:U.prototype.Kn,949:U.prototype.Jn,952:U.prototype.Ln,954:U.prototype.Mn,980:U.prototype.sn,981:U.prototype.rn,984:U.prototype.tn,985:U.prototype.qn,986:U.prototype.un},Ak={948:U.prototype.$o,949:U.prototype.Zo,952:U.prototype.ap,980:U.prototype.Jo,981:U.prototype.Io,984:U.prototype.Ko,985:U.prototype.Ho},Bk={960:U.prototype.Zk,961:U.prototype.Zk,962:U.prototype.Wn,964:U.prototype.Vn,965:U.prototype.Un,970:U.prototype.Dn,972:U.prototype.Cn,974:U.prototype.Bn,975:U.prototype.An},Ck={954:U.prototype.jm, +960:U.prototype.im,961:U.prototype.im,962:U.prototype.cp,964:U.prototype.jp,965:U.prototype.ip,970:U.prototype.Vo,972:U.prototype.Uo,974:U.prototype.To,975:U.prototype.So,986:U.prototype.jm}; +Ja(function(){for(var a=A(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth* +d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=window.document.createElement("textarea");f.setAttribute("style","position:absolute; left:0; top:0; width:100%; height:100%; opacity:0; border:0; padding:0; line-height:0;");Ba("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.style.clear="both";c.style.position="relative";c.appendChild(f); +var g=e.getContext("2d"),d=new U(d,e,g,f);ab(d,c)}});function Yk(a){this.Vk=a.adapter;switch(this.Vk){case 1:this.Vj=1016;this.zg=4;break;case 2:this.Vj=760;this.zg=3;break;default:w("Unrecognized serial adapter #"+this.Vk);return}this.he=null;y.call(this,"SerialPort",a,Yk,2097152);var b=a.binding,c;a=Zk;b&&(void 0===c&&(c="Panel"),(c=$a(c,this.id))&&(b=c.xa[b])&&this.Ib(null,a,b))}Wa(y,Yk);var Zk="buffer";k=Yk.prototype;k.sk=function(a,b){return a==this.Gh?(this.qe=b,this):null}; +k.Ib=function(a,b,c){var d=this;switch(b){case Zk:return this.xa[b]=this.he=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),$k(d,[b]))},c.onkeypress=function(a){a=a||window.event;$k(d,[a.which||a.keyCode])},!0}return!1};k.zc=function(a,b,c,d){this.sa=b;this.T=c;this.ka=d;this.oa=hb(a,"ChipSet");vb(b,this,al,this.Vj);zb(b,this,bl,this.Vj);D(this)};k.fc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0}; +k.ec=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.oe()};k.save=function(){var a=new pd(this),b=0,c=[];c[b++]=this.ui;c[b++]=this.xk;c[b++]=this.ef;c[b++]=this.fh;c[b++]=this.de;c[b++]=this.bd;c[b++]=this.pd;c[b++]=this.Tc;c[b++]=this.vk;c[b]=this.Wf;a.set(0,c);return a.data()};k.restore=function(a){return this.oe(a[0])}; +k.oe=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.ui=a[b++];this.xk=a[b++];this.ef=a[b++];this.fh=a[b++];this.de=a[b++];this.bd=a[b++];this.pd=a[b++];this.Tc=a[b++];this.vk=a[b++];this.Wf=a[b];return!0};function $k(a,b){a.Wf=a.Wf.concat(b);cl(a)}function cl(a){0>8:this.fh;B(this,a,null,b,this.bd&128?"DLM":"IER",c);return c};k.Fn=function(a,b){var c=this.de;B(this,a,null,b,"IIR",c);return c};k.Gn=function(a,b){var c=this.bd;B(this,a,null,b,"LCR",c);return c};k.In=function(a,b){var c=this.pd;B(this,a,null,b,"MCR",c);return c}; +k.Hn=function(a,b){var c=this.Tc;B(this,a,null,b,"LSR",c);return c};k.On=function(a,b){var c=this.vk;B(this,a,null,b,"MSR",c);return c};k.kp=function(a,b,c){B(this,a,b,c,this.bd&128?"DLL":"THR");this.bd&128?this.ef=this.ef&-256|b:(this.xk=b,this.Tc&=-97,this.he?(13!=b&&(8==b?this.he.value=this.he.value.slice(0,-1):(this.he.value+=String.fromCharCode(b),this.he.scrollTop=this.he.scrollHeight)),a=!0):a=!1,a&&(this.Tc|=96))}; +k.Wo=function(a,b,c){B(this,a,b,c,this.bd&128?"DLM":"IER");this.bd&128?this.ef=this.ef&255|b<<8:this.fh=b};k.Xo=function(a,b,c){B(this,a,b,c,"LCR");this.bd=b}; +k.Yo=function(a,b,c){var d=this.pd;B(this,a,b,c,"MCR");this.pd=b;this.qe&&(d^b)&3&&(a=this.qe,b=this.pd,(c=3==(b&3))?a.fd||(d=!1,a.pd&2||(a.reset(),a.fb("serial mouse reset"),d=!0),a.pd&1||(a.fb("serial mouse ID requested"),d=!0),d&&($k(a.gg,[77,77]),a.fb("serial mouse ID sent")),dl(a,a.Na),a.setActive(c)):a.fd&&(a.fb("serial mouse inactive"),el(a.Na),a.setActive(c)),a.pd=b)}; +var al={0:Yk.prototype.Tn,1:Yk.prototype.En,2:Yk.prototype.Fn,3:Yk.prototype.Gn,4:Yk.prototype.In,5:Yk.prototype.Hn,6:Yk.prototype.On},bl={0:Yk.prototype.kp,1:Yk.prototype.Wo,3:Yk.prototype.Xo,4:Yk.prototype.Yo};Ja(function(){for(var a=A(window.document,"pcjs","serial"),b=0;ba.Rg||0>a.Sg)a.Rg=b.clientX,a.Sg=b.clientY;a.yh?(a.ff=b.movementX||b.mozMovementX||b.webkitMovementX||0,a.gf=b.movementY||b.mozMovementY||b.webkitMovementY||0):(a.ff=b.clientX-a.Rg,a.gf=b.clientY-a.Sg);(a.ff||a.gf)&&gl(a,null,b.clientX,b.clientY);a.Rg=b.clientX;a.Sg=b.clientY}},!1),b.addEventListener("mousedown",function(b){hl(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){hl(a,b.button, +!1)},!1),a.Hi=!0),b.style.cursor="none")}function el(a){a&&(a.style.cursor="auto")}function hl(a,b,c){if(a.fd&&a.T&&a.T.ma.nb){var d;!(d=!1!==a.yh)&&(d=a.fi)&&(d=a.fi,d=d.Sm?d.zf(!0):!1);d||(a.yh=null);switch(b){case 0:a.uh!=c&&(a.uh=c,gl(a,"mouse button1 "+(c?"dn":"up")));break;case 2:a.vh!=c&&(a.vh=c,gl(a,"mouse button2 "+(c?"dn":"up")))}}} +function gl(a,b,c,d){var e=64|(a.uh?32:0)|(a.vh?16:0)|(a.gf&192)>>4|(a.ff&192)>>6,f=a.ff&63,g=a.gf&63;a.ua(2097152)&&a.fb((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+q(e)+","+q(f)+","+q(g)+"]",0,!0);$k(a.gg,[e,f,g]);a.ff=a.gf=0}Ja(function(){for(var a=A(window.document,"pcjs","mouse"),b=0;b>2;var e=d=0,a=new DataView(a,0,c);g.jb=Array(g.Cb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ga(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=ml(this,b),this.zh=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c="dir"),f= +ta()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.uf?"":d)+"&format=json")),sa(f,!0,null,this,this.Nm,b)}; +k.Nm=function(a,b,c,d){var e=null;this.vf=!1;var f=0>c&&this.Ma&&!this.Ma.ma.Tb;if(this.zh)c?this.ga.Ia('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Kd=!0,e=this);else if(c)this.ga.Ia('Unable to load disk "'+this.xd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&& +'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)w(h[0]);else{this.Cb=h.length;this.Db=h[0].length;this.Hb=h[0][0].length;var n=h[0][0][0];this.vb=n&&n.length||512;for(b=a=0;b>2,t=n.pattern;void 0===t&&(t=n.pattern=0);var s=n.data;if(void 0===s){var u=n.bytes;if(void 0!==u&&u.length){for(var f= +m<<2,x=u.length;xb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function rl(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} +k.write=function(a,b,c){if(this.vf)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Jc?f=a.hd+a.Jc&&(a.Jc+=f-(a.hd+a.Jc)+1):(a.hd=f,a.Jc=1);d[f]=d[f]&~(255<=this.jb.length||n>=this.jb[h].length||m>=this.jb[h][n].length){c="sector (CHS="+h+":"+n+":"+m+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.vf){c="unable to modify write-protected disk";b=-1;break}e=g[f++];f=g[f++];g=e+f.length;if(h=this.jb[h][n][m]){for(n=h.data.length;nb&&this.ga.Ia("unable to restore disk '"+this.xd+": "+c);return b}; +k.toJSON=function(){var a=JSON.stringify(this.jb),a=a.replace(/,"length":512/gm,"").replace(/,"pattern":0/gm,""),a=a.replace(/"(sector|length|data|pattern)":/gm,"$1:"),a=a.replace(/,"[^"]*":([0-9]+|true|false)/gm,"");return a=a.replace(/(sector|length|data|pattern):/gm,'"$1":')}; +function sl(a){y.call(this,"FDC",a,sl,262144);this.dmaRead=this.Ci;this.dmaWrite=this.Di;this.dmaFormat=this.Km;this.Ne=null;if(a.autoMount&&(this.Ne=a.autoMount,"string"==typeof this.Ne))try{this.Ne=eval("("+a.autoMount+")")}catch(b){w("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.Ne=null}this.Dc=[];this.Ok=!Ba("Mobi")&&window&&"FileReader"in window}Wa(y,sl);l={};ba={}; +var tl={3:{Gd:3,ge:0,name:ba.eq},4:{Gd:2,ge:1,name:ba.cq},5:{Gd:9,ge:7,name:ba.qq},6:{Gd:9,ge:7,name:ba.Xp},7:{Gd:2,ge:0,name:ba.Zp},8:{Gd:1,ge:2,name:ba.dq},10:{Gd:2,ge:7,name:ba.Yp},13:{Gd:6,ge:7,name:ba.Jp},15:{Gd:3,ge:0,name:ba.bq}};k=sl.prototype; +k.Ib=function(a,b,c){var d=this;switch(b){case "listDisks":return this.xa[b]=c,c.onchange=function(){var a=d.xa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var g={};if(b=b.getAttribute("data-value"))try{g=eval("({"+b+"})")}catch(h){w("FDC option error: "+h.message)}b=g.desc;void 0===b&&(b="");g=g.href;void 0!==g&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.xa[b]=c,c.onchange=function(){var a=da(c.value,10);null!=a&&ul(d,a)},!0; +case "loadDrive":return this.xa[b]=c,c.onclick=function(){var a=d.xa.listDisks;a&&vl(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.Ok?(this.xa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;vl(d,fa(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1}; +k.zc=function(a,b,c,d){this.sa=b;this.T=c;this.ka=d;this.Ma=a;this.oa=hb(a,"ChipSet");this.Od();vb(b,this,wl);zb(b,this,xl);this.Ok&&yl(this,"Local Disk","?");yl(this,"Remote Disk","??");this.$f()||D(this)}; +k.fc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Ma.Ki){this.Dc=[];for(var c=0;ca.za.restore(g)&&(e=!1);e&&a.za&&void 0!==a.Ua&&(a.Xa=a.za.seek(a.yb,a.Ra,a.ab));return e};k.dk=function(){for(var a=0,b=[],c=0;ca.Cb||f[1]>a.Db)&&(this.Ia('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.pb)),b=null);b?(a.za=b,a.pm=c,a.af=d,Cl(this,c,d,b),f=b.info(),this.we|=128,this.Ia('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.pb),a.Re||e),a.Nh=f[0],a.xg=f[1],a.yg=f[2]):a.tf=!1;a.Re&&(a.Re=!1,--this.Je||D(this));ul(this,a.pb)}; +function yl(a,b,c){if(a=a.xa.listDisks){for(var d=0;d=this.mb&&(this.Da&=-81,this.Eb=this.mb=0);return c}; +k.Qo=function(a,b,c){this.ua()&&B(this,a,b,c,"DATA["+this.mb+"]");this.mb=tl[a].Gd){b=!1;this.Eb=0;a=this.Wa();var d,e,f,g,h=a&31;switch(h){case 3:this.Wa(l.fq);this.Wa(l.Mp);this.Yb();break;case 4:c=this.Wa(l.Qf);this.pb=c&3;d=this.Ga[this.pb];this.Yb();this.kc((d.gb&4278190080)>>>24,l.iq);break;case 5:case 6:c=this.Wa(l.Qf);b=c>>2&1;this.pb=c&3;d=this.Ga[this.pb];d.Ra=b;c=d.yb=this.Wa(l.kk);e=this.Wa(l.lk);f=d.ab= +this.Wa(l.nk);g=this.Wa(l.hi);d.lb=128<>2&1;this.pb=c&3;d=this.Ga[this.pb];c=d.yb;e=d.Ra=b;f=d.ab=1;g=0;d.gb=0;d.za&&(d.Xa=d.za.seek(d.yb,d.Ra,d.ab))?g=d.Xa.length:d.gb=72;Dl(this,d,a,b,c,e,f,g);b=!0;break;case 13:c=this.Wa(l.Qf);b=c>>2&1;this.pb=c&3;d=this.Ga[this.pb];c=d.yb;e=d.Ra=b;f=1;g=this.Wa(l.hi);d.lb=128<>2&1,c=this.Wa(l.Sp),d.yb+=c-d.ce,0>d.yb&&(d.yb=0),d.yb>=d.Cb&&(d.yb=d.Cb-1),d.ce=c,d.gb=32,d.yb||(d.gb|=268435456),this.Yb(),b=!0}0>>8,l.gq);a.kc((b.gb&16711680)>>>16,l.hq);var n=0;if(e!=b.yb||f!=b.Ra)n=g=1;c&128&&(f^=n,d||(n=0));a.kc(e+n,l.kk);a.kc(f,l.lk);a.kc(g,l.nk);a.kc(h,l.hi)}k.Wa=function(){var a=this.lc[this.Eb];this.Eb++;return a};k.Yb=function(){this.Eb=this.mb=0};k.kc=function(a){this.lc[this.mb++]=a};k.Ci=function(a,b,c){void 0===b||0>b?this.gc(a,c):c(-1,!1)}; +k.Di=function(a,b){return void 0!==b&&0<=b?this.mc(a,b):-1};k.Km=function(a,b){return void 0!==b&&0<=b?this.fk(a,b):-1};k.gc=function(a,b){var c=-1,d=null,e=0;if(!a.gb&&a.za){do{if(a.Xa&&(e=a.Ua,0<=(c=rl(a.Xa,a.Ua++)))){d=a.Xa;break}a.Xa=a.za.seek(a.yb,a.Ra,a.ab);if(!a.Xa){a.gb=1088;break}a.Ua=0;this.Yf(a)}while(1)}b(c,!1,d,e)}; +k.mc=function(a,b){if(a.gb||!a.za)return-1;do{if(a.Xa&&a.za.write(a.Xa,a.Ua++,b))break;a.Xa=a.za.seek(a.yb,a.Ra,a.ab);if(!a.Xa){a.gb=8256;b=-1;break}a.Ua=0;this.Yf(a)}while(1);return b};k.Yf=function(a){a.ab++;a.ab>=a.yg+1&&(a.ab=1,a.Ra++,a.Ra>=a.xg&&(a.Ra=0,a.yb++))};k.fk=function(a,b){if(a.gb)return-1;a.Rc[a.nf++]=b;if(a.nf==a.Rc.length){a.yb=a.Rc[0];a.Ra=a.Rc[1];a.ab=a.Rc[2];a.lb=128<this.mc(a,a.uk))return-1;a.oh++}a.oh>=a.ee&&(b=-1);return b}; +var wl={1012:sl.prototype.zn,1013:sl.prototype.xn,1015:sl.prototype.yn},xl={1010:sl.prototype.Ro,1013:sl.prototype.Qo,1015:sl.prototype.Po};Ja(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.Kf|=(f.type&3)<<(1-e<<1))}return d}; +k.bk=function(){var a=0,b=[];this.Qe?(b[a++]=this.ve,b[a++]=this.om,b[a++]=this.xe,b[a++]=this.Zh,b[a++]=this.Xh,b[a++]=this.Wh,b[a++]=this.Lf,b[a++]=this.Da,b[a++]=this.Yj,b[a++]=this.Yh):(b[a++]=this.Kf,b[a++]=this.Da,b[a++]=this.lc,b[a++]=this.Eb,b[a++]=this.mb,b[a++]=this.nm,b[a++]=this.mm,b[a++]=this.lm,b[a++]=this.xf);b[a]=this.dk();return b}; +k.Ui=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.pb=a;b.errorCode=d[f++];b.um=d[f++];b.uf=d[f++];b.jf=d[f++];b.kf=d[f++];b.Ra=d[f++];b.Db=d[f++];b.Vd=d[f++];b.ab=d[f++];b.ee=d[f++];b.lb=d[f++];b.kh=this.Qe?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.me()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===El[this.qg][b.type])b.type=this.cn;c=El[this.qg][b.type]; +b.Hb=c[2]||17;b.vb=c[3]||512;if(e&&this.oa&&(e=this.oa,c=b.type,e.na)){var h=e.na[18],h=a?h&240|c:h&15|c<<4;e.na&&(e.na[18]=h,Ii(e))}void 0===b.za&&(b.za=null,this.Ia("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Jl(this,b);b.Ua=d[f++];b.Xa=null;b.za&&(a=d[f],void 0!==a&&0>b.za.restore(a)&&(g=!1),g&&void 0!==b.Ua&&(b.Xa=b.za.seek(b.Vd,b.Ra,b.ab+b.kh)));return g};k.dk=function(){for(var a=0,b=[],c=0;c=this.mb&&(this.Eb=this.mb=0,this.Da&=-15);return c}; +k.mp=function(a,b,c){B(this,a,b,c,"DATA["+this.mb+"]");this.mb=a&&(this.Da|=2,this.Da&=-2,Kl(this))};k.$n=function(a,b){var c=this.Da;B(this,a,null,b,"STATUS",c);this.Eb=this.Ta.vb?(d.Da=136,this.gc(this.Ta,function(a){0<=a?(Ll(d),d.Da=80):(d.Da=1,d.ve=16)},!1)):this.Da=80)}return c}; +k.Bo=function(a,b,c){this.Ta&&this.Ta.lb>=this.Ta.vb&&(0>this.mc(this.Ta,b)?(this.Da=1,this.ve=16):1==this.Ta.Ua?this.ua(524416)&&B(this,a,b,c,"DATA["+this.Ta.Ua+"]"):this.Ta.Ua==this.Ta.vb&&(this.Ta.lb-=this.Ta.vb,this.xe=this.xe-1&255,Ll(this),this.Da=80,this.Ta.lb>=this.Ta.vb&&(this.Da|=8)))};k.mn=function(a,b){var c=this.ve;B(this,a,null,b,"ERROR",c);return c};k.Go=function(a,b,c){B(this,a,b,c,"WPREC");this.om=b};k.nn=function(a,b){var c=this.xe;B(this,a,null,b,"SECCNT",c);return c}; +k.Eo=function(a,b,c){B(this,a,b,c,"SECCNT");this.xe=b};k.on=function(a,b){var c=this.Zh;B(this,a,null,b,"SECNUM",c);return c};k.Fo=function(a,b,c){B(this,a,b,c,"SECNUM");this.Zh=b};k.jn=function(a,b){var c=this.Xh;B(this,a,null,b,"CYLLO",c);return c};k.Ao=function(a,b,c){B(this,a,b,c,"CYLLO");this.Xh=b};k.hn=function(a,b){var c=this.Wh;B(this,a,null,b,"CYLHI",c);return c};k.zo=function(a,b,c){B(this,a,b,c,"CYLHI");this.Wh=b};k.ln=function(a,b){var c=this.Lf;B(this,a,null,b,"DRVHD",c);return c}; +k.Co=function(a,b,c){B(this,a,b,c,"DRVHD");this.Lf=b;this.Da=this.Ga[this.Lf&16?1:0]?this.Da|64:this.Da&-65};k.pn=function(a,b){var c=this.Da;B(this,a,null,b,"STATUS",c);return c};k.yo=function(a,b,c){B(this,a,b,c,"COMMAND");this.Yj=b;this.oa&&nj(this.oa,14);Ml(this)};k.Do=function(a,b,c){B(this,a,b,c,"FDR");this.Yh&4&&!(b&4)&&(this.ve=1);this.Yh=b}; +function Ml(a){var b=!1,c=a.Yj,d=a.Lf&16?1:0,e=a.Lf&15,f=a.Xh|(a.Wh&3)<<8,g=a.Zh,h=a.xe||256;a.Ta=null;a.ve=0;a.Da=80;(d=a.Ga[d])?(d.Vd=f,d.Ra=e,d.ab=g,d.lb=h*d.vb,c=144<=c?c:c&240,d.Xa=null,d.Ua=0,d.errorCode=0,a.Ta=d):c=-1;switch(c&240){case 32:a.Da=136;a.gc(d,function(b){0<=b&&a.oa?(Ll(a),a.Da=80):(a.Da=1,a.ve=16)},!1);break;case 48:a.Da=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.ve=1;b=!0;break;case 145:d.Db=e+1,d.Hb=h,b=!0}b&&Ll(a)} +function Ll(a){!a.oa||a.Yh&2||mj(a.oa,14,120)} +function Kl(a){a.Eb=0;var b=a.Wa(),c=a.Wa(),d=c&32,e=d>>5,f=c&31,g=a.Wa(),h=a.Wa(),n=g<<2&768|h,m=g&63,t=a.Wa(),s=a.Wa(),u=a.Ga[e];u&&(u.Vd=n,u.Ra=f,u.ab=m,u.lb=t*u.vb);switch(b){case 3:a.Yb(u?u.errorCode:4);a.kc(c);a.kc(g);a.kc(h);a.kc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Wa());)u&&cb?this.gc(a,c):c(-1,!1)}; +k.Di=function(a,b){return void 0!==b&&0<=b?this.mc(a,b):-1};k.Lm=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ua=a.Hb+b&&(a.ab=b,a.Ra++,a.Ra>=a.Db&&(a.Ra=0,a.Vd++))}; +k.fk=function(a,b){if(a.errorCode)return-1;a.Rc[a.nf++]=b;if(a.nf==a.Rc.length){a.Vd=a.Rc[0];a.Ra=a.Rc[1];a.ab=a.Rc[2];a.lb=128<this.mc(a,a.uk))return-1;a.oh++}a.oh>=a.ee&&(b=-1);return b};k.bo=function(){var a=this.T.K&255;!(this.T.H>>8)&&128>8)||(a=!this.oa)||(a=!(this.oa.Wb[0].od&64));return a?!0:!1}; +var Gl={800:W.prototype.Zn,801:W.prototype.$n,802:W.prototype.Yn},Fl={496:W.prototype.kn,497:W.prototype.mn,498:W.prototype.nn,499:W.prototype.on,500:W.prototype.jn,501:W.prototype.hn,502:W.prototype.ln,503:W.prototype.pn},Il={800:W.prototype.mp,801:W.prototype.pp,802:W.prototype.op,803:W.prototype.np,807:W.prototype.Sj,811:W.prototype.Sj,815:W.prototype.Sj},Hl={496:W.prototype.Bo,497:W.prototype.Go,498:W.prototype.Eo,499:W.prototype.Fo,500:W.prototype.Ao,501:W.prototype.zo,502:W.prototype.Co,503:W.prototype.yo, +1014:W.prototype.Do};Ja(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;b>2;this.Vf=am;80186<=this.T.Ka&&(this.Vf=am.slice(),this.Vf[15]=Z,80286<=this.T.Ka&&(this.Vf[15]=$l));xi(this,4,function(a){if(a){var b=em(d,a);if(void 0===b)d.Z("invalid selector: "+a);else{a=fm(d,b);d.Z("dumpDesc("+r(a.ta)+"): %"+p(a.Cd,d.Me));var c,b=!1;if(a.type&4096)a.type&2048?(c="code"+(a.type&512?",readable":",execonly"),a.type&1024&&(c+=",conforming")):(c="data"+(a.type&512? +",writable":",readonly"),a.type&1024&&(c+=",expdown")),a.type&256&&(c+=",accessed");else switch(a.type){case 256:c="tss";break;case 512:c="ldt";break;case 768:c="busy tss";break;case 1024:c="call gate";b=!0;break;case 1280:c="task gate";b=!0;break;case 1536:c="int gate";b=!0;break;case 1792:c="trap gate",b=!0}!c||a.sb&32768||(c+=",not present");d.Z((b?"seg="+r(a.Ha&65535)+" off="+r(a.sc):"base="+p(a.Ha,d.Me)+" limit="+r(a.sc))+" dpl="+q(a.rc)+" type="+q(a.type>>8)+" ("+c+")")}}else d.Z("no selector")}); +xi(this,8,function(a){a:{if(a){var b=em(d,a);if(void 0===b){d.Z("invalid task selector: "+a);break a}a=fm(d,b)}else a=d.T.ib;d.Z("dumpTSS("+r(a.ta)+"): %"+p(a.Ha,d.Me));var b="",c;for(c in gm){var e=gm[c],m=8>c.length?" ":"",t=rb(d.sa,a.Ha+e);b&&(b+="\n");b+=r(e)+" "+c+": "+m+r(t)}d.Z(b)}});xi(this,67108864,function(a){if(a)for(d.Z("dumpDOS("+a+")"),a=em(d,a);a;){var b=[0,a,void 0],c=d.ob(b,1),e=d.ra(b,2),m=d.ra(b,5);if(77!=c&&90!=c)break;d.Z(ea(0,a)+": '"+String.fromCharCode(c)+"' PID="+r(e)+" LEN="+ +r(m)+' "'+hm(d,b)+'"');a+=1+m}else d.Z("no MCB")});D(this);if(this.$j){a=im(this,this.$j);delete this.$j;for(var e in a)Ul(this,a[e])}}; +Ql.prototype.Ib=function(a,b,c){var d=this;switch(b){case "debugInput":return this.hg=this.xa[b]=c,c.onkeydown=function(a){var b;if(13==a.keyCode){b=c.value;c.value="";var g=im(d,b,!0),h;for(h in g)Ul(d,g[h])}else 27==a.keyCode?c.value=b="":(38==a.keyCode?d.Vce?String.fromCharCode(e):"."}return d} +function Tl(a,b){a.ka=a;a.Zb=a.Gm=536870912;a.ak=null;a.mi=[];var c=im(a,b.replace("keys","key").replace("kbd","keyboard"));if(c.length)for(var d in Zl)0<=c.indexOf(d)&&(a.Zb|=Zl[d],a.Z(d+" messages enabled"))}function xi(a,b,c){for(var d in Zl)if(b==Zl[d]){a.mi[d]=c;break}}k=Ql.prototype;k.message=function(a,b){b&&(a+=" @"+ea(this.T.wa,this.T.va.ta));if(!this.ak||a!=this.ak)if(this.Z(a),this.ak=a,this.T){this.Zb&1073741824&&this.T.qb();var c=this.T;c.da.Ff=0;c.Wc-=c.A;c.A=0;Tb(c)}}; +function kd(a,b,c){var d,e=!1,f=Vl[b];f&&(d=a.T.H>>8,e=a.ua(f)?!0:262144==f&&a.ua(f=524288));if(e){var g=a.T.K&255;if(33==b&&11==d||262144==f&&128<=g||524288==f&&128>g)e=!1}if(e){if(f=(f=dm[b])&&f[d]||"")g=a.T,a.xb[X[0]]=q(g.H&255),a.xb[X[1]]=q(g.J&255),a.xb[X[2]]=q(g.K&255),a.xb[X[3]]=q(g.C&255),a.xb[X[4]]=q(g.H>>8),a.xb[X[5]]=q(g.J>>8),a.xb[X[6]]=q(g.K>>8),a.xb[X[7]]=q(g.C>>8),a.xb[X[8]]=r(g.H),a.xb[X[9]]=r(g.J),a.xb[X[10]]=r(g.K),a.xb[X[11]]=r(g.C),a.xb[X[12]]=r(g.Y),a.xb[X[13]]=r(g.I),a.xb[X[14]]= +r(g.G),a.xb[X[15]]=r(g.F),a.xb[X[16]]=r(g.La.ta),a.xb[X[17]]=r(g.va.ta),a.xb[X[18]]=r(g.Za.ta),a.xb[X[19]]=r(g.hb.ta),a.xb[X[20]]=r(g.wa),f=" "+ka(a.xb,f);a.message("INT 0x"+q(b)+": AH="+q(d)+" @"+ea(c-2-a.T.va.Ha,a.T.va.ta)+f)}return e}function md(a,b,c,d,e){a.message("INT 0x"+q(b)+": C="+(wd(a.T)?1:0)+(e||"")+" (cycles="+d+(c?",level="+(c+1):"")+")")} +function bb(a,b,c,d,e,f,g,h){h|=128;if(null==e||(a.Zb&h)==h)h=null,null!=e&&(h=a.T.va.ta,e-=a.T.va.Ha),a.message(b.Gh+"."+(null!=d?"outPort":"inPort")+"(0x"+r(c)+","+(f?f:"unknown")+(null!=d?",0x"+q(d):"")+")"+(null!=g?": 0x"+q(g):"")+(null!=e?" @"+ea(e,h):""))}k.ao=function(){this.Z("Type ? for list of debugger commands")}; +function Sl(a){var b;if(Od(a)){if(!a.$d||!a.$d.length){a.$d=Array(1E4);for(b=0;b>e.bb].Pf(d&e.Sa,b&255);void 0!==c&&pm(a,c);Tb(this.T)}};k.Va=function(a,b,c){var d=om(this,a,!0,1);0<=d&&(sb(this.sa,d,b),void 0!==c&&pm(a,c),Tb(this.T))};function qm(a){return null==a[1]?"%"+p(a[2]):ea(a[0],a[1])} +function pm(a,b){b=void 0===b?1:b;null!=a[2]&&(a[2]+=b);null!=a[1]&&(a[0]+=b,a[0]!=(a[0]&65535)&&(a[0]&=65535,a[2]=null))}function Rl(a){var b;a.Cc=["exec"];if(void 0!==a.Xd)for(b=1;b>c.bb],!1)}a.Xd=["read"];if(void 0!==a.$c)for(b=1;b>c.bb],!0);a.$c=["write"]} +k.ae=function(a,b,c){if(!rm(this,a,b)){b[3]=c;a.push(b);if(a!=this.Cc){var d=this.sa,e=om(this,b);d.Ca[e>>d.bb].ae(e&d.Sa,a==this.$c)}c||this.Z("breakpoint enabled: "+qm(b)+" ("+a[0]+")");Sl(this);return!0}return!1}; +function rm(a,b,c,d){var e=!1;c=om(a,c);for(var f=1;f>d.bb],b==a.$c));g[3]||a.Z("breakpoint cleared: "+qm(g)+" ("+b[0]+")");Sl(a);break}a.Z("breakpoint exists: "+qm(g)+" ("+b[0]+")");break}}return e}function sm(a,b){for(var c=1;c=b&&f>g.bb].ae(f&g.Sa,d==a.$c)}}}function mm(a,b){if(void 0!==b)nm(a,b,a.Cc,!0),a.xc=0;else for(var c=1;c=Xl.length&&(n=a.ob(b,1),g=cm[h-Xl.length][n>>3&7]);var h=Xl[g[0]],m=2,t="";if(164<=f&&167>=f||170<=f&&175>=f)m=0;for(f=1;f<=m;f++){var s="",u=g[f];if(void 0!==u){var x=u&15;if(0!=x&&15!=x){var v=u&240;if(128<=v)if(0>n&&(n=a.ob(b,1)),160<=v)a:{s=n>>3&7;if(176==(u&240)){if(4<=s){s=null;break a}s+=16}else 3<=(u&15)&&(s+=8);s=X[s]}else{if(128<=v){var s=a,v=u,u=b,C="",x=n>>6, +C=n&7;3>x?(v=void 0,x||6!=C?(C=Yl[C],1==x?(v=s.ob(u,1),v&128?(v=v<<24>>24,C+="-"+q(-v)):C+="+"+q(v)):2==x&&(v=s.ra(u,2),C+="+"+r(v))):(v=s.ra(u,2),C=r(v)),C="["+C+"]"):C=X[C+(1==(v&15)?0:8)];s=C}}else if(16==v)s="1";else if(0==v){s=a;x=u;u=b;v=" ";switch(x&15){case 1:x&12288&&(v=q(s.ob(u,1)));break;case 2:v=r(s.ob(u,1)<<24>>24);break;case 3:case 4:v=r(s.ra(u,2));break;case 6:x=s.ra(u,2);s=s.ra(u,2);v=qm([x,s,void 0]);break;default:v="imm("+r(x)+")"}s=v}else 32==v?s="["+r(a.ra(b,2))+"]":48==v?(1== +x?(s=a.ob(b,1),s=s<<24>>24):s=a.ra(b,2),s=b[0]+s&65535,s=um(a,[s,b[1],void 0])[0]||r(s)):96==v?s=X[(u&3840)>>8]:112==v?s=X[((u&3840)>>8)+16]:64==v?s="DS:[SI]":80==v&&(s="ES:[DI]");if(!s||!s.length){t="INVALID";break}0>>4),d[0]=g,d[1]=h,void 0!==n.p&&(d[2]=n.p));break}}if(d&&d.length)return d;d=b.indexOf(":");0>d?null!=e?(c=em(a,b),d=null):d=em(a,b):(e=em(a,b.substring(0,d)),c=em(a,b.substring(d+1)), +d=null)}return[c,e,d]} +function em(a,b,c){var d;if(void 0!==b)switch(b=b.toUpperCase(),b){case "AX":d=a.T.H;break;case "BX":d=a.T.C;break;case "CX":d=a.T.J;break;case "DX":d=a.T.K;break;case "SI":d=a.T.G;break;case "DI":d=a.T.F;break;case "BP":d=a.T.I;break;case "SP":d=a.T.Y;break;case "CS":d=a.T.va.ta;break;case "DS":d=a.T.hb.ta;break;case "ES":d=a.T.La.ta;break;case "SS":d=a.T.Za.ta;break;case "IP":d=a.T.wa;break;default:d=da(b),void 0===d&&a.Z("invalid "+(c?c:"value")+": "+b)}else a.Z("missing "+(c||"value"));return d} +function Dj(a,b,c,d){function e(a,b){return a[0]>b[0]?1:a[0]=g&&eb[0]?1:a[0]c?(a.Z("out of data at address "+qm(b)),t=!0):(a.ld(b,c,1),m++)})})(a,g);a.Z(m+" bytes read at "+c)}else a.Z("sector "+e+" request out of range");else a.Z("drive "+d+" not loaded");else a.Z("invalid drive: "+d)}else a.Z("disk controller not present")}}} +function km(a,b,c){if(b&&"?"==b[1])a.Z("\nregister commands:"),a.Z("\tr\t\tdisplay all registers"),a.Z("\tr [target=#]\tmodify target register"),a.Z("supported targets:"),a.Z("\tall registers and flags V,D,I,S,Z,A,P,C");else{var d;if(null!=b&&1a.Vc&&a.Qc.length&&(a.Vc=0);if(0>a.Vc||b!=a.Qc[a.Vc])a.Qc.splice(0,0,b),a.Vc=0;a.Vc--}else b=a.Qc[a.Vc+1];a=b?b.split(0<=b.indexOf("|")?"|":";"):[""];for(var d in a)a[d]=la(a[d]);return a} +function Ul(a,b){var c=!0;try{if(b.length||(a.rf?(a.Z("ended assemble @"+qm(a.Ae)),a.Pc=a.Ae,a.rf=!1):b="?"),b=b.toLowerCase(),eb(a)&&0d||"z">>4);var Pb=T[P].l;Pb&&(P=Pb);a.Z(ea(Fa,Za)+" "+P)}}}else{for(v in Zl)if(m==v){var Ac=a.mi[v];Ac?Ac(x):a.Z("no dump registered for "+m);break a}var E=ym(a,m,2);if(null!=E[0]){var Q=0,I="dw"==u;void 0!==x&&("l"==x.charAt(0)&&(x=x.substr(1)),(Q=parseInt(x, +10))&&(Q=I?Q+7>>3:Q+15>>4));var oa="";Q||(Q=8);for(g=0;gaa;aa++){var Y=a.ob(E,1);I?aa&1&&(x+=r(ia|Y<<8)+(7==aa?" - ":" ")):x+=q(Y)+(7==aa?"-":" ");za+=32<=Y&&128>Y?String.fromCharCode(Y):".";ia=Y}oa&&(oa+="\n");oa+=m+" "+x+" "+za}oa&&a.Z(oa);a.ok=E}}}break;case "e":var Bc=g[1];if(void 0===Bc)a.Z("missing address");else{var ic=ym(a,Bc,2);if(null!=ic[0])for(m=2;maa.length&&(a.Z("note: only "+aa.length+" available"),Sa=aa.length);ia-=Sa;0>ia&&(null!=aa[aa.length-1][1]?ia+=aa.length:(Sa=ia+Sa,ia=0)); +for(void 0!==za&&a.Z(Sa+" instructions earlier:");E&&ia!=a.yf;){var kc=aa[ia];if(null==kc[1])break;kc=[kc[0],kc[1],kc[2]];a.Z(tm(a,kc,"history",-Sa));++ia==aa.length&&(ia=0);a.hm=--Sa;E--}}10==E&&(a.Z("no "+m+"history available"),a.hm=void 0)}break;case "i":var Pe=g[1];if(Pe&&"?"!=Pe){var Qe=em(a,Pe);if(void 0!==Qe){var Um=wb(a.sa,Qe);a.Z(r(Qe)+": "+q(Um))}}else a.Z("\ninput commands:"),a.Z("\ti [p]\tread port [p]"),a.Z("warning: port accesses can affect hardware state");break;case "l":Cm(a,g);break; +case "m":a:{m=null;I=g[1];"?"==I&&(I=void 0);if(void 0!==I){E=0;if("all"==I)E=-1342177281,I=null;else if("on"==I)m=!0,I=null;else if("off"==I)m=!1,I=null;else{"keys"==I&&(I="key");"kbd"==I&&(I="keyboard");for(Q in Zl)if(I==Q){E=Zl[Q];m=!!(a.Zb&E);break}if(!E){a.Z("unknown message category: "+I);break a}}E&&("on"==g[2]?(a.Zb|=E,m=!0):"off"==g[2]&&(a.Zb&=~E,m=!1))}E=0;Y="";for(Q in Zl)if(!I||I==Q)if(oa=!!(a.Zb&Zl[Q]),null===m||m==oa)Y&&(Y+=","),++E%10||(Y+="\n\t"),"key"==Q&&(Q="keys"),Y+=Q;void 0=== +I&&a.Z("\nmessage commands:\n\tm [category] [on|off]\tturn categories on/off");a.Z((null!==m?m?"messages on: ":"messages off: ":"message categories:\n\t")+(Y||"none"))}break;case "o":var Re=g[1],Vm=g[2];if(Re&&"?"!=Re){var nk=em(a,Re,"port #"),ok=em(a,Vm);void 0!==nk&&void 0!==ok&&Ab(a.sa,nk,ok)}else a.Z("\noutput commands:"),a.Z("\to [p] [d]\twrite data [d] to port [p]"),a.Z("warning: port accesses can affect hardware state");break;case "p":case "pr":var pk="pr"==g[0]?1:0,m=1+pk;if(a.xc)a.Z("step in progress"); +else{var Gd,E=!1,Ta=[a.T.wa,a.T.va.ta,void 0];do switch(Gd=!1,a.ob(Ta)){case 38:case 46:case 54:case 62:case 240:pm(Ta,1);Gd=!0;break;case 204:case 206:a.xc=m;pm(Ta,1);break;case 205:case 224:case 225:case 226:a.xc=m;pm(Ta,2);break;case 232:a.xc=m;pm(Ta,3);break;case 154:a.xc=m;pm(Ta,5);break;case 255:a.xc=0<=tm(a,Ta).indexOf("CALL")?m:0;break;case 243:case 242:pm(Ta,1);E=Gd=!0;break;case 108:case 109:case 110:case 111:case 164:case 165:case 166:case 167:case 170:case 171:case 172:case 173:case 174:case 175:E&& +(a.xc=m,pm(Ta,1))}while(Gd);a.xc?(a.ae(a.Cc,Ta,!0),a.Ze()||(a.T.Oc(),a.xc=0)):Dm(a,pk?"tr":"t")}break;case "r":km(a,g);break;case "t":case "tr":Dm(a,g[0],g[1]);break;case "u":lm(a,g[1],g[2],8);break;case "x":a:if(void 0===g[1]||"?"==g[1])a.Z("\nexecution options:"),a.Z("\tcs int #\tset checksum cycle interval to #"),a.Z("\tcs start #\tset checksum cycle start count to #"),a.Z("\tcs stop #\tset checksum cycle stop count to #"),a.Z("\tsp #\t\tset speed multiplier to #");else switch(g[1]){case "cs":var Hc; +void 0!==g[3]&&(Hc=parseInt(g[3],10));switch(g[2]){case "int":a.T.da.Cf=Hc;break;case "start":a.T.da.tg=Hc;break;case "stop":a.T.da.Ef=Hc;break;default:a.Z("unknown cs option");break a}void 0!==Hc&&Qb(a.T);a.Z("checksums "+(a.T.ma.sf?"enabled":"disabled"));break;case "sp":void 0!==g[2]&&Wb(a.T,parseInt(g[2],10));a.Z("target speed: "+(a.T.da.Ue.toFixed(2)+"Mhz")+" ("+a.T.da.Qd+"x)");break;default:a.Z("unknown option: "+g[1])}break;case "?":var m="commands:",Hd;for(Hd in Wl)m+="\n"+Hd+" ".substr(0, +7-Hd.length)+Wl[Hd];Od(a)||(m+="\nnote: frequency/history disabled if no exec breakpoints");a.Z(m);break;default:a.Z("unknown command: "+b),c=!1}}}catch(Wm){a.Z("debugger sad: "+Wm.message),c=!1}return c}Ja(function(){for(var a=A(window.document,"pcjs","debugger"),b=0;bJm){if(d.load(this.Pg)){this.cf=new pd(this,"1.16.5","failsafe");this.cf.load()&&(Nm(this,d),a=2,Gm(this.cf));this.cf.set("timestamp",qa());Hm(this.cf);var e=this.Xc&&!this.Ch;if(1==a||ua("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== +f&&"no machine state"!=g?(this.Ia("Error: "+g),"unable to verify user"==g&&(Aa("user",""),this.Yc=null)):this.Z(f+": "+g),Gm(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Mm(this,c?d:null)}else 2==a&&d.clear()}else Mm(this);delete this.Pg;delete this.di}e=Xa(this.id);for(f=0;fa[1];a=a[2];this.ma.Tb=!0;this.Nk||(this.Z("PCjs v1.16.5\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Nk=!0);this.T&&Om(this,this.T,b,c,a);this.Qk&&(Nm(this,b),b.clear());!c&&this.cf&&(this.cf.clear(),delete this.cf)}; +function Nm(a,b){if(ua("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.me(),d=b.toString(),e={app:"PCjs",ver:"1.16.5"};e.url=a.url;e.user=c;e.type="bug";e.data=d;sa("http://www.pcjs.org/api/v1/report",!0,e)}} +function Em(a,b,c){var d,e="none",f=new pd(a,"1.16.5"),g=new pd(a,"1.16.5","validate"),h=qa();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.5");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.T&&a.T.ec&&(c&&a.T.qb(),d=a.T.ec(b,c),"object"===typeof d&&f.set(a.T.id,d),c&&(a.T.ma.Tb=!1,!1===d&&(e=null)));for(var h=Xa(a.id),n=0;nh.indexOf("/")&&(h=window.location.pathname+h);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(h?" url=$2"+h+"$2":""))}h=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(s){h= +null,a=s.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");sa(e,!0,null,null,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var n=h[0],m,t=/( [a-z]+=)(['"])(.*?)\2/g;m=t.exec(f);)n=0>n.indexOf(m[1])?n.replace(">",m[0]+">"):n.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=n&&(g=g.replace(h[0],n))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],g);Xm(a,b,c)}})}else c(a,null)} +function Ym(a,b,c,d){function e(a){if(void 0===h){var b=g&&A(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ja(a))}function f(a){e("Error: "+a);n&&(--Rm||La(!0));n=!1}var g,h,n=!0;Rm++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.5/components.xsl");var m=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Rm||La(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(h),(m=m.transformToFragment(d,window.document))?(g.parentNode.replaceChild(m,g),--Rm||La(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Sm(c,null,null,!1,e,h):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Sm(b,a,d,!0,e,m):Tm(b,null,a,d,!1,e,m)}else f("failed to find machine element: "+a)}catch(t){f(t.message)}return n} +window.embedPC=function(a,b,c,d){La(!1);return Ym(a,b,c,d)};window.enableEvents=La;window.sendEvent=Ma;})(); diff --git a/versions/pcjs/1.16.5/pc.js b/versions/pcjs/1.16.5/pc.js new file mode 100644 index 0000000000..2cc72f03d3 --- /dev/null +++ b/versions/pcjs/1.16.5/pc.js @@ -0,0 +1,672 @@ +(function(){var k,aa,l,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36]};function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ca(a){return p(a,2)}function da(a,b){return void 0!==b?p(b,4)+":"+p(a,4):p(a)} +function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function ha(a){return a.replace(/[&<>"']/g,function(a){return ga[a]})}function ia(){return Date.now()||+new Date} +function ja(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ka=[31,28,31,30,31,30,31,31,30,31,30,31]; +function la(a,b,c,d,e,f){b=!!b;var g=0,h=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(h=n.responseText,200==n.status||!n.status&&h.length&&"file:"==(window?window.location.protocol:"file:")||(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)))});if(c){var r="",s;for(s in c)c.hasOwnProperty(s)&&(r&&(r+="&"),r+=s+"="+encodeURIComponent(c[s]));r=r.replace(/%20/g,"+");n.open("POST", +a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded");n.send(r)}else n.open("GET",a,b),n.send();a=[];b||(h=n.responseText,200!=n.status&&(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)),a=[g,h]);return a}function ma(){return"http://"+(window?window.location.host:"www.pcjs.org")}function q(a){window&&window.alert(a)}function na(a){var b=!1;window&&(b=window.confirm(a));return b}var oa=null; +function pa(){if(null==oa){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}oa=a}return oa}function qa(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}function ra(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1} +function sa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var ta={init:[],show:[],exit:[]},ua=!1,va=!0;function wa(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function za(a){ta.init.push(a)} +function Aa(a){if(va)try{for(var b=0;b=this.Df?12:14;this.Cc=1<>2;this.Sa=this.Cc-1;this.zg=(this.Bh+this.Cc)/this.Cc|0;this.hd=this.zg-1;this.kg=[];this.lg=[];this.hi();z(this)}v(u,Ua);k=Ua.prototype;k.hi=function(){this.za=Array(this.zg);for(var a=0;a>a.yb;0>this.yb;0>a.yb;0>this.yb].jc(a&this.Sa)};function bb(a,b){return a.za[(b&a.tc)>>a.yb].jj(b&a.Sa)} +k.pa=function(a){var b=a&this.Sa;a=(a&this.tc)>>this.yb;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};function cb(a,b){var c=b&a.Sa,d=(b&a.tc)>>a.yb;return c!=a.Sa?a.za[d].wo(c):a.za[d++].jj(c)|a.za[d&a.hd].jj(0)<<8}k.ze=function(a,b){this.za[(a&this.tc)>>this.yb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.tc)>>this.yb;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))}; +function db(a,b,c){var d=b&a.Sa;b=(b&a.tc)>>a.yb;d!=a.Sa?a.za[b].Fo(d,c&65535):(a.za[b++].rj(d,c&255),a.za[b&a.hd].rj(0,c>>8&255))}function eb(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.mb=!0}]; +Va.prototype={save:function(){return this.ea?null:this.qa},restore:function(a){return this.ea?null==a:a&&this.Ql==a.length<<2?(this.qa=a,this.mb=!0):!1},ye:function(a,b){a||(a=[]);void 0===b&&(b=!0);var c=a;this.jc=c[0]||kb;this.rl=c[1]||kb;b&&(this.jj=c[0]||kb,this.wo=c[1]||kb);c=a;this.lc=!this.Xj&&c[2]||lb;this.Fl=!this.Xj&&c[3]||lb;b&&(this.rj=c[2]||lb,this.Fo=c[3]||lb)}}; +function mb(a,b){u.call(this,"CPU",a,mb);var c=a.cycles||b,d=a.multiplier||1;this.ba={};this.ba.Yc=c;this.ba.Nd=d;this.ba.Ug=Math.round(this.ba.Yc/1E4)/100;this.ba.$e=this.ba.Ug*this.ba.Nd;this.ma.Qb=!1;this.ma.Jb=!1;this.ma.$j=!1;this.ma.Qh=a.autoStart;this.ma.Sj=!1;c=Fa.autostart;void 0!==c&&(this.ma.Qh="true"==c?!0:"false"==c?!1:null);this.ma.Jg=!1;this.ba.Yg=this.ba.bf=0;this.ba.Zg=a.csStart;this.ba.Ef=a.csInterval;this.ba.Ff=a.csStop;var e=this;this.xn=function(){nb(e)};z(this)}v(u,mb);k=mb.prototype; +k.xc=function(a,b,c,d){this.ra=b;this.Wa=d;this.Ta=a;var e=Sa(a,"Video");e&&(this.yf=function(){ob(e)},this.cd=function(){e.cd()});this.la=Sa(a,"ChipSet");z(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.ac=function(a,b){if(!b){if(a&&this.restore){pb(this);if(!this.restore(a))return!1;qb(this)}else this.reset();this.ic("No debugger detected")}this.ma.Qb=!0;!rb(this)&&this.Wa&&this.Wa.Yp();this.yf();this.Qe();return!0}; +k.$b=function(a){this.ma.Qb=!1;return a&&this.save?this.save():!0};function rb(a){return!0===a.ma.Qh||null===a.ma.Qh&&void 0===a.sa.run?(nb(a),!0):!1}k.bk=function(){return 0};function qb(a){void 0===a.ba.Zg&&(a.ba.Zg=0);void 0===a.ba.Ef&&(a.ba.Ef=-1);void 0===a.ba.Ff&&(a.ba.Ff=-1);a.ma.Jg=0<=a.ba.Zg&&0c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ba.Ug&&(c=Math.round(c/a.ba.Nd));return c}function pb(a){a.ba.Ld=0;a.ve=a.Rd=a.Xc=a.A=0;qb(a);tb(a,1)} +function tb(a,b,c){if(void 0!==b){0.8>a.ba.Ld/a.ba.$e&&(b=1);a.ba.Nd=b;b=a.ba.Ug*a.ba.Nd;if(a.ba.$e!=b){a.ba.$e=b;b=a.ba.$e.toFixed(2)+"Mhz";var d=a.sa.setSpeed;d&&(d.textContent=b);a.ic("target speed: "+b)}c&&a.cd()}vb(a,a.Rd);a.Rd=0;a.ba.af=ia();a.ba.se=0;wb(a)} +function nb(a,b){if(Oa(a,!0)){if(!a.ma.Jb){tb(a);a.Ta&&a.Ta.start(a.ba.af,C(a));a.ma.Jb=!0;a.ma.$j=!0;a.la&&xb(a.la);var c=a.sa.run;c&&(c.textContent="Halt");a.Qe(!0);b&&a.cd()}a.ba.pi>=a.ba.Yc&&wb(a,!0);a.ba.Jf=0;a.ba.Wg=ia();a.ba.se&&(c=a.ba.Wg-a.ba.se,c>a.ba.ik&&(a.ba.af+=c,a.ba.af>a.ba.Wg&&(a.ba.af=a.ba.Wg)));try{do{var d=a.ma.Jg?1:a.ba.sn;if(a.la){yb(a.la);var e=a.la,c=d,f=e.Mb[0];if(f.pe){var g=(C(e.ka,e.Id)-f.rd)/e.gh|0,h=Ab(e,0)-g;6==f.mode&&(h-=g);var m=h*e.gh|0;6==f.mode&&(m>>=1);c>m&&(c= +m)}var d=c,n=a.la,c=d;if(n.ja&&n.ja[11]&64){var r=n.df-C(n.ka,n.Id);0r&&(c=r)}d=c}a.Cl(d);var s=a.Xc-a.A;a.Rd+=s;a.ba.Jf+=s;vb(a,0,!0);var c=a,t=s;if(c.ma.Jg){var w=!1;c.ba.Yg=c.ba.Yg+c.bk()|0;c.ba.bf-=t;0>=c.ba.bf&&(c.ba.bf+=c.ba.Ef,w=!0);0<=c.ba.Ff&&c.ba.Ff<=C(c)&&(c.ba.Ef=c.ba.Ff=-1,qb(c),B(c),w=!0);w&&c.ic(C(c)+" cycles: checksum="+p(c.ba.Yg))}a.ba.Hf-=s;0>=a.ba.Hf&&(a.ba.Hf+=a.ba.mk,a.yf());a.ba.Gf-=s;0>=a.ba.Gf&&(a.ba.Gf+=a.ba.lk,a.Qe());a.ba.If-=s;if(0>=a.ba.If){a.ba.If+=a.ba.oi;break}}while(a.ma.Jb)}catch(D){B(a); +a.yf();a.Qe();a.Ta&&a.Ta.stop(ia(),C(a));Oa(a,!1);Qa(a,D.message);return}d=setTimeout;e=a.xn;a.ba.se=ia();f=a.ba.ik;a.ba.Jf&&(f=Math.round(f*a.ba.Jf/a.ba.oi));f-=a.ba.se-a.ba.Wg;if(g=a.ba.se-a.ba.af)a.ba.Ld=Math.round(a.Rd/(10*g))/100,864E5<=g&&(a.ve=0,a.la&&yb(a.la,!0),tb(a));if(0>f||a.ba.Ldthis.Rc?this.La+a:Nb.call(this,0,0,c)}function Nb(a,b,c){c||E.call(this.ka,13,0);return-4} +function Pb(a,b,c){return a+b<=this.Rc?this.La+a:Rb.call(this,0,0,c)}function Sb(a,b,c){return a+b>this.Rc?this.La+a:Rb.call(this,0,0,c)}function Rb(a,b,c){c||E.call(this.ka,13,0);return-4} +function Tb(a,b){var c=this.ka,d=c.jb.La,e=this.$a,f=c.jb.Ba;if(!b){if(768!=c.jb.type)return E.call(c,10,a,!0),!1;c.Oa(c.jb.xd+4,c.jb.kb&-769|256)}if(-4==c.jb.load(a))return!1;var g=c.jb.La;if(b){if(768==c.jb.type)return E.call(c,13,a,!0),!1;c.Oa(c.jb.xd+4,c.jb.kb|=768);c.jb.type=768}c.Oa(d+14,c.ua);c.Oa(d+16,Ub(c));c.Oa(d+18,c.H);c.Oa(d+20,c.J);c.Oa(d+22,c.K);c.Oa(d+24,c.C);c.Oa(d+26,c.X);c.Oa(d+28,c.I);c.Oa(d+30,c.G);c.Oa(d+32,c.F);c.Oa(d+34,c.Ua.Ba);c.Oa(d+36,c.ya.Ba);c.Oa(d+38,c.sb.Ba);c.Oa(d+ +40,c.xb.Ba);var d=38,h=26;Vb(c,c.pa(g+16)|(b?16384:0));c.H=c.pa(g+18);c.J=c.pa(g+20);c.K=c.pa(g+22);c.C=c.pa(g+24);c.I=c.pa(g+28);c.G=c.pa(g+30);c.F=c.pa(g+32);c.Ua.load(c.pa(g+34));c.xb.load(c.pa(g+40));Wb(c,c.pa(g+14),c.pa(g+36));this.$a>13;if(6144<=h){w=c&3;if(w>a.$a){if(!1!==n&&!(D==a.$a||g&1024&&D<=a.$a)){m=-4;break}s=e.Ja();e.sb.load(e.Ja());e.X=s;a.Qg=!0}s=!1}else if(1024==h)s=!0,t=-1,r=c,wh||2048==(h&2560))){d||E.call(e,13,c,!!g);m=-4;break}}else if(3==a.id){if(!n||4096>h||2048==(h&2560)){d|| +E.call(e,13,c,!0);m=-4;break}}else if(4==a.id){if(!n||256!=h&&768!=h){d||E.call(e,10,c,!0);m=-4;break}}else if(6==a.id&&!(g&4096)&&768>13}else a.load=Fb,a.hk=Ib,a.Dc=Kb,a.Yb=Lb,a.Rc=65535,a.$a=a.pc=0,a.xd=-4} +function Yb(a){this.Ia=a.model||8088;var b=0;switch(this.Ia){default:case 8088:b=4772727;break;case 80286:b=6E6}mb.call(this,a,b);this.xj=61442;this.hg=1792;this.gg=4;this.ef=255;this.B=80286<=this.Ia?Zb:$b;this.Va=ac.slice();this.Ml=bc.slice();this.Nl=cc.slice();this.Aj=dc;80186<=this.Ia&&(this.ef=31,this.Va[15]=G,this.Va[96]=ec,this.Va[97]=fc,this.Va[98]=gc,this.Va[99]=G,this.Va[100]=G,this.Va[101]=G,this.Va[102]=G,this.Va[103]=G,this.Va[104]=hc,this.Va[105]=ic,this.Va[106]=jc,this.Va[107]=kc,this.Va[108]= +lc,this.Va[109]=mc,this.Va[110]=nc,this.Va[111]=oc,this.Va[192]=pc,this.Va[193]=qc,this.Va[200]=rc,this.Va[201]=sc,this.Va[241]=tc,this.Ml[7]=uc,this.Nl[7]=uc,80286<=this.Ia&&(this.xj=2,this.hg|=28672,this.gg=0,this.Va[15]=vc,this.Va[99]=wc,this.Va[84]=xc));this.jg=[];this.zj=[];this.Xc=this.Bg=0;this.ma.zf=this.ma.am=!1;this.za=[];this.be=this.yb=this.Sa=this.hd=0;this.T=this.hm;this.U=this.im;this.O=this.ln;this.P=this.mn;this.R=this.Co;this.S=this.Do;yc(this)}v(mb,Yb); +var $b={ej:4,aa:5,ta:6,fa:7,ga:8,Q:9,V:11,W:12,te:4,ok:60,pk:83,Sb:3,vb:9,fc:16,dh:1,tk:19,vk:28,xk:16,wk:21,uk:37,rk:2,yi:9,sk:5,qk:33,Ai:10,zi:8,Pf:3,Of:15,Lk:51,Mk:1,Nk:2,Ok:4,Kk:32,Bi:15,Qk:15,Tb:16,Ub:4,Sk:11,Rk:18,Pk:24,Fb:4,Tk:2,Ci:16,Uk:17,Hi:18,Vk:19,Gi:5,Ii:6,$k:2,Zk:8,Xk:9,Yk:10,Wk:10,Ji:10,Ki:10,zk:80,Bk:144,yk:86,Ak:154,Dk:101,Fk:165,Ck:107,Ek:171,bl:70,dl:113,al:76,cl:124,Hk:80,Jk:128,Gk:86,Ik:134,Rf:3,Qf:16,Pi:10,Oi:8,el:51,gc:8,fl:17,gl:36,qc:11,hl:16,Sf:10,Qd:2,vi:18,wi:7,xi:15,Di:12, +Ei:7,Fi:11,Li:18,Mi:7,Ni:15,Qi:15,Ri:7,Si:13,Wi:11,Xi:7,Yi:8,il:8,ll:12,jl:18,kl:17,ml:15,Ui:8,Ti:20,Vi:2,aj:3,Tf:9,$i:5,Zi:11,cj:4,bj:17,nl:11},Zb={ej:0,aa:0,ta:0,fa:0,ga:0,Q:0,V:1,W:1,te:3,ok:14,pk:16,Sb:2,vb:7,fc:7,dh:0,tk:7,vk:13,xk:7,wk:11,uk:16,rk:3,yi:6,sk:2,qk:13,Ai:5,zi:5,Pf:2,Of:7,Lk:23,Mk:0,Nk:1,Ok:3,Kk:17,Bi:7,Qk:11,Tb:7,Ub:3,Sk:7,Rk:11,Pk:15,Fb:2,Tk:3,Ci:7,Uk:8,Hi:8,Vk:8,Gi:4,Ii:4,$k:2,Zk:3,Xk:5,Yk:2,Wk:3,Ji:5,Ki:3,zk:14,Bk:22,yk:17,Ak:25,Dk:17,Fk:25,Ck:20,Ek:28,bl:13,dl:21,al:16,cl:24, +Hk:13,Jk:21,Gk:16,Ik:24,Rf:2,Qf:7,Pi:5,Oi:5,el:19,gc:5,fl:5,gl:17,qc:3,hl:5,Sf:3,Qd:0,vi:8,wi:5,xi:9,Di:5,Ei:5,Fi:4,Li:5,Mi:5,Ni:4,Qi:7,Ri:5,Si:8,Wi:3,Xi:4,Yi:3,il:11,ll:11,jl:15,kl:15,ml:7,Ui:5,Ti:8,Vi:0,aj:2,Tf:6,$i:3,Zi:6,cj:3,bj:5,nl:5};k=Yb.prototype;k.hi=function(a,b,c,d,e){this.za=a;this.be=b;this.yb=c;this.Sa=d;this.hd=e};k.reset=function(){this.ma.Jb&&B(this);yc(this);pb(this);this.ma.Vc=!1}; +function yc(a){a.H=0;a.C=0;a.J=0;a.K=0;a.X=0;a.I=0;a.G=0;a.F=0;a.kc=65520;a.Lc=0;a.Ke=1023;a.cf=0;a.bh=-1;a.ya=new Cb(a,Db,"CS");a.xb=new Cb(a,2,"DS");a.Ua=new Cb(a,2,"ES");a.sb=new Cb(a,3,"SS");a.Al=new Cb(a,0,"NULL");Wb(a,0,65535);80286<=a.Ia&&(a.Kc=0,a.Je=65535,a.Wd=new Cb(a,5,"LDT",!0),a.jb=new Cb(a,4,"TSS",!0),a.Kb=new Cb(a,6,"VER",!0),Wb(a,65520,61440),a.ya.La=16711680);Vb(a,0);zc(a);a.nb=0;a.Gb=a.$f=-1;a.ug=0;a.ha=a.Ka=-4;a.D=a.xb;a.N=a.sb;a.Z=a.wa=0} +k.bk=function(){var a=this.H+this.C+this.J+this.K+this.X+this.I+this.G+this.F|0;return a=a+this.ua+this.ya.Ba+this.xb.Ba+this.sb.Ba+this.Ua.Ba+Ub(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.jg[b]&&(a.jg[b]=[]),a.jg[b].push([c,d]))}function Dc(a,b){var c=a.zj[b];null!=c&&(c(--a.Bg),delete a.zj[b])}function zc(a,b){void 0===b&&(b=!!(a.kc&1));b||a.hc("returning to real-mode");a.Aj=b?Ec:dc;Eb(a.ya,b);Eb(a.xb,b);Eb(a.sb,b);Eb(a.Ua,b)} +k.save=function(){var a=new H(this);a.set(0,[this.H,this.C,this.J,this.K,this.X,this.I,this.G,this.F,this.cf]);a.set(1,[this.ua,this.ya.save(),this.xb.save(),this.sb.save(),this.Ua.save(),null!=this.Kc?[this.kc,this.Kc,this.Je,this.Lc,this.Ke,this.Wd.save(),this.jb.save(),this.cf]:null,Ub(this)]);a.set(2,[this.D.ph,this.N.ph,this.Z,this.wa,this.nb,this.ha,this.Ka]);a.set(3,[0,this.ve,this.ba.Nd]);a.set(4,eb(this.ra));return a.data()}; +k.restore=function(a){var b;b=a[0];this.H=b[0];this.C=b[1];this.J=b[2];this.K=b[3];this.X=b[4];this.I=b[5];this.G=b[6];this.F=b[7];this.cf=b[8]||0;b=a[1];this.ya.restore(b[1]);this.xb.restore(b[2]);this.sb.restore(b[3]);this.Ua.restore(b[4]);var c=b[5];c&&c.length&&(this.kc=c[0],this.Kc=c[1],this.Je=c[2],this.Lc=c[3],this.Ke=c[4],this.Wd.restore(c[5]),this.jb.restore(c[6]),this.cf=c[7],zc(this));Vb(this,b[6]);I(this,b[0]);b=a[2];this.D=Fc(this,b[0]);this.N=Fc(this,b[1]);this.Z=b[2];this.wa=b[3];this.nb= +b[4];this.ha=b[5];this.Ka=b[6];b=a[3];this.ve=b[1];tb(this,b[2]);a:{b=this.ra;a=a[4];for(c=0;c>1?128:0}function Pc(a){return(a.ia^a.na^a.ia>>1)&a.ca>>1?2048:0}function Qc(a){a.Y&=~a.ca}function Rc(a){a.na=a.ia&16|a.na&-17}function Sc(a){a.Y|=a.ca-1}function Tc(a){a.ia&=~a.ca;a.na=a.ia&32896|a.na&-32897}function Uc(a){a.Y|=a.ca} +function Vc(a){a.na=~(a.ia&16)&16|a.na&-17}function Wc(a){a.Y&=~(a.ca-1)}function Xc(a){Oc(a)||(a.ia^=a.ca>>1|a.ca>>2,a.na^=32896)}function Yc(a){a.ia|=a.ca;a.na=a.ia&32896|a.na&-32897}function Ub(a){return a.Ea&-2262|Kc(a)|Lc(a)|Mc(a)|Nc(a)|Oc(a)|Pc(a)} +function Vb(a,b,c){a.ca=256;a.Y=a.ia=a.na=0;b&1&&Uc(a);b&4||(a.ia|=1);b&16&&(a.na|=16);b&64||Sc(a);b&128&&Xc(a);b&2048&&Yc(a);a.kc&1||(b&=-61441);void 0===c&&(c=a.ya.$a);c?b=b&-12289|a.Ea&12288:a.cf=(b&12288)>>12;c>a.cf&&(b=b&-513|a.Ea&512);a.Ea=a.Ea&~a.hg|b&a.hg|a.xj;a.Ea&256&&(a.nb|=2,a.Z|=4)} +k.Hb=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;d=!0;break;default:d=mb.prototype.Hb.call(this,a,b,c)}return d};k.od=function(a){return this.za[(a&this.be)>>this.yb].jc(a&this.Sa)}; +k.pa=function(a){var b=a&this.Sa;a=(a&this.be)>>this.yb;this.A-=this.B.ej;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.hd].jc(0)<<8};k.ze=function(a,b){this.za[(a&this.be)>>this.yb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.be)>>this.yb;this.A-=this.B.ej;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.hd].lc(0,b>>8&255))};k.hm=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)}; +k.im=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.ln=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.od(this.ha)};k.mn=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.Co=function(a){this.Z&2||this.ze(this.cg.Yb(this.Wf,0),a)};k.Do=function(a){this.Z&2||this.Oa(this.cg.Yb(this.Wf,1),a)};k.da=function(){var a=this.od(this.Da);this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a}; +k.M=function(){var a=this.od(this.Da)<<24>>24;this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a&65535};k.L=function(){var a=this.pa(this.Da);this.Da=this.ya.La+(this.ua=this.ua+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.pa(this.sb.Dc(a,1))};function F(a,b){var c=a.X=a.X-2&65535;a.Oa(a.sb.Yb(c,1),b)} +k.Qe=function(a){if(a||!this.ma.Jb||this.ma.Sj)A(this,"AX",this.H),A(this,"BX",this.C),A(this,"CX",this.J),A(this,"DX",this.K),A(this,"SP",this.X),A(this,"BP",this.I),A(this,"SI",this.G),A(this,"DI",this.F),A(this,"CS",this.ya.Ba),A(this,"DS",this.xb.Ba),A(this,"SS",this.sb.Ba),A(this,"ES",this.Ua.Ba),A(this,"IP",this.ua),a=Ub(this),A(this,"PS",a),A(this,"C",a&1?1:0,1),A(this,"P",a&4?1:0,1),A(this,"A",a&16?1:0,1),A(this,"Z",a&64?1:0,1),A(this,"S",a&128?1:0,1),A(this,"T",a&256?1:0,1),A(this,"I",a& +512?1:0,1),A(this,"D",a&1024?1:0,1),A(this,"V",a&2048?1:0,1);if(a=this.sa.speed)a.textContent=this.ma.Jb&&this.ba.Ld?this.ba.Ld.toFixed(2)+"Mhz":"Stopped"}; +k.Cl=function(a){this.ma.zf=!0;this.ma.am=!1;this.ma.$j=!1;this.Xc=this.A=a;this.la&&!a&&yb(this.la);a||(this.Z|=4);do{if(a=this.Z&240)this.wa|=a;else if(this.Xf=this.Da,this.ha=this.Ka=-4,this.D=this.xb,this.N=this.sb,this.wa=this.Z&256,this.nb){a:{if(!(this.Z&4))if(this.nb&1&&this.Ea&512){if(a=Zc(this.la),-1<=a&&(this.nb&=-2,0<=a)){this.nb&=-5;$c.call(this,a,null,11);break a}}else if(this.nb&2){this.nb&=-3;$c.call(this,1,null,11);break a}if(a=this.nb&8){a=this.la;for(var b=!1,c=0;cthis.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&255} +function cd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&255}function dd(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&255}function ed(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&255} +function fd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&255}function gd(a,b){this.na=a^b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&255}function hd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&255} +function id(a,b){this.na=a^b;this.ca=256;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function jd(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&65535}function kd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&65535} +function ld(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&65535}function md(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return this.Y&65535}function nd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&65535} +function od(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&65535}function pd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&65535}function qd(a,b){this.na=a^b;this.ca=65536;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Sb:this.B.yi:this.B.vb;this.Z|=2;return a}function rd(a,b){this.Y=this.Y&this.ca-1|(a&b?this.ca:0);(a^a>>1)&b>>1?Yc(this):Tc(this)} +function sd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;rd.call(this,d,256)}return c}function td(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;rd.call(this,d,65536)}return c}function ud(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);rd.call(this,d,256)}return c}function vd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);rd.call(this,d,65536)}return c} +function wd(a,b){var c=a;if(b){var d;(d=(b&this.ef)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.ca?1:0)<<8;rd.call(this,d,256)}return c}function xd(a,b){var c=a;if(b){var d;(d=(b&this.ef)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.ca?1:0)<<16;rd.call(this,d,65536)}return c}function Ad(a,b){var c=a;b&&(c=(b&this.ef)%9,c=a>>c|(this.Y&this.ca?1:0)<<8-c|a<<9-c,rd.call(this,c,256),c&=255);return c} +function Bd(a,b){var c=a;b&&(c=(b&this.ef)%17,c=a>>c|(this.Y&this.ca?1:0)<<16-c|a<<17-c,rd.call(this,c,65536),c&=65535);return c}function Cd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255}function Fd(a,b){if(b){var c=16>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535}function Gd(a,b){if(b){8>24>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255} +function Hd(a,b){if(b){16>16>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535}function Id(){this.A-=0>this.ha?2:this.B.ml;return 1}function Jd(){var a=this.J&this.ef;this.A-=(0>this.ha?this.B.Ui:this.B.Ti)+(a<this.ha?this.B.Ui:this.B.Ti)+(a<this.Ka?this.B.gc:this.B.fl;return b},Md,Md,Md,Md,Md,Md,Md],Qd=[function(a,b){this.A-=0>this.Ka?this.B.Yk:this.B.Wk;return b},K,K,K,K,K,K,K],Rd=[sd,ud,wd,Ad,Cd,Ed,K,Gd],Sd=[td,vd,xd,Bd,Dd,Fd,K,Hd],Ud=[function(a,b){b=this.da();this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.ha?this.B.$i:this.B.Zi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^255},function(a,b){b=0;this.na= +a^b;this.ca=256;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&255},function(a){this.H=this.Gb=(this.Y=(this.H&255)*a)&65535;this.na=this.ia=this.Y;this.ca=256;this.H&65280?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.bl:this.B.al;this.Z|=2;return a},function(a){var b=(this.H<<24>>24)*(a<<24>>24);this.H=this.Gb=b&65535;this.Y=this.na=this.ia=b;this.ca=256;127b?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.Hk:this.B.Gk;this.Z|=2;return a}, +function(a){if(!a)return Td.call(this),a;var b=this.H/a;if(255this.ha?this.B.zk:this.B.yk;this.Z|=2;return a},function(a){if(!a)return Td.call(this),a;var b=(this.H<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Td.call(this),a;this.Gb=this.H=b&255|((this.H<<16>>16)%(a<<24>>24)&255)<<8;this.ia=this.na=this.Y=b|256;this.ca=256;this.A-=0>this.ha?this.B.Dk:this.B.Ck;this.Z|=2;return a}], +Vd=[function(a,b){b=this.L();this.Y=this.ia=this.na=a&b;this.ca=65536;this.A-=0>this.ha?this.B.$i:this.B.Zi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^65535},function(a,b){b=0;this.na=a^b;this.ca=65536;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&65535},function(a){this.Gb=this.H=(this.Y=this.H*a)&65535;this.$f=this.K=this.Y>>16&65535;this.na=this.ia=this.Y;this.ca=65536;this.K?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.dl: +this.B.cl;this.Z|=2;return a},function(a){var b=(this.H<<16>>16)*(a<<16>>16);this.H=this.Gb=b&65535;this.K=this.$f=b>>16&65535;this.Y=this.na=this.ia=b;this.ca=65536;32767b?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.Jk:this.B.Ik;this.Z|=2;return a},function(a,b){if(!a)return Td.call(this),a;b=this.H+65536*this.K;var c=Math.floor(b/a);if(65536<=c)return Td.call(this),a;this.Gb=this.H=c&65535;this.$f=this.K=b%a&65535;this.ia=this.na=this.Y=c|65536;this.ca=65536;this.A-= +0>this.ha?this.B.Bk:this.B.Ak;this.Z|=2;return a},function(a,b){if(!a)return Td.call(this),a;var c=a<<16>>16;b=this.K<<16|this.H;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Td.call(this),a;this.Gb=this.H=d&65535;this.$f=this.K=b%c&65535;this.ia=this.na=this.Y=d|65536;this.ca=65536;this.A-=0>this.ha?this.B.Fk:this.B.Ek;this.Z|=2;return a}],bc=[function(a){this.na=a;a=(this.ia=a+1)&255;this.Y=a|(this.Y&this.ca?1:0)<<8;this.ca=256;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){this.na= +a;a=(this.ia=a-1)&255;this.Y=a|(this.Y&this.ca?1:0)<<8;this.ca=256;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},K,K,K,K,K,K],cc=[function(a){this.na=a;a=(this.ia=a+1)&65535;this.Y=a|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){this.na=a;a=(this.ia=a-1)&65535;this.Y=a|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){F(this,this.ua);I(this,a);this.A-=0>this.ha?this.B.xk:this.B.wk;this.Z|=2;return a}, +function(a){if(0>this.ha)return K.call(this,a);Wd.call(this,a,this.pa(this.ha+2));this.A-=this.B.uk;this.Z|=2;return a},function(a){I(this,a);this.A-=0>this.ha?this.B.Sk:this.B.Rk;this.Z|=2;return a},function(a){if(0>this.ha)return K.call(this,a);Wb(this,a,this.pa(this.ha+2));this.Bg&&Dc(this,this.Da);this.A-=this.B.Pk;this.Z|=2;return a},function(a){var b=a;this.Z&512&&(a=a-2&65535,80286>this.Ia&&(b=a));F(this,b);this.A-=0>this.ha?this.B.qc:this.B.hl;this.Z|=2;return a},Md],Xd=[sd,ud,wd,Ad,Cd,Ed, +K,Gd],Yd=[td,vd,xd,Bd,Dd,Fd,K,Hd];function Zd(a,b){this.A-=0>this.Ka?0>this.ha?this.B.$k:this.B.Zk:this.B.Xk;return b}function $d(){return Zd.call(this,0,this.Gb)}function ae(a,b){this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.aj:this.B.Tf:this.B.Tf;this.Z|=2;return a}function be(a,b){this.Y=this.ia=this.na=a&b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.aj:this.B.Tf:this.B.Tf;this.Z|=2;return a} +function ce(a,b){var c=(b<<16>>16)*(this.da()<<24>>24);this.Y=this.na=this.ia=c;this.ca=256;32767c?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?21:24;return c&65535}function de(a,b){var c=(b<<16>>16)*(this.L()<<16>>16);this.Y=this.na=this.ia=c;this.ca=65536;32767c?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?21:24;return c&65535}function ee(a){return a}function fe(a){if(0>this.ha)return M.call(this),a;this.A-=this.B.Tk;return this.ha} +function ge(a,b){if(0>this.ha)return M.call(this),a;Hc(this,this.pa(this.ha+2));this.A-=this.B.Ci;return b}function he(a,b){if(0>this.ha)return M.call(this),a;Jc(this,this.pa(this.ha+2));this.A-=this.B.Ci;return b}function ie(a){if(0>this.ha)return G.call(this),a;var b=a<<16>>16,c=this.pa(this.ha)<<16>>16,d=this.pa(this.ha+2)<<16>>16;this.A-=this.B.qk;if(bd)I(this,this.Xf-this.ya.La),$c.call(this,5,null,0);this.Z|=2;return a} +function je(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Wc(this),a;Sc(this);return a}function ke(a,b){this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(b,!0)&&this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(b&3))return Wc(this),this.Kb.kb&65280;Sc(this);return a}function le(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&-4!=this.Kb.load(b,!0)&&(7168==(this.Kb.kb&7168)||this.Kb.pc>=this.ya.$a)&&this.Kb.pc>=(b&3))return Wc(this),this.Kb.Rc;Sc(this);return a} +function me(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=this.H&-256|a;break;case 1:this.J=this.J&-256|a;break;case 2:this.K=this.K&-256|a;break;case 3:this.C=this.C&-256|a;break;case 4:this.H=this.H&255|a<<8;break;case 5:this.J=this.J&255|a<<8;break;case 6:this.K=this.K&255|a<<8;break;case 7:this.C=this.C&255|a<<8}this.A-=this.B.cj}else this.Ka=this.ha,this.R(a),this.A-=this.B.bj;return b} +function ne(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=a;break;case 1:this.J=a;break;case 2:this.K=a;break;case 3:this.C=a;break;case 4:this.X=a;break;case 5:this.I=a;break;case 6:this.G=a;break;case 7:this.F=a}this.A-=this.B.cj}else this.Ka=this.ha,this.S(a),this.A-=this.B.bj;return b}function oe(a){a|=this.kc&1;this.kc=this.kc&65520|a&-65521;this.kc&1&&zc(this,!0)}function Wd(a,b){var c=this.ya.Ba,d=this.ua;null!=Wb(this,a,b,!0)&&(F(this,c),F(this,d))} +function pe(a){var b=this.Ja(),c=this.Ja();a&&(this.X=this.X+a&65535);Wb(this,b,c,!1)&&(a&&(this.X=this.X+a&65535),this.xb.Ba&65528&&this.xb.pcthis.bh)I(this,this.Xf-this.ya.La),d=!0;else if(8!=this.bh)b=0,a=8,d=!0;else{qe.call(this,-1,0,c);yc(this);return}qe.call(this,a,b,c)&&(d=!1);d&&$c.call(this,this.bh=a,b,0);this.Z&=-4}else this.hc("Fault "+ca(a)+" blocked by Debugger",536870912),I(this,this.Xf-this.ya.La)} +function qe(a,b,c){var d=32,e=bb(this.ra,this.Da);204==e&&(c=!1,d|=1);983040<=this.Da&&1048575>=this.Da&&(c=!1);c&&(a=(c?"\n":"")+"Fault "+ca(a)+(null!=b?" ("+p(b,4)+")":"")+" on opcode 0x"+ca(e)+" at "+da(this.ua,this.ya.Ba)+" (%"+p(this.Da,6)+")",b=this.ma.Jb,this.hc(a,d)?c&&(c=b,B(this.Wa)):(this.Aa(a),B(this)));return c}function G(){E.call(this,6);B(this)}function M(){I(this,this.Xf-this.ya.La);Qa(this,"Undefined opcode 0x"+ca(bb(this.ra,this.Da))+" at "+da(this.ua,this.ya.Ba));B(this)} +function re(a){a=a.call(this,this.H&255,this.H&255);this.H=this.H&-256|a}function se(a){a=a.call(this,this.H&255,this.J&255);this.H=this.H&-256|a}function te(a){a=a.call(this,this.H&255,this.K&255);this.H=this.H&-256|a}function ue(a){a=a.call(this,this.H&255,this.C&255);this.H=this.H&-256|a}function ve(a){a=a.call(this,this.H&255,this.H>>8);this.H=this.H&-256|a}function we(a){a=a.call(this,this.H&255,this.J>>8);this.H=this.H&-256|a} +function xe(a){a=a.call(this,this.H&255,this.K>>8);this.H=this.H&-256|a}function ye(a){a=a.call(this,this.H&255,this.C>>8);this.H=this.H&-256|a}function ze(a){a=a.call(this,this.J&255,this.H&255);this.J=this.J&-256|a}function Ae(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Be(a){a=a.call(this,this.J&255,this.K&255);this.J=this.J&-256|a}function Ce(a){a=a.call(this,this.J&255,this.C&255);this.J=this.J&-256|a} +function De(a){a=a.call(this,this.J&255,this.H>>8);this.J=this.J&-256|a}function Ee(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Fe(a){a=a.call(this,this.J&255,this.K>>8);this.J=this.J&-256|a}function Ge(a){a=a.call(this,this.J&255,this.C>>8);this.J=this.J&-256|a}function He(a){a=a.call(this,this.K&255,this.H&255);this.K=this.K&-256|a}function Ie(a){a=a.call(this,this.K&255,this.J&255);this.K=this.K&-256|a} +function Je(a){a=a.call(this,this.K&255,this.K&255);this.K=this.K&-256|a}function Ke(a){a=a.call(this,this.K&255,this.C&255);this.K=this.K&-256|a}function Le(a){a=a.call(this,this.K&255,this.H>>8);this.K=this.K&-256|a}function Me(a){a=a.call(this,this.K&255,this.J>>8);this.K=this.K&-256|a}function Ne(a){a=a.call(this,this.K&255,this.K>>8);this.K=this.K&-256|a}function Oe(a){a=a.call(this,this.K&255,this.C>>8);this.K=this.K&-256|a} +function Pe(a){a=a.call(this,this.C&255,this.H&255);this.C=this.C&-256|a}function Qe(a){a=a.call(this,this.C&255,this.J&255);this.C=this.C&-256|a}function Re(a){a=a.call(this,this.C&255,this.K&255);this.C=this.C&-256|a}function Se(a){a=a.call(this,this.C&255,this.C&255);this.C=this.C&-256|a}function Te(a){a=a.call(this,this.C&255,this.H>>8);this.C=this.C&-256|a}function Ue(a){a=a.call(this,this.C&255,this.J>>8);this.C=this.C&-256|a} +function Ve(a){a=a.call(this,this.C&255,this.K>>8);this.C=this.C&-256|a}function We(a){a=a.call(this,this.C&255,this.C>>8);this.C=this.C&-256|a}function Xe(a){a=a.call(this,this.H>>8,this.H&255);this.H=this.H&255|a<<8}function Ye(a){a=a.call(this,this.H>>8,this.J&255);this.H=this.H&255|a<<8}function Ze(a){a=a.call(this,this.H>>8,this.K&255);this.H=this.H&255|a<<8}function $e(a){a=a.call(this,this.H>>8,this.C&255);this.H=this.H&255|a<<8} +function af(a){a=a.call(this,this.H>>8,this.H>>8);this.H=this.H&255|a<<8}function bf(a){a=a.call(this,this.H>>8,this.J>>8);this.H=this.H&255|a<<8}function cf(a){a=a.call(this,this.H>>8,this.K>>8);this.H=this.H&255|a<<8}function df(a){a=a.call(this,this.H>>8,this.C>>8);this.H=this.H&255|a<<8}function ef(a){a=a.call(this,this.J>>8,this.H&255);this.J=this.J&255|a<<8}function ff(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8} +function gf(a){a=a.call(this,this.J>>8,this.K&255);this.J=this.J&255|a<<8}function hf(a){a=a.call(this,this.J>>8,this.C&255);this.J=this.J&255|a<<8}function jf(a){a=a.call(this,this.J>>8,this.H>>8);this.J=this.J&255|a<<8}function kf(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function lf(a){a=a.call(this,this.J>>8,this.K>>8);this.J=this.J&255|a<<8}function mf(a){a=a.call(this,this.J>>8,this.C>>8);this.J=this.J&255|a<<8} +function nf(a){a=a.call(this,this.K>>8,this.H&255);this.K=this.K&255|a<<8}function of(a){a=a.call(this,this.K>>8,this.J&255);this.K=this.K&255|a<<8}function pf(a){a=a.call(this,this.K>>8,this.K&255);this.K=this.K&255|a<<8}function qf(a){a=a.call(this,this.K>>8,this.C&255);this.K=this.K&255|a<<8}function rf(a){a=a.call(this,this.K>>8,this.H>>8);this.K=this.K&255|a<<8}function sf(a){a=a.call(this,this.K>>8,this.J>>8);this.K=this.K&255|a<<8} +function tf(a){a=a.call(this,this.K>>8,this.K>>8);this.K=this.K&255|a<<8}function uf(a){a=a.call(this,this.K>>8,this.C>>8);this.K=this.K&255|a<<8}function vf(a){a=a.call(this,this.C>>8,this.H&255);this.C=this.C&255|a<<8}function wf(a){a=a.call(this,this.C>>8,this.J&255);this.C=this.C&255|a<<8}function xf(a){a=a.call(this,this.C>>8,this.K&255);this.C=this.C&255|a<<8}function yf(a){a=a.call(this,this.C>>8,this.C&255);this.C=this.C&255|a<<8} +function zf(a){a=a.call(this,this.C>>8,this.H>>8);this.C=this.C&255|a<<8}function Af(a){a=a.call(this,this.C>>8,this.J>>8);this.C=this.C&255|a<<8}function Bf(a){a=a.call(this,this.C>>8,this.K>>8);this.C=this.C&255|a<<8}function Cf(a){a=a.call(this,this.C>>8,this.C>>8);this.C=this.C&255|a<<8}function Df(a){this.H=a.call(this,this.H,this.H)}function Ef(a){this.H=a.call(this,this.H,this.J)}function Ff(a){this.H=a.call(this,this.H,this.K)}function Gf(a){this.H=a.call(this,this.H,this.C)} +function Hf(a){this.H=a.call(this,this.H,this.X)}function If(a){this.H=a.call(this,this.H,this.I)}function Jf(a){this.H=a.call(this,this.H,this.G)}function Kf(a){this.H=a.call(this,this.H,this.F)}function Lf(a){this.J=a.call(this,this.J,this.H)}function Mf(a){this.J=a.call(this,this.J,this.J)}function Nf(a){this.J=a.call(this,this.J,this.K)}function Of(a){this.J=a.call(this,this.J,this.C)}function Pf(a){this.J=a.call(this,this.J,this.X)}function Qf(a){this.J=a.call(this,this.J,this.I)} +function Rf(a){this.J=a.call(this,this.J,this.G)}function Sf(a){this.J=a.call(this,this.J,this.F)}function Tf(a){this.K=a.call(this,this.K,this.H)}function Uf(a){this.K=a.call(this,this.K,this.J)}function Vf(a){this.K=a.call(this,this.K,this.K)}function Wf(a){this.K=a.call(this,this.K,this.C)}function Xf(a){this.K=a.call(this,this.K,this.X)}function Yf(a){this.K=a.call(this,this.K,this.I)}function Zf(a){this.K=a.call(this,this.K,this.G)}function $f(a){this.K=a.call(this,this.K,this.F)} +function ag(a){this.C=a.call(this,this.C,this.H)}function bg(a){this.C=a.call(this,this.C,this.J)}function cg(a){this.C=a.call(this,this.C,this.K)}function dg(a){this.C=a.call(this,this.C,this.C)}function eg(a){this.C=a.call(this,this.C,this.X)}function fg(a){this.C=a.call(this,this.C,this.I)}function gg(a){this.C=a.call(this,this.C,this.G)}function hg(a){this.C=a.call(this,this.C,this.F)}function ig(a){this.X=a.call(this,this.X,this.H)}function jg(a){this.X=a.call(this,this.X,this.J)} +function kg(a){this.X=a.call(this,this.X,this.K)}function lg(a){this.X=a.call(this,this.X,this.C)}function mg(a){this.X=a.call(this,this.X,this.X)}function ng(a){this.X=a.call(this,this.X,this.I)}function og(a){this.X=a.call(this,this.X,this.G)}function pg(a){this.X=a.call(this,this.X,this.F)}function qg(a){this.I=a.call(this,this.I,this.H)}function rg(a){this.I=a.call(this,this.I,this.J)}function sg(a){this.I=a.call(this,this.I,this.K)}function tg(a){this.I=a.call(this,this.I,this.C)} +function ug(a){this.I=a.call(this,this.I,this.X)}function vg(a){this.I=a.call(this,this.I,this.I)}function wg(a){this.I=a.call(this,this.I,this.G)}function xg(a){this.I=a.call(this,this.I,this.F)}function yg(a){this.G=a.call(this,this.G,this.H)}function zg(a){this.G=a.call(this,this.G,this.J)}function Ag(a){this.G=a.call(this,this.G,this.K)}function Bg(a){this.G=a.call(this,this.G,this.C)}function Cg(a){this.G=a.call(this,this.G,this.X)}function Dg(a){this.G=a.call(this,this.G,this.I)} +function Eg(a){this.G=a.call(this,this.G,this.G)}function Fg(a){this.G=a.call(this,this.G,this.F)}function Gg(a){this.F=a.call(this,this.F,this.H)}function Hg(a){this.F=a.call(this,this.F,this.J)}function Ig(a){this.F=a.call(this,this.F,this.K)}function Jg(a){this.F=a.call(this,this.F,this.C)}function Kg(a){this.F=a.call(this,this.F,this.X)}function Lg(a){this.F=a.call(this,this.F,this.I)}function Mg(a){this.F=a.call(this,this.F,this.G)}function Ng(a){this.F=a.call(this,this.F,this.F)} +var Og=[function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.H&255);this.R(a);this.A-=this.B.aa}, +function(a){a=a.call(this,this.O(this.D,this.F),this.H&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.H&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.H&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N, +this.I+this.G&65535),this.J&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.J&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.J&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.J&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.J&255);this.R(a); +this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.K&255);this.R(a);this.A-= +this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.K&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.K&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.K&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this, +this.O(this.N,this.I+this.G&65535),this.C&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.C&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.C&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.C&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.C& +255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.H>>8);this.R(a); +this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.H>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.H>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.H>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.ga},function(a){a= +a.call(this,this.O(this.N,this.I+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.J>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C), +this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.K>>8); +this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.K>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.K>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.K>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.ga},function(a){a= +a.call(this,this.O(this.N,this.I+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.C>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C), +this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this, +this.O(this.D,this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a= +a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J&255);this.R(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()& +65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D, +this.C+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.V}, +function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H>>8);this.R(a); +this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()& +65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N, +this.I+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this, +this.O(this.D,this.C+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-= +this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C>>8);this.R(a); +this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()& +65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N, +this.I+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.O(this.D,this.C+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J&255); +this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()& +65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this, +this.O(this.D,this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W}, +function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C&255); +this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+ +this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D, +this.C+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.O(this.D,this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W}, +function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K>>8);this.R(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+ +this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},re,ze,He,Pe,Xe,ef,nf,vf,se,Ae,Ie,Qe,Ye, +ff,of,wf,te,Be,Je,Re,Ze,gf,pf,xf,ue,Ce,Ke,Se,$e,hf,qf,yf,ve,De,Le,Te,af,jf,rf,zf,we,Ee,Me,Ue,bf,kf,sf,Af,xe,Fe,Ne,Ve,cf,lf,tf,Bf,ye,Ge,Oe,We,df,mf,uf,Cf],Pg=[function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.H);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.H);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.H);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F& +65535),this.H);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.H);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.J);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this, +this.P(this.D,this.C+this.F&65535),this.J);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.J);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.J);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.J);this.S(a); +this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.K);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.K);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.K);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.K);this.S(a);this.A-=this.B.fa},function(a){a= +a.call(this,this.P(this.D,this.G),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.K);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.C);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.C);this.S(a); +this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.C);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.C);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.C);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D, +this.C),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.X);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.X);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.X);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.X);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.X);this.S(a); +this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.X);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.X);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.X);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.I);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.I);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N, +this.I+this.G&65535),this.I);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.I);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.I);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.I);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.I);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.I);this.S(a);this.A-=this.B.aa},function(a){a= +a.call(this,this.P(this.D,this.C+this.G&65535),this.G);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.G);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.G);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.G);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D, +this.F),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.G);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.F);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.F);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.F);this.S(a);this.A-=this.B.ga}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.F);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.F);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()& +65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+ +this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N, +this.I+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D, +this.C+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this, +this.P(this.D,this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this, +this.P(this.D,this.C+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.P(this.N,this.I+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.W}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q}, +function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.I);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.G);this.S(a); +this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.G);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535), +this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535), +this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()& +65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+ +this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+ +this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this, +this.P(this.D,this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this, +this.P(this.D,this.C+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a= +a.call(this,this.P(this.N,this.I+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.W}, +function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q}, +function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.I);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.G);this.S(a); +this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.G);this.S(a); +this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535), +this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},Df,Lf,Tf,ag,ig,qg,yg,Gg,Ef,Mf,Uf,bg,jg,rg,zg,Hg,Ff,Nf,Vf,cg,kg,sg,Ag, +Ig,Gf,Of,Wf,dg,lg,tg,Bg,Jg,Hf,Pf,Xf,eg,mg,ug,Cg,Kg,If,Qf,Yf,fg,ng,vg,Dg,Lg,Jf,Rf,Zf,gg,og,wg,Eg,Mg,Kf,Sf,$f,hg,pg,xg,Fg,Ng],Qg=[function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.H&255, +this.T(this.N,this.I+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.L()));this.H=this.H&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this, +this.J&255,this.T(this.D,this.C+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G));this.J=this.J&-256| +a;this.A-=this.B.aa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.F));this.J=this.J&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.L()));this.J=this.J&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C));this.J=this.J&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F& +65535));this.K=this.K&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F&65535));this.K=this.K&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K& +255,this.T(this.D,this.L()));this.K=this.K&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.ga}, +function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G));this.C=this.C&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F));this.C=this.C&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.L()));this.C=this.C&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C));this.C=this.C&-256|a;this.A-= +this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.H>> +8,this.T(this.D,this.G));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.L()));this.H=this.H&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this, +this.J>>8,this.T(this.D,this.C+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G));this.J=this.J&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F));this.J=this.J&255|a<<8;this.A-= +this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.L()));this.J=this.J&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C));this.J=this.J&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G&65535));this.K=this.K&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G& +65535));this.K=this.K&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.L()));this.K=this.K&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.K>> +8,this.T(this.D,this.C));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F&65535));this.C=this.C&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F&65535));this.C=this.C&255|a<< +8;this.A-=this.B.fa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.G));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.L()));this.C=this.C&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G+this.M()& +65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G+this.M()&65535));this.H=this.H&-256| +a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this, +this.J&255,this.T(this.D,this.C+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D, +this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F+this.M()&65535));this.K= +this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q}, +function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C& +255,this.T(this.N,this.I+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.M()& +65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.H=this.H&255| +a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a= +a.call(this,this.H>>8,this.T(this.D,this.C+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>> +8,this.T(this.N,this.I+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.M()&65535)); +this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.K=this.K& +255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a= +a.call(this,this.C>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>> +8,this.T(this.D,this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G+this.L()&65535)); +this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G+this.L()&65535));this.H=this.H&-256|a;this.A-= +this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J& +255,this.T(this.D,this.C+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.F+ +this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F+this.L()&65535));this.K=this.K& +-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a= +a.call(this,this.K&255,this.T(this.N,this.I+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N, +this.I+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.L()&65535));this.C= +this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-= +this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this, +this.H>>8,this.T(this.D,this.C+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N, +this.I+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.L()&65535));this.J=this.J& +255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-= +this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>> +8,this.T(this.D,this.C+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D, +this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve, +We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf],N=[function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.H=a.call(this, +this.H,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.J=a.call(this, +this.J,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.K=a.call(this, +this.K,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F));this.A-=this.B.aa}, +function(a){this.K=a.call(this,this.K,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F& +65535));this.A-=this.B.fa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+ +this.F&65535));this.A-=this.B.ga},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.X=a.call(this,this.X,this.U(this.D, +this.C));this.A-=this.B.aa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.I=a.call(this, +this.I,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.G= +a.call(this,this.G,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.F= +a.call(this,this.F,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.L()));this.A-=this.B.ta}, +function(a){this.F=a.call(this,this.F,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.H= +a.call(this,this.H,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D, +this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.M()& +65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F+this.M()&65535)); +this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.C= +a.call(this,this.C,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this, +this.C,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N, +this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G+this.M()&65535)); +this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q}, +function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.G= +a.call(this,this.G,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D, +this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F+ +this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G+this.L()&65535)); +this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.J= +a.call(this,this.J,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this, +this.J,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N, +this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.L()&65535)); +this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G+this.L()&65535));this.A-= +this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.X= +a.call(this,this.X,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X, +this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D, +this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F+this.L()&65535)); +this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q}, +function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.F= +a.call(this,this.F,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg, +yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng],Rg=[function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa}, +function(a,b){var c=a[0].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[0].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-= +this.B.fa},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.F), +b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[1].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this, +this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a, +b){var c=a[2].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F&65535),b.call(this)); +this.R(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[3].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G&65535), +b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c= +a[4].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[4].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga}, +function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.L()),b.call(this));this.R(c); +this.A-=this.B.ta},function(a,b){var c=a[5].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.O(this.N, +this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[6].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this, +this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-= +this.B.aa},function(a,b){var c=a[7].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[7].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.M()& +65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c); +this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c= +a[1].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+ +this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[2].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this, +this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-= +this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this, +this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+ +this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c); +this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[6].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D, +this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a, +b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N, +this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[1].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this, +this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-= +this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this, +this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+ +this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c); +this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a, +b){var c=a[5].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D, +this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this)); +this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a, +b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N, +this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[0].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[0].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[0].call(this,this.C&255,b.call(this));this.C=this.C&-256| +c},function(a,b){var c=a[0].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[0].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[0].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[0].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[1].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[1].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a, +b){var c=a[1].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[1].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[1].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[1].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[1].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[1].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c= +a[2].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[2].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[2].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[2].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[2].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[2].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[2].call(this, +this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[2].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[3].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[3].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[3].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[3].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[3].call(this,this.H>> +8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[3].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[3].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[3].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[4].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[4].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[4].call(this,this.K&255,b.call(this)); +this.K=this.K&-256|c},function(a,b){var c=a[4].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[4].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[4].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[4].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[4].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[5].call(this,this.H&255,b.call(this));this.H= +this.H&-256|c},function(a,b){var c=a[5].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[5].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[5].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[5].call(this,this.K>>8,b.call(this));this.K=this.K&255| +c<<8},function(a,b){var c=a[5].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[6].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[6].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[6].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a, +b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[6].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[6].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[7].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c= +a[7].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[7].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[7].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8}],Sg=[function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-= +this.B.fa},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[0].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.F), +b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[0].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this, +this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a, +b){var c=a[1].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F&65535),b.call(this)); +this.S(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[2].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G&65535), +b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c= +a[3].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[3].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga}, +function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.L()),b.call(this));this.S(c); +this.A-=this.B.ta},function(a,b){var c=a[4].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.P(this.N, +this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[5].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this, +this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-= +this.B.aa},function(a,b){var c=a[6].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[6].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F&65535),b.call(this)); +this.S(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D, +this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[7].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this, +this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+ +this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a, +b){var c=a[2].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+ +this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this)); +this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a, +b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this, +this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.M()&65535), +b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this, +this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.M()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c); +this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c= +a[7].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N, +this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V}, +function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D, +this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.G+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V}, +function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this, +this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-= +this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this, +this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.L()&65535), +b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c= +a[6].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N, +this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c); +this.A-=this.B.Q},function(a,b){this.H=a[0].call(this,this.H,b.call(this))},function(a,b){this.J=a[0].call(this,this.J,b.call(this))},function(a,b){this.K=a[0].call(this,this.K,b.call(this))},function(a,b){this.C=a[0].call(this,this.C,b.call(this))},function(a,b){this.X=a[0].call(this,this.X,b.call(this))},function(a,b){this.I=a[0].call(this,this.I,b.call(this))},function(a,b){this.G=a[0].call(this,this.G,b.call(this))},function(a,b){this.F=a[0].call(this,this.F,b.call(this))},function(a,b){this.H= +a[1].call(this,this.H,b.call(this))},function(a,b){this.J=a[1].call(this,this.J,b.call(this))},function(a,b){this.K=a[1].call(this,this.K,b.call(this))},function(a,b){this.C=a[1].call(this,this.C,b.call(this))},function(a,b){this.X=a[1].call(this,this.X,b.call(this))},function(a,b){this.I=a[1].call(this,this.I,b.call(this))},function(a,b){this.G=a[1].call(this,this.G,b.call(this))},function(a,b){this.F=a[1].call(this,this.F,b.call(this))},function(a,b){this.H=a[2].call(this,this.H,b.call(this))}, +function(a,b){this.J=a[2].call(this,this.J,b.call(this))},function(a,b){this.K=a[2].call(this,this.K,b.call(this))},function(a,b){this.C=a[2].call(this,this.C,b.call(this))},function(a,b){this.X=a[2].call(this,this.X,b.call(this))},function(a,b){this.I=a[2].call(this,this.I,b.call(this))},function(a,b){this.G=a[2].call(this,this.G,b.call(this))},function(a,b){this.F=a[2].call(this,this.F,b.call(this))},function(a,b){this.H=a[3].call(this,this.H,b.call(this))},function(a,b){this.J=a[3].call(this,this.J, +b.call(this))},function(a,b){this.K=a[3].call(this,this.K,b.call(this))},function(a,b){this.C=a[3].call(this,this.C,b.call(this))},function(a,b){this.X=a[3].call(this,this.X,b.call(this))},function(a,b){this.I=a[3].call(this,this.I,b.call(this))},function(a,b){this.G=a[3].call(this,this.G,b.call(this))},function(a,b){this.F=a[3].call(this,this.F,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.J=a[4].call(this,this.J,b.call(this))},function(a,b){this.K=a[4].call(this, +this.K,b.call(this))},function(a,b){this.C=a[4].call(this,this.C,b.call(this))},function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.I=a[4].call(this,this.I,b.call(this))},function(a,b){this.G=a[4].call(this,this.G,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.K=a[5].call(this,this.K,b.call(this))},function(a,b){this.C= +a[5].call(this,this.C,b.call(this))},function(a,b){this.X=a[5].call(this,this.X,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.J=a[6].call(this,this.J,b.call(this))},function(a,b){this.K=a[6].call(this,this.K,b.call(this))},function(a,b){this.C=a[6].call(this,this.C,b.call(this))}, +function(a,b){this.X=a[6].call(this,this.X,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a,b){this.K=a[7].call(this,this.K,b.call(this))},function(a,b){this.C=a[7].call(this,this.C,b.call(this))},function(a,b){this.X=a[7].call(this,this.X, +b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))}];function vc(){Tg[this.da()].call(this)}function xc(){F(this,this.X);this.A-=this.B.qc}function ec(){var a=this.X;F(this,this.H);F(this,this.J);F(this,this.K);F(this,this.C);F(this,a);F(this,this.I);F(this,this.G);F(this,this.F);this.A-=this.B.gl} +function fc(){this.F=this.Ja();this.G=this.Ja();this.I=this.Ja();this.X+=2;this.C=this.Ja();this.K=this.Ja();this.J=this.Ja();this.H=this.Ja();this.A-=this.B.el}function gc(){N[this.da()].call(this,ie)}function wc(){Pg[this.da()].call(this,je)}function hc(){F(this,this.L());this.A-=this.B.qc}function ic(){N[this.da()].call(this,de)}function jc(){F(this,this.da());this.A-=this.B.qc}function kc(){N[this.da()].call(this,ce)} +function lc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=gb(this.ra,this.K,this.Da-b-1);this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}} +function mc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.Da-b-1,e=gb(this.ra,this.K,d),d=e|=gb(this.ra,this.K,d)<<8;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}} +function nc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.od(this.xb.Dc(this.G,0));this.G=this.G+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;ib(this.ra,this.K,d,this.Da-b-1);a&&(J(this,-2),this.Z|=256)}} +function oc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.pa(this.xb.Dc(this.G,1));this.G=this.G+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;b=this.Da-b-1;ib(this.ra,this.K,d&255,b);ib(this.ra,this.K,d>>8,b);a&&(J(this,-2),this.Z|=256)}}function Ug(){var a=this.M();Pc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Vg(){var a=this.M();Pc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)} +function Wg(){var a=this.M();Kc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Xg(){var a=this.M();Kc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function Yg(){var a=this.M();Nc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function Zg(){var a=this.M();Nc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function $g(){var a=this.M();Kc(this)||Nc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub} +function ah(){var a=this.M();Kc(this)||Nc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function bh(){var a=this.M();Oc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function ch(){var a=this.M();Oc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)}function dh(){var a=this.M();Lc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function eh(){var a=this.M();Lc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)} +function fh(){var a=this.M();!Oc(this)!=!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function gh(){var a=this.M();!Oc(this)==!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function hh(){var a=this.M();Nc(this)||!Oc(this)!=!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Tb):this.A-=this.B.Ub}function ih(){var a=this.M();Nc(this)||!Oc(this)!=!Pc(this)?this.A-=this.B.Ub:(I(this,this.ua+a),this.A-=this.B.Tb)} +function jh(){Rg[this.da()].call(this,Nd,this.da);this.A-=0>this.Ka?1:this.B.dh}function pc(){Rg[this.da()].call(this,Xd,Kd)}function qc(){Sg[this.da()].call(this,Yd,Kd)}function kh(){var a=this.L();I(this,this.Ja());this.X=this.X+a&65535;this.A-=this.B.ll}function lh(){I(this,this.Ja());this.A-=this.B.il} +function rc(){var a=this.L(),b=this.da()&31;this.A-=11;F(this,this.I);var c=this.X;if(0>8,c,d=Mc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.Y=a);this.ca=65536;c&&(this.Y|=this.ca);d?Vc(this):Rc(this);this.A-=this.B.te},function(){Og[this.da()].call(this,id)},function(){Pg[this.da()].call(this,qd)},function(){Qg[this.da()].call(this,id)},function(){N[this.da()].call(this,qd)},function(){this.H=this.H&-256|id.call(this,this.H&255,this.da());this.A--},function(){this.H=qd.call(this,this.H,this.L());this.A--}, +function(){this.Z|=20;this.D=this.N=this.xb;this.A-=this.B.Qd},function(){var a=this.H&255,b=this.H>>8,c,d=Mc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.Y=a);this.ca=65536;c&&(this.Y|=this.ca);d?Vc(this):Rc(this);this.A-=this.B.te},function(){this.na=this.H;this.H=(this.ia=this.H+1)&65535;this.Y=this.H|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.J;this.J=(this.ia=this.J+1)&65535;this.Y=this.J|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-= +2},function(){this.na=this.K;this.K=(this.ia=this.K+1)&65535;this.Y=this.K|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.C;this.C=(this.ia=this.C+1)&65535;this.Y=this.C|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.X;this.X=(this.ia=this.X+1)&65535;this.Y=this.X|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.I;this.I=(this.ia=this.I+1)&65535;this.Y=this.I|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na= +this.G;this.G=(this.ia=this.G+1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F+1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.H;this.H=(this.ia=this.H-1)&65535;this.Y=this.H|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.J;this.J=(this.ia=this.J-1)&65535;this.Y=this.J|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.K;this.K= +(this.ia=this.K-1)&65535;this.Y=this.K|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.C;this.C=(this.ia=this.C-1)&65535;this.Y=this.C|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.X;this.X=(this.ia=this.X-1)&65535;this.Y=this.X|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.I;this.I=(this.ia=this.I-1)&65535;this.Y=this.I|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.G;this.G=(this.ia=this.G- +1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F-1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){F(this,this.H);this.A-=this.B.qc},function(){F(this,this.J);this.A-=this.B.qc},function(){F(this,this.K);this.A-=this.B.qc},function(){F(this,this.C);this.A-=this.B.qc},function(){F(this,this.X-2&65535);this.A-=this.B.qc},function(){F(this,this.I);this.A-=this.B.qc},function(){F(this,this.G);this.A-= +this.B.qc},function(){F(this,this.F);this.A-=this.B.qc},function(){this.H=this.Ja();this.A-=this.B.gc},function(){this.J=this.Ja();this.A-=this.B.gc},function(){this.K=this.Ja();this.A-=this.B.gc},function(){this.C=this.Ja();this.A-=this.B.gc},function(){this.X=this.Ja();this.A-=this.B.gc},function(){this.I=this.Ja();this.A-=this.B.gc},function(){this.G=this.Ja();this.A-=this.B.gc},function(){this.F=this.Ja();this.A-=this.B.gc},Ug,Vg,Wg,Xg,Yg,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,Ug,Vg,Wg,Xg,Yg,Zg,$g, +ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,function(){Sg[this.da()].call(this,Od,this.L);this.A-=0>this.Ka?1:this.B.dh},jh,function(){Sg[this.da()].call(this,Od,this.M);this.A-=0>this.Ka?1:this.B.dh},function(){Og[this.da()].call(this,ae)},function(){Pg[this.da()].call(this,be)},function(){Qg[this.ug=this.da()].call(this,me)},function(){N[this.ug=this.da()].call(this,ne)},function(){this.Z|=1;Og[this.da()].call(this,Zd)},function(){this.Z|=1;Pg[this.da()].call(this,Zd)},function(){Qg[this.da()].call(this,Zd)}, +function(){N[this.da()].call(this,Zd)},function(){var a=this.da();switch((a&56)>>3){case 0:this.Gb=this.Ua.Ba;break;case 1:this.Gb=this.ya.Ba;break;case 2:this.Gb=this.sb.Ba;break;case 3:this.Gb=this.xb.Ba;break;default:M.call(this);return}this.Z|=1;Pg[a].call(this,$d)},function(){this.Z|=1;this.D=this.N=this.Al;N[this.da()].call(this,fe)},function(){var a,b=this.da(),c=(b&56)>>3;switch(c){case 0:a=this.H;break;case 2:a=this.K;break;case 3:a=this.C;break;default:if(80286<=this.Ia){G.call(this);return}switch(c){case 1:a= +this.J;break;case 4:a=this.X;break;case 5:a=this.I;break;case 6:a=this.G;break;case 7:a=this.F}}N[b].call(this,Zd);switch(c){case 0:Jc(this,this.H);this.H=a;break;case 1:Gc(this,this.J);this.J=a;break;case 2:Ic(this,this.K);this.K=a;break;case 3:Hc(this,this.C);this.C=a;break;case 4:Jc(this,this.X);this.X=a;break;case 5:Gc(this,this.I);this.I=a;break;case 6:Ic(this,this.G);this.G=a;break;case 7:Hc(this,this.F),this.F=a}},function(){this.Z|=1;Sg[this.da()].call(this,Pd,this.Ja)},function(){this.A-= +3},function(){var a=this.H;this.H=this.J;this.J=a;this.A-=3},function(){var a=this.H;this.H=this.K;this.K=a;this.A-=3},function(){var a=this.H;this.H=this.C;this.C=a;this.A-=3},function(){var a=this.H;this.H=this.X;this.X=a;this.A-=3},function(){var a=this.H;this.H=this.I;this.I=a;this.A-=3},function(){var a=this.H;this.H=this.G;this.G=a;this.A-=3},function(){var a=this.H;this.H=this.F;this.F=a;this.A-=3},function(){this.H=this.H<<24>>24&65535;this.A-=2},function(){this.K=this.H&32768?65535:0;this.A-= +this.B.sk},function(){Wd.call(this,this.L(),this.L());this.A-=this.B.vk},function(){this.hc("WAIT not implemented",1);this.A--},function(){F(this,Ub(this));this.A-=this.B.qc},function(){Vb(this,this.Ja());this.A-=this.B.gc},function(){var a=this.H>>8;a&1?Uc(this):Qc(this);a&4?Lc(this)||(this.ia^=1):Lc(this)&&(this.ia^=1);a&16?Vc(this):Rc(this);a&64?Wc(this):Sc(this);a&128?Xc(this):Oc(this)&&(this.ia^=this.ca>>1|this.ca>>2,this.na^=32896);this.A-=this.B.Fb},function(){this.H=this.H&255|(Ub(this)&213)<< +8;this.A-=this.B.Fb},function(){this.H=this.H&-256|this.T(this.D,this.L());this.A-=this.B.Ji},function(){this.H=this.U(this.D,this.L());this.A-=this.B.Ji},function(){var a=this.L(),b=this.H;this.ze(this.D.Yb(a,0),b);this.A-=this.B.Ki},function(){var a=this.L(),b=this.H;this.Oa(this.D.Yb(a,1),b);this.A-=this.B.Ki},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G);this.ze(this.Ua.Yb(this.F, +0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Li;this.wa&192&&(a=this.J,b=1,c=this.B.Ni,this.wa&256||(this.A-=this.B.Mi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G);this.Oa(this.Ua.Yb(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.vi;this.wa&192&&(a=this.J,b=1,c=this.B.xi,this.wa&256|| +(this.A-=this.B.wi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G),f=this.O(this.Ua,this.F);id.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.vi;this.wa&192&&(a=this.J,b=1,c=this.B.xi,this.wa&256||(this.A-=this.B.wi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G),f=this.P(this.Ua,this.F);qd.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+ +d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){this.Y=this.ia=this.na=this.H&255&this.da();this.ca=256;this.A-=this.B.te},function(){this.Y=this.ia=this.na=this.H&this.L();this.ca=65536;this.A-=this.B.te},function(){var a=1,b=0,c=this.B.Wi;this.wa&192&&(a=this.J,b=1,c=this.B.Yi,this.wa&256||(this.A-=this.B.Xi));if(a--){var d=this.H;this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this, +-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Wi;this.wa&192&&(a=this.J,b=1,c=this.B.Yi,this.wa&256||(this.A-=this.B.Xi));if(a--){var d=this.H;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Di;this.wa&192&&(a=this.J,b=1,c=this.B.Fi,this.wa&256||(this.A-=this.B.Ei));a--&&(this.H=this.H&-256|this.T(this.D,this.G),this.G=this.G+(this.Ea&1024?-1:1)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa& +16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Di;this.wa&192&&(a=this.J,b=1,c=this.B.Fi,this.wa&256||(this.A-=this.B.Ei));a--&&(this.H=this.U(this.D,this.G),this.G=this.G+(this.Ea&1024?-2:2)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa&16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Qi;this.wa&192&&(a=this.J,b=1,c=this.B.Si,this.wa&256||(this.A-=this.B.Ri));a--&&(id.call(this,this.H&255,this.O(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-1:1)&65535,this.A-=c-this.B.vb,this.J-= +b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Qi;this.wa&192&&(a=this.J,b=1,c=this.B.Si,this.wa&256||(this.A-=this.B.Ri));a--&&(qd.call(this,this.H,this.P(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-2:2)&65535,this.A-=c-this.B.vb,this.J-=b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){this.H=this.H&-256|this.da();this.A-=this.B.Fb},function(){this.J=this.J&-256|this.da();this.A-=this.B.Fb},function(){this.K=this.K&-256|this.da();this.A-= +this.B.Fb},function(){this.C=this.C&-256|this.da();this.A-=this.B.Fb},function(){this.H=this.H&255|this.da()<<8;this.A-=this.B.Fb},function(){this.J=this.J&255|this.da()<<8;this.A-=this.B.Fb},function(){this.K=this.K&255|this.da()<<8;this.A-=this.B.Fb},function(){this.C=this.C&255|this.da()<<8;this.A-=this.B.Fb},function(){this.H=this.L();this.A-=this.B.Fb},function(){this.J=this.L();this.A-=this.B.Fb},function(){this.K=this.L();this.A-=this.B.Fb},function(){this.C=this.L();this.A-=this.B.Fb},function(){this.X= +this.L();this.A-=this.B.Fb},function(){this.I=this.L();this.A-=this.B.Fb},function(){this.G=this.L();this.A-=this.B.Fb},function(){this.F=this.L();this.A-=this.B.Fb},kh,lh,kh,lh,function(){N[this.da()].call(this,he)},function(){N[this.da()].call(this,ge)},function(){this.Z|=1;Rg[this.da()].call(this,Qd,this.da)},function(){this.Z|=1;Sg[this.da()].call(this,Qd,this.L)},mh,nh,mh,nh,function(){$c.call(this,3,null,this.B.Mk)},function(){var a=this.da(),b;a:{b=this.jg[a];if(void 0!==b)for(var c=0;c>8)*a+this.H&255;this.ca=256;this.A-=this.B.ok},function(){this.H=this.H&-256|(Kc(this)?255:0);this.A-=2},function(){this.H=this.H&-256|this.T(this.D,this.C+(this.H&255)&65535);this.A-=this.B.nl},oh,oh,oh,oh,oh,oh,oh,oh,function(){var a=this.M();(this.J=this.J-1&65535)&&this.Y&this.ca-1?(I(this,this.ua+a),this.A-=this.B.Vk): +this.A-=this.B.Gi},function(){var a=this.M();!(this.J=this.J-1&65535)||this.Y&this.ca-1?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.M();(this.J=this.J-1&65535)?(I(this,this.ua+a),this.A-=this.B.Uk):this.A-=this.B.Gi},function(){var a=this.M();this.J?this.A-=this.B.Ii:(I(this,this.ua+a),this.A-=this.B.Hi)},function(){var a=this.da();this.H=this.H&-256|gb(this.ra,a,this.Da-2);this.A-=this.B.Ai},function(){var a=this.da();this.H=gb(this.ra,a,this.Da-2);this.H|=gb(this.ra, +a+1&65535,this.Da-2)<<8;this.A-=this.B.Ai},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);this.A-=this.B.Pi},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);ib(this.ra,a+1&65535,this.H>>8,this.Da-2);this.A-=this.B.Pi},function(){var a=this.L();F(this,this.ua);I(this,this.ua+a);this.A-=this.B.tk},function(){var a=this.L();I(this,this.ua+a);this.A-=this.B.Bi},function(){Wb(this,this.L(),this.L());this.A-=this.B.Qk},function(){var a=this.M();I(this,this.ua+a);this.A-=this.B.Bi}, +function(){this.H=this.H&-256|gb(this.ra,this.K,this.Da-1);this.A-=this.B.zi},function(){this.H=gb(this.ra,this.K,this.Da-1);this.H|=gb(this.ra,this.K+1&65535,this.Da-1)<<8;this.A-=this.B.zi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);this.A-=this.B.Oi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);ib(this.ra,this.K+1&65535,this.H>>8,this.Da-1);this.A-=this.B.Oi},ph,ph,function(){this.Z|=132;this.A-=this.B.Qd},function(){this.Z|=68;this.A-=this.B.Qd},function(){this.nb|=4;this.A-=2;this.Ea& +512||B(this)},function(){Kc(this)?Qc(this):Uc(this);this.A-=2},function(){this.Gb=-1;Rg[this.da()].call(this,Ud,Ld);0<=this.Gb&&(this.H=this.Gb)},function(){this.Gb=-1;Sg[this.da()].call(this,Vd,Ld);0<=this.Gb&&(this.H=this.Gb,this.K=this.$f)},function(){this.Y&=~this.ca;this.A-=2},function(){this.Y|=this.ca;this.A-=2},function(){this.Ea&=-513;this.A-=this.B.rk},function(){this.Ea|=512;this.Z|=4;this.A-=2},function(){this.Ea&=-1025;this.A-=2},function(){this.Ea|=1024;this.A-=2},function(){Rg[this.da()].call(this, +bc,Ld)},function(){Sg[this.da()].call(this,cc,Ld)}],Tg=[function(){var a=this.da();16>(a&56)&&(this.Z|=1);Sg[a].call(this,this.Aj,Ld)},function(){var a=this.da();a&16||(this.Z|=1);Sg[a].call(this,qh,Ld)},function(){N[this.da()].call(this,ke)},function(){N[this.da()].call(this,le)},M,function(){this.ya.$a?E.call(this,13,0,!0):(oe.call(this,this.pa(2054)),this.F=this.pa(2086),this.G=this.pa(2088),this.I=this.pa(2090),this.X=this.pa(2092),this.C=this.pa(2094),this.K=this.pa(2096),this.J=this.pa(2098), +this.H=this.pa(2100),Xb(this.Ua,2102,this.pa(2084)),Xb(this.ya,2108,this.pa(2082)),Xb(this.sb,2114,this.pa(2080)),Xb(this.xb,2120,this.pa(2078)),Vb(this,this.pa(2072)),I(this,this.pa(2074)),this.Kc=this.pa(2126)|this.pa(2128)<<16,this.Je=this.Kc+this.pa(2130),Xb(this.Wd,2132,this.pa(2076)),this.Lc=this.pa(2138)|this.pa(2140)<<16,this.Ke=this.Lc+this.pa(2142),Xb(this.jb,2144,this.pa(2070)),this.A-=195)},function(){this.ya.$a?E.call(this,13,0,!0):(this.kc&=-9,this.A-=2)},M,M,M,M,G,M,M,M,M,M,M,M,M,M, +M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M],Ec=[function(){this.A-=2+(0>this.ha? +0:1);return this.Wd.Ba},function(){this.A-=2+(0>this.ha?0:1);return this.jb.Ba},function(a){this.Z|=2;this.Wd.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;-4!=this.jb.load(a)&&(this.Oa(this.jb.xd+4,this.jb.kb|=512),this.jb.type=768);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&2048!=(this.Kb.kb&2560)&&(this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3)||7168==(this.Kb.kb&7168)))return Wc(this),a;Sc(this);return a},function(a){this.Z|= +2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Kb.load(a,!0)&&512==(this.Kb.kb&2560)&&this.Kb.pc>=this.ya.$a&&this.Kb.pc>=(a&3))return Wc(this),a;Sc(this);return a},K,K],dc=[uc,uc,uc,uc,uc,uc,K,K],qh=[function(a){0>this.ha?G.call(this):(a=this.Je-this.Kc,this.Oa(this.ha+2,this.Kc),this.Oa(this.ha+4,65280|this.Kc>>16),this.A-=11);return a},function(a){0>this.ha?G.call(this):(a=this.Ke-this.Lc,this.Oa(this.ha+2,this.Lc),this.Oa(this.ha+4,65280|this.Lc>>16),this.A-=12);return a},function(a){0>this.ha?G.call(this): +(this.Kc=this.pa(this.ha+2)|this.od(this.ha+4)<<16,this.Je=this.Kc+a,this.Z|=2,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.Lc=this.pa(this.ha+2)|this.od(this.ha+4)<<16,this.Ke=this.Lc+a,this.Z|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.kc},K,function(a){oe.call(this,a);this.A-=0>this.ha?3:6;this.Z|=2;return a},K]; +function O(a){u.call(this,"ChipSet",a,O);this.Ia=(this.Ia=a.model)?parseInt(this.Ia,10):rh;this.Vb=0;var b=a.sw1;if(b)this.Vb=sh(b,th|uh.Kl);else{this.vd=[360,360];(b=a.floppies)&&b.length&&(this.vd=b);if(b=this.vd.length)this.Vb|=vh.vh,b--,this.Vb|=(b&3)<=wh&&(this.Ag=this.sf=2);this.Id=a.scaleTimers||!1;this.Bo=a.rtcDate;this.Zj= +!1;a.sound&&window&&"webkitAudioContext"in window&&(this.Kh=new window.webkitAudioContext);this.reset(!0);z(this)}v(u,O);var rh=5150,wh=5170,xh={none:0,tv:1,color:2,mono:3,ega:0},vh={vh:1,ONE:0,sp:64,qp:128,Qo:192,jf:192,kf:6},th=12,uh={rp:16,Io:32,Kl:48,jf:48,kf:4};k=O.prototype; +k.Hb=function(a,b,c){switch(b){case "sw1":return this.sa[b]=c,yh(this,b,c,this.Vb,{0:this.Ia==rh?"Bootable Floppy Drive":"Loop on POST",1:this.Ia==rh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ia==rh)return this.sa[b]=c,yh(this,b,c,this.Yd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.sa[b]=c,!0}return!1}; +k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.Ha=Sa(a,"Keyboard");this.gh=c.ba.Yc/1193181;fb(b,this,zh);hb(b,this,Ah);this.Ia=wh){this.lb=16;this.gd=0;this.fd=16;this.qg=0;this.de=160;512<=Jh(this)&&(this.de|=16);3==Kh(this)&&(this.de|=64);this.Ch=3;this.tg=0;this.Xb=Array(7);this.Le=0;a&&(this.ja=Array(64));Lh(this, +this.Bo);for(a=21;24>=a;a++)this.ja[a]=0;for(a=14;46>a;a++)void 0===this.ja[a]&&(this.ja[a]=0);this.ja[20]=this.Sc&(uh.jf|2|vh.vh|vh.jf);this.ja[16]=Mh(this,0)<<4|Mh(this,1);Nh(this)}}; +function Lh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ic("CMOS date invalid ("+b+"), using "+c)):b&&a.ic("CMOS date: "+c);a.ja[0]=c.getSeconds();a.ja[1]=0;a.ja[2]=c.getMinutes();a.ja[3]=0;a.ja[4]=c.getHours();a.ja[5]=0;a.ja[6]=c.getDay()+1;a.ja[7]=c.getDate();a.ja[8]=c.getMonth()+1;c=c.getFullYear();a.ja[9]=c%100;c/=100;a.ja[50]=c%10|c/10<<4;a.ja[10]=38;a.ja[11]=2;a.ja[12]=0;a.ja[13]=128;a.Uf=a.df=0;a.ol=a.eh=null} +function Oh(a){var b;void 0===b&&(b=a.eh);a.df=C(a.ka,a.Id)+b;a.ja[11]&64&&ub(a.ka,b)}function Nh(a){for(var b=0,c=16;46>c;c++)b+=a.ja[c];a.ja[47]=b&255;a.ja[46]=b>>8} +k.save=function(){var a=new H(this);a.set(0,[this.Vb,this.Yd,this.Sc,this.Be]);for(var b=[],c=0;c=wh&&(a.set(5,[this.lb,this.gd,this.fd,this.qg,this.de,this.Ch]),a.set(6,[this.tg,this.Xb,this.Le,this.ja,this.Uf,this.df]));return a.data()}; +k.restore=function(a){var b,c;b=a[0];this.Vb=b[0];this.Yd=b[1];this.Sc=b[2];this.Be=b[3];b=a[1];for(c=0;c>2)+1)*a.kn+32*((b?a.Yd:a.Be)&15)}function Vh(a,b){var c=b?a.Vb:a.Sc;return a.Ia!=rh||c&vh.vh?((c&vh.jf)>>vh.kf)+1:0} +function Mh(a,b){if(b>uh.kf} +function yh(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
    '+g+"
    \n"}c.innerHTML=f;b=y(c,"pcjs-bitCell");c=null;for(g=0;gd.Za[0]&&(d.Za[0]=255,d.Za[1]--,0>d.Za[1]&&(d.Za[1]=255)));return e}function $h(a,b,c,d){a=a.bb[b];c=a.Ab[c];c.Za[a.Cb]=c.Zb[a.Cb]=d;a.Cb^=1} +function ai(a,b){var c=a.bb[b],d=c.Bd|1;c.Bd&=-16;return d}function bi(a,b,c){a=a.bb[b];b=c&3;a.Bd=a.Bd&~(16<>2].Ab[b&3],c,d,e)} +function di(a,b,c){b=a.bb[b>>2].Ab[b&3];b.Eg&&b.bi&&b.hh?(c&&(b.Fg=c),b.qd||ad(a,b,!0)):c&&c(!0)}function ad(a,b,c){c&&(b.count=b.Za[1]<<8|b.Za[0],b.Gl=b.mode&12,b.ak=b.Vc=!1);for(var d=!1;0<=b.count&&(c=b.xg<<16|b.Ya[1]<<8|b.Ya[0],4==b.Gl?(d=!0,function(c){b.bi.call(b.Eg,b.hh,-1,function(f,g){0>f&&(b.ak||(b.ak=!0),f=255);b.qd||a.ra.ze(c,f);(d=g)&&setTimeout(function(){ii(b)||ad(a,b)},0)})}(c)):8==b.Gl?(c=a.ra.od(c),0>b.bi.call(b.Eg,b.hh,c)&&(b.Vc=!0)):b.Vc=!0),!d&&!ii(b););} +function ii(a){if(!a.Vc&&0<=--a.count&&(a.mode&32?(a.Ya[0]--,0>a.Ya[0]&&(a.Ya[0]=255,a.Ya[1]--,0>a.Ya[1]&&(a.Ya[1]=255))):(a.Ya[0]++,255>3];b=1<<(b&7);d.Ob&b||(d.Ob|=b,d.Kf=c||0,li(a))}function oi(a,b){var c=a.Wb[b>>3],d=1<<(b&7);c.Ob&d&&(c.Ob&=~d,li(a))} +function li(a,b){var c,d=-1;1>=1),ub(a.ka,c))),2==b&&xb(a))}k=O.prototype;k.dn=function(){return null}; +k.qo=function(a,b){this.Hh=b;var c=(b&192)>>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var g=this.Mb[c];g.oh=f;g.mode=e;g.Jj=d;g.Zb=[0,0];g.Za=[0,0];g.le=[0,0];g.Wc=!1;g.Bf=!1;g.pe=!1;ui(this,c);0==c&&oi(this,0);2==c&&255==this.Wb[0].Tc&&77==this.uc&&(c=this.Mb[0],c.wc[0]=c.Zb[0],c.wc[1]=c.Zb[1],c.rd=C(this.ka,this.Id))}else vi(this,c),d=this.Mb[c],d.le[0]=d.Za[0],d.le[1]=d.Za[1],d.Bf=!0,ui(this,c)}};function xi(a,b){var c=a.Mb[b],d=c.Zb[1]<<8|c.Zb[0];d||(d=1==c.ke?256:65536);return d} +function Ab(a,b){var c=a.Mb[b],d=c.wc[1]<<8|c.wc[0];d||(d=1==c.ke?256:65536);return d}function ui(a,b){var c=a.Mb[b];c.Ed=32==c.oh?1:0;c.ke=48==c.oh?2:1} +function vi(a,b,c){var d=a.Mb[b];if(d.pe&&(2!=b||a.uc&1)){var e=C(a.ka,a.Id),f=(e-d.rd)/a.gh|0;0>f&&(d.rd=e,f=0);var g=xi(a,b),h=Ab(a,b)-f;0==d.mode?(0>=h&&(h=0),h||(d.Wc=!0,d.pe=!1,b||ni(a,0))):4==d.mode?(d.Wc=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.rd=e,!b&&d.Wc&&ni(a,0))):6==d.mode&&(h-=f,0>=h&&(d.Wc=!d.Wc,h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.rd=e,!b&&d.Wc&&ni(a,0)));d.Za[0]=h&255;d.Za[1]=h>>8;c&&(a.rd=0)}return d} +function yb(a,b){for(var c=0;c=wh){var c=a.ka.ba.Yc,d=C(a.ka,a.Id);null==a.eh&&(a.Uf=C(a.ka,a.Id),a.ol=1024,a.eh=Math.floor(a.ka.ba.Yc/a.ol),Oh(a));d>=a.df&&(a.ja[12]|=64,a.ja[11]&64&&(a.ja[12]|=128,ni(a,8)),a.df=d+a.eh);a.ja[0]==a.ja[1]&&a.ja[2]==a.ja[3]&&a.ja[4]==a.ja[5]&&(a.ja[12]|=32,a.ja[11]&32&&(a.ja[12]|=128,ni(a,8)));var e=d-a.Uf,f=Math.floor(e/c);if(f&&!(a.ja[11]&128)){for(;f--;)if(60<=++a.ja[0]&&(a.ja[0]=0,60<=++a.ja[2]&&(a.ja[2]=0,24<=++a.ja[4]))){a.ja[4]= +0;a.ja[6]=a.ja[6]%7+1;var g;g=a.ja[9];var h=ka[a.ja[8]-1];28==h&&0===g%4&&(g%100||0===g%400)&&h++;g=h;++a.ja[7]>g&&(a.ja[7]=1,12<++a.ja[8]&&(a.ja[8]=1,a.ja[9]=(a.ja[9]+1)%100))}a.ja[12]|=16;a.ja[11]&16&&(a.ja[12]|=128,ni(a,8))}a.Uf=d-e%c}}k.Wm=function(){var a=this.wg;if(this.rf&16)if(this.uc&128)a=this.Sc;else if(this.Ha){var a=this.Ha,b=0;a.Nb.length&&(b=a.Nb[0]);a=b}return a};k.jo=function(a,b){this.wg=b};k.Xm=function(){return this.uc}; +k.ko=function(a,b){yi(this,b);this.Ha&&zi(this.Ha,b&128?!1:!0,b&64?!0:!1)};function yi(a,b){var c=!!(b&2),d=!!(a.uc&2);a.uc=b;c!=d&&xb(a,c)}k.Ym=function(){var a=0,a=this.Ia==rh?this.uc&4?a|this.Be&15:a|this.Be>>4&1:this.uc&8?a|this.Sc>>4:a|this.Sc&15;this.uc&1&&vi(this,2).Wc&&(a=this.uc&2?a|32:a|16);return a};k.lo=function(a,b){this.Fh=b};k.Zm=function(){return this.rf};k.mo=function(a,b){this.rf=b};k.mm=function(){var a=this.qg;this.lb&=-258;this.Ha&&Ai(this.Ha);return a}; +k.zn=function(a,b){if(this.lb&8)switch(this.gd){case 96:Bi(this,b);break;case 209:Ci(this,b);break;default:if(Bi(this,this.fd&-17),this.Ha){var c=-1;switch(b){case 255:c=250,Di(this.Ha)}Ei(this,c)}}this.gd=b;this.lb&=-9};k.nm=function(){return this.uc&-209|(C(this.ka)&64?16:0)};k.An=function(a,b){yi(this,b)};k.om=function(){var a=this.lb&255;this.lb&256&&(this.lb|=1,this.lb&=-257);return a}; +k.yn=function(a,b){this.gd=b;this.lb|=8;var c=0;240<=this.gd&&(c=this.gd^15,this.gd=240);switch(this.gd){case 192:Ei(this,this.de);break;case 173:Bi(this,this.fd|16);break;case 174:Bi(this,this.fd&-17);this.Ha&&Ai(this.Ha);break;case 170:this.Ha&&(this.Ha.Nb=[]);Bi(this,this.fd|16);Ei(this,85);Ci(this,3);break;case 224:Ei(this,this.fd&16?0:1);break;case 240:c&1&&yc(this.ka)}};function Bi(a,b){a.fd=b;a.lb=a.lb&-5|b&4;a.Ha&&zi(a.Ha,!!(b&8),!(b&16))} +function Ei(a,b){0<=b&&(a.qg=b,a.lb&=-2,a.lb|=256)}function Ci(a,b){a.Ch=b;Ya(a.ra,!!(b&2));b&1||yc(a.ka)}function Fi(a,b){a.Ia=c)if(d=this.ja[c],10>c){var e=!1;4!=c&&5!=c||this.ja[11]&2||(d=12>d?d?d:12:(d-=12)?d+128:140,e=!0);this.ja[11]&4||(e&&128=c){if(e=b,10>c){var f=!1;this.ja[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&23=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;this.ja[c]=e;11==c&&d&64&&b&64&&Oh(this)};k.Um=function(){return this.tg};k.fo=function(a,b){this.tg=b};k.io=function(a,b){this.vg=b};k.Qn=function(){};k.Rn=function(){}; +function sh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.Bb[c++]=f[b]>>16&255,this.Bb[c++]=f[b]>>24&255;else this.Bb=d;this.Ah=d.symbols;if(!this.Bb.length){q("Empty ROM: "+a);return}if(1==this.Bb.length){q(this.Bb[0]);return}}catch(g){this.Aa("ROM data error: "+ +g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.Bb=Array(a.length),d=0;d>d.yb].rj(e&d.Sa,a.Bb[c]&255)}return!0}return!1}za(function(){for(var a=y(window.document,"pcjs","rom"),b=0;bthis.pg?21:23,c=a.ja[b]|a.ja[b+1]<<8,c=c+(this.td>>10);a.ja[b]=c&255;a.ja[b+1]=c>>8;Nh(a)}}else q("No RAM allocated")}; +za(function(){for(var a=y(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Go:65,Ho:66,vj:67,Il:68,E:69,Oo:70,Ro:71,wj:72,To:73,Uo:74,Vo:75,Wo:76,Xo:77,wh:78,Zo:79,$o:80,bp:81,yj:82,fp:83,pp:84,tp:85,up:86,vp:87,xp:88,yp:89,zp:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Ap:97,Cp:98,Ep:99,Fp:100,Gp:101,Hp:102,Ip:103,Jp:104,Kp:105,Lp:106,Mp:107, +Np:108,Op:109,Pp:110,Rp:111,Sp:112,Tp:113,Up:114,Vp:115,Wp:116,Xp:117,Zp:118,$p:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},Ni={};Ni[186]=P[";"];Ni[187]=P["="];Ni[188]=P[","];Ni[189]=P["-"];Ni[190]=P["."];Ni[191]=P["/"];Ni[192]=P["`"];Ni[219]=P["["];Ni[220]=P["\\"];Ni[221]=P["]"];Ni[222]=P["'"];Ni[173]=P["-"];var S={};S[P["1"]]=P["!"];S[P["2"]]=P["@"];S[P["3"]]=P["#"];S[P["4"]]=P.$;S[P["5"]]=P["%"];S[P["6"]]=P["^"];S[P["7"]]=P["&"];S[P["8"]]=P["*"];S[P["9"]]=P["("];S[P["0"]]=P[")"]; +S[186]=P[":"];S[187]=P["+"];S[188]=P["<"];S[189]=P._;S[190]=P[">"];S[191]=P["?"];S[192]=P["~"];S[219]=P["{"];S[220]=P["|"];S[221]=P["}"];S[222]=P['"'];S[173]=P._;S[61]=P["+"];S[59]=P[":"]; +var Oi={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},Pi={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},Qi={esc:1027,1:P["1"],2:P["2"],3:P["3"],4:P["4"],5:P["5"],6:P["6"],7:P["7"],8:P["8"],9:P["9"],0:P["0"],"-":P["-"],"=":P["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":P["["],"]":P["]"],enter:13, +ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":P[";"],quote:P["'"],"`":P["`"],shift:1016,"\\":P["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":P[","],".":P["."],"/":P["/"],"right-shift":3016,prtsc:1044,alt:1018,space:P[" "],"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101,"num-right":1039,"num-add":1107,"num-end":1035, +"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},Ri={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},T={1027:1};T[P["1"]]=2;T[P["!"]]=10754;T[P["2"]]=3;T[P["@"]]=10755;T[P["3"]]=4;T[P["#"]]=10756;T[P["4"]]=5;T[P.$]=10757;T[P["5"]]=6;T[P["%"]]=10758;T[P["6"]]=7;T[P["^"]]=10759;T[P["7"]]=8;T[P["&"]]=10760;T[P["8"]]=9;T[P["*"]]=10761;T[P["9"]]=10;T[P["("]]=10762;T[P["0"]]=11;T[P[")"]]=10763;T[P["-"]]=12;T[P._]=10764;T[P["="]]=13;T[P["+"]]=10765;T[1008]=14;T[1009]=15;T[113]=16; +T[81]=10768;T[119]=17;T[87]=10769;T[101]=18;T[69]=10770;T[114]=19;T[82]=10771;T[116]=20;T[84]=10772;T[121]=21;T[89]=10773;T[117]=22;T[85]=10774;T[105]=23;T[73]=10775;T[111]=24;T[79]=10776;T[112]=25;T[80]=10777;T[P["["]]=26;T[P["{"]]=10778;T[P["]"]]=27;T[P["}"]]=10779;T[13]=28;T[1017]=29;T[97]=30;T[65]=10782;T[115]=31;T[83]=10783;T[100]=32;T[68]=10784;T[102]=33;T[70]=10785;T[103]=34;T[71]=10786;T[104]=35;T[72]=10787;T[106]=36;T[74]=10788;T[107]=37;T[75]=10789;T[108]=38;T[76]=10790;T[P[";"]]=39; +T[P[":"]]=10791;T[P["'"]]=40;T[P['"']]=10792;T[P["`"]]=41;T[P["~"]]=10793;T[1016]=42;T[P["\\"]]=43;T[P["|"]]=10795;T[122]=44;T[90]=10796;T[120]=45;T[88]=10797;T[99]=46;T[67]=10798;T[118]=47;T[86]=10799;T[98]=48;T[66]=10800;T[110]=49;T[78]=10801;T[109]=50;T[77]=10802;T[P[","]]=51;T[P["<"]]=10803;T[P["."]]=52;T[P[">"]]=10804;T[P["/"]]=53;T[P["?"]]=10805;T[3016]=54;T[1044]=55;T[1018]=56;T[P[" "]]=57;T[1020]=58;T[1112]=59;T[1113]=60;T[1114]=61;T[1115]=62;T[1116]=63;T[1117]=64;T[1118]=65;T[1119]=66; +T[1120]=67;T[1121]=68;T[1144]=69;T[1145]=70;T[1036]=71;T[1038]=72;T[1033]=73;T[1109]=74;T[1037]=75;T[1101]=76;T[1039]=77;T[1107]=78;T[1035]=79;T[1040]=80;T[1034]=81;T[1045]=82;T[1046]=83;T[1122]=87;T[1123]=88;T[1091]=91;T[1093]=93;T[1224]=91;T[4003]=7470;T[4008]=7494;T[4046]=3677523;k=Mi.prototype; +k.Hb=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.sa[e])switch(b){case "kbd":return this.sa[e]=c,c.onkeydown=function(a){return Si(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=d.Ib.length?d.Ib[0].Xd:0;b&&(65<=b&&90>=b||97<=b&&122>=b)&&(65<=a&&90>=a||97<=a&&122>=a)&&b!=a&&(d.Yh=!0,a=b);(b=!T[a]||!!(d.ub&128))||Ti(d,a,!0);return b},c.onkeyup=function(a){return Si(d,a,!1)},!0;case "caps-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1020, +!0)},!0;case "num-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1144,!0)},!0;case "scroll-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.cd();Ti(d,1145,!0)},!0;default:var f=b.toUpperCase().replace(/-/g,"_");if(void 0!==Pi[f]&&"button"==a)return this.sa[e]=c,c.onclick=function(a,b,c){return function(){a.ka&&a.ka.cd();Ui(a,c,!0);Ti(a,c,!0)}}(this,f,Pi[f]),!0;if(void 0!==Qi[b])return this.Lj++,this.sa[e]=c,a=function(a,b,c){return function(){Ti(a,c)}}(this,b,Qi[b]), +b=function(a,b,c){return function(){Vi(a,c)}}(this,b,Qi[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup=c.onmouseout=b),!0}return!1};function Wi(a,b,c){if(a.Lj){for(var d in S)if(b==S[d]){b=parseInt(d,10);(d=Ni[d])&&(b=d);break}for(var e in Qi)if((d=Qi[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Qi[e]==d),d){(a=a.sa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}} +k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet")};function Di(a,b){a.hc("keyboard reset",32896);a.Nb=[170];b&&a.la&&Fi(a.la,a.Nb[0])}function zi(a,b,c){a.Uh!==c&&(a.Uh=a.Xh=c);a.Kg!==b&&(a.Kg=b)&&!a.Xh&&Gi(a,!0);a.Kg&&a.Xh&&(Di(a,!0),a.Xh=!1)}function Ai(a){var b=0;a.Nb.length&&(b=a.Nb[0],a.la&&Fi(a.la,b))}function Gi(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.Me:a.ub)&b):d||b&255&&(b=255);if(c){a.Me&=~b;d&&(a.Me|=b);c=b;var f,g;for(g in Ri)d="led-"+g,e=Ri[g],c&&c!=e||!(f=a.sa[d])||(f.style.backgroundColor=a.Me&e?"#00ff00":"#000000")}else a.ub&=~b,d&&(a.ub|=b);return!0}}return!1} +function Ti(a,b,c){if(T[b]&&a.ka&&a.ka.ma.Jb){Oi[b]&&a.Ib.length&&0e||(e==a.Ib.length&&(d={},d.Xd=b,d.ub=a.ub,Wi(a,b,!0),e++),0b.ad){if(!b.Af){Vi(a,b.Xd);return}b.Af=!1;c=a.nn}else c=1==b.ad++?a.on:a.pn;b.Dl=setTimeout(function(a){return function(){Xi(a,b)}}(a),c)}}else Vi(a,b.Xd,!0)}function Zi(a,b,c){var d=b;if(65<=b&&90>=b)!(a.ub&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.ub&515)==c&&(d=b-32);else if(!!(a.ub&3)==c){if(a=S[b])d=a}else if(a=Ni[b])d=a;return d}k.ih=function(a){this.Lg=a;a||(this.ub&=-256)}; +function Si(a,b,c){var d=!0,e=!1,f=!1,g=b.keyCode,h=Zi(a,g,!0);a.Tj&&h==P["`"]&&(g=h=27);if(T[g+1E3])if(h+=1E3,2==b.location&&(h+=2E3),Ui(a,h,!1,c)){if(20==g||144==g||145==g)a.dm||(c=e=!0);if(!(c||91!=g&&93!=g))for(var m=0;m=b||97<=b&&122>=b;d>>>=8;){var g=0,h=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==h?a.ub&3||a.ub&512&&b||(g=h):29==h?a.ub&12||(g=h):56==h?a.ub&48||(g=h):e.push(f|(c?0:128)),g&&(c?e.unshift(g):e.push(g|128)))}for(c=0;cd.Nb.length?(d.Nb.push(f),1==d.Nb.length&&d.la&&Fi(d.la,f)):(20==d.Nb.length&&d.Nb.push(255),d.hc("scan code buffer overflow")))}} +za(function(){for(var a=y(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(kj)];this.Sg=b;this.Xa=e[2];this.Lb=e[3];this.Nc=d||e[4];65536<=this.Nc&&720896<=this.Xa&&(this.Lb=Math.min(this.Nc>>2,32768));this.Pc=c[0];this.yc=c[1];this.uf=c[2];this.dg=c[3];this.Fc=c[4]&255;this.Rg=c[4]>>8&255;this.mc=c[5];this.ji=kj;if(5==b){this.ji=lj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.Xa,this.Lb,this.Nc],Array(this.Nc>> +2),771,0,4294967295,0,4294967295,0,4294967295,0,0,0]);this.Hd=b[0];this.re=b[1];this.$d=b[2];this.qj=b[3];this.Vg=b[4];this.$h=b[5];this.Ye=b[6];this.mg=b[7];this.ci=b[8];this.di=b[9];this.Xe=b[10];this.Ge=b[11];this.Db=b[12];d=b[13];"number"==typeof d&&(d=[this.Xa,this.Lb,d]);this.Xa=d[0];this.Lb=d[1];d=this.Nc>>2;if((this.ce=b[14])&&this.ce.length>8&255)} +var Y=[,,function(a){a+=this.offset;return(this.ea.Db=this.qa[a])>>this.ea.dj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];Y[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ea.li&this.ea.mi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ea.hb|(b|b<<8|b<<16|b<<24)&this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d&=this.ea.Db;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d|=this.ea.Db;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Zc|b<<8-this.ea.Zc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Sd|this.ea.ue;d^=this.ea.Db;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.hb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[d]!=c&&(this.qa[d]=c,this.mb=!0)}; +Y[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ea.hb|this.ea.Db&this.ea.hb;this.qa[a]!=b&&(this.qa[a]=b,this.mb=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d&this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +Y[40960]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d|this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=hj[b&15],d=d^this.ea.Db,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.ob|this.ea.Db&~this.ea.ob;this.qa[c]!=d&&(this.qa[c]=d,this.mb=!0)}; +function oj(a){var b=[];if(void 0!==a.Sg){b[0]=a.Pc;b[1]=a.yc;b[2]=a.uf;b[3]=a.dg;b[4]=a.Fc|a.Rg<<8;b[5]=a.mc;if(5==a.Sg){var c=[];c[0]=a.Hd;c[1]=a.re;c[2]=a.$d;c[3]=a.qj;c[4]=a.Vg;c[5]=a.$h;c[6]=a.Ye;c[7]=a.mg;c[8]=a.ci;c[9]=a.di;c[10]=a.Xe;c[11]=a.Ge;c[12]=a.Db;c[13]=[a.Xa,a.Lb,a.Nc];var d;a:if(d=a.ce){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.length>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),db(this.ra,b,c|d<<8);ob(this,!0)}};function vj(a){a.oa.Vg&1?(a.Mc=a.Ih,a.ec=a.oa):(a.Mc=a.oa,a.ec=a.Dg)}k.save=function(){var a=new H(this);a.set(0,oj(this.Ih));a.set(1,oj(this.Dg));a.set(2,[this.Pd,this.$c,this.Od]);a.set(3,oj(this.oa));return a.data()}; +k.restore=function(a){var b=a[2];this.Pd=b[0];this.$c=b[1];this.Od=b[2];this.Fa=null;this.Mc=this.Ih=new ij(this,1,a[0]);this.ec=this.Dg=new ij(this,3,a[1]);this.oa=new ij(this,5,a[3],this.Nc);this.oa.Pc&&vj(this);wj(this);if(!yj(this))return!1;zj(this);return!0}; +k.vn=function(a,b,c){if(c)this.Aa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){q("Empty font ROM image: "+a);return}if(1==d.length){q(d[0]);return}if(8192==d.length)Ki(this,d,[0,6144]);else{this.Aa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Aa("Font ROM data error: "+e.message);return}z(this)}}; +function Aj(a,b){if(1==b)return a.ed[0]=W[0],a.ed[1]=W[7],a.ed;if(2==b){var c=a.Fa.uf;if(a.Fa===a.oa){var d=a.oa.$d[0],c=d&7;d&16&&(c|=8);18!=a.oa.$d[1]&&(c|=32)}a.ed[0]=W[c&15];c=c&32?fj:ej;for(d=0;dxa||!L?xa:8,yd=qi.createImageData(n.nc,n.oc),ya=0;256>ya;ya++){for(Xa= +0;Xa=xa-2,Ek=Wa[Xa>(8<=zb&&176<=ya&&223>=ya?7:zb)?t:Qb;Dj(yd,ri,si,ti);D&&Dj(yd,ri+1,si,ti)}qi.putImageData(yd,(ya&15)*n.nc,(ya>>4)*n.oc)}n.Fe[w]="#"+ca(t[0])+ca(t[1])+ca(t[2]);n.Bj[w]=t;n.xh[w]=Bc;n=!0}}a.wd[b]=s;return n}function Ej(a){0a.ie&&(a.ie=0):a.ie=-1} +function zj(a){if(a.Rb){for(var b=10;15>=b;b++)if(null==a.Fa.mc[b])return;var c=a.Fa.mc[10],b=c&31,d=a.Fa.mc[11]&31,e=a.Fa.mc[9]&31,f=!1;a.Fa===a.oa&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Fj(a);else{c=a.Fa.mc[15]+((a.Fa.mc[14]&63)<<8);a.Gc!=c&&(Fj(a),a.Gc=c);d=d-b+1;if(a.Hl!=b||a.Oj!=d)a.Hl=b,a.Oj=d;a.Fd=e+1;Ej(a)}}} +function Fj(a){if(0<=a.Gc){if(void 0!==a.dc){var b=a.dc[a.Gc];if(b&131072){var b=b&-131073,c=a.Gc%a.Eb,d=Math.floor(a.Gc/a.Eb);a.Rb&&a.wd[a.Rb]&&(a.Pe&&Gj(a,c,d,b,a.Pe),Gj(a,c,d,b));a.dc[a.Gc]=b}}a.Gc=-1}} +function Hj(a){var b;a=a.Fa;var c=a.Ge[5];if(null!=c){b=2;var d=512,e=a.Ge[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Zc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.ye=function(a){var b=this.Fa;null!=a&&b&&a!=b.ii&&(b.rh(a),this.ra.rh(b.Xa,b.Lb,b.of))}; +function yj(a,b){var c,d=a.Od,e=a.Fa;if(e)if(1==e.Sg)d=$i;else if(5==e.Sg){var d=null,f=e.Nc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Hj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||(d-=1)):(d=e.yc&1?3:1,e.yc&4&&(d-= +1)));else a.Od=null,null==d&&(d=a.$c);if(!xj(a,d,b))return!1;a.ye(c);return!0} +function xj(a,b,c){if(null!=b&&(b!=a.Od||c)){a.Pl=0;a.Od=b;b=a.Fa||(b==$i?a.Mc:a.ec);if(b!=a.Fa||b.Xa!=a.Xa||b.Lb!=a.Lb){Fj(a);if(a.Xa){if(!ab(a.ra,a.Xa,a.Lb))return!1;a.Fa&&(a.Fa.Pc=!1)}a.Fa=b;b.Pc=!0;a.Xa=b.Xa;a.Lb=b.Lb;if(!Za(a.ra,b.Xa,b.Lb,!1,b===a.oa?b:null))return!1}a.Rb=0;a.Eb=a.$g;a.rc=a.qi;a.ki=V[$i][2];b=0;var d=V[a.Od];d&&(a.Eb=d[0],a.rc=d[1],a.ki=d[2],b=d[3]||0,a.Rb=d[4],4==a.Pd&&a.Fa===a.oa&&3==a.Rb&&(7==a.oa.mc[9]?a.rc=43:a.Rb=5));a.kk=a.Eb*a.rc;a.Xg=a.kk/a.ki;a.Jh=(a.Xg<<1)+b;a.Mj= +b?a.Jh+b>>1:0;13<=a.Od&&(a.Xg<<=1);a.wd.length&&(a.ld=Math.floor(a.kd/a.Eb),a.md=Math.floor(a.Gd/a.rc),a.Rb?(b=a.wd[a.Rb],d=a.wd[a.Rb<<1],a.em&&80==a.Eb?d&&a.ld>=3*d.nc>>2&&(a.Rb<<=1,b=d):(d&&a.ld>=d.nc&&(a.Rb<<=1,b=d),b&&(a.ld=b.nc,a.md=b.oc)),a.wf=a.xf=0,b&&(a.wf=a.Eb*b.nc,a.xf=a.rc*b.oc)):(a.ld=a.md=1,a.wf=a.Eb,a.xf=a.rc),a.Tg=a.Oc.createImageData(a.wf,a.xf),a.Ne=window.document.createElement("canvas"),a.Ne.width=a.wf,a.Ne.height=a.xf,a.Pe=a.Ne.getContext("2d"),a.tj=a.uj=0,a.Mh=a.kd,a.Nh=a.Gd, +b=a.kd-a.Eb*a.ld,d=a.Gd-a.rc*a.md,0>1,a.Mh-=b),0>1,a.Nh-=d),b||d)&&(a.Oc.fillStyle=a.tf.style.backgroundColor,a.Oc.fillRect(0,0,a.kd,a.Gd));!1!==c?ob(a,!0):Ij(a,!0)}return!0}function Dj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Ij(a,b){var c;if(b){if(c=a.Xg,void 0===a.dc||a.dc.length!=c)a.dc=Array(c)}else{if(void 0===a.dc)return;c=a.dc.length}for(var d=0;d>8;d=g&15;var h=a.wd[a.Rb];h.lf&&(d=h.lf[d]);var m=g>>4&15;h.lf&&(m=h.lf[m]);e?(b*=h.nc,c*=h.oc,e.fillStyle=h.Fe[m],e.fillRect(b,c,h.nc,h.oc)):(b=b*a.ld+a.tj,c=c*a.md+a.uj,a.Oc.fillStyle=h.Fe[m],a.Oc.fillRect(b,c,a.ld,a.md));g&256&&(m=(f&15)*h.nc,f=(f>>4)*h.oc,e?e.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,h.nc,h.oc):a.Oc.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,a.ld,a.md));g&512&&(f=a.Hl,g=a.Oj,e?(a.Fd&&a.Fd!==h.oc&&(f=Math.floor(f*h.oc/a.Fd),g=Math.floor(g*h.oc/a.Fd)), +e.fillStyle=h.Fe[d],e.fillRect(b,c+f,h.nc,g)):(a.Fd&&a.Fd!==a.md&&(f=Math.floor(f*a.md/a.Fd),g=Math.floor(g*a.md/a.Fd)),a.Oc.fillStyle=h.Fe[d],a.Oc.fillRect(b,c+f,a.ld,g)))} +function ob(a,b){if(a.ma.Qb){var c=!1;a.Fa&&(a.Fa===a.oa?a.oa.re&32&&(c=!0):a.Fa.yc&8&&(c=!0));if(c||b){if(b)Ij(a,!0);else if(void 0===a.dc)return;var d=!1;!(b||++a.Pl&15)&&0<=a.ie&&(a.ie++,d=!0);var e=0,f=a.kk,c=a.Fa.Xa,g=c+a.Fa.Lb,h=(a.Fa.mc[12]<<8)+a.Fa.mc[13];a.Rb&&(h<<=1);var c=c+h,m=a.Jh;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.ra,n=!0,r=c>>h.yb;0a.Gc)return;e=a.Gc;f= +e+1}}if(a.Rb){if(a.wd[a.Rb]){d=0;h=a.he=0;m=1048575;a.Fa.yc&32&&(h=32768,m&=~h,a.ie&2||(m&=-65537));for(c+=e<<1;c>8|(s&255)<<8;t=h;var xa=16;r>=m))>>(xa-=m);Dj(a.Tg,r++,w,n[Qb])}r>Q&&(Q=r);w=R&&(R=w+1)}e+=2;g++;if(r>=a.Eb){r=0;w+=2;if(w>a.rc)break;w==a.rc&&(w=1,e=c+a.Mj)}}DL;L++)R= +Q&2155905152,0>R&&(R+=4294967296),R=X[R]||0,Dj(a.Tg,h++,m,g[R]),Q<<=1;h>r&&(r=h);m=D&&(D=m+1)}e++;if(h>=a.Eb&&(h=0,++m>a.rc))break}n>2),a=this.oa.qj&-17|(this.rg&1<e&&(e=0);e%b.ni>b.rn&&(c|=1);e%=b.nk;e>b.tn&&(c|=8);b.ui=d-e;b===a.oa?(c|=b.dg&48^48,b.Hd=!1):c=(b.dg^=9)|240;return b.dg=c} +var pj={948:U.prototype.Rm,949:U.prototype.Qm,952:U.prototype.Sm,954:U.prototype.Tm,980:U.prototype.zm,981:U.prototype.ym,984:U.prototype.Am,985:U.prototype.xm,986:U.prototype.Bm},qj={948:U.prototype.co,949:U.prototype.bo,952:U.prototype.eo,980:U.prototype.Mn,981:U.prototype.Ln,984:U.prototype.Nn,985:U.prototype.Kn},rj={960:U.prototype.gk,961:U.prototype.gk,962:U.prototype.cn,964:U.prototype.bn,965:U.prototype.an,970:U.prototype.Km,972:U.prototype.Jm,974:U.prototype.Im,975:U.prototype.Hm},sj={954:U.prototype.ql, +960:U.prototype.pl,961:U.prototype.pl,962:U.prototype.ho,964:U.prototype.oo,965:U.prototype.no,970:U.prototype.Yn,972:U.prototype.Xn,974:U.prototype.Wn,975:U.prototype.Vn,986:U.prototype.ql}; +za(function(){for(var a=y(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth* +d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=window.document.createElement("textarea");f.setAttribute("style","position:absolute; left:0; top:0; width:100%; height:100%; opacity:0; border:0; padding:0; line-height:0;");sa("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.style.clear="both";c.style.position="relative";c.appendChild(f); +var g=e.getContext("2d"),d=new U(d,e,g,f);Na(d,c)}});function Z(a){this.ck=a.adapter;switch(this.ck){case 1:this.ij=1016;this.Nf=4;break;case 2:this.ij=760;this.Nf=3;break;default:q("Unrecognized serial adapter #"+this.ck);return}this.Dd=null;u.call(this,"SerialPort",a,Z);var b=a.binding,c;a=Mj;b&&(void 0===c&&(c="Panel"),(c=Ma(c,this.id))&&(b=c.sa[b])&&this.Hb(null,a,b))}v(u,Z);var Mj="buffer";k=Z.prototype;k.Dj=function(a,b){return a==this.fi?(this.Md=b,this):null}; +k.Hb=function(a,b,c){var d=this;switch(b){case Mj:return this.sa[b]=this.Dd=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Nj(d,[b]))},c.onkeypress=function(a){a=a||window.event;Nj(d,[a.which||a.keyCode])},!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet");fb(b,this,Oj,this.ij);hb(b,this,Pj,this.ij);z(this)};k.ac=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0}; +k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Kd()};k.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.Gh;c[b++]=this.Ij;c[b++]=this.Ce;c[b++]=this.sg;c[b++]=this.zd;c[b++]=this.fe;c[b++]=this.Uc;c[b++]=this.Bc;c[b++]=this.Gj;c[b]=this.mf;a.set(0,c);return a.data()};k.restore=function(a){return this.Kd(a[0])}; +k.Kd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Gh=a[b++];this.Ij=a[b++];this.Ce=a[b++];this.sg=a[b++];this.zd=a[b++];this.fe=a[b++];this.Uc=a[b++];this.Bc=a[b++];this.Gj=a[b++];this.mf=a[b];return!0};function Nj(a,b){a.mf=a.mf.concat(b);Qj(a)}function Qj(a){0>8:this.sg};k.Mm=function(){return this.zd};k.Nm=function(){return this.fe};k.Pm=function(){return this.Uc};k.Om=function(){return this.Bc};k.Vm=function(){return this.Gj}; +k.po=function(a,b){if(this.fe&128)this.Ce=this.Ce&-256|b;else{this.Ij=b;this.Bc&=-97;var c;this.Dd?(13!=b&&(8==b?this.Dd.value=this.Dd.value.slice(0,-1):(this.Dd.value+=String.fromCharCode(b),this.Dd.scrollTop=this.Dd.scrollHeight)),c=!0):c=!1;c&&(this.Bc|=96)}};k.Zn=function(a,b){this.fe&128?this.Ce=this.Ce&255|b<<8:this.sg=b};k.$n=function(a,b){this.fe=b}; +k.ao=function(a,b){var c=this.Uc;this.Uc=b;if(this.Md&&(c^b)&3){var c=this.Md,d=this.Uc,e=3==(d&3);if(e){if(!c.Pc){var f=!1;c.Uc&2||(c.reset(),c.hc("serial mouse reset"),f=!0);c.Uc&1||(c.hc("serial mouse ID requested"),f=!0);f&&(Nj(c.vf,[77,77]),c.hc("serial mouse ID sent"));Rj(c,c.Ga);c.setActive(e)}}else c.Pc&&(c.hc("serial mouse inactive"),Sj(c.Ga),c.setActive(e));c.Uc=d}}; +var Oj={0:Z.prototype.$m,1:Z.prototype.Lm,2:Z.prototype.Mm,3:Z.prototype.Nm,4:Z.prototype.Pm,5:Z.prototype.Om,6:Z.prototype.Vm},Pj={0:Z.prototype.po,1:Z.prototype.Zn,3:Z.prototype.$n,4:Z.prototype.ao};za(function(){for(var a=y(window.document,"pcjs","serial"),b=0;ba.eg||0>a.fg)a.eg=b.clientX,a.fg=b.clientY;a.Mg?(a.De=b.movementX||b.mozMovementX||b.webkitMovementX||0,a.Ee=b.movementY||b.mozMovementY||b.webkitMovementY||0):(a.De=b.clientX-a.eg,a.Ee=b.clientY-a.fg);(a.De||a.Ee)&&Uj(a);a.eg=b.clientX;a.fg=b.clientY}},!1),b.addEventListener("mousedown",function(b){Vj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){Vj(a,b.button,!1)},!1),a.Th=!0),b.style.cursor= +"none")}function Sj(a){a&&(a.style.cursor="auto")}function Vj(a,b,c){if(a.Pc&&a.ka&&a.ka.ma.Jb){var d;!(d=!1!==a.Mg)&&(d=a.uh)&&(d=a.uh,d=d.$l?d.Ze(!0):!1);d||(a.Mg=null);switch(b){case 0:a.Hg!=c&&(a.Hg=c,Uj(a));break;case 2:a.Ig!=c&&(a.Ig=c,Uj(a))}}}function Uj(a){Nj(a.vf,[64|(a.Hg?32:0)|(a.Ig?16:0)|(a.Ee&192)>>4|(a.De&192)>>6,a.De&63,a.Ee&63]);a.De=a.Ee=0}za(function(){for(var a=y(window.document,"pcjs","mouse"),b=0;b>2;var e=d=0,a=new DataView(a,0,c);g.cb=Array(g.qb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=ak(this,b),this.Ng=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c="dir"),f= +ma()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.Te?"":d)+"&format=json")),la(f,!0,null,this,this.Vl,b)}; +k.Vl=function(a,b,c,d){var e=null;this.Ue=!1;var f=0>c&&this.Ta&&!this.Ta.ma.Qb;if(this.Ng)c?this.ea.Aa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.nd=!0,e=this);else if(c)this.ea.Aa('Unable to load disk "'+this.bd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&& +'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)q(h[0]);else{this.qb=h.length;this.rb=h[0].length;this.wb=h[0][0].length;var m=h[0][0][0];this.gb=m&&m.length||512;for(b=a=0;b>2,r=m.pattern;void 0===r&&(r=m.pattern=0);var s=m.data;if(void 0===s){var t=m.bytes;if(void 0!==t&&t.length){for(var f= +n<<2,w=t.length;wb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function fk(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} +k.write=function(a,b,c){if(this.Ue)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.vc?f=a.Qc+a.vc&&(a.vc+=f-(a.Qc+a.vc)+1):(a.Qc=f,a.vc=1);d[f]=d[f]&~(255<=this.cb.length||m>=this.cb[h].length||n>=this.cb[h][m].length){c="sector (CHS="+h+":"+m+":"+n+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.Ue){c="unable to modify write-protected disk";b=-1;break}e=g[f++];f=g[f++];g=e+f.length;if(h=this.cb[h][m][n]){for(m=h.data.length;mb&&this.ea.Aa("unable to restore disk '"+this.bd+": "+c);return b}; +function gk(a){u.call(this,"FDC",a,gk);this.dmaRead=this.Oh;this.dmaWrite=this.Ph;this.dmaFormat=this.Sl;this.je=null;if(a.autoMount&&(this.je=a.autoMount,"string"==typeof this.je))try{this.je=eval("("+a.autoMount+")")}catch(b){q("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.je=null}this.sc=[];this.Vj=!sa("Mobi")&&window&&"FileReader"in window}v(u,gk);l={};aa={}; +var hk={3:{jd:3,Cd:0,name:aa.kp},4:{jd:2,Cd:1,name:aa.ip},5:{jd:9,Cd:7,name:aa.wp},6:{jd:9,Cd:7,name:aa.cp},7:{jd:2,Cd:0,name:aa.ep},8:{jd:1,Cd:2,name:aa.jp},10:{jd:2,Cd:7,name:aa.dp},13:{jd:6,Cd:7,name:aa.Po},15:{jd:3,Cd:0,name:aa.hp}};k=gk.prototype; +k.Hb=function(a,b,c){var d=this;switch(b){case "listDisks":return this.sa[b]=c,c.onchange=function(){var a=d.sa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var g={};if(b=b.getAttribute("data-value"))try{g=eval("({"+b+"})")}catch(h){q("FDC option error: "+h.message)}b=g.desc;void 0===b&&(b="");g=g.href;void 0!==g&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a;a=c.value;var b=10,g;if(a){b||(b=16); +if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var h=a.charAt(a.length-1).toLowerCase();"h"==h?(b=16,h=null):"."==h&&(b=10,h=null);null===h&&(a=a.substr(0,a.length-1))}var m,h=a;(b&&10!=b?16==b?null!==h.match(/^[0-9a-f]+$/i):1:null!==h.match(/^[0-9]+$/))&&!isNaN(m=parseInt(a,b))&&(g=m)}a=g;null!=a&&ik(d,a)},!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&jk(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.Vj? +(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;jk(d,ea(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.la=Sa(a,"ChipSet");this.pd();fb(b,this,kk);hb(b,this,lk);this.Vj&&mk(this,"Local Disk","?");mk(this,"Remote Disk","??");this.pf()||z(this)}; +k.ac=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Ta.Wh){this.sc=[];for(var c=0;ca.va.restore(g)&&(e=!1);e&&a.va&&void 0!==a.Ra&&(a.Na=a.va.seek(a.tb,a.Pa,a.eb));return e};k.oj=function(){for(var a=0,b=[],c=0;ca.qb||f[1]>a.rb)&&(this.Aa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.fb)),b=null);b?(a.va=b,a.xl=c,a.xe=d,qk(this,c,d,b),f=b.info(),this.Ud|=128,this.Aa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.fb),a.oe||e),a.ah=f[0],a.Lf=f[1],a.Mf=f[2]):a.Se=!1;a.oe&&(a.oe=!1,--this.ge||z(this));ik(this,a.fb)}; +function mk(a,b,c){if(a=a.sa.listDisks){for(var d=0;d=this.ib&&(this.xa&=-81,this.zb=this.ib=0);return a}; +k.Tn=function(a,b){this.ib=hk[c].jd){var d=!1;this.zb=0;var c=this.Ma(),e,f,g,h,m,n=c&31;switch(n){case 3:this.Ma(l.lp);this.Ma(l.So);this.Pb();break;case 4:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];this.Pb();this.bc((e.ab&4278190080)>>>24,l.op);break;case 5:case 6:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];e.Pa=d;f=e.tb=this.Ma(l.vj);g=this.Ma(l.wj);h=e.eb=this.Ma(l.yj);m=this.Ma(l.wh);e.pb=128<< +m;e.Ad=this.Ma(l.No);this.Ma(l.Jl);this.Ma(l.Mo);6==n?(n=e,n.ab=72,n.va&&(n.Na=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaRead",n),di(this.la,2)))):(n=e,n.ab=72,n.va&&(n.va.Ue?n.ab=576:(n.Na=null,n.ab=0,this.la&&(hi(this.la,2,this,"dmaWrite",n),di(this.la,2)))));rk(this,e,c,d,f,g,h,m);d=!0;break;case 7:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];e.tb=e.yd=0;e.ab=268435488;this.Pb();d=!0;break;case 8:e=this.Ca[this.fb];e.Pa=0;this.Pb();this.bc(e.fb|e.Pa<<2|e.ab&255,l.Ll);this.bc(e.tb,l.ap);this.fb= +this.fb+1&3;break;case 10:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;g=e.Pa=d;h=e.eb=1;m=0;e.ab=0;e.va&&(e.Na=e.va.seek(e.tb,e.Pa,e.eb))?m=e.Na.length:e.ab=72;rk(this,e,c,d,f,g,h,m);d=!0;break;case 13:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.tb;g=e.Pa=d;h=1;m=this.Ma(l.wh);e.pb=128<>2&1,f=this.Ma(l.Yo),e.tb+=f-e.yd,0>e.tb&&(e.tb=0),e.tb>=e.qb&&(e.tb=e.qb-1),e.yd=f,e.ab=32,e.tb||(e.ab|=268435456),this.Pb(),d=!0}0>>8,l.mp);a.bc((b.ab&16711680)>>>16,l.np);var m=0;if(e!=b.tb||f!=b.Pa)m=g=1;c&128&&(f^=m,d||(m=0));a.bc(e+m,l.vj);a.bc(f,l.wj);a.bc(g,l.yj);a.bc(h,l.wh)}k.Ma=function(){var a=this.cc[this.zb];this.zb++;return a};k.Pb=function(){this.zb=this.ib=0};k.bc=function(a){this.cc[this.ib++]=a};k.Oh=function(a,b,c){void 0===b||0>b?this.jc(a,c):c(-1,!1)};k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1}; +k.Sl=function(a,b){return void 0!==b&&0<=b?this.sj(a,b):-1};k.jc=function(a,b){var c=-1,d=null,e=0;if(!a.ab&&a.va){do{if(a.Na&&(e=a.Ra,0<=(c=fk(a.Na,a.Ra++)))){d=a.Na;break}a.Na=a.va.seek(a.tb,a.Pa,a.eb);if(!a.Na){a.ab=1088;break}a.Ra=0;this.nf(a)}while(1)}b(c,!1,d,e)};k.lc=function(a,b){if(a.ab||!a.va)return-1;do{if(a.Na&&a.va.write(a.Na,a.Ra++,b))break;a.Na=a.va.seek(a.tb,a.Pa,a.eb);if(!a.Na){a.ab=8256;b=-1;break}a.Ra=0;this.nf(a)}while(1);return b}; +k.nf=function(a){a.eb++;a.eb>=a.Mf+1&&(a.eb=1,a.Pa++,a.Pa>=a.Lf&&(a.Pa=0,a.tb++))};k.sj=function(a,b){if(a.ab)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.tb=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};var kk={1012:gk.prototype.Gm,1013:gk.prototype.Em,1015:gk.prototype.Fm},lk={1010:gk.prototype.Un,1013:gk.prototype.Tn,1015:gk.prototype.Sn}; +za(function(){for(var a=y(window.document,"pcjs","fdc"),b=0;b=e&&(this.Zf|=(f.type&3)<<(1-e<<1))}return d}; +k.mj=function(){var a=0,b=[];this.ne?(b[a++]=this.Td,b[a++]=this.wl,b[a++]=this.Vd,b[a++]=this.nh,b[a++]=this.lh,b[a++]=this.kh,b[a++]=this.ff,b[a++]=this.xa,b[a++]=this.kj,b[a++]=this.mh):(b[a++]=this.Zf,b[a++]=this.xa,b[a++]=this.cc,b[a++]=this.zb,b[a++]=this.ib,b[a++]=this.vl,b[a++]=this.ul,b[a++]=this.tl,b[a++]=this.We);b[a]=this.oj();return b}; +k.gi=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.fb=a;b.errorCode=d[f++];b.Bl=d[f++];b.Te=d[f++];b.He=d[f++];b.Ie=d[f++];b.Pa=d[f++];b.rb=d[f++];b.Zd=d[f++];b.eb=d[f++];b.Ad=d[f++];b.pb=d[f++];b.yg=this.ne?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.Jd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===sk[this.Cf][b.type])b.type=this.km;c=sk[this.Cf][b.type]; +b.wb=c[2]||17;b.gb=c[3]||512;if(e&&this.la&&(e=this.la,c=b.type,e.ja)){var h=e.ja[18],h=a?h&240|c:h&15|c<<4;e.ja&&(e.ja[18]=h,Nh(e))}void 0===b.va&&(b.va=null,this.Aa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));xk(this,b);b.Ra=d[f++];b.Na=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Ra&&(b.Na=b.va.seek(b.Zd,b.Pa,b.eb+b.yg)));return g};k.oj=function(){for(var a=0,b=[],c=0;c=this.ib&&(this.zb=this.ib=0,this.xa&=-15);return a};k.ro=function(a,b){this.ib=c&&(this.xa|=2,this.xa&=-2,yk(this))}; +k.gn=function(){var a=this.xa;this.zb=this.Qa.gb?(b.xa=136,this.jc(this.Qa,function(a){0<=a?(zk(b),b.xa=80):(b.xa=1,b.Td=16)},!1)):this.xa=80)}return a}; +k.En=function(a,b){this.Qa&&this.Qa.pb>=this.Qa.gb&&(0>this.lc(this.Qa,b)?(this.xa=1,this.Td=16):1!=this.Qa.Ra&&this.Qa.Ra==this.Qa.gb&&(this.Qa.pb-=this.Qa.gb,this.Vd=this.Vd-1&255,zk(this),this.xa=80,this.Qa.pb>=this.Qa.gb&&(this.xa|=8)))};k.tm=function(){return this.Td};k.Jn=function(a,b){this.wl=b};k.um=function(){return this.Vd};k.Hn=function(a,b){this.Vd=b};k.vm=function(){return this.nh};k.In=function(a,b){this.nh=b};k.qm=function(){return this.lh};k.Dn=function(a,b){this.lh=b};k.pm=function(){return this.kh}; +k.Cn=function(a,b){this.kh=b};k.sm=function(){return this.ff};k.Fn=function(a,b){this.ff=b;this.xa=this.Ca[this.ff&16?1:0]?this.xa|64:this.xa&-65};k.wm=function(){return this.xa};k.Bn=function(a,b){this.kj=b;this.la&&oi(this.la,14);Ak(this)};k.Gn=function(a,b){this.mh&4&&!(b&4)&&(this.Td=1);this.mh=b}; +function Ak(a){var b=!1,c=a.kj,d=a.ff&16?1:0,e=a.ff&15,f=a.lh|(a.kh&3)<<8,g=a.nh,h=a.Vd||256;a.Qa=null;a.Td=0;a.xa=80;(d=a.Ca[d])?(d.Zd=f,d.Pa=e,d.eb=g,d.pb=h*d.gb,c=144<=c?c:c&240,d.Na=null,d.Ra=0,d.errorCode=0,a.Qa=d):c=-1;switch(c&240){case 32:a.xa=136;a.jc(d,function(b){0<=b&&a.la?(zk(a),a.xa=80):(a.xa=1,a.Td=16)},!1);break;case 48:a.xa=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Td=1;b=!0;break;case 145:d.rb=e+1,d.wb=h,b=!0}b&&zk(a)} +function zk(a){!a.la||a.mh&2||ni(a.la,14,120)} +function yk(a){a.zb=0;var b=a.Ma(),c=a.Ma(),d=c&32,e=d>>5,f=c&31,g=a.Ma(),h=a.Ma(),m=g<<2&768|h,n=g&63,r=a.Ma(),s=a.Ma(),t=a.Ca[e];t&&(t.Zd=m,t.Pa=f,t.eb=n,t.pb=r*t.gb);switch(b){case 3:a.Pb(t?t.errorCode:4);a.bc(c);a.bc(g);a.bc(h);a.bc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ma());)t&&cb?this.jc(a,c):c(-1,!1)}; +k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1};k.Tl=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ra=a.wb+b&&(a.eb=b,a.Pa++,a.Pa>=a.rb&&(a.Pa=0,a.Zd++))}; +k.sj=function(a,b){if(a.errorCode)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.Zd=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.pb=128<this.lc(a,a.Fj))return-1;a.Cg++}a.Cg>=a.Ad&&(b=-1);return b};k.hn=function(){var a=this.ka.K&255;!(this.ka.H>>8)&&128>8)||(a=!this.la)||(a=!(this.la.Wb[0].Tc&64));return a?!0:!1}; +var uk={800:$.prototype.fn,801:$.prototype.gn,802:$.prototype.en},tk={496:$.prototype.rm,497:$.prototype.tm,498:$.prototype.um,499:$.prototype.vm,500:$.prototype.qm,501:$.prototype.pm,502:$.prototype.sm,503:$.prototype.wm},wk={800:$.prototype.ro,801:$.prototype.uo,802:$.prototype.to,803:$.prototype.so,807:$.prototype.fj,811:$.prototype.fj,815:$.prototype.fj},vk={496:$.prototype.En,497:$.prototype.Jn,498:$.prototype.Hn,499:$.prototype.In,500:$.prototype.Dn,501:$.prototype.Cn,502:$.prototype.Fn,503:$.prototype.Bn, +1014:$.prototype.Gn};za(function(){for(var a=y(window.document,"pcjs","hdc"),b=0;bKk){if(d.load(this.bg)){this.Ae=new H(this,"1.16.5","failsafe");this.Ae.load()&&(Ok(this,d),a=2,Hk(this.Ae));this.Ae.set("timestamp",ja());Ik(this.Ae);var e=this.Hc&&!this.Pg;if(1==a||na("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== +f&&"no machine state"!=g?(this.Aa("Error: "+g),"unable to verify user"==g&&(ra("user",""),this.Ic=null)):this.ic(f+": "+g),Hk(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Nk(this,c?d:null)}else 2==a&&d.clear()}else Nk(this);delete this.bg;delete this.th}e=Ka(this.id);for(f=0;fa[1];a=a[2];this.ma.Qb=!0;this.Uj||(this.ic("PCjs v1.16.5\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Uj=!0);this.ka&&Pk(this,this.ka,b,c,a);this.Yj&&(Ok(this,b),b.clear());!c&&this.Ae&&(this.Ae.clear(),delete this.Ae)}; +function Ok(a,b){if(na("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.Jd(),d=b.toString(),e={app:"PCjs",ver:"1.16.5"};e.url=a.url;e.user=c;e.type="bug";e.data=d;la("http://www.pcjs.org/api/v1/report",!0,e)}} +function Qk(a,b,c){var d,e="none",f=new H(a,"1.16.5"),g=new H(a,"1.16.5","validate"),h=ja();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.5");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ka&&a.ka.$b&&(c&&B(a.ka),d=a.ka.$b(b,c),"object"===typeof d&&f.set(a.ka.id,d),c&&(a.ka.ma.Qb=!1,!1===d&&(e=null)));for(var h=Ka(a.id),m=0;mh.indexOf("/")&&(h=window.location.pathname+h);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(h?" url=$2"+h+"$2":""))}h=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(s){h= +null,a=s.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");la(e,!0,null,null,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var m=h[0],n,r=/( [a-z]+=)(['"])(.*?)\2/g;n=r.exec(f);)m=0>m.indexOf(n[1])?m.replace(">",n[0]+">"):m.replace(new RegExp(n[1]+"(['\"])(.*?)\\1"),n[0]);h[0]!=m&&(g=g.replace(h[0],m))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],g);Wk(a,b,c)}})}else c(a,null)} +function Xk(a,b,c,d){function e(a){if(void 0===h){var b=g&&y(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ha(a))}function f(a){e("Error: "+a);m&&(--Tk||Ba(!0));m=!1}var g,h,m=!0;Tk++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.5/components.xsl");var n=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Tk||Ba(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(h),(m=m.transformToFragment(d,window.document))?(g.parentNode.replaceChild(m,g),--Tk||Ba(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Uk(c,null,null,!1,e,h):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Uk(b,a,d,!0,e,n):Vk(b,null,a,d,!1,e,n)}else f("failed to find machine element: "+a)}catch(r){f(r.message)}return m} +window.embedPC=function(a,b,c,d){Ba(!1);return Xk(a,b,c,d)};window.enableEvents=Ba;window.sendEvent=Ca;})();