0)\n this.fallingLetters.clone().forEach(function (ea) { this.letterFallToPile(ea) }, this); // unused letter falls to pile\n\tif (this.activeLetters.length == 0) return;\n\tvar letter = this.activeLetters[0]; // Will be on the belt\n\tletter.moveBy(pt(this.xStep, 0));\n\t\n\t// Drop letter from belt to rack, and then drop anew one onto belt\n\tif (letter.bounds().topRight().x < this.rack.bounds().topRight().x) this.letterDropOntoRack(letter);\n\n\t// Propagate leftward motion along rack when letters touch\n\tthis.lettersSlideOnRack();\n\n\t// If leftmost letter is off rack then drop it\n\tif (this.activeLetters.last().bounds().center().x < this.rack.bounds().topLeft().x) this.letterFallOffEnd();\n}","funcProperties":{"__isSmartRef__":true,"id":1116},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1115":{"this":{"__isSmartRef__":true,"id":2}},"1116":{"timestamp":{"__isSmartRef__":true,"id":1117},"user":"Dan","tags":["events"]},"1117":{"isSerializedDate":true,"string":"Fri Dec 16 2011 10:59:33 GMT-0800 (PST)"},"1118":{"varMapping":{"__isSmartRef__":true,"id":1119},"source":"function onKeyDown(evt) {\n\tif (this.paused) return;\n\tevt.stop();\n switch (evt.getKeyCode()) {\n\t\tcase 8: this.doDelete(true); return;\n\t\tcase 27: this.doClear(true); return;\n\t\tcase 13: this.doEnter(true); return;\n\t}\n\t// Normal letter keys...\n\tvar char = evt.getKeyChar();\n\tif (char == '!') return;\n\tvar letter = this.findCharOnRack(char.toUpperCase());\n\tif (letter) this.addToOutbox(letter);\n}","funcProperties":{"__isSmartRef__":true,"id":1124},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1119":{"this":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1120}},"1120":{"$super":{"__isSmartRef__":true,"id":1121}},"1121":{"varMapping":{"__isSmartRef__":true,"id":1122},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1123},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1122":{"obj":{"__isSmartRef__":true,"id":2},"name":"onKeyDown"},"1123":{},"1124":{"timestamp":{"__isSmartRef__":true,"id":1125},"user":"Hank","tags":["typing","events"]},"1125":{"isSerializedDate":true,"string":"Wed Aug 03 2011 14:58:43 GMT-0700 (PDT)"},"1126":{"varMapping":{"__isSmartRef__":true,"id":1127},"source":"function fillLetter(letterMorph, color) {\n // Set text color to black, gray or invisible\n letterMorph.setBorderColor(color);\n try { // some problem in textColor code\n letterMorph.applyStyle({textColor: color});\n } catch(err) {};\n try { // some problem in textColor code\n letterMorph.valueBox.applyStyle({textColor: color});\n } catch(err) {};\n}","funcProperties":{"__isSmartRef__":true,"id":1128},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1127":{"this":{"__isSmartRef__":true,"id":2}},"1128":{"timestamp":{"__isSmartRef__":true,"id":1129},"user":"Dan","tags":["private"]},"1129":{"isSerializedDate":true,"string":"Fri Dec 16 2011 10:36:24 GMT-0800 (PST)"},"1130":{"varMapping":{"__isSmartRef__":true,"id":1131},"source":"function removeFromOutbox(letter) {\n\t\tletter.original.copyInOutbox = null; // restore original for, eg, del\n\t\tthis.fillLetter(letter.original, Color.black); \n\t\tletter.remove();\n}","funcProperties":{"__isSmartRef__":true,"id":1132},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1131":{"this":{"__isSmartRef__":true,"id":2}},"1132":{"timestamp":{"__isSmartRef__":true,"id":1133},"user":"Hank","tags":["private"]},"1133":{"isSerializedDate":true,"string":"Mon Jul 18 2011 11:54:17 GMT-0700 (PDT)"},"1134":{"varMapping":{"__isSmartRef__":true,"id":1135},"source":"function updateOutbox() {\n\t// Lay out outbox letters beginning at index = start\n\tthis.letterScore = 0;\n\tvar nLetters = this.outboxLetters.length;\n\tfor (var i=0; i 0) this.fillLetter(this.multBoxes[nLetters-1], Color.blue);\n\tthis.letterScoreBox.setTextString(this.letterScore.toString());\n\tthis.wordScore = this.letterScore*this.multipliers[nLetters];\n\tthis.wordScoreBox.setTextString(this.wordScore.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":1136},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1135":{"this":{"__isSmartRef__":true,"id":2}},"1136":{"timestamp":{"__isSmartRef__":true,"id":1137},"user":"Dan","tags":["private"]},"1137":{"isSerializedDate":true,"string":"Tue Nov 29 2011 21:12:24 GMT-0800 (PST)"},"1138":{"varMapping":{"__isSmartRef__":true,"id":1139},"source":"function shuffle(inp) {\n // Return a shuffled copy of the input array\n var shuffled = inp.slice(0); // shuffleable copy\n for (var i=0; i 0 && consonants.length > 0) { \n // Assemble letters according to their overall ratio\n if ( (vowels.length / (vowels.length + consonants.length)) > ratio) mixed.push(vowels.pop());\n else mixed.push(consonants.pop());\n }\n // pick up any leftovers\n return mixed.concat(consonants, vowels);\n}","funcProperties":{"__isSmartRef__":true,"id":1144},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1143":{"this":{"__isSmartRef__":true,"id":2}},"1144":{"timestamp":{"__isSmartRef__":true,"id":1145},"user":"Dan","tags":["private"]},"1145":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:07:52 GMT-0800 (PST)"},"1146":{"varMapping":{"__isSmartRef__":true,"id":1147},"source":"function letterValue(char) {\n\tvar letterValues = { A: 1, B: 3, C: 3, D: 2, E: 1, F: 4, G: 2, H: 4, I: 1, J: 8, K: 5, L: 1, M: 3, N: 1, O: 1, P: 3, Q: 10, R: 1, S: 1, T: 1, U: 1, V: 4, W: 4, X: 8, Y: 4, Z: 10}; \n\treturn letterValues[char] || 1;\n}","funcProperties":{"__isSmartRef__":true,"id":1148},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1147":{"this":{"__isSmartRef__":true,"id":2}},"1148":{"timestamp":{"__isSmartRef__":true,"id":1149},"user":"Dan","tags":["setup"]},"1149":{"isSerializedDate":true,"string":"Fri Dec 16 2011 10:41:47 GMT-0800 (PST)"},"1150":{"varMapping":{"__isSmartRef__":true,"id":1151},"source":"function doPause(val) {\n\tthis.paused = val;\n\tthis.pauseButton.setLabel( this.paused ? \"resume\" : \"pause\" );\n\n\t// If pausing, blank out all moving letters; if un-pausing, then restore them\n\tvar backGroundFill = Color.veryLightGray; // reading fill from text does not work\n\tvar ifInBin = (this.letterInBin ? [this.letterInBin] : []);\n\t\tifInBin.concat(this.outboxLetters, this.fallingLetters, this.activeLetters).each( \n\t\t\tfunction (letter) {\n\t\t\t\tif (this.paused) letter.colorBeforePause = letter.getBorderColor(); // save color when pause\n\t\t\t\tthis.fillLetter(letter, ( this.paused ? backGroundFill : letter.colorBeforePause ) ); // blank or restore\n\t\t\t}.bind(this)); \n this.focus();\n\n}","funcProperties":{"__isSmartRef__":true,"id":1152},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1151":{"this":{"__isSmartRef__":true,"id":2}},"1152":{"timestamp":{"__isSmartRef__":true,"id":1153},"user":"Hank","tags":["buttons"]},"1153":{"isSerializedDate":true,"string":"Tue Jul 26 2011 21:46:18 GMT-0700 (PDT)"},"1154":{"varMapping":{"__isSmartRef__":true,"id":1155},"source":"function doRestart(val) {\n\tif (this.gameOver) {\n\t\tthis.setup();\n\t\t} else {\n\t\tthis.doPause(true);\n\t\tthis.world().confirm(\"OK to end this game and restart?\",\n\t\t\t\tfunction(ok) { if (ok) this.setup(); else this.doPause(false); }.bind(this) );\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1156},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1155":{"this":{"__isSmartRef__":true,"id":2}},"1156":{"timestamp":{"__isSmartRef__":true,"id":1157},"user":"Hank","tags":["buttons"]},"1157":{"isSerializedDate":true,"string":"Tue Aug 23 2011 22:11:05 GMT-0700 (PDT)"},"1158":{"varMapping":{"__isSmartRef__":true,"id":1159},"source":"function doDelete(val) {\n\tif (!val) return;\n\t// Delete key or button -- delete last letter from outbox and restore original\n\tif (this.outboxLetters.length == 0) return;\n\tthis.removeFromOutbox(this.outboxLetters.pop());\n\tthis.updateOutbox();\n}","funcProperties":{"__isSmartRef__":true,"id":1160},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1159":{"this":{"__isSmartRef__":true,"id":2}},"1160":{"timestamp":{"__isSmartRef__":true,"id":1161},"user":"Dan","tags":["buttons","typing"]},"1161":{"isSerializedDate":true,"string":"Fri Dec 16 2011 10:16:49 GMT-0800 (PST)"},"1162":{"varMapping":{"__isSmartRef__":true,"id":1163},"source":"function doClear(val) {\n\tif (!val) return;\n\t// Tab key or clear button -- means to delete all letters in outbox\n\twhile (this.outboxLetters.length > 0) \n\t\tthis.removeFromOutbox(this.outboxLetters.pop());\n\tthis.updateOutbox();\n}","funcProperties":{"__isSmartRef__":true,"id":1164},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1163":{"this":{"__isSmartRef__":true,"id":2}},"1164":{"timestamp":{"__isSmartRef__":true,"id":1165},"user":"Dan","tags":["buttons","typing"]},"1165":{"isSerializedDate":true,"string":"Fri Dec 16 2011 10:16:41 GMT-0800 (PST)"},"1166":{"varMapping":{"__isSmartRef__":true,"id":1167},"source":"function doEnter(val) {\n\t// Enter key or button -- means to submit this word from outbox\n\t// First gather the word\n\tif (!val) return;\n\tvar word = \"\";\n\tfor (var i=0; i this.bestWordScore) {\n\t\tthis.bestWordScore = this.wordScore;\n\t\tthis.bestWordBox.setTextString(this.bestWordScore.toString());\n\t\tthis.bestWord = word;\n\t\tthis.bestWordLetters.setTextString(this.bestWord);\n\t}\n\tthis.outboxLetters = [];\n\tthis.updateOutbox();\n}","funcProperties":{"__isSmartRef__":true,"id":1168},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1167":{"this":{"__isSmartRef__":true,"id":2}},"1168":{"timestamp":{"__isSmartRef__":true,"id":1169},"user":"Dan","tags":["buttons","typing"]},"1169":{"isSerializedDate":true,"string":"Thu Aug 25 2011 09:09:55 GMT-0700 (PDT)"},"1170":{"varMapping":{"__isSmartRef__":true,"id":1171},"source":"function findCharOnRack(char) {\n // If a given char is in rack, return the letterMorph, else null\n for (var i=0; i0) ? this.addMorphBack(this.letterSource.shift()) : null;\n\t\tthis.nLeftBox.setTextString(this.letterSource.length.toString());\n this.nLeftBox.applyStyle({align: 'center'});\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1192},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1191":{"this":{"__isSmartRef__":true,"id":2}},"1192":{"timestamp":{"__isSmartRef__":true,"id":1193},"user":"Hank","tags":["private"]},"1193":{"isSerializedDate":true,"string":"Thu Nov 10 2011 13:46:34 GMT-0800 (PST)"},"1194":{"varMapping":{"__isSmartRef__":true,"id":1195},"source":"function letterFallToPile(letter) {\n // Animate a rotating fall;\n letter.moveBy(letter.vel);\n letter.vel = letter.vel.addXY(0, 1); // accelerated drop\n letter.rotateBy(letter.rot);\n \n letter.owner.addMorph(letter);\n\n // Below a certain y, stop its motion, but leave it in the world\n // We also need to keep score of the dropped letters\n // -- let's make them land on top of the negative score box\n if (letter.bounds().bottomRight().y > 300) {\n this.fallingLetters.shift();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1196},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1195":{"this":{"__isSmartRef__":true,"id":2}},"1196":{"timestamp":{"__isSmartRef__":true,"id":1197},"user":"Dan","tags":["private"]},"1197":{"isSerializedDate":true,"string":"Wed Aug 24 2011 16:55:37 GMT-0700 (PDT)"},"1198":{"varMapping":{"__isSmartRef__":true,"id":1199},"source":"function setupLetterPrototype(borderWidth) {\n\tthis.letterW = 45;\n\tthis.letterH = 50;\n // Letter prototype...\n\tvar letter = new TextMorph(new Rectangle(0, 0, this.letterW, this.letterH), 'W');\n\tletter.takesKeyboardFocus = Functions.False;\n\tletter.setFontSize(24);\n\tletter.setBorderWidth(borderWidth);\n\tletter.applyStyle({align: 'center'});\n\n\tletter.valueBox = new TextMorph(new Rectangle(10, 10, 30, 10), '10');\n\tletter.valueBox.setFontSize(8);\n\tletter.valueBox.applyStyle({align: 'right'})\n\tletter.valueBox.setFill(null);\n\tletter.valueBox.setBorderWidth(0);\n\tletter.valueBox.fitWidth();\n\tletter.addMorph(letter.valueBox);\n\tletter.valueBox.align(letter.valueBox.bounds().bottomRight(), letter.bounds().bottomRight().addXY(-2, -7));\n\tletter.valueBox.ignoreEvents();\n\treturn letter;\n}","funcProperties":{"__isSmartRef__":true,"id":1200},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1199":{"this":{"__isSmartRef__":true,"id":2}},"1200":{"timestamp":{"__isSmartRef__":true,"id":1201},"user":"Hank","tags":["setup"]},"1201":{"isSerializedDate":true,"string":"Thu Nov 10 2011 13:50:47 GMT-0800 (PST)"},"1202":{"varMapping":{"__isSmartRef__":true,"id":1203},"source":"function setupRackEtc() {\n\tvar rackR = new Rectangle(130,120, this.rackSize*this.letterW + 6, 5);\n\tthis.rack = this.addMorph(Morph.makeRectangle(rackR));\n\tthis.outbox = this.addMorph(Morph.makeRectangle(rackR.translatedBy(pt(0,70))));\n\tthis.beltR = rackR.topRight().addXY(7, -5).extent(pt(this.beltSize*this.letterW, 2));\n\tvar belt = this.addMorph(Morph.makeRectangle(this.beltR));\n\t\tthis.addMorph(belt.duplicate().translateBy(pt(0,16)));\n\tvar r = 9;\n\tthis.pulley = this.addMorph(Morph.makeCircle(this.beltR.topLeft().addXY(0,r), r, 2, Color.black, Color.green))\n\t\tvar c = this.pulley.innerBounds().center();\n for (var a=0; a this.level.bestWordScore) {\n this.level.bestWord = this.bestWord;\n this.level.bestWordScore = this.bestWordScore;\n }\t\n if (this.totalScore > this.level.bestGameScore) this.level.bestGameScore = this.totalScore;\n this.postLevelStats();\n}","funcProperties":{"__isSmartRef__":true,"id":1244},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1243":{"this":{"__isSmartRef__":true,"id":2}},"1244":{"timestamp":{"__isSmartRef__":true,"id":1245},"user":"Dan","tags":["scoring"]},"1245":{"isSerializedDate":true,"string":"Wed Aug 24 2011 20:24:55 GMT-0700 (PDT)"},"1246":{"varMapping":{"__isSmartRef__":true,"id":1247},"source":"function onWindowCollapse() {\n this.doPause(true);\n}","funcProperties":{"__isSmartRef__":true,"id":1248},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1247":{"this":{"__isSmartRef__":true,"id":2}},"1248":{"timestamp":{"__isSmartRef__":true,"id":1249},"user":"Hank","tags":["events"]},"1249":{"isSerializedDate":true,"string":"Tue Jul 19 2011 00:20:20 GMT-0700 (PDT)"},"1250":{"varMapping":{"__isSmartRef__":true,"id":1251},"source":"function onWindowExpand() {\n this.doPause(false);\n}","funcProperties":{"__isSmartRef__":true,"id":1252},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1251":{"this":{"__isSmartRef__":true,"id":2}},"1252":{"timestamp":{"__isSmartRef__":true,"id":1253},"user":"Hank","tags":["events"]},"1253":{"isSerializedDate":true,"string":"Tue Jul 19 2011 00:39:14 GMT-0700 (PDT)"},"1254":{"varMapping":{"__isSmartRef__":true,"id":1255},"source":"function onWindowGetsFocus() {\n this.focus();\n}","funcProperties":{"__isSmartRef__":true,"id":1256},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1255":{"this":{"__isSmartRef__":true,"id":2}},"1256":{"timestamp":{"__isSmartRef__":true,"id":1257},"user":"Hank","tags":["events"]},"1257":{"isSerializedDate":true,"string":"Tue Jul 26 2011 21:47:41 GMT-0700 (PDT)"},"1258":{"varMapping":{"__isSmartRef__":true,"id":1259},"source":"function compactStringFromArray(wordArray) {\n// [3,1,4,1,5,9] == [3,1,4,1,5,9] // test array equality\n// This code produces a compact form of a sorted list of words.\n// [It may work if thelist is not sorted, but no guarantees]\n// For the 70k array with 516k of words in QBF it produces\n// a single string of length 225k with no array overhead.\n// For example:\n// this.compactStringFromArray(this.wordList).slice(0,70)\n// <0>a<1>bilities<6>y<2>le<2>out<3>ve<2>sence<3>olute<2>use<1>cademic<2>...\n// Note: the character codes for A-Z are used for counts so there must\n// be no capital letters and no words longer than 26 characters\nvar charOffset = \"A\".charCodeAt(0); // stop codes begin at 65\nvar s = \"\", prevWord;\nvar match = function(a, b) {\n // Return the number of leading characters in a and b that match\n for (var i=0; i\"; // Makes the readable form above\n s += w.slice(nSame);\n prevWord = w;\n });\nreturn s;\n}","funcProperties":{"__isSmartRef__":true,"id":1260},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1259":{"this":{"__isSmartRef__":true,"id":2}},"1260":{"timestamp":{"__isSmartRef__":true,"id":1261},"user":"Hank","tags":["word list"]},"1261":{"isSerializedDate":true,"string":"Wed Aug 24 2011 12:22:54 GMT-0700 (PDT)"},"1262":{"varMapping":{"__isSmartRef__":true,"id":1263},"source":"function compactStringToArray(str) {\n // May be slow, but only used to convert the wordList\n var a = [];\n this.compactStringForEach(str, function(w) { a.push(w) });\n return a;\n}","funcProperties":{"__isSmartRef__":true,"id":1264},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1263":{"this":{"__isSmartRef__":true,"id":2}},"1264":{"timestamp":{"__isSmartRef__":true,"id":1265},"user":"Hank","tags":["word list"]},"1265":{"isSerializedDate":true,"string":"Tue Aug 23 2011 20:52:06 GMT-0700 (PDT)"},"1266":{"varMapping":{"__isSmartRef__":true,"id":1267},"source":"function lookupWord(word) {\n if (!this.wordList) return true; // no list - anything goes\n if (this.wordList instanceof Array) return this.wordList.include(word);\n // if wordList is in compact form, then do a search...\n var found = false;\n this.compactStringForEach(this.wordList,\n function(w) { if (w == word) found = true; });\n return found;\n}","funcProperties":{"__isSmartRef__":true,"id":1268},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1267":{"this":{"__isSmartRef__":true,"id":2}},"1268":{"timestamp":{"__isSmartRef__":true,"id":1269},"user":"Hank","tags":["word list"]},"1269":{"isSerializedDate":true,"string":"Tue Aug 23 2011 23:34:07 GMT-0700 (PDT)"},"1270":{"varMapping":{"__isSmartRef__":true,"id":1271},"source":"function compactStringForEach(str, func) {\n// Operates like forEach, calling the function with all the encoded words\n// Tests:\n// this.compactStringToArray(this.compactStringFromArray(this.wordList)).length == this.wordList.length\n// this.compactStringToArray(this.compactStringFromArray(this.wordList)).slice(0,9)\n// this.wordList.slice(0,9)\n// this.compactStringToArray(this.compactStringFromArray(this.wordList)).slice(71632)\n// this.wordList.slice(71632)\nvar w = \"\", c = 0;\nvar charOffset = \"A\".charCodeAt(0),\n maxStopCode = charOffset+25;\nfor (var i=0; i maxStopCode) w += str[i]; // just a character - append it to w\n else { // it is a stop code\n func(w); // call the func with the current word\n w = w.slice(0, c-charOffset); // stop code = no. characters to retain\n }\n}\nfunc(w); // call the func with the last word;\n}","funcProperties":{"__isSmartRef__":true,"id":1272},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1271":{"this":{"__isSmartRef__":true,"id":2}},"1272":{"timestamp":{"__isSmartRef__":true,"id":1273},"user":"Hank","tags":["word list"]},"1273":{"isSerializedDate":true,"string":"Wed Aug 24 2011 12:24:58 GMT-0700 (PDT)"},"1274":{"varMapping":{"__isSmartRef__":true,"id":1275},"source":"function compactifyWordList(toCompact) {\n// Converts the this.wordList to/from compact format *in place*\n// this.compactifyWordList(true)\nif (this.wordList instanceof Array) {\n if (!toCompact) return; // already an array\n this.wordList = this.compactStringFromArray(this.wordList);\n }\n else {\n if (toCompact) return; // already compact\n this.wordList = this.compactStringToArray(this.wordList);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1276},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1275":{"this":{"__isSmartRef__":true,"id":2}},"1276":{"timestamp":{"__isSmartRef__":true,"id":1277},"user":"Hank","tags":["word list"]},"1277":{"isSerializedDate":true,"string":"Tue Aug 23 2011 21:51:50 GMT-0700 (PDT)"},"1278":{"varMapping":{"__isSmartRef__":true,"id":1279},"source":"function reset() {\n this.setup(true);\n}","funcProperties":{"__isSmartRef__":true,"id":1280},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1279":{"this":{"__isSmartRef__":true,"id":2}},"1280":{"timestamp":{"__isSmartRef__":true,"id":1281},"user":"Hank","tags":["setup"]},"1281":{"isSerializedDate":true,"string":"Wed Aug 24 2011 11:48:22 GMT-0700 (PDT)"},"1282":{"varMapping":{"__isSmartRef__":true,"id":1283},"source":"function postLevelStats() {\n // Display stats for this level, after posting or changing levels\n this.levelWordLetters.setTextString(this.level.bestWord);\t\n this.levelWordBox.setTextString(this.level.bestWordScore.toString());\n this.bestGameBox.setTextString(this.level.bestGameScore.toString());\t\n}","funcProperties":{"__isSmartRef__":true,"id":1284},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1283":{"this":{"__isSmartRef__":true,"id":2}},"1284":{"timestamp":{"__isSmartRef__":true,"id":1285},"user":"Dan","tags":["scoring"]},"1285":{"isSerializedDate":true,"string":"Wed Aug 24 2011 19:58:36 GMT-0700 (PDT)"},"1286":{"varMapping":{"__isSmartRef__":true,"id":1287},"source":"function doChooseLevel(val) {\n\tvar items = Array.range(0,2).map(function(i) {\n var level = this.levels[i];\n return [level.caption,\n function(lv) {this.level = lv; this.setup();}.bind(this).curry(level)]\n }.bind(this));\n var pos = this.world().firstHand().getPosition();\n\tif (this.gameOver) {\n\t\tlively.morphic.Menu.openAt(pos, \"Choose your level\", items);\n return;\n\t}\n\tthis.doPause(true);\n\tthis.world().confirm(\"OK to end this game and restart?\",\n function(ok) {\n if (ok) {\n lively.morphic.Menu.openAt(pos, \"Choose your level\", items);\n } else {\n this.doPause(false);\n } }.bind(this) );\n}","funcProperties":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1287":{"this":{"__isSmartRef__":true,"id":2}},"1288":{"timestamp":{"__isSmartRef__":true,"id":1289},"user":"Dan","tags":["buttons"]},"1289":{"isSerializedDate":true,"string":"Wed Aug 24 2011 21:59:46 GMT-0700 (PDT)"},"1290":{"varMapping":{"__isSmartRef__":true,"id":1291},"source":"function showMultiplier() {\n // Display the mean multipier\n var mult = this.totalScore/(this.pointsMissed + this.pointsUsed);\n var str = mult.toPrecision(2);\n if (mult < 1) str = mult.toPrecision(1);\n if (mult < 0.1) str = '-';\n this.multiplierBox.setTextString(str);\n}","funcProperties":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1291":{"this":{"__isSmartRef__":true,"id":2}},"1292":{"timestamp":{"__isSmartRef__":true,"id":1293},"user":"Dan","tags":["scoring"]},"1293":{"isSerializedDate":true,"string":"Thu Aug 25 2011 09:15:02 GMT-0700 (PDT)"},"1294":{"submorphs":[{"__isSmartRef__":true,"id":1295},{"__isSmartRef__":true,"id":1310},{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1393}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1429},"id":166,"renderContextTable":{"__isSmartRef__":true,"id":1441},"eventHandler":{"__isSmartRef__":true,"id":1442},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1443},"_Position":{"__isSmartRef__":true,"id":1444},"windowMorph":{"__isSmartRef__":true,"id":1},"label":{"__isSmartRef__":true,"id":1295},"closeButton":{"__isSmartRef__":true,"id":1310},"menuButton":{"__isSmartRef__":true,"id":1358},"collapseButton":{"__isSmartRef__":true,"id":1393},"priorExtent":{"__isSmartRef__":true,"id":1445},"owner":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__LivelyClassName__":"lively.morphic.TitleBar"},"1295":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1296},"id":167,"renderContextTable":{"__isSmartRef__":true,"id":1302},"textChunks":[{"__isSmartRef__":true,"id":1303}],"eventHandler":{"__isSmartRef__":true,"id":1305},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1306},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1307},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1294},"priorExtent":{"__isSmartRef__":true,"id":1308},"_MaxTextWidth":741.5002499997495,"_MaxTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1309},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":741.5002499997495,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1296":{"_Position":{"__isSmartRef__":true,"id":1297},"renderContextTable":{"__isSmartRef__":true,"id":1298},"_Extent":{"__isSmartRef__":true,"id":1299},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1300},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1301},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1297":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1298":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1299":{"x":741.5002499997495,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1300":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1301":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1302":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1303":{"style":{"__isSmartRef__":true,"id":1304},"chunkOwner":{"__isSmartRef__":true,"id":1295},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Quick Brown Fox","__LivelyClassName__":"lively.morphic.TextChunk"},"1304":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1305":{"morph":{"__isSmartRef__":true,"id":1295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1306":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1307":{"resizeWidth":true},"1308":{"x":741.5002499997495,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1309":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1310":{"submorphs":[{"__isSmartRef__":true,"id":1311}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1324},"id":168,"renderContextTable":{"__isSmartRef__":true,"id":1340},"eventHandler":{"__isSmartRef__":true,"id":1341},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1342},"priorExtent":{"__isSmartRef__":true,"id":1343},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1329},"lighterFill":{"__isSmartRef__":true,"id":1344},"label":{"__isSmartRef__":true,"id":1311},"owner":{"__isSmartRef__":true,"id":1294},"layout":{"__isSmartRef__":true,"id":1353},"attributeConnections":[{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1356}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1311":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1312},"id":169,"renderContextTable":{"__isSmartRef__":true,"id":1317},"textChunks":[{"__isSmartRef__":true,"id":1318}],"eventHandler":{"__isSmartRef__":true,"id":1320},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1321},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1322},"priorExtent":{"__isSmartRef__":true,"id":1323},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1310},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1312":{"_Position":{"__isSmartRef__":true,"id":1313},"renderContextTable":{"__isSmartRef__":true,"id":1314},"_Extent":{"__isSmartRef__":true,"id":1315},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1300},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1316},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1313":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1314":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1315":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1316":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1318":{"style":{"__isSmartRef__":true,"id":1319},"chunkOwner":{"__isSmartRef__":true,"id":1311},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"1319":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1320":{"morph":{"__isSmartRef__":true,"id":1311},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1321":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1322":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1323":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1324":{"_Position":{"__isSmartRef__":true,"id":1325},"renderContextTable":{"__isSmartRef__":true,"id":1326},"_Extent":{"__isSmartRef__":true,"id":1327},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1328},"_Fill":{"__isSmartRef__":true,"id":1329},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1339},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1325":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1326":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1327":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1328":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1329":{"stops":[{"__isSmartRef__":true,"id":1330},{"__isSmartRef__":true,"id":1332},{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336}],"vector":{"__isSmartRef__":true,"id":1338},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1330":{"offset":0,"color":{"__isSmartRef__":true,"id":1331}},"1331":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1332":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1333}},"1333":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1334":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1335}},"1335":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1336":{"offset":1,"color":{"__isSmartRef__":true,"id":1337}},"1337":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1338":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1339":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1340":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1341":{"morph":{"__isSmartRef__":true,"id":1310},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1342":{"x":780.5002499997495,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1343":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1344":{"stops":[{"__isSmartRef__":true,"id":1345},{"__isSmartRef__":true,"id":1347},{"__isSmartRef__":true,"id":1349},{"__isSmartRef__":true,"id":1351}],"vector":{"__isSmartRef__":true,"id":1338},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1345":{"offset":0,"color":{"__isSmartRef__":true,"id":1346}},"1346":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1347":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1348}},"1348":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1349":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1350}},"1350":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1351":{"offset":1,"color":{"__isSmartRef__":true,"id":1352}},"1352":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1353":{"moveHorizontal":true},"1354":{"sourceObj":{"__isSmartRef__":true,"id":1310},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1355},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1355":{"source":{"__isSmartRef__":true,"id":1310},"target":{"__isSmartRef__":true,"id":1}},"1356":{"sourceObj":{"__isSmartRef__":true,"id":1310},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1357},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1357":{"source":{"__isSmartRef__":true,"id":1310},"target":{"__isSmartRef__":true,"id":1}},"1358":{"submorphs":[{"__isSmartRef__":true,"id":1359}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1371},"id":170,"renderContextTable":{"__isSmartRef__":true,"id":1376},"eventHandler":{"__isSmartRef__":true,"id":1377},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1378},"priorExtent":{"__isSmartRef__":true,"id":1379},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1329},"lighterFill":{"__isSmartRef__":true,"id":1380},"label":{"__isSmartRef__":true,"id":1359},"owner":{"__isSmartRef__":true,"id":1294},"attributeConnections":[{"__isSmartRef__":true,"id":1389},{"__isSmartRef__":true,"id":1391}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1359":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1360},"id":171,"renderContextTable":{"__isSmartRef__":true,"id":1365},"textChunks":[{"__isSmartRef__":true,"id":1366}],"eventHandler":{"__isSmartRef__":true,"id":1368},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1321},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1369},"priorExtent":{"__isSmartRef__":true,"id":1370},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1358},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1360":{"_Position":{"__isSmartRef__":true,"id":1361},"renderContextTable":{"__isSmartRef__":true,"id":1362},"_Extent":{"__isSmartRef__":true,"id":1363},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1300},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1364},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1361":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1362":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1363":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1364":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1365":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1366":{"style":{"__isSmartRef__":true,"id":1367},"chunkOwner":{"__isSmartRef__":true,"id":1359},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"1367":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1368":{"morph":{"__isSmartRef__":true,"id":1359},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1369":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1370":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1371":{"_Position":{"__isSmartRef__":true,"id":1372},"renderContextTable":{"__isSmartRef__":true,"id":1373},"_Extent":{"__isSmartRef__":true,"id":1374},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1328},"_Fill":{"__isSmartRef__":true,"id":1329},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1375},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1372":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1373":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1374":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1375":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1376":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1377":{"morph":{"__isSmartRef__":true,"id":1358},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1378":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1379":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1380":{"stops":[{"__isSmartRef__":true,"id":1381},{"__isSmartRef__":true,"id":1383},{"__isSmartRef__":true,"id":1385},{"__isSmartRef__":true,"id":1387}],"vector":{"__isSmartRef__":true,"id":1338},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1381":{"offset":0,"color":{"__isSmartRef__":true,"id":1382}},"1382":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1383":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1384}},"1384":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1385":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1386}},"1386":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1387":{"offset":1,"color":{"__isSmartRef__":true,"id":1388}},"1388":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1389":{"sourceObj":{"__isSmartRef__":true,"id":1358},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1390},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1390":{"source":{"__isSmartRef__":true,"id":1358},"target":{"__isSmartRef__":true,"id":1}},"1391":{"sourceObj":{"__isSmartRef__":true,"id":1358},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1392},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1392":{"source":{"__isSmartRef__":true,"id":1358},"target":{"__isSmartRef__":true,"id":1}},"1393":{"submorphs":[{"__isSmartRef__":true,"id":1394}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1406},"id":172,"renderContextTable":{"__isSmartRef__":true,"id":1411},"eventHandler":{"__isSmartRef__":true,"id":1412},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1413},"priorExtent":{"__isSmartRef__":true,"id":1414},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1329},"lighterFill":{"__isSmartRef__":true,"id":1415},"label":{"__isSmartRef__":true,"id":1394},"owner":{"__isSmartRef__":true,"id":1294},"layout":{"__isSmartRef__":true,"id":1424},"attributeConnections":[{"__isSmartRef__":true,"id":1425},{"__isSmartRef__":true,"id":1427}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1394":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1395},"id":173,"renderContextTable":{"__isSmartRef__":true,"id":1400},"textChunks":[{"__isSmartRef__":true,"id":1401}],"eventHandler":{"__isSmartRef__":true,"id":1403},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1321},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1404},"priorExtent":{"__isSmartRef__":true,"id":1405},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1393},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1395":{"_Position":{"__isSmartRef__":true,"id":1396},"renderContextTable":{"__isSmartRef__":true,"id":1397},"_Extent":{"__isSmartRef__":true,"id":1398},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1300},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1399},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1396":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1397":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1398":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1399":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1400":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1401":{"style":{"__isSmartRef__":true,"id":1402},"chunkOwner":{"__isSmartRef__":true,"id":1394},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"1402":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1403":{"morph":{"__isSmartRef__":true,"id":1394},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1404":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1405":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1406":{"_Position":{"__isSmartRef__":true,"id":1407},"renderContextTable":{"__isSmartRef__":true,"id":1408},"_Extent":{"__isSmartRef__":true,"id":1409},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1328},"_Fill":{"__isSmartRef__":true,"id":1329},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1410},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1407":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1408":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1409":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1410":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1412":{"morph":{"__isSmartRef__":true,"id":1393},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1413":{"x":761.5002499997495,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1414":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1415":{"stops":[{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422}],"vector":{"__isSmartRef__":true,"id":1338},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1416":{"offset":0,"color":{"__isSmartRef__":true,"id":1417}},"1417":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1418":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1419}},"1419":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1420":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1421}},"1421":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1422":{"offset":1,"color":{"__isSmartRef__":true,"id":1423}},"1423":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1424":{"moveHorizontal":true},"1425":{"sourceObj":{"__isSmartRef__":true,"id":1393},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1426},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1426":{"source":{"__isSmartRef__":true,"id":1393},"target":{"__isSmartRef__":true,"id":1}},"1427":{"sourceObj":{"__isSmartRef__":true,"id":1393},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1428},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1428":{"source":{"__isSmartRef__":true,"id":1393},"target":{"__isSmartRef__":true,"id":1}},"1429":{"_Position":{"__isSmartRef__":true,"id":1430},"renderContextTable":{"__isSmartRef__":true,"id":1431},"_Extent":{"__isSmartRef__":true,"id":1432},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1433},"_Fill":{"__isSmartRef__":true,"id":1434},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1440},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1430":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1431":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1432":{"x":800.5002499997495,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1433":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1434":{"stops":[{"__isSmartRef__":true,"id":1435},{"__isSmartRef__":true,"id":1437}],"vector":{"__isSmartRef__":true,"id":1439},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1435":{"offset":0,"color":{"__isSmartRef__":true,"id":1436}},"1436":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1437":{"offset":1,"color":{"__isSmartRef__":true,"id":1438}},"1438":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1439":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1440":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1442":{"morph":{"__isSmartRef__":true,"id":1294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1443":{"resizeWidth":true,"adjustForNewBounds":true},"1444":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1445":{"x":800.5002499997495,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1446":{"renderContextTable":{"__isSmartRef__":true,"id":1447},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1448},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1449},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1447":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1448":{"x":800.5002499997495,"y":517.5806707608509,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1449":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1450":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1451":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1452":{"adjustForNewBounds":true},"1453":{"x":28,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1454":{"x":800.5002499997495,"y":517.5806707608509,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1455":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1456":{"partName":"QuickBrownFox","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Fun/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A scrabble-like word game. Test your speed and vocabulary at three different levels. Soon to come; a score board of ten top results on the server.","changes":[{"__isSmartRef__":true,"id":1457},{"__isSmartRef__":true,"id":1459},{"__isSmartRef__":true,"id":1461},{"__isSmartRef__":true,"id":1463},{"__isSmartRef__":true,"id":1465}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1457":{"date":{"__isSmartRef__":true,"id":1458},"author":"Dan","message":"Added method tags and a few comments","id":"08515DA5-1E5B-43EE-8FC1-061168CE84A9"},"1458":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:28:06 GMT-0800 (PST)"},"1459":{"date":{"__isSmartRef__":true,"id":1460},"author":"Hank","message":"Tweaked several dimensions","id":"035A0CB6-8CA5-4717-877B-64355C05D7F7"},"1460":{"isSerializedDate":true,"string":"Thu Nov 10 2011 13:55:33 GMT-0800 (PST)"},"1461":{"date":{"__isSmartRef__":true,"id":1462},"author":"Hank","message":"changed names of levels. Getting ready for score board"},"1462":{"isSerializedDate":true,"string":"Fri Oct 21 2011 07:04:31 GMT-0700 (PDT)"},"1463":{"date":{"__isSmartRef__":true,"id":1464},"author":"lauritz","message":"removed origin workaround from QBF's setup","id":"B71A58D8-E31B-4560-AAC0-E275365E4C92"},"1464":{"isSerializedDate":true,"string":"Wed Nov 02 2011 10:26:47 GMT-0700 (PDT)"},"1465":{"date":{"__isSmartRef__":true,"id":1466},"author":"Dan","message":"Fixed a couple of offsets","id":"BA0DBEBA-6164-42F3-B507-113DBEE6D396"},"1466":{"isSerializedDate":true,"string":"Tue Nov 29 2011 21:13:29 GMT-0800 (PST)"},"1467":{"x":92,"y":40,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1468":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1469},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":1475},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1476},"eventHandler":{"__isSmartRef__":true,"id":1477},"_Rotation":0,"scrollFocusMorph":{"__isSmartRef__":true,"id":1478},"internalClickedOnMorph":{"__isSmartRef__":true,"id":1478},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"1469":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1470},"_Extent":{"__isSmartRef__":true,"id":1471},"_Fill":{"__isSmartRef__":true,"id":1472},"renderContextTable":{"__isSmartRef__":true,"id":1473},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1474},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1470":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1471":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1472":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1473":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1474":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1475":{"x":56,"y":233,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1476":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1477":{"morph":{"__isSmartRef__":true,"id":1468},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1478":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1479},"id":255,"renderContextTable":{"__isSmartRef__":true,"id":1490},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1491}],"eventHandler":{"__isSmartRef__":true,"id":1493},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"_Position":{"__isSmartRef__":true,"id":1494},"priorExtent":{"__isSmartRef__":true,"id":1495},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1496},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1479":{"_Position":{"__isSmartRef__":true,"id":1480},"renderContextTable":{"__isSmartRef__":true,"id":1481},"_Extent":{"__isSmartRef__":true,"id":1482},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1483},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1484},"_Fill":{"__isSmartRef__":true,"id":1485},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1480":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1481":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1482":{"x":184,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1483":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1484":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1485":{"stops":[{"__isSmartRef__":true,"id":1486},{"__isSmartRef__":true,"id":1488}],"vector":{"__isSmartRef__":true,"id":1439},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1486":{"offset":0,"color":{"__isSmartRef__":true,"id":1487}},"1487":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1488":{"offset":1,"color":{"__isSmartRef__":true,"id":1489}},"1489":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1490":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1491":{"style":{"__isSmartRef__":true,"id":1492},"chunkOwner":{"__isSmartRef__":true,"id":1478},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1492":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1493":{"morph":{"__isSmartRef__":true,"id":1478},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1494":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1495":{"x":272,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1496":{"onMouseWheel":{"__isSmartRef__":true,"id":1497},"onSelectStart":{"__isSmartRef__":true,"id":1504}},"1497":{"varMapping":{"__isSmartRef__":true,"id":1498},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling;\n }","funcProperties":{"__isSmartRef__":true,"id":1503},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1498":{"this":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1499}},"1499":{"$super":{"__isSmartRef__":true,"id":1500}},"1500":{"varMapping":{"__isSmartRef__":true,"id":1501},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1501":{"obj":{"__isSmartRef__":true,"id":1478},"name":"onMouseWheel"},"1502":{},"1503":{},"1504":{"varMapping":{"__isSmartRef__":true,"id":1505},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling;\n }","funcProperties":{"__isSmartRef__":true,"id":1510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1505":{"this":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1506}},"1506":{"$super":{"__isSmartRef__":true,"id":1507}},"1507":{"varMapping":{"__isSmartRef__":true,"id":1508},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1508":{"obj":{"__isSmartRef__":true,"id":1478},"name":"onSelectStart"},"1509":{},"1510":{},"1511":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1512},"_Extent":{"__isSmartRef__":true,"id":1513},"_Fill":{"__isSmartRef__":true,"id":1514},"renderContextTable":{"__isSmartRef__":true,"id":1515},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1516},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1512":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1513":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1514":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1515":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1516":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1517":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1518":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1519":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"1520":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1521":{"x":54,"y":231,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1522":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/Dan/QBF.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"1523":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","varMapping":{"__isSmartRef__":true,"id":1524},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1525},"__LivelyClassName__":"AttributeConnection"},"1524":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1525":{"updater":{"__isSmartRef__":true,"id":1526}},"1526":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1524},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":1527},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1527":{}}}]]>