[doitContext]","draggingEnabled":true,"_Scale":1.0559978880010557,"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":2},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7},"name":"rectangle","showsHalos":false,"halos":[],"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":8},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Box"},"2":{"position":{"__isSmartRef__":true,"id":3},"extent":{"__isSmartRef__":true,"id":4},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":5},"fill":{"__isSmartRef__":true,"id":6},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7":{"x":464,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"8":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"9":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":10},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":15},"name":"rectangle","showsHalos":false,"halos":[],"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Box"},"10":{"position":{"__isSmartRef__":true,"id":11},"extent":{"__isSmartRef__":true,"id":12},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":13},"fill":{"__isSmartRef__":true,"id":14},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"12":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"13":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"14":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"15":{"x":876,"y":121,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"16":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":18},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":22},"_MaxTextWidth":324,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":23},"showsHalos":false,"halos":[],"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":24},"_TextColor":{"__isSmartRef__":true,"id":25},"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"charsReplaced":"Empty","lastFindLoc":-5,"textChunks":[{"__isSmartRef__":true,"id":26}],"priorSelectionRange":[8,8],"prevScroll":[0,0],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.morphic.Text"},"18":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19},"_Extent":{"__isSmartRef__":true,"id":20},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":21},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"20":{"x":324,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"21":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"22":{"x":13,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"23":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"24":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"25":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"26":{"style":{"__isSmartRef__":true,"id":27},"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Simple Browser","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"x":324,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"29":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":30},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":34},"_MaxTextWidth":562.419952093838,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":33},"showsHalos":false,"halos":[],"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":35},"textChunks":[{"__isSmartRef__":true,"id":36}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,104],"prevScroll":[0,0],"_Scale":1,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":38},"lastSearchString":"s","__LivelyClassName__":"lively.morphic.Text"},"30":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":31},"_Extent":{"__isSmartRef__":true,"id":32},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":33},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"31":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"32":{"x":562.419952093838,"y":44,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"33":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"34":{"x":18.60648303468841,"y":76.77007385325567,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"35":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"36":{"style":{"__isSmartRef__":true,"id":37},"morph":{"__isSmartRef__":true,"id":29},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"After implementing the browse Senders and Implementors.... I think the simple browser is not so far away","__LivelyClassName__":"lively.morphic.TextChunk"},"37":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"38":{"x":562.419952093838,"y":72.32718163713454,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"39":{"submorphs":[{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":522},{"__isSmartRef__":true,"id":626}],"scripts":[],"id":18205,"shape":{"__isSmartRef__":true,"id":657},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":659},"_Position":{"__isSmartRef__":true,"id":660},"priorExtent":{"__isSmartRef__":true,"id":661},"targetMorph":{"__isSmartRef__":true,"id":40},"titleBar":{"__isSmartRef__":true,"id":522},"contentOffset":{"__isSmartRef__":true,"id":662},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":663},"showsHalos":false,"halos":[],"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":664},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Window"},"40":{"submorphs":[{"__isSmartRef__":true,"id":41}],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":440},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":445},"showsHalos":false,"halos":[],"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":446},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":39},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":41},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":49},"_Scale":1,"layout":{"__isSmartRef__":true,"id":447},"priorExtent":{"__isSmartRef__":true,"id":448},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":449},"__LivelyClassName__":"lively.morphic.Box"},"41":{"submorphs":[],"scripts":[],"id":263,"shape":{"__isSmartRef__":true,"id":42},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":47},"_MaxTextWidth":1101.0469530469531,"_MaxTextHeight":566.982017982018,"textStyle":null,"owner":{"__isSmartRef__":true,"id":40},"layout":{"__isSmartRef__":true,"id":48},"doitContext":{"__isSmartRef__":true,"id":49},"charsReplaced":"","lastFindLoc":698,"showsHalos":false,"halos":[],"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// ClassBrowserPane (this)\n\n// ** ClassBrowserPane's Scripts **\nthis.addScript(function browse(methodItem) {\n\tif (! methodItem) return;\n\tvar class = methodItem[0]\n\tvar methodName = methodItem[1];\n\t\n\tvar source = \"// changes here only affect runtime\\n\" +\n\t\tclass.type + \".addMethods({\\n\\t\" + methodName + \":\" +\n\t\tclass.prototype[methodName].getOriginal() + \"\\n});\"\n\tthis.get('sourceText').setTextString(source)\n\n\tthis.emphasizeStringIn(this.get('sourceText'), \n\t\tthis.get('searchText').textString, {color: Color.red});\n});\n\n\n// ** ClassBrowserPane's Scripts **\nthis.addScript(function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules.pluck('namespaceIdentifier').sort().collect(function(ea){\n\t\treturn {isStringItem: true, value: ea, string: ea.replace(\"Global.\", \"\")}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n});\n\n\nmodule('apps.paper').classes(true)[0].type\n\nthis.addScript(function browseModule(moduleIdentifier) {\n\tvar classes = module(moduleIdentifier).classes();\n\tvar items = classes.collect(function(ea){\n\t\treturn {isStringItem: true, value: ea.type, string: ea.name}\n\t})\n\tthis.get('classesList').updateList(items)\n});\n\n\n\nthis.addScript(function emphasizeStringIn(morph, string, style) {\n\tvar m;\n\tvar re = new RegExp(string, \"g\");\n\twhile(m = re.exec(morph.textString)) {\n\t\tvar from = m.index,\n\t\t\tto = m.index + m[0].length;\n\t\tmorph.emphasize(style, from, to)\n\t}\n});\n\nthis.addScript(function reset() {\n\tthis.get('modulesList').updateList([]);\n\tthis.get('modulesList').setSelection(null);\n\tthis.get('classesList').updateList([]);\n\tthis.get('classesList').setSelection(null);\n\tthis.get('categoriesList').updateList([]);\n\tthis.get('categoriesList').setSelection(null);\n\tthis.get('methodsList').updateList([]);\n\tthis.get('methodsList').setSelection(null);\n\n\tthis.get('searchText').setTextString('enter method name her');\n\tthis.get('sourceText').setTextString('no code');\n});\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).uniq().forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tfinds = finds.sortBy(function(ea) {return ea[0].name})\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});\n\nthis.addScript(function setSearch(searchString) {\n\tthis.get('searchText').setTextString(searchString);\n\tthis.search(searchString)\n\tvar list = this.get('searchResultList').getList();\n\tif (list.length > 0) this.get('searchResultList').setSelection(list[0])\n});","textChunks":[{"__isSmartRef__":true,"id":429}],"priorSelectionRange":[996,996],"_ClipMode":"auto","prevScroll":[0,273],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":431},"lastSearchString":"modules","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":432},"__LivelyClassName__":"lively.morphic.Text"},"42":{"position":{"__isSmartRef__":true,"id":43},"_Extent":{"__isSmartRef__":true,"id":44},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":45},"_Fill":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"43":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"44":{"x":1101.0469530469531,"y":566.982017982018,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"45":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"46":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"47":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"48":{"resizeWidth":true,"resizeHeight":true},"49":{"submorphs":[{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":101},{"__isSmartRef__":true,"id":187},{"__isSmartRef__":true,"id":211},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":236}],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":246},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":251},"showsHalos":false,"halos":[],"name":"ClassBrowserPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":252},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1.0020050100210423,"owner":{"__isSmartRef__":true,"id":253},"isCopyMorphRef":true,"morphRefId":1,"layout":{"__isSmartRef__":true,"id":405},"priorExtent":{"__isSmartRef__":true,"id":406},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":407},"__LivelyClassName__":"lively.morphic.Box"},"50":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":51},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":55},"_MaxTextWidth":248.999913999871,"_MaxTextHeight":23.99999799999705,"textColor":{"__isSmartRef__":true,"id":54},"showsHalos":false,"halos":[],"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":56},"owner":{"__isSmartRef__":true,"id":49},"charsReplaced":"enter method name her","lastFindLoc":-21,"attributeConnections":[{"__isSmartRef__":true,"id":57}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_WhiteSpaceHandling":"pre-wrap","allowInput":true,"textChunks":[{"__isSmartRef__":true,"id":58}],"priorSelectionRange":[0,3],"prevScroll":[0,0],"savedTextString":"bla","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":60},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Text"},"51":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":52},"_Extent":{"__isSmartRef__":true,"id":53},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"52":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"53":{"x":248.999913999871,"y":23.99999799999705,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"54":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"55":{"x":5.023988023988068,"y":3.0419790419790615,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"56":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"57":{"sourceObj":{"__isSmartRef__":true,"id":50},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"search","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"58":{"style":{"__isSmartRef__":true,"id":59},"morph":{"__isSmartRef__":true,"id":50},"storedString":"bla","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"59":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"60":{"x":248.999913999871,"y":23.99999799999705,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"61":{"submorphs":[{"__isSmartRef__":true,"id":62}],"scripts":[],"id":2074,"shape":{"__isSmartRef__":true,"id":73},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":88},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":77},"lighterFill":{"__isSmartRef__":true,"id":89},"label":{"__isSmartRef__":true,"id":62},"showsHalos":false,"halos":[],"name":"updateButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":98},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":49},"_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":99}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"priorExtent":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.Button"},"62":{"submorphs":[],"scripts":[],"id":2075,"shape":{"__isSmartRef__":true,"id":63},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":67},"_MaxTextWidth":107.00001400002105,"_MaxTextHeight":26.99999399999109,"padding":{"__isSmartRef__":true,"id":68},"_Padding":{"__isSmartRef__":true,"id":69},"owner":{"__isSmartRef__":true,"id":61},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":70}],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":72},"_Align":"center","__LivelyClassName__":"lively.morphic.Text"},"63":{"position":{"__isSmartRef__":true,"id":64},"_Extent":{"__isSmartRef__":true,"id":65},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":66},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"64":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"65":{"x":107.00001400002105,"y":26.99999399999109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"66":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"67":{"x":-1.996001996001155,"y":-0.998000997999668,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"68":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"69":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"70":{"style":{"__isSmartRef__":true,"id":71},"morph":{"__isSmartRef__":true,"id":62},"storedString":"update","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"71":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"72":{"x":107.00001400002105,"y":26.99999399999109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"73":{"position":{"__isSmartRef__":true,"id":74},"_Extent":{"__isSmartRef__":true,"id":75},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":76},"_Fill":{"__isSmartRef__":true,"id":77},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":87},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"74":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"75":{"x":107.00001400002105,"y":26.99999399999109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"76":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"77":{"stops":[{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":84}],"vector":{"__isSmartRef__":true,"id":86},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"78":{"offset":0,"color":{"__isSmartRef__":true,"id":79}},"79":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"80":{"offset":0.4,"color":{"__isSmartRef__":true,"id":81}},"81":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"82":{"offset":0.6,"color":{"__isSmartRef__":true,"id":83}},"83":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"84":{"offset":1,"color":{"__isSmartRef__":true,"id":85}},"85":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"86":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"87":{"x":-1.996001996001155,"y":-0.998000997999668,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"88":{"x":11.635682635682087,"y":185.67416267416127,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"89":{"stops":[{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":96}],"vector":{"__isSmartRef__":true,"id":86},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"90":{"offset":0,"color":{"__isSmartRef__":true,"id":91}},"91":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"92":{"offset":0.4,"color":{"__isSmartRef__":true,"id":93}},"93":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"94":{"offset":0.6,"color":{"__isSmartRef__":true,"id":95}},"95":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"96":{"offset":1,"color":{"__isSmartRef__":true,"id":97}},"97":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"98":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"99":{"sourceObj":{"__isSmartRef__":true,"id":61},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"updateModulesList","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"100":{"x":108.000016000024,"y":25.999991999988083,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"101":{"submorphs":[],"scripts":[],"id":740,"shape":{"__isSmartRef__":true,"id":102},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":107},"itemList":[{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":111},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":118},{"__isSmartRef__":true,"id":119},{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":125},{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":127},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":129},{"__isSmartRef__":true,"id":130},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":134},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":157},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":165},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":171},{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":183}],"showsHalos":false,"halos":[],"name":"modulesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":184},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":49},"_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":185}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,100],"selectedLineNo":10,"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":186},"selection":"Global.lively","__LivelyClassName__":"lively.morphic.List"},"102":{"position":{"__isSmartRef__":true,"id":103},"_Extent":{"__isSmartRef__":true,"id":104},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":105},"_Fill":{"__isSmartRef__":true,"id":106},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"103":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"104":{"x":183.3791059898665,"y":144.98798896393993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"105":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"106":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"107":{"x":10.994002994003012,"y":31.057971057971088,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"108":{"isStringItem":true,"value":"Global.apps","string":"apps"},"109":{"isStringItem":true,"value":"Global.apps.DiffMatchPatch","string":"apps.DiffMatchPatch"},"110":{"isStringItem":true,"value":"Global.apps.ProtoVisInterface","string":"apps.ProtoVisInterface"},"111":{"isStringItem":true,"value":"Global.apps.Trac","string":"apps.Trac"},"112":{"isStringItem":true,"value":"Global.apps.paper","string":"apps.paper"},"113":{"isStringItem":true,"value":"Global.cop","string":"cop"},"114":{"isStringItem":true,"value":"Global.cop.Layers","string":"cop.Layers"},"115":{"isStringItem":true,"value":"Global.lib","string":"lib"},"116":{"isStringItem":true,"value":"Global.lib.diff_match_patch","string":"lib.diff_match_patch"},"117":{"isStringItem":true,"value":"Global.lib.diff_match_patch.diff_match_patch_uncompressed","string":"lib.diff_match_patch.diff_match_patch_uncompressed"},"118":{"isStringItem":true,"value":"Global.lively","string":"lively"},"119":{"isStringItem":true,"value":"Global.lively.ChangeSet","string":"lively.ChangeSet"},"120":{"isStringItem":true,"value":"Global.lively.CrayonColors","string":"lively.CrayonColors"},"121":{"isStringItem":true,"value":"Global.lively.DOMAbstraction","string":"lively.DOMAbstraction"},"122":{"isStringItem":true,"value":"Global.lively.Data","string":"lively.Data"},"123":{"isStringItem":true,"value":"Global.lively.Helper","string":"lively.Helper"},"124":{"isStringItem":true,"value":"Global.lively.LKFileParser","string":"lively.LKFileParser"},"125":{"isStringItem":true,"value":"Global.lively.LayerableMorphs","string":"lively.LayerableMorphs"},"126":{"isStringItem":true,"value":"Global.lively.LogHelper","string":"lively.LogHelper"},"127":{"isStringItem":true,"value":"Global.lively.Main","string":"lively.Main"},"128":{"isStringItem":true,"value":"Global.lively.Network","string":"lively.Network"},"129":{"isStringItem":true,"value":"Global.lively.NoMoreModels","string":"lively.NoMoreModels"},"130":{"isStringItem":true,"value":"Global.lively.OldModel","string":"lively.OldModel"},"131":{"isStringItem":true,"value":"Global.lively.Ometa","string":"lively.Ometa"},"132":{"isStringItem":true,"value":"Global.lively.PartsBin","string":"lively.PartsBin"},"133":{"isStringItem":true,"value":"Global.lively.SpellChecker","string":"lively.SpellChecker"},"134":{"isStringItem":true,"value":"Global.lively.TestFramework","string":"lively.TestFramework"},"135":{"isStringItem":true,"value":"Global.lively.TextSupport","string":"lively.TextSupport"},"136":{"isStringItem":true,"value":"Global.lively.Traits","string":"lively.Traits"},"137":{"isStringItem":true,"value":"Global.lively.WidgetsTraits","string":"lively.WidgetsTraits"},"138":{"isStringItem":true,"value":"Global.lively.bindings","string":"lively.bindings"},"139":{"isStringItem":true,"value":"Global.lively.ide","string":"lively.ide"},"140":{"isStringItem":true,"value":"Global.lively.ide.BrowserCommands","string":"lively.ide.BrowserCommands"},"141":{"isStringItem":true,"value":"Global.lively.ide.BrowserFramework","string":"lively.ide.BrowserFramework"},"142":{"isStringItem":true,"value":"Global.lively.ide.FileParsing","string":"lively.ide.FileParsing"},"143":{"isStringItem":true,"value":"Global.lively.ide.LocalBrowser","string":"lively.ide.LocalBrowser"},"144":{"isStringItem":true,"value":"Global.lively.ide.SourceDatabase","string":"lively.ide.SourceDatabase"},"145":{"isStringItem":true,"value":"Global.lively.ide.SyntaxHighlighting","string":"lively.ide.SyntaxHighlighting"},"146":{"isStringItem":true,"value":"Global.lively.ide.SystemBrowserNodes","string":"lively.ide.SystemBrowserNodes"},"147":{"isStringItem":true,"value":"Global.lively.ide.SystemCodeBrowser","string":"lively.ide.SystemCodeBrowser"},"148":{"isStringItem":true,"value":"Global.lively.ide.VersionTools","string":"lively.ide.VersionTools"},"149":{"isStringItem":true,"value":"Global.lively.lang","string":"lively.lang"},"150":{"isStringItem":true,"value":"Global.lively.morphic","string":"lively.morphic"},"151":{"isStringItem":true,"value":"Global.lively.morphic.Canvas","string":"lively.morphic.Canvas"},"152":{"isStringItem":true,"value":"Global.lively.morphic.ColorChooserDraft","string":"lively.morphic.ColorChooserDraft"},"153":{"isStringItem":true,"value":"Global.lively.morphic.Compat","string":"lively.morphic.Compat"},"154":{"isStringItem":true,"value":"Global.lively.morphic.CompatLayer","string":"lively.morphic.CompatLayer"},"155":{"isStringItem":true,"value":"Global.lively.morphic.Complete","string":"lively.morphic.Complete"},"156":{"isStringItem":true,"value":"Global.lively.morphic.Core","string":"lively.morphic.Core"},"157":{"isStringItem":true,"value":"Global.lively.morphic.Events","string":"lively.morphic.Events"},"158":{"isStringItem":true,"value":"Global.lively.morphic.HTML","string":"lively.morphic.HTML"},"159":{"isStringItem":true,"value":"Global.lively.morphic.Halos","string":"lively.morphic.Halos"},"160":{"isStringItem":true,"value":"Global.lively.morphic.Layout","string":"lively.morphic.Layout"},"161":{"isStringItem":true,"value":"Global.lively.morphic.MorphAddons","string":"lively.morphic.MorphAddons"},"162":{"isStringItem":true,"value":"Global.lively.morphic.ObjectMigration","string":"lively.morphic.ObjectMigration"},"163":{"isStringItem":true,"value":"Global.lively.morphic.Rendering","string":"lively.morphic.Rendering"},"164":{"isStringItem":true,"value":"Global.lively.morphic.SVG","string":"lively.morphic.SVG"},"165":{"isStringItem":true,"value":"Global.lively.morphic.ScriptingSupport","string":"lively.morphic.ScriptingSupport"},"166":{"isStringItem":true,"value":"Global.lively.morphic.Serialization","string":"lively.morphic.Serialization"},"167":{"isStringItem":true,"value":"Global.lively.morphic.Shapes","string":"lively.morphic.Shapes"},"168":{"isStringItem":true,"value":"Global.lively.morphic.Styles","string":"lively.morphic.Styles"},"169":{"isStringItem":true,"value":"Global.lively.morphic.TextCore","string":"lively.morphic.TextCore"},"170":{"isStringItem":true,"value":"Global.lively.morphic.Widgets","string":"lively.morphic.Widgets"},"171":{"isStringItem":true,"value":"Global.lively.persistence","string":"lively.persistence"},"172":{"isStringItem":true,"value":"Global.lively.persistence.Serializer","string":"lively.persistence.Serializer"},"173":{"isStringItem":true,"value":"Global.ometa","string":"ometa"},"174":{"isStringItem":true,"value":"Global.ometa.bs-js-compiler","string":"ometa.bs-js-compiler"},"175":{"isStringItem":true,"value":"Global.ometa.bs-ometa-compiler","string":"ometa.bs-ometa-compiler"},"176":{"isStringItem":true,"value":"Global.ometa.bs-ometa-optimizer","string":"ometa.bs-ometa-optimizer"},"177":{"isStringItem":true,"value":"Global.ometa.lib","string":"ometa.lib"},"178":{"isStringItem":true,"value":"Global.ometa.lk-parser-extensions","string":"ometa.lk-parser-extensions"},"179":{"isStringItem":true,"value":"Global.ometa.ometa-base","string":"ometa.ometa-base"},"180":{"isStringItem":true,"value":"Global.ometa.parser","string":"ometa.parser"},"181":{"isStringItem":true,"value":"Global.sofia","string":"sofia"},"182":{"isStringItem":true,"value":"Global.sofia.csvparser","string":"sofia.csvparser"},"183":{"isStringItem":true,"value":"Global.trac","string":"trac"},"184":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"185":{"sourceObj":{"__isSmartRef__":true,"id":101},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"browseModule","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"186":{"x":184.3791059898665,"y":144.98798896393993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"187":{"submorphs":[],"scripts":[],"id":298,"shape":{"__isSmartRef__":true,"id":188},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":193},"_MaxTextWidth":762.0469590469621,"_MaxTextHeight":195.48209598213498,"textStyle":null,"layout":{"__isSmartRef__":true,"id":194},"doitContext":{"__isSmartRef__":true,"id":49},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"halos":[],"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"sourceText","savedTextString":"// MethodFinder (this)\n\n// ** MethodFinder's Scripts **\nthis.addScript(function browse(fileFragment) {\n\tfileFragment && fileFragment.browseIt()\n});\n\nthis.addScript(function reset() {\n\tthis.get('searchResultList').updateList([]);\n\tthis.get('searchResultList').setSelection(null);\n\tthis.get('searchText').setTextString('enter search term here');\n});\n\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});","textChunks":[{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":200}],"priorSelectionRange":[99,103],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"owner":{"__isSmartRef__":true,"id":49},"_Scale":0.9979990019999998,"priorExtent":{"__isSmartRef__":true,"id":202},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":203},"__LivelyClassName__":"lively.morphic.Text"},"188":{"position":{"__isSmartRef__":true,"id":189},"_Extent":{"__isSmartRef__":true,"id":190},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":191},"_Fill":{"__isSmartRef__":true,"id":192},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"189":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"190":{"x":762.0469590469621,"y":195.48209598213498,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"191":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"192":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"193":{"x":12.701682800375693,"y":218.98173452400079,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"194":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"195":{"style":{"__isSmartRef__":true,"id":196},"morph":{"__isSmartRef__":true,"id":187},"storedString":"// changes here only affect runtime\nundefined.addMethods({\n\t","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"196":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"197":{"style":{"__isSmartRef__":true,"id":198},"morph":{"__isSmartRef__":true,"id":187},"storedString":"bla","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"198":{"color":{"__isSmartRef__":true,"id":199},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"199":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"200":{"style":{"__isSmartRef__":true,"id":201},"morph":{"__isSmartRef__":true,"id":187},"storedString":"nk:function () {\n return /^\\s*$/.test(this);\n }\n});","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"201":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"202":{"x":762.0469590469621,"y":195.48209598213498,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"203":{"doSave":{"__isSmartRef__":true,"id":204}},"204":{"varMapping":{"__isSmartRef__":true,"id":205},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":210},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"205":{"this":{"__isSmartRef__":true,"id":187},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":206}},"206":{"$super":{"__isSmartRef__":true,"id":207}},"207":{"varMapping":{"__isSmartRef__":true,"id":208},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":209},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"208":{"obj":{"__isSmartRef__":true,"id":187},"name":"doSave"},"209":{},"210":{},"211":{"submorphs":[],"scripts":[],"id":6035,"shape":{"__isSmartRef__":true,"id":212},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":217},"itemList":[{"__isSmartRef__":true,"id":218},{"__isSmartRef__":true,"id":219},{"__isSmartRef__":true,"id":220},{"__isSmartRef__":true,"id":221},{"__isSmartRef__":true,"id":222}],"showsHalos":false,"halos":[],"name":"classesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":223},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":224}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"selectedLineNo":-1,"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":225},"owner":{"__isSmartRef__":true,"id":49},"_Scale":1,"__LivelyClassName__":"lively.morphic.List"},"212":{"position":{"__isSmartRef__":true,"id":213},"_Extent":{"__isSmartRef__":true,"id":214},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":215},"_Fill":{"__isSmartRef__":true,"id":216},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"213":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"214":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"215":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"216":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"217":{"x":205.60419760419785,"y":33.05397305397307,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"218":{"isStringItem":true,"value":"lively.Closure","string":"Closure"},"219":{"isStringItem":true,"value":"lively.FileUploader","string":"FileUploader"},"220":{"isStringItem":true,"value":"lively.RunArray","string":"RunArray"},"221":{"isStringItem":true,"value":"lively.RichText","string":"RichText"},"222":{"isStringItem":true,"value":"lively.TextEmphasis","string":"TextEmphasis"},"223":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"224":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"selection","targetMethodName":"browse","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"225":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"226":{"submorphs":[],"scripts":[],"id":6060,"shape":{"__isSmartRef__":true,"id":227},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":232},"itemList":[],"showsHalos":false,"halos":[],"name":"categoriesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":233},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":234}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"selectedLineNo":-1,"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":235},"_Scale":1,"owner":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.List"},"227":{"position":{"__isSmartRef__":true,"id":228},"_Extent":{"__isSmartRef__":true,"id":229},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":230},"_Fill":{"__isSmartRef__":true,"id":231},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"228":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"229":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"230":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"231":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"232":{"x":397.2203892203896,"y":34.05197405197404,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"233":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"234":{"sourceObj":{"__isSmartRef__":true,"id":226},"sourceAttrName":"selection","targetMethodName":"browse","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"235":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"236":{"submorphs":[],"scripts":[],"id":6085,"shape":{"__isSmartRef__":true,"id":237},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":242},"itemList":[],"showsHalos":false,"halos":[],"name":"methodsList","partsBinMetaInfo":{"__isSmartRef__":true,"id":243},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":244}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":245},"_Scale":1,"owner":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.List"},"237":{"position":{"__isSmartRef__":true,"id":238},"_Extent":{"__isSmartRef__":true,"id":239},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":240},"_Fill":{"__isSmartRef__":true,"id":241},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"238":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"239":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"240":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"241":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"242":{"x":591.8305838305841,"y":35.04997504997502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"243":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"244":{"sourceObj":{"__isSmartRef__":true,"id":236},"sourceAttrName":"selection","targetMethodName":"browse","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"245":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"246":{"position":{"__isSmartRef__":true,"id":247},"_Extent":{"__isSmartRef__":true,"id":248},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":249},"_Fill":{"__isSmartRef__":true,"id":250},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"247":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"248":{"x":786.4170420843768,"y":425.002005010021,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"249":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"250":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"251":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"252":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"253":{"submorphs":[{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":254},{"__isSmartRef__":true,"id":367}],"scripts":[],"id":501,"shape":{"__isSmartRef__":true,"id":398},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":400},"_Position":{"__isSmartRef__":true,"id":401},"priorExtent":{"__isSmartRef__":true,"id":402},"targetMorph":{"__isSmartRef__":true,"id":49},"titleBar":{"__isSmartRef__":true,"id":254},"contentOffset":{"__isSmartRef__":true,"id":251},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":403},"showsHalos":false,"halos":[],"name":"ClassBrowser","partsBinMetaInfo":{"__isSmartRef__":true,"id":404},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Window"},"254":{"submorphs":[{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":326}],"scripts":[],"id":502,"shape":{"__isSmartRef__":true,"id":352},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":364},"_Position":{"__isSmartRef__":true,"id":365},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":253},"label":{"__isSmartRef__":true,"id":255},"closeButton":{"__isSmartRef__":true,"id":264},"menuButton":{"__isSmartRef__":true,"id":301},"collapseButton":{"__isSmartRef__":true,"id":326},"priorExtent":{"__isSmartRef__":true,"id":366},"owner":{"__isSmartRef__":true,"id":253},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"255":{"submorphs":[],"scripts":[],"id":503,"shape":{"__isSmartRef__":true,"id":256},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":259},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":260},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":261}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":254},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":263},"__LivelyClassName__":"lively.morphic.Text"},"256":{"_Position":{"__isSmartRef__":true,"id":257},"_Extent":{"__isSmartRef__":true,"id":258},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":249},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"257":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"258":{"x":96,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"259":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"260":{"x":346.3635749008379,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"261":{"style":{"__isSmartRef__":true,"id":262},"morph":{"__isSmartRef__":true,"id":255},"storedString":"Class Browser","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"262":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"263":{"x":96,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"264":{"submorphs":[{"__isSmartRef__":true,"id":265}],"scripts":[],"id":504,"shape":{"__isSmartRef__":true,"id":274},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":288},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":278},"lighterFill":{"__isSmartRef__":true,"id":289},"label":{"__isSmartRef__":true,"id":265},"owner":{"__isSmartRef__":true,"id":254},"layout":{"__isSmartRef__":true,"id":298},"attributeConnections":[{"__isSmartRef__":true,"id":299},{"__isSmartRef__":true,"id":300}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"265":{"submorphs":[],"scripts":[],"id":505,"shape":{"__isSmartRef__":true,"id":266},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":269},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":270},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":271}],"owner":{"__isSmartRef__":true,"id":264},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":273},"__LivelyClassName__":"lively.morphic.Text"},"266":{"_Position":{"__isSmartRef__":true,"id":267},"_Extent":{"__isSmartRef__":true,"id":268},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":249},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"267":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"268":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"269":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"270":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"271":{"style":{"__isSmartRef__":true,"id":272},"morph":{"__isSmartRef__":true,"id":265},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"272":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"273":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"274":{"_Position":{"__isSmartRef__":true,"id":275},"_Extent":{"__isSmartRef__":true,"id":276},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":277},"_Fill":{"__isSmartRef__":true,"id":278},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"275":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"276":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"277":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"278":{"stops":[{"__isSmartRef__":true,"id":279},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":285}],"vector":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"279":{"offset":0,"color":{"__isSmartRef__":true,"id":280}},"280":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"281":{"offset":0.4,"color":{"__isSmartRef__":true,"id":282}},"282":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"283":{"offset":0.6,"color":{"__isSmartRef__":true,"id":284}},"284":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"285":{"offset":1,"color":{"__isSmartRef__":true,"id":286}},"286":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"287":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"288":{"x":768.7271498016758,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"289":{"stops":[{"__isSmartRef__":true,"id":290},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":294},{"__isSmartRef__":true,"id":296}],"vector":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"290":{"offset":0,"color":{"__isSmartRef__":true,"id":291}},"291":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"292":{"offset":0.4,"color":{"__isSmartRef__":true,"id":293}},"293":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"294":{"offset":0.6,"color":{"__isSmartRef__":true,"id":295}},"295":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"296":{"offset":1,"color":{"__isSmartRef__":true,"id":297}},"297":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"298":{"moveHorizontal":true},"299":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"300":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"301":{"submorphs":[{"__isSmartRef__":true,"id":302}],"scripts":[],"id":506,"shape":{"__isSmartRef__":true,"id":311},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":314},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":278},"lighterFill":{"__isSmartRef__":true,"id":315},"label":{"__isSmartRef__":true,"id":302},"owner":{"__isSmartRef__":true,"id":254},"attributeConnections":[{"__isSmartRef__":true,"id":324},{"__isSmartRef__":true,"id":325}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"302":{"submorphs":[],"scripts":[],"id":507,"shape":{"__isSmartRef__":true,"id":303},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":306},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":307},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":308}],"owner":{"__isSmartRef__":true,"id":301},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":310},"__LivelyClassName__":"lively.morphic.Text"},"303":{"_Position":{"__isSmartRef__":true,"id":304},"_Extent":{"__isSmartRef__":true,"id":305},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":249},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"304":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"305":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"306":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"307":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"308":{"style":{"__isSmartRef__":true,"id":309},"morph":{"__isSmartRef__":true,"id":302},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"309":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"310":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"311":{"_Position":{"__isSmartRef__":true,"id":312},"_Extent":{"__isSmartRef__":true,"id":313},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":277},"_Fill":{"__isSmartRef__":true,"id":278},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"312":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"313":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"314":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"315":{"stops":[{"__isSmartRef__":true,"id":316},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":322}],"vector":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"316":{"offset":0,"color":{"__isSmartRef__":true,"id":317}},"317":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"318":{"offset":0.4,"color":{"__isSmartRef__":true,"id":319}},"319":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"320":{"offset":0.6,"color":{"__isSmartRef__":true,"id":321}},"321":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"322":{"offset":1,"color":{"__isSmartRef__":true,"id":323}},"323":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"324":{"sourceObj":{"__isSmartRef__":true,"id":301},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"325":{"sourceObj":{"__isSmartRef__":true,"id":301},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"326":{"submorphs":[{"__isSmartRef__":true,"id":327}],"scripts":[],"id":508,"shape":{"__isSmartRef__":true,"id":336},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":339},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":278},"lighterFill":{"__isSmartRef__":true,"id":340},"label":{"__isSmartRef__":true,"id":327},"owner":{"__isSmartRef__":true,"id":254},"layout":{"__isSmartRef__":true,"id":349},"attributeConnections":[{"__isSmartRef__":true,"id":350},{"__isSmartRef__":true,"id":351}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"327":{"submorphs":[],"scripts":[],"id":509,"shape":{"__isSmartRef__":true,"id":328},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":331},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":332},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":333}],"owner":{"__isSmartRef__":true,"id":326},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":335},"__LivelyClassName__":"lively.morphic.Text"},"328":{"_Position":{"__isSmartRef__":true,"id":329},"_Extent":{"__isSmartRef__":true,"id":330},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":249},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"329":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"330":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"331":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"332":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"333":{"style":{"__isSmartRef__":true,"id":334},"morph":{"__isSmartRef__":true,"id":327},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"334":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"335":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"336":{"_Position":{"__isSmartRef__":true,"id":337},"_Extent":{"__isSmartRef__":true,"id":338},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":277},"_Fill":{"__isSmartRef__":true,"id":278},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"337":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"338":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"339":{"x":749.7271498016758,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"340":{"stops":[{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":343},{"__isSmartRef__":true,"id":345},{"__isSmartRef__":true,"id":347}],"vector":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"341":{"offset":0,"color":{"__isSmartRef__":true,"id":342}},"342":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"343":{"offset":0.4,"color":{"__isSmartRef__":true,"id":344}},"344":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"345":{"offset":0.6,"color":{"__isSmartRef__":true,"id":346}},"346":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"347":{"offset":1,"color":{"__isSmartRef__":true,"id":348}},"348":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"349":{"moveHorizontal":true},"350":{"sourceObj":{"__isSmartRef__":true,"id":326},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"351":{"sourceObj":{"__isSmartRef__":true,"id":326},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":253},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"352":{"_Position":{"__isSmartRef__":true,"id":353},"_Extent":{"__isSmartRef__":true,"id":354},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":355},"_Fill":{"__isSmartRef__":true,"id":356},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"353":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"354":{"x":788.7271498016758,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"355":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"356":{"stops":[{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":361}],"vector":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"357":{"offset":0,"color":{"__isSmartRef__":true,"id":358}},"358":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"359":{"offset":0.6,"color":{"__isSmartRef__":true,"id":360}},"360":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"361":{"offset":1,"color":{"__isSmartRef__":true,"id":362}},"362":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"363":{"x":0,"y":1,"width":0,"height":-1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"364":{"resizeWidth":true,"adjustForNewBounds":true},"365":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"366":{"x":788.7271498016758,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"367":{"submorphs":[],"scripts":[],"id":316,"shape":{"__isSmartRef__":true,"id":368},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":373},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1.0000000000000002,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":375},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":253},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":376},"__LivelyClassName__":"lively.morphic.Box"},"368":{"position":{"__isSmartRef__":true,"id":369},"_Extent":{"__isSmartRef__":true,"id":370},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":371},"_Fill":{"__isSmartRef__":true,"id":372},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"369":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"370":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"371":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"372":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"373":{"x":775.7271498016758,"y":438.95238378006025,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"374":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"375":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"376":{"onDrag":{"__isSmartRef__":true,"id":377},"onDragEnd":{"__isSmartRef__":true,"id":384},"onDragStart":{"__isSmartRef__":true,"id":391}},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":383},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"378":{"this":{"__isSmartRef__":true,"id":367},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":379}},"379":{"$super":{"__isSmartRef__":true,"id":380}},"380":{"varMapping":{"__isSmartRef__":true,"id":381},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":382},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"381":{"obj":{"__isSmartRef__":true,"id":367},"name":"onDrag"},"382":{},"383":{},"384":{"varMapping":{"__isSmartRef__":true,"id":385},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"385":{"this":{"__isSmartRef__":true,"id":367},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":386}},"386":{"$super":{"__isSmartRef__":true,"id":387}},"387":{"varMapping":{"__isSmartRef__":true,"id":388},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":389},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"388":{"obj":{"__isSmartRef__":true,"id":367},"name":"onDragEnd"},"389":{},"390":{},"391":{"varMapping":{"__isSmartRef__":true,"id":392},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":397},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"392":{"this":{"__isSmartRef__":true,"id":367},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":393}},"393":{"$super":{"__isSmartRef__":true,"id":394}},"394":{"varMapping":{"__isSmartRef__":true,"id":395},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":396},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"395":{"obj":{"__isSmartRef__":true,"id":367},"name":"onDragStart"},"396":{},"397":{},"398":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":399},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"399":{"x":788.7271498016758,"y":453.95238378006025,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"400":{"adjustForNewBounds":true},"401":{"x":140.76111571558613,"y":190.76420930538052,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"402":{"x":788.7271498016758,"y":453.95238378006025,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"403":{"x":674.2987564836575,"y":198.20598602695398,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"404":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"405":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"406":{"x":786.4170420843768,"y":425.002005010021,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"407":{"search":{"__isSmartRef__":true,"id":408},"browse":{"__isSmartRef__":true,"id":411},"reset":{"__isSmartRef__":true,"id":414},"setSearch":{"__isSmartRef__":true,"id":417},"emphasizeStringIn":{"__isSmartRef__":true,"id":420},"updateModulesList":{"__isSmartRef__":true,"id":423},"browseModule":{"__isSmartRef__":true,"id":426}},"408":{"varMapping":{"__isSmartRef__":true,"id":409},"source":"function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).uniq().forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tfinds = finds.sortBy(function(ea) {return ea[0].name})\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n}","funcProperties":{"__isSmartRef__":true,"id":410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"409":{"this":{"__isSmartRef__":true,"id":49}},"410":{},"411":{"varMapping":{"__isSmartRef__":true,"id":412},"source":"function browse(methodItem) {\n\tif (! methodItem) return;\n\tvar class = methodItem[0]\n\tvar methodName = methodItem[1];\n\t\n\tvar source = \"// changes here only affect runtime\\n\" +\n\t\tclass.type + \".addMethods({\\n\\t\" + methodName + \":\" +\n\t\tclass.prototype[methodName].getOriginal() + \"\\n});\"\n\tthis.get('sourceText').setTextString(source)\n\n\tthis.emphasizeStringIn(this.get('sourceText'), \n\t\tthis.get('searchText').textString, {color: Color.red});\n}","funcProperties":{"__isSmartRef__":true,"id":413},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"412":{"this":{"__isSmartRef__":true,"id":49}},"413":{},"414":{"varMapping":{"__isSmartRef__":true,"id":415},"source":"function reset() {\n\tthis.get('modulesList').updateList([]);\n\tthis.get('modulesList').setSelection(null);\n\tthis.get('classesList').updateList([]);\n\tthis.get('classesList').setSelection(null);\n\tthis.get('categoriesList').updateList([]);\n\tthis.get('categoriesList').setSelection(null);\n\tthis.get('methodsList').updateList([]);\n\tthis.get('methodsList').setSelection(null);\n\n\tthis.get('searchText').setTextString('enter method name her');\n\tthis.get('sourceText').setTextString('no code');\n}","funcProperties":{"__isSmartRef__":true,"id":416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"415":{"this":{"__isSmartRef__":true,"id":49}},"416":{},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"source":"function setSearch(searchString) {\n\tthis.get('searchText').setTextString(searchString);\n\tthis.search(searchString)\n\tvar list = this.get('searchResultList').getList();\n\tif (list.length > 0) this.get('searchResultList').setSelection(list[0])\n}","funcProperties":{"__isSmartRef__":true,"id":419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"418":{"this":{"__isSmartRef__":true,"id":49}},"419":{},"420":{"varMapping":{"__isSmartRef__":true,"id":421},"source":"function emphasizeStringIn(morph, string, style) {\n\tvar m;\n\tvar re = new RegExp(string, \"g\");\n\twhile(m = re.exec(morph.textString)) {\n\t\tvar from = m.index,\n\t\t\tto = m.index + m[0].length;\n\t\tmorph.emphasize(style, from, to)\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"421":{"this":{"__isSmartRef__":true,"id":49}},"422":{},"423":{"varMapping":{"__isSmartRef__":true,"id":424},"source":"function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules.pluck('namespaceIdentifier').sort().collect(function(ea){\n\t\treturn {isStringItem: true, value: ea, string: ea.replace(\"Global.\", \"\")}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n}","funcProperties":{"__isSmartRef__":true,"id":425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"424":{"this":{"__isSmartRef__":true,"id":49}},"425":{},"426":{"varMapping":{"__isSmartRef__":true,"id":427},"source":"function browseModule(moduleIdentifier) {\n\tvar classes = module(moduleIdentifier).classes();\n\tvar items = classes.collect(function(ea){\n\t\treturn {isStringItem: true, value: ea.type, string: ea.name}\n\t})\n\tthis.get('classesList').updateList(items)\n}","funcProperties":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"427":{"this":{"__isSmartRef__":true,"id":49}},"428":{},"429":{"style":{"__isSmartRef__":true,"id":430},"morph":{"__isSmartRef__":true,"id":41},"storedString":"// ClassBrowserPane (this)\n\n// ** ClassBrowserPane's Scripts **\nthis.addScript(function browse(methodItem) {\n\tif (! methodItem) return;\n\tvar class = methodItem[0]\n\tvar methodName = methodItem[1];\n\t\n\tvar source = \"// changes here only affect runtime\\n\" +\n\t\tclass.type + \".addMethods({\\n\\t\" + methodName + \":\" +\n\t\tclass.prototype[methodName].getOriginal() + \"\\n});\"\n\tthis.get('sourceText').setTextString(source)\n\n\tthis.emphasizeStringIn(this.get('sourceText'), \n\t\tthis.get('searchText').textString, {color: Color.red});\n});\n\n\n// ** ClassBrowserPane's Scripts **\nthis.addScript(function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules.pluck('namespaceIdentifier').sort().collect(function(ea){\n\t\treturn {isStringItem: true, value: ea, string: ea.replace(\"Global.\", \"\")}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n});\n\n\nmodule('apps.paper').classes(true)[0].type\n\nthis.addScript(function browseModule(moduleIdentifier) {\n\tvar classes = module(moduleIdentifier).classes();\n\tvar items = classes.collect(function(ea){\n\t\treturn {isStringItem: true, value: ea.type, string: ea.name}\n\t})\n\tthis.get('classesList').updateList(items)\n});\n\n\n\nthis.addScript(function emphasizeStringIn(morph, string, style) {\n\tvar m;\n\tvar re = new RegExp(string, \"g\");\n\twhile(m = re.exec(morph.textString)) {\n\t\tvar from = m.index,\n\t\t\tto = m.index + m[0].length;\n\t\tmorph.emphasize(style, from, to)\n\t}\n});\n\nthis.addScript(function reset() {\n\tthis.get('modulesList').updateList([]);\n\tthis.get('modulesList').setSelection(null);\n\tthis.get('classesList').updateList([]);\n\tthis.get('classesList').setSelection(null);\n\tthis.get('categoriesList').updateList([]);\n\tthis.get('categoriesList').setSelection(null);\n\tthis.get('methodsList').updateList([]);\n\tthis.get('methodsList').setSelection(null);\n\n\tthis.get('searchText').setTextString('enter method name her');\n\tthis.get('sourceText').setTextString('no code');\n});\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).uniq().forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tfinds = finds.sortBy(function(ea) {return ea[0].name})\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});\n\nthis.addScript(function setSearch(searchString) {\n\tthis.get('searchText').setTextString(searchString);\n\tthis.search(searchString)\n\tvar list = this.get('searchResultList').getList();\n\tif (list.length > 0) this.get('searchResultList').setSelection(list[0])\n});","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"430":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"431":{"x":1101.0469530469531,"y":566.982017982018,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"432":{"doSave":{"__isSmartRef__":true,"id":433}},"433":{"varMapping":{"__isSmartRef__":true,"id":434},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":439},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"434":{"this":{"__isSmartRef__":true,"id":41},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":435}},"435":{"$super":{"__isSmartRef__":true,"id":436}},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":438},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"437":{"obj":{"__isSmartRef__":true,"id":41},"name":"doSave"},"438":{},"439":{},"440":{"position":{"__isSmartRef__":true,"id":441},"_Extent":{"__isSmartRef__":true,"id":442},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":443},"_Fill":{"__isSmartRef__":true,"id":444},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"441":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"442":{"x":1114.0799200799202,"y":581.9980019980019,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"443":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"444":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"445":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"446":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"447":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"448":{"x":1114.0799200799202,"y":581.9980019980019,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"449":{"addTargetScript":{"__isSmartRef__":true,"id":450},"addTestObject":{"__isSmartRef__":true,"id":453},"allMorphNames":{"__isSmartRef__":true,"id":456},"allScriptListItems":{"__isSmartRef__":true,"id":459},"bindMorphNames":{"__isSmartRef__":true,"id":462},"doSearch":{"__isSmartRef__":true,"id":465},"findSubobjects":{"__isSmartRef__":true,"id":468},"generateSourceForConnection":{"__isSmartRef__":true,"id":471},"generateSourceForObject":{"__isSmartRef__":true,"id":474},"generateSourceForProperty":{"__isSmartRef__":true,"id":477},"generateSourceForScript":{"__isSmartRef__":true,"id":480},"generateSourceForValue":{"__isSmartRef__":true,"id":483},"generateTargetCode":{"__isSmartRef__":true,"id":486},"highlightSelectedObject":{"__isSmartRef__":true,"id":489},"listItemsForObj":{"__isSmartRef__":true,"id":492},"removeTargetScript":{"__isSmartRef__":true,"id":495},"reset":{"__isSmartRef__":true,"id":498},"setSourceInPane":{"__isSmartRef__":true,"id":501},"setTarget":{"__isSmartRef__":true,"id":504},"setupConnections":{"__isSmartRef__":true,"id":507},"showTopLevelItems":{"__isSmartRef__":true,"id":510},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":513},"updateScriptList":{"__isSmartRef__":true,"id":516},"updateSourcePane":{"__isSmartRef__":true,"id":519}},"450":{"varMapping":{"__isSmartRef__":true,"id":451},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":452},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"451":{"this":{"__isSmartRef__":true,"id":40}},"452":{},"453":{"varMapping":{"__isSmartRef__":true,"id":454},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":455},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"454":{"this":{"__isSmartRef__":true,"id":40}},"455":{},"456":{"varMapping":{"__isSmartRef__":true,"id":457},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":458},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"457":{"this":{"__isSmartRef__":true,"id":40}},"458":{},"459":{"varMapping":{"__isSmartRef__":true,"id":460},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"460":{"this":{"__isSmartRef__":true,"id":40}},"461":{},"462":{"varMapping":{"__isSmartRef__":true,"id":463},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":464},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"463":{"this":{"__isSmartRef__":true,"id":40}},"464":{},"465":{"varMapping":{"__isSmartRef__":true,"id":466},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":467},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"466":{"this":{"__isSmartRef__":true,"id":40}},"467":{},"468":{"varMapping":{"__isSmartRef__":true,"id":469},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":470},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"469":{"this":{"__isSmartRef__":true,"id":40}},"470":{},"471":{"varMapping":{"__isSmartRef__":true,"id":472},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":473},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"472":{"this":{"__isSmartRef__":true,"id":40}},"473":{},"474":{"varMapping":{"__isSmartRef__":true,"id":475},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"475":{"this":{"__isSmartRef__":true,"id":40}},"476":{},"477":{"varMapping":{"__isSmartRef__":true,"id":478},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":479},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"478":{"this":{"__isSmartRef__":true,"id":40}},"479":{},"480":{"varMapping":{"__isSmartRef__":true,"id":481},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":482},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"481":{"this":{"__isSmartRef__":true,"id":40}},"482":{},"483":{"varMapping":{"__isSmartRef__":true,"id":484},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":485},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"484":{"this":{"__isSmartRef__":true,"id":40}},"485":{},"486":{"varMapping":{"__isSmartRef__":true,"id":487},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":488},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"487":{"this":{"__isSmartRef__":true,"id":40}},"488":{},"489":{"varMapping":{"__isSmartRef__":true,"id":490},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":491},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"490":{"this":{"__isSmartRef__":true,"id":40}},"491":{},"492":{"varMapping":{"__isSmartRef__":true,"id":493},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":494},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"493":{"this":{"__isSmartRef__":true,"id":40}},"494":{},"495":{"varMapping":{"__isSmartRef__":true,"id":496},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":497},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"496":{"this":{"__isSmartRef__":true,"id":40}},"497":{},"498":{"varMapping":{"__isSmartRef__":true,"id":499},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"499":{"this":{"__isSmartRef__":true,"id":40}},"500":{},"501":{"varMapping":{"__isSmartRef__":true,"id":502},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":503},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"502":{"this":{"__isSmartRef__":true,"id":40}},"503":{},"504":{"varMapping":{"__isSmartRef__":true,"id":505},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n}","funcProperties":{"__isSmartRef__":true,"id":506},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"505":{"this":{"__isSmartRef__":true,"id":40}},"506":{},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":509},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"508":{"this":{"__isSmartRef__":true,"id":40}},"509":{},"510":{"varMapping":{"__isSmartRef__":true,"id":511},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":512},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"511":{"this":{"__isSmartRef__":true,"id":40}},"512":{},"513":{"varMapping":{"__isSmartRef__":true,"id":514},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"514":{"this":{"__isSmartRef__":true,"id":40}},"515":{},"516":{"varMapping":{"__isSmartRef__":true,"id":517},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":518},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"517":{"this":{"__isSmartRef__":true,"id":40}},"518":{},"519":{"varMapping":{"__isSmartRef__":true,"id":520},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":521},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"520":{"this":{"__isSmartRef__":true,"id":40}},"521":{},"522":{"submorphs":[{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":594}],"scripts":[],"id":18206,"shape":{"__isSmartRef__":true,"id":620},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":623},"_Position":{"__isSmartRef__":true,"id":624},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":39},"label":{"__isSmartRef__":true,"id":523},"closeButton":{"__isSmartRef__":true,"id":532},"menuButton":{"__isSmartRef__":true,"id":569},"collapseButton":{"__isSmartRef__":true,"id":594},"priorExtent":{"__isSmartRef__":true,"id":625},"owner":{"__isSmartRef__":true,"id":39},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"523":{"submorphs":[],"scripts":[],"id":18207,"shape":{"__isSmartRef__":true,"id":524},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":527},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":528},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":529}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":522},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":531},"__LivelyClassName__":"lively.morphic.Text"},"524":{"_Position":{"__isSmartRef__":true,"id":525},"_Extent":{"__isSmartRef__":true,"id":526},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":443},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"525":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"526":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"527":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"528":{"x":492.54045954045955,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"529":{"style":{"__isSmartRef__":true,"id":530},"morph":{"__isSmartRef__":true,"id":523},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ScriptEditorPane","__LivelyClassName__":"lively.morphic.TextChunk"},"530":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"531":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"532":{"submorphs":[{"__isSmartRef__":true,"id":533}],"scripts":[],"id":18208,"shape":{"__isSmartRef__":true,"id":542},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":556},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":546},"lighterFill":{"__isSmartRef__":true,"id":557},"label":{"__isSmartRef__":true,"id":533},"owner":{"__isSmartRef__":true,"id":522},"layout":{"__isSmartRef__":true,"id":566},"attributeConnections":[{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":568}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"533":{"submorphs":[],"scripts":[],"id":18209,"shape":{"__isSmartRef__":true,"id":534},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":537},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":538},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":539}],"owner":{"__isSmartRef__":true,"id":532},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":541},"__LivelyClassName__":"lively.morphic.Text"},"534":{"_Position":{"__isSmartRef__":true,"id":535},"_Extent":{"__isSmartRef__":true,"id":536},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":443},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"535":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"536":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"537":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"538":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"539":{"style":{"__isSmartRef__":true,"id":540},"morph":{"__isSmartRef__":true,"id":533},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"540":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"541":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"542":{"_Position":{"__isSmartRef__":true,"id":543},"_Extent":{"__isSmartRef__":true,"id":544},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":545},"_Fill":{"__isSmartRef__":true,"id":546},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"543":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"544":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"545":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"546":{"stops":[{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":551},{"__isSmartRef__":true,"id":553}],"vector":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"547":{"offset":0,"color":{"__isSmartRef__":true,"id":548}},"548":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"549":{"offset":0.4,"color":{"__isSmartRef__":true,"id":550}},"550":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"551":{"offset":0.6,"color":{"__isSmartRef__":true,"id":552}},"552":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"553":{"offset":1,"color":{"__isSmartRef__":true,"id":554}},"554":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"555":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"556":{"x":1093.080919080919,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"557":{"stops":[{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":560},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":564}],"vector":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"558":{"offset":0,"color":{"__isSmartRef__":true,"id":559}},"559":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"560":{"offset":0.4,"color":{"__isSmartRef__":true,"id":561}},"561":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"562":{"offset":0.6,"color":{"__isSmartRef__":true,"id":563}},"563":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"564":{"offset":1,"color":{"__isSmartRef__":true,"id":565}},"565":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"566":{"moveHorizontal":true},"567":{"sourceObj":{"__isSmartRef__":true,"id":532},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"568":{"sourceObj":{"__isSmartRef__":true,"id":532},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"569":{"submorphs":[{"__isSmartRef__":true,"id":570}],"scripts":[],"id":18210,"shape":{"__isSmartRef__":true,"id":579},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":582},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":546},"lighterFill":{"__isSmartRef__":true,"id":583},"label":{"__isSmartRef__":true,"id":570},"owner":{"__isSmartRef__":true,"id":522},"attributeConnections":[{"__isSmartRef__":true,"id":592},{"__isSmartRef__":true,"id":593}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"halos":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"570":{"submorphs":[],"scripts":[],"id":18211,"shape":{"__isSmartRef__":true,"id":571},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":574},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":575},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":576}],"owner":{"__isSmartRef__":true,"id":569},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":578},"__LivelyClassName__":"lively.morphic.Text"},"571":{"_Position":{"__isSmartRef__":true,"id":572},"_Extent":{"__isSmartRef__":true,"id":573},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":443},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"572":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"573":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"574":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"575":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"576":{"style":{"__isSmartRef__":true,"id":577},"morph":{"__isSmartRef__":true,"id":570},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"577":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"578":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"579":{"_Position":{"__isSmartRef__":true,"id":580},"_Extent":{"__isSmartRef__":true,"id":581},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":545},"_Fill":{"__isSmartRef__":true,"id":546},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"580":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"581":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"582":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"583":{"stops":[{"__isSmartRef__":true,"id":584},{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":590}],"vector":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"584":{"offset":0,"color":{"__isSmartRef__":true,"id":585}},"585":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"586":{"offset":0.4,"color":{"__isSmartRef__":true,"id":587}},"587":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"588":{"offset":0.6,"color":{"__isSmartRef__":true,"id":589}},"589":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"590":{"offset":1,"color":{"__isSmartRef__":true,"id":591}},"591":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"592":{"sourceObj":{"__isSmartRef__":true,"id":569},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"593":{"sourceObj":{"__isSmartRef__":true,"id":569},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"594":{"submorphs":[{"__isSmartRef__":true,"id":595}],"scripts":[],"id":18212,"shape":{"__isSmartRef__":true,"id":604},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":607},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":546},"lighterFill":{"__isSmartRef__":true,"id":608},"label":{"__isSmartRef__":true,"id":595},"owner":{"__isSmartRef__":true,"id":522},"layout":{"__isSmartRef__":true,"id":617},"attributeConnections":[{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":619}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"595":{"submorphs":[],"scripts":[],"id":18213,"shape":{"__isSmartRef__":true,"id":596},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":599},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":600},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":601}],"owner":{"__isSmartRef__":true,"id":594},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":603},"__LivelyClassName__":"lively.morphic.Text"},"596":{"_Position":{"__isSmartRef__":true,"id":597},"_Extent":{"__isSmartRef__":true,"id":598},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":443},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"597":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"598":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"599":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"600":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"601":{"style":{"__isSmartRef__":true,"id":602},"morph":{"__isSmartRef__":true,"id":595},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"602":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"603":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"604":{"_Position":{"__isSmartRef__":true,"id":605},"_Extent":{"__isSmartRef__":true,"id":606},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":545},"_Fill":{"__isSmartRef__":true,"id":546},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"605":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"606":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"607":{"x":1074.080919080919,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"608":{"stops":[{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":615}],"vector":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"609":{"offset":0,"color":{"__isSmartRef__":true,"id":610}},"610":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"611":{"offset":0.4,"color":{"__isSmartRef__":true,"id":612}},"612":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"613":{"offset":0.6,"color":{"__isSmartRef__":true,"id":614}},"614":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"615":{"offset":1,"color":{"__isSmartRef__":true,"id":616}},"616":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"617":{"moveHorizontal":true},"618":{"sourceObj":{"__isSmartRef__":true,"id":594},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"619":{"sourceObj":{"__isSmartRef__":true,"id":594},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"620":{"_Position":{"__isSmartRef__":true,"id":621},"_Extent":{"__isSmartRef__":true,"id":622},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":45},"_Fill":{"__isSmartRef__":true,"id":356},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"621":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"622":{"x":1113.080919080919,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"623":{"resizeWidth":true,"adjustForNewBounds":true},"624":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"625":{"x":1113.080919080919,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"626":{"submorphs":[],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":627},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":632},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":633},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":634},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":39},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":635},"__LivelyClassName__":"lively.morphic.Box"},"627":{"position":{"__isSmartRef__":true,"id":628},"_Extent":{"__isSmartRef__":true,"id":629},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":630},"_Fill":{"__isSmartRef__":true,"id":631},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"628":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"629":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"630":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"631":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"632":{"x":1100.080919080919,"y":585.0019980019979,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"633":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"634":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"635":{"onDrag":{"__isSmartRef__":true,"id":636},"onDragEnd":{"__isSmartRef__":true,"id":643},"onDragStart":{"__isSmartRef__":true,"id":650}},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":642},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"637":{"this":{"__isSmartRef__":true,"id":626},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":638}},"638":{"$super":{"__isSmartRef__":true,"id":639}},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":641},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"640":{"obj":{"__isSmartRef__":true,"id":626},"name":"onDrag"},"641":{},"642":{},"643":{"varMapping":{"__isSmartRef__":true,"id":644},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":649},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"644":{"this":{"__isSmartRef__":true,"id":626},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":645}},"645":{"$super":{"__isSmartRef__":true,"id":646}},"646":{"varMapping":{"__isSmartRef__":true,"id":647},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":648},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"647":{"obj":{"__isSmartRef__":true,"id":626},"name":"onDragEnd"},"648":{},"649":{},"650":{"varMapping":{"__isSmartRef__":true,"id":651},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":656},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"651":{"this":{"__isSmartRef__":true,"id":626},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":652}},"652":{"$super":{"__isSmartRef__":true,"id":653}},"653":{"varMapping":{"__isSmartRef__":true,"id":654},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":655},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"654":{"obj":{"__isSmartRef__":true,"id":626},"name":"onDragStart"},"655":{},"656":{},"657":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":658},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"658":{"x":1113.080919080919,"y":600.0019980019979,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"659":{"adjustForNewBounds":true},"660":{"x":929.7539328490616,"y":212.76420930538052,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"661":{"x":1113.080919080919,"y":600.0019980019979,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"662":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"663":{"x":1332,"y":165,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"664":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"665":{"submorphs":[{"__isSmartRef__":true,"id":666},{"__isSmartRef__":true,"id":678}],"scripts":[],"id":6796,"shape":{"__isSmartRef__":true,"id":786},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":788},"_Position":{"__isSmartRef__":true,"id":789},"priorExtent":{"__isSmartRef__":true,"id":790},"targetMorph":{"__isSmartRef__":true,"id":666},"titleBar":{"__isSmartRef__":true,"id":678},"contentOffset":{"__isSmartRef__":true,"id":673},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":791},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets"},"666":{"submorphs":[],"scripts":[],"id":6795,"shape":{"__isSmartRef__":true,"id":667},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":672},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":673},"priorExtent":{"__isSmartRef__":true,"id":674},"_MaxTextWidth":500,"_MaxTextHeight":200,"textChunks":[{"__isSmartRef__":true,"id":675}],"owner":{"__isSmartRef__":true,"id":665},"layout":{"__isSmartRef__":true,"id":677},"prevScroll":[0,86],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"667":{"_Position":{"__isSmartRef__":true,"id":668},"_Extent":{"__isSmartRef__":true,"id":669},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":{"__isSmartRef__":true,"id":671},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"668":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"669":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"670":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"671":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"672":{"x":2,"y":1,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"673":{"x":0,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"674":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"675":{"style":{"__isSmartRef__":true,"id":676},"morph":{"__isSmartRef__":true,"id":666},"storedString":"ButtonMorph:\tfunction Button(){ Class.initializer.apply(this, arguments) }\nContainerMorph:\tfunction Morph(){ Class.initializer.apply(this, arguments) }\ntop:\t[object DOMWindow]\nwindow:\t[object DOMWindow]\nlocation:\thttp://lively-kernel.org/repository/webwerkstatt/draft/NewWorld/Empty.xhtml\nexternal:\t[object Object]\nchrome:\t[object Object]\ndocument:\t[object Document]\nConfig:\t[object Object]\nisFirefox:\tfalse\nisFireBug:\tfalse\nJSLoader:\t[object Object]\nLivelyLoader:\t[object Object]\nEmbededLoader:\t[object Object]\nLivelyMigrationSupport:\t[object Object]\nconsole:\t[object Console]\nLoadingScreen:\t[object Object]\nCustomJSON:\t[object Object]\nPrototype:\t[object Object]\n$break:\t[object Object]\nEnumerable:\t[object Object]\nUserAgent:\t[object Object]\nExistingConfig:\t[object Object]\nGlobal:\t[object DOMWindow]\nClass:\t[object Object]\nStrings:\t[object Object]\nNumbers:\t[object Object]\nFunctions:\t[object Object]\nProperties:\t[object Object]\nnamespaceIdentifier:\tGlobal\nlively:\tmodule(Global.lively)\nanonymous_module_0:\tmodule(Global.anonymous_module_0)\nNamespace:\t[object Object]\nConverter:\t[object Object]\nNodeFactory:\t[object Object]\nXLinkNS:\t[object Object]\nLivelyNS:\t[object Object]\nXHTMLNS:\t[object Object]\nspec:\t[object Object]\nanonymous_module_1:\tmodule(Global.anonymous_module_1)\ncop:\tmodule(Global.cop)\n$world:\t\nLayerableObjectTrait:\t[object Object]\nTextDevLayer:\tTextDevLayer\nDisplayThemes:\t[object Object]\nViewTrait:\t[object Object]\nNetRequestReporterTrait:\t[object Object]\nDocumentMigrationLevel2Layer:\tDocumentMigrationLevel2Layer\nanonymous_module_2:\tmodule(Global.anonymous_module_2)\nNewMorphicCompatLayer:\tNewMorphicCompatLayer\n_layer_object_id:\t2\n__layered_BoxMorph__:\tundefined\nBoxMorph:\tfunction Box(){ Class.initializer.apply(this, arguments) }\n__layered_ButtonMorph__:\tundefined\n__layered_ContainerMorph__:\tundefined\n__layered_HorizontalDivider__:\tundefined\nHorizontalDivider:\tfunction HorizontalDivider(){ Class.initializer.apply(this, arguments) }\n__layered_ImageMorph__:\tundefined\nImageMorph:\tfunction Image(){ Class.initializer.apply(this, arguments) }\n__layered_MenuMorph__:\tundefined\nMenuMorph:\tfunction Menu(){ Class.initializer.apply(this, arguments) }\n__layered_Morph__:\tundefined\nMorph:\tfunction Morph(){ Class.initializer.apply(this, arguments) }\n__layered_PanelMorph__:\tundefined\nPanelMorph:\tfunction Panel(){ Class.initializer.apply(this, arguments) }\n__layered_SliderMorph__:\tundefined\nSliderMorph:\tfunction Slider(){ Class.initializer.apply(this, arguments) }\n__layered_TextMorph__:\tundefined\nTextMorph:\tfunction Text(){ Class.initializer.apply(this, arguments) }\n__layered_Widget__:\tundefined\nWidget:\tfunction WindowedApp(){ Class.initializer.apply(this, arguments) }\n__layered_WorldMorph__:\tundefined\nWorldMorph:\tfunction World(){ Class.initializer.apply(this, arguments) }\n__layered_newDragnDropListPane__:\tundefined\nnewDragnDropListPane:\tfunction (initialBounds, suppressSelectionOnUpdate) {\n\t\t\treturn new lively.mo...\n__layered_newTextPane__:\tundefined\nnewTextPane:\tfunction (initialBounds, defaultText) {\n\t\t\tvar text = new TextMorph(initialBo...\nanonymous_module_3:\tmodule(Global.anonymous_module_3)\notherChunkNode:\tundefined\nLastEvent:\t[object KeyboardEvent]\nLastEventWasHandled:\tfalse\ntransform:\ttranslate(543px,694px)\noldTransformedOrigin:\tpt(543.0,694.0)\nnewTransformedOrigin:\tpt(543.0,694.0)\ntransformedDelta:\tpt(0.0,0.0)\nwasDefined:\ttrue\napps:\tmodule(Global.apps)\npv:\t[object Object]\ntitleHeight:\t22\nsource:\t// updateButton (this)\n\n\n\n// ** updateButton's Connections **\nconnect(this, \"...\nanonymous_module_4:\tmodule(Global.anonymous_module_4)\nometa:\tmodule(Global.ometa)\nescapeStringFor:\t[object Object]\nfail:\tmatch failed\nOMeta:\t[object Object]\nChunkParser:\t[object Object]\nParser:\t[object Object]\nBSNullOptimization:\t[object Object]\nBSAssociativeOptimization:\t[object Object]\nBSSeqInliner:\t[object Object]\nBSJumpTableOptimization:\t[object Object]\nBSOMetaOptimizer:\t[object Object]\nBSJSParser:\t[object Object]\nkeywords:\t[break, case, catch, continue, default, delete, do, else, finally, for, funct...\nBSJSTranslator:\t[object Object]\nBSOMetaParser:\t[object Object]\nBSOMetaTranslator:\t[object Object]\nLKJSParser:\t[object Object]\nLKJSTranslator:\t[object Object]\nLKOMetaParser:\t[object Object]\nLKOMetaJSParser:\t[object Object]\nLKOMetaJSTranslator:\t[object Object]\nLKFileParser:\t[object Object]\npaths:\t[http://lively-kernel.org/repository/webwerkstatt/media/, http://lively-kerne...\nanonymous_module_5:\tmodule(Global.anonymous_module_5)\nsvgNode:\t[object SVGGElement]\nsvgLogo:\t\n FindSenders has...\nwebkitNotifications:\t[object NotificationCenter]\nscreenY:\t22\nnavigator:\t[object Navigator]\nsessionStorage:\t[object Storage]\ndefaultStatus:\t\ntoolbar:\t[object BarInfo]\ninnerHeight:\t1079\nwebkitIndexedDB:\t[object IDBFactory]\napplicationCache:\t[object DOMApplicationCache]\npageXOffset:\t471\nopener:\tnull\nscreenX:\t242\ninnerWidth:\t1481\npersonalbar:\t[object BarInfo]\nlength:\t0\nlocationbar:\t[object BarInfo]\nscrollY:\t41\nouterHeight:\t1174\nclientInformation:\t[object Navigator]\nscrollbars:\t[object BarInfo]\nscreen:\t[object Screen]\nlocalStorage:\t[object Storage]\ndefaultstatus:\t\nframes:\t[object DOMWindow]\nstatus:\t\nstyleMedia:\t[object StyleMedia]\nname:\tchange\nself:\t[object DOMWindow]\nperformance:\t[object Performance]\nstatusbar:\t[object BarInfo]\nparent:\t[object DOMWindow]\nclosed:\tfalse\ncrypto:\t[object Crypto]\nscrollX:\t471\nevent:\t[object KeyboardEvent]\ndevicePixelRatio:\t1\nwebkitURL:\t[object DOMURL]\nouterWidth:\t1481\nmenubar:\t[object BarInfo]\nhistory:\t[object History]\nframeElement:\tundefined\nscreenLeft:\t242\noffscreenBuffering:\ttrue\npageYOffset:\t41\nscreenTop:\t22","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"676":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"677":{"resizeWidth":true,"resizeHeight":true},"678":{"submorphs":[{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":688},{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":752}],"scripts":[],"id":6797,"shape":{"__isSmartRef__":true,"id":779},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":783},"_Position":{"__isSmartRef__":true,"id":784},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":665},"label":{"__isSmartRef__":true,"id":679},"closeButton":{"__isSmartRef__":true,"id":688},"menuButton":{"__isSmartRef__":true,"id":726},"collapseButton":{"__isSmartRef__":true,"id":752},"priorExtent":{"__isSmartRef__":true,"id":785},"owner":{"__isSmartRef__":true,"id":665},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"679":{"submorphs":[],"scripts":[],"id":6798,"shape":{"__isSmartRef__":true,"id":680},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":683},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":684},"priorExtent":{"__isSmartRef__":true,"id":685},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":686}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":678},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"680":{"_Position":{"__isSmartRef__":true,"id":681},"_Extent":{"__isSmartRef__":true,"id":682},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"681":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"682":{"x":256,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"683":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"684":{"x":122,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"685":{"x":256,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"686":{"style":{"__isSmartRef__":true,"id":687},"morph":{"__isSmartRef__":true,"id":679},"storedString":"Inspector for [object DOMWindow]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"687":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"688":{"submorphs":[{"__isSmartRef__":true,"id":689}],"scripts":[],"id":6799,"shape":{"__isSmartRef__":true,"id":698},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":712},"priorExtent":{"__isSmartRef__":true,"id":713},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":702},"lighterFill":{"__isSmartRef__":true,"id":714},"label":{"__isSmartRef__":true,"id":689},"owner":{"__isSmartRef__":true,"id":678},"layout":{"__isSmartRef__":true,"id":723},"attributeConnections":[{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":725}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"689":{"submorphs":[],"scripts":[],"id":6800,"shape":{"__isSmartRef__":true,"id":690},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":693},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":694},"priorExtent":{"__isSmartRef__":true,"id":695},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":696}],"owner":{"__isSmartRef__":true,"id":688},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"690":{"_Position":{"__isSmartRef__":true,"id":691},"_Extent":{"__isSmartRef__":true,"id":692},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"691":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"692":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"693":{"x":5,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"694":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"695":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"696":{"style":{"__isSmartRef__":true,"id":697},"morph":{"__isSmartRef__":true,"id":689},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"697":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"698":{"_Position":{"__isSmartRef__":true,"id":699},"_Extent":{"__isSmartRef__":true,"id":700},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":701},"_Fill":{"__isSmartRef__":true,"id":702},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"699":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"700":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"701":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"702":{"stops":[{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":709}],"vector":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"703":{"offset":0,"color":{"__isSmartRef__":true,"id":704}},"704":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"705":{"offset":0.4,"color":{"__isSmartRef__":true,"id":706}},"706":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"707":{"offset":0.6,"color":{"__isSmartRef__":true,"id":708}},"708":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"709":{"offset":1,"color":{"__isSmartRef__":true,"id":710}},"710":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"711":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"712":{"x":480,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"713":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"714":{"stops":[{"__isSmartRef__":true,"id":715},{"__isSmartRef__":true,"id":717},{"__isSmartRef__":true,"id":719},{"__isSmartRef__":true,"id":721}],"vector":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"715":{"offset":0,"color":{"__isSmartRef__":true,"id":716}},"716":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"717":{"offset":0.4,"color":{"__isSmartRef__":true,"id":718}},"718":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"719":{"offset":0.6,"color":{"__isSmartRef__":true,"id":720}},"720":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"721":{"offset":1,"color":{"__isSmartRef__":true,"id":722}},"722":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"723":{"moveHorizontal":true},"724":{"sourceObj":{"__isSmartRef__":true,"id":688},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"725":{"sourceObj":{"__isSmartRef__":true,"id":688},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"726":{"submorphs":[{"__isSmartRef__":true,"id":727}],"scripts":[],"id":6801,"shape":{"__isSmartRef__":true,"id":736},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":739},"priorExtent":{"__isSmartRef__":true,"id":740},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":702},"lighterFill":{"__isSmartRef__":true,"id":741},"label":{"__isSmartRef__":true,"id":727},"owner":{"__isSmartRef__":true,"id":678},"attributeConnections":[{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"727":{"submorphs":[],"scripts":[],"id":6802,"shape":{"__isSmartRef__":true,"id":728},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":731},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":732},"priorExtent":{"__isSmartRef__":true,"id":733},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":734}],"owner":{"__isSmartRef__":true,"id":726},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"728":{"_Position":{"__isSmartRef__":true,"id":729},"_Extent":{"__isSmartRef__":true,"id":730},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"729":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"730":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"731":{"x":5,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"732":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"733":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"734":{"style":{"__isSmartRef__":true,"id":735},"morph":{"__isSmartRef__":true,"id":727},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"735":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"736":{"_Position":{"__isSmartRef__":true,"id":737},"_Extent":{"__isSmartRef__":true,"id":738},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":701},"_Fill":{"__isSmartRef__":true,"id":702},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"737":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"738":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"739":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"740":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"741":{"stops":[{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":748}],"vector":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"742":{"offset":0,"color":{"__isSmartRef__":true,"id":743}},"743":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"744":{"offset":0.4,"color":{"__isSmartRef__":true,"id":745}},"745":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"746":{"offset":0.6,"color":{"__isSmartRef__":true,"id":747}},"747":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"748":{"offset":1,"color":{"__isSmartRef__":true,"id":749}},"749":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"750":{"sourceObj":{"__isSmartRef__":true,"id":726},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"751":{"sourceObj":{"__isSmartRef__":true,"id":726},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"752":{"submorphs":[{"__isSmartRef__":true,"id":753}],"scripts":[],"id":6803,"shape":{"__isSmartRef__":true,"id":762},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":765},"priorExtent":{"__isSmartRef__":true,"id":766},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":702},"lighterFill":{"__isSmartRef__":true,"id":767},"label":{"__isSmartRef__":true,"id":753},"owner":{"__isSmartRef__":true,"id":678},"layout":{"__isSmartRef__":true,"id":776},"attributeConnections":[{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":778}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"753":{"submorphs":[],"scripts":[],"id":6804,"shape":{"__isSmartRef__":true,"id":754},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":757},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":758},"priorExtent":{"__isSmartRef__":true,"id":759},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":760}],"owner":{"__isSmartRef__":true,"id":752},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"754":{"_Position":{"__isSmartRef__":true,"id":755},"_Extent":{"__isSmartRef__":true,"id":756},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"755":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"756":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"757":{"x":5,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"758":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"759":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"760":{"style":{"__isSmartRef__":true,"id":761},"morph":{"__isSmartRef__":true,"id":753},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"761":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"762":{"_Position":{"__isSmartRef__":true,"id":763},"_Extent":{"__isSmartRef__":true,"id":764},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":701},"_Fill":{"__isSmartRef__":true,"id":702},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"763":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"764":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"765":{"x":461,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"766":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"767":{"stops":[{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":774}],"vector":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"768":{"offset":0,"color":{"__isSmartRef__":true,"id":769}},"769":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"770":{"offset":0.4,"color":{"__isSmartRef__":true,"id":771}},"771":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"772":{"offset":0.6,"color":{"__isSmartRef__":true,"id":773}},"773":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"774":{"offset":1,"color":{"__isSmartRef__":true,"id":775}},"775":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"776":{"moveHorizontal":true},"777":{"sourceObj":{"__isSmartRef__":true,"id":752},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"778":{"sourceObj":{"__isSmartRef__":true,"id":752},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":665},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"779":{"_Position":{"__isSmartRef__":true,"id":780},"_Extent":{"__isSmartRef__":true,"id":781},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":782},"_Fill":{"__isSmartRef__":true,"id":356},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"780":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"781":{"x":500,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"782":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"783":{"resizeWidth":true,"adjustForNewBounds":true},"784":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"785":{"x":500,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"786":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":787},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"787":{"x":500,"y":222,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"788":{"adjustForNewBounds":true},"789":{"x":1062.2369829577476,"y":836.8577443207076,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"790":{"x":500,"y":222,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"791":{"x":1132.578022730671,"y":847.5395738661792,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"792":{"submorphs":[{"__isSmartRef__":true,"id":793},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":999}],"scripts":[],"id":18205,"shape":{"__isSmartRef__":true,"id":1030},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1032},"_Position":{"__isSmartRef__":true,"id":1033},"priorExtent":{"__isSmartRef__":true,"id":1034},"targetMorph":{"__isSmartRef__":true,"id":793},"titleBar":{"__isSmartRef__":true,"id":895},"contentOffset":{"__isSmartRef__":true,"id":1035},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1036},"showsHalos":false,"halos":[],"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":1037},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Window"},"793":{"submorphs":[{"__isSmartRef__":true,"id":794}],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":813},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":818},"showsHalos":false,"halos":[],"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":819},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":792},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":794},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":61},"_Scale":1,"layout":{"__isSmartRef__":true,"id":820},"priorExtent":{"__isSmartRef__":true,"id":821},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":822},"__LivelyClassName__":"lively.morphic.Box"},"794":{"submorphs":[],"scripts":[],"id":263,"shape":{"__isSmartRef__":true,"id":795},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":800},"_MaxTextWidth":591.046953046953,"_MaxTextHeight":384.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":793},"layout":{"__isSmartRef__":true,"id":801},"doitContext":{"__isSmartRef__":true,"id":61},"charsReplaced":"et(\"searchText\")","lastFindLoc":155,"showsHalos":false,"halos":[],"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":802}],"priorSelectionRange":[126,126],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":805},"__LivelyClassName__":"lively.morphic.Text"},"795":{"position":{"__isSmartRef__":true,"id":796},"_Extent":{"__isSmartRef__":true,"id":797},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":798},"_Fill":{"__isSmartRef__":true,"id":799},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"796":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"797":{"x":591.046953046953,"y":384.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"798":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"799":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"800":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"801":{"resizeWidth":true,"resizeHeight":true},"802":{"style":{"__isSmartRef__":true,"id":803},"morph":{"__isSmartRef__":true,"id":794},"storedString":"// updateButton (this)\n\n\n\n// ** updateButton's Connections **\ndisconnect(this, \"fire\", this.get(\"searchText\"), \"doSave\", {});\n\nconnect(this, \"fire\", this.owner, \"updateModulesList\", {});","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"803":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"804":{"x":591.046953046953,"y":384.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"805":{"doSave":{"__isSmartRef__":true,"id":806}},"806":{"varMapping":{"__isSmartRef__":true,"id":807},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":812},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"807":{"this":{"__isSmartRef__":true,"id":794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":808}},"808":{"$super":{"__isSmartRef__":true,"id":809}},"809":{"varMapping":{"__isSmartRef__":true,"id":810},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":811},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"810":{"obj":{"__isSmartRef__":true,"id":794},"name":"doSave"},"811":{},"812":{},"813":{"position":{"__isSmartRef__":true,"id":814},"_Extent":{"__isSmartRef__":true,"id":815},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":816},"_Fill":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"814":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"815":{"x":604.0799200799202,"y":399.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"816":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"817":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"818":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"819":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"820":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"821":{"x":604.0799200799202,"y":399.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"822":{"addTargetScript":{"__isSmartRef__":true,"id":823},"addTestObject":{"__isSmartRef__":true,"id":826},"allMorphNames":{"__isSmartRef__":true,"id":829},"allScriptListItems":{"__isSmartRef__":true,"id":832},"bindMorphNames":{"__isSmartRef__":true,"id":835},"doSearch":{"__isSmartRef__":true,"id":838},"findSubobjects":{"__isSmartRef__":true,"id":841},"generateSourceForConnection":{"__isSmartRef__":true,"id":844},"generateSourceForObject":{"__isSmartRef__":true,"id":847},"generateSourceForProperty":{"__isSmartRef__":true,"id":850},"generateSourceForScript":{"__isSmartRef__":true,"id":853},"generateSourceForValue":{"__isSmartRef__":true,"id":856},"generateTargetCode":{"__isSmartRef__":true,"id":859},"highlightSelectedObject":{"__isSmartRef__":true,"id":862},"listItemsForObj":{"__isSmartRef__":true,"id":865},"removeTargetScript":{"__isSmartRef__":true,"id":868},"reset":{"__isSmartRef__":true,"id":871},"setSourceInPane":{"__isSmartRef__":true,"id":874},"setTarget":{"__isSmartRef__":true,"id":877},"setupConnections":{"__isSmartRef__":true,"id":880},"showTopLevelItems":{"__isSmartRef__":true,"id":883},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":886},"updateScriptList":{"__isSmartRef__":true,"id":889},"updateSourcePane":{"__isSmartRef__":true,"id":892}},"823":{"varMapping":{"__isSmartRef__":true,"id":824},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":825},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"824":{"this":{"__isSmartRef__":true,"id":793}},"825":{},"826":{"varMapping":{"__isSmartRef__":true,"id":827},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":828},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"827":{"this":{"__isSmartRef__":true,"id":793}},"828":{},"829":{"varMapping":{"__isSmartRef__":true,"id":830},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":831},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"830":{"this":{"__isSmartRef__":true,"id":793}},"831":{},"832":{"varMapping":{"__isSmartRef__":true,"id":833},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":834},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"833":{"this":{"__isSmartRef__":true,"id":793}},"834":{},"835":{"varMapping":{"__isSmartRef__":true,"id":836},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":837},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"836":{"this":{"__isSmartRef__":true,"id":793}},"837":{},"838":{"varMapping":{"__isSmartRef__":true,"id":839},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":840},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"839":{"this":{"__isSmartRef__":true,"id":793}},"840":{},"841":{"varMapping":{"__isSmartRef__":true,"id":842},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":843},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"842":{"this":{"__isSmartRef__":true,"id":793}},"843":{},"844":{"varMapping":{"__isSmartRef__":true,"id":845},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":846},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"845":{"this":{"__isSmartRef__":true,"id":793}},"846":{},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":849},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"848":{"this":{"__isSmartRef__":true,"id":793}},"849":{},"850":{"varMapping":{"__isSmartRef__":true,"id":851},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":852},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"851":{"this":{"__isSmartRef__":true,"id":793}},"852":{},"853":{"varMapping":{"__isSmartRef__":true,"id":854},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":855},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"854":{"this":{"__isSmartRef__":true,"id":793}},"855":{},"856":{"varMapping":{"__isSmartRef__":true,"id":857},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"857":{"this":{"__isSmartRef__":true,"id":793}},"858":{},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":861},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"860":{"this":{"__isSmartRef__":true,"id":793}},"861":{},"862":{"varMapping":{"__isSmartRef__":true,"id":863},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":864},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"863":{"this":{"__isSmartRef__":true,"id":793}},"864":{},"865":{"varMapping":{"__isSmartRef__":true,"id":866},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":867},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"866":{"this":{"__isSmartRef__":true,"id":793}},"867":{},"868":{"varMapping":{"__isSmartRef__":true,"id":869},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":870},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"869":{"this":{"__isSmartRef__":true,"id":793}},"870":{},"871":{"varMapping":{"__isSmartRef__":true,"id":872},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":873},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"872":{"this":{"__isSmartRef__":true,"id":793}},"873":{},"874":{"varMapping":{"__isSmartRef__":true,"id":875},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":876},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"875":{"this":{"__isSmartRef__":true,"id":793}},"876":{},"877":{"varMapping":{"__isSmartRef__":true,"id":878},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n}","funcProperties":{"__isSmartRef__":true,"id":879},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"878":{"this":{"__isSmartRef__":true,"id":793}},"879":{},"880":{"varMapping":{"__isSmartRef__":true,"id":881},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":882},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"881":{"this":{"__isSmartRef__":true,"id":793}},"882":{},"883":{"varMapping":{"__isSmartRef__":true,"id":884},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":885},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"884":{"this":{"__isSmartRef__":true,"id":793}},"885":{},"886":{"varMapping":{"__isSmartRef__":true,"id":887},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":888},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"887":{"this":{"__isSmartRef__":true,"id":793}},"888":{},"889":{"varMapping":{"__isSmartRef__":true,"id":890},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":891},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"890":{"this":{"__isSmartRef__":true,"id":793}},"891":{},"892":{"varMapping":{"__isSmartRef__":true,"id":893},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":894},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"893":{"this":{"__isSmartRef__":true,"id":793}},"894":{},"895":{"submorphs":[{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":967}],"scripts":[],"id":18206,"shape":{"__isSmartRef__":true,"id":993},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":996},"_Position":{"__isSmartRef__":true,"id":997},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":792},"label":{"__isSmartRef__":true,"id":896},"closeButton":{"__isSmartRef__":true,"id":905},"menuButton":{"__isSmartRef__":true,"id":942},"collapseButton":{"__isSmartRef__":true,"id":967},"priorExtent":{"__isSmartRef__":true,"id":998},"owner":{"__isSmartRef__":true,"id":792},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"896":{"submorphs":[],"scripts":[],"id":18207,"shape":{"__isSmartRef__":true,"id":897},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":900},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":901},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":902}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":895},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":904},"__LivelyClassName__":"lively.morphic.Text"},"897":{"_Position":{"__isSmartRef__":true,"id":898},"_Extent":{"__isSmartRef__":true,"id":899},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":816},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"898":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"899":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"900":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"901":{"x":237.54045954045955,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"902":{"style":{"__isSmartRef__":true,"id":903},"morph":{"__isSmartRef__":true,"id":896},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ScriptEditorPane","__LivelyClassName__":"lively.morphic.TextChunk"},"903":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"904":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"905":{"submorphs":[{"__isSmartRef__":true,"id":906}],"scripts":[],"id":18208,"shape":{"__isSmartRef__":true,"id":915},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":929},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":919},"lighterFill":{"__isSmartRef__":true,"id":930},"label":{"__isSmartRef__":true,"id":906},"owner":{"__isSmartRef__":true,"id":895},"layout":{"__isSmartRef__":true,"id":939},"attributeConnections":[{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":941}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"906":{"submorphs":[],"scripts":[],"id":18209,"shape":{"__isSmartRef__":true,"id":907},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":910},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":911},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":912}],"owner":{"__isSmartRef__":true,"id":905},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":914},"__LivelyClassName__":"lively.morphic.Text"},"907":{"_Position":{"__isSmartRef__":true,"id":908},"_Extent":{"__isSmartRef__":true,"id":909},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":816},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"908":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"909":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"910":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"911":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"912":{"style":{"__isSmartRef__":true,"id":913},"morph":{"__isSmartRef__":true,"id":906},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"913":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"914":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"915":{"_Position":{"__isSmartRef__":true,"id":916},"_Extent":{"__isSmartRef__":true,"id":917},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":918},"_Fill":{"__isSmartRef__":true,"id":919},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"916":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"917":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"918":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"919":{"stops":[{"__isSmartRef__":true,"id":920},{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":926}],"vector":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"920":{"offset":0,"color":{"__isSmartRef__":true,"id":921}},"921":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"922":{"offset":0.4,"color":{"__isSmartRef__":true,"id":923}},"923":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"924":{"offset":0.6,"color":{"__isSmartRef__":true,"id":925}},"925":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"926":{"offset":1,"color":{"__isSmartRef__":true,"id":927}},"927":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"928":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"929":{"x":583.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"930":{"stops":[{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":937}],"vector":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"931":{"offset":0,"color":{"__isSmartRef__":true,"id":932}},"932":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"933":{"offset":0.4,"color":{"__isSmartRef__":true,"id":934}},"934":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"935":{"offset":0.6,"color":{"__isSmartRef__":true,"id":936}},"936":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"937":{"offset":1,"color":{"__isSmartRef__":true,"id":938}},"938":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"939":{"moveHorizontal":true},"940":{"sourceObj":{"__isSmartRef__":true,"id":905},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"941":{"sourceObj":{"__isSmartRef__":true,"id":905},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"942":{"submorphs":[{"__isSmartRef__":true,"id":943}],"scripts":[],"id":18210,"shape":{"__isSmartRef__":true,"id":952},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":955},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":919},"lighterFill":{"__isSmartRef__":true,"id":956},"label":{"__isSmartRef__":true,"id":943},"owner":{"__isSmartRef__":true,"id":895},"attributeConnections":[{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"halos":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"943":{"submorphs":[],"scripts":[],"id":18211,"shape":{"__isSmartRef__":true,"id":944},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":947},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":948},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":949}],"owner":{"__isSmartRef__":true,"id":942},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":951},"__LivelyClassName__":"lively.morphic.Text"},"944":{"_Position":{"__isSmartRef__":true,"id":945},"_Extent":{"__isSmartRef__":true,"id":946},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":816},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"945":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"946":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"947":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"948":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"949":{"style":{"__isSmartRef__":true,"id":950},"morph":{"__isSmartRef__":true,"id":943},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"950":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"951":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"952":{"_Position":{"__isSmartRef__":true,"id":953},"_Extent":{"__isSmartRef__":true,"id":954},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":918},"_Fill":{"__isSmartRef__":true,"id":919},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"953":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"954":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"955":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"956":{"stops":[{"__isSmartRef__":true,"id":957},{"__isSmartRef__":true,"id":959},{"__isSmartRef__":true,"id":961},{"__isSmartRef__":true,"id":963}],"vector":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"957":{"offset":0,"color":{"__isSmartRef__":true,"id":958}},"958":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"959":{"offset":0.4,"color":{"__isSmartRef__":true,"id":960}},"960":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"961":{"offset":0.6,"color":{"__isSmartRef__":true,"id":962}},"962":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"963":{"offset":1,"color":{"__isSmartRef__":true,"id":964}},"964":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"965":{"sourceObj":{"__isSmartRef__":true,"id":942},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"966":{"sourceObj":{"__isSmartRef__":true,"id":942},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"967":{"submorphs":[{"__isSmartRef__":true,"id":968}],"scripts":[],"id":18212,"shape":{"__isSmartRef__":true,"id":977},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":980},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":919},"lighterFill":{"__isSmartRef__":true,"id":981},"label":{"__isSmartRef__":true,"id":968},"owner":{"__isSmartRef__":true,"id":895},"layout":{"__isSmartRef__":true,"id":990},"attributeConnections":[{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"968":{"submorphs":[],"scripts":[],"id":18213,"shape":{"__isSmartRef__":true,"id":969},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":972},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":973},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":974}],"owner":{"__isSmartRef__":true,"id":967},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":976},"__LivelyClassName__":"lively.morphic.Text"},"969":{"_Position":{"__isSmartRef__":true,"id":970},"_Extent":{"__isSmartRef__":true,"id":971},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":816},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"970":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"971":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"972":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"973":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"974":{"style":{"__isSmartRef__":true,"id":975},"morph":{"__isSmartRef__":true,"id":968},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"975":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"976":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"977":{"_Position":{"__isSmartRef__":true,"id":978},"_Extent":{"__isSmartRef__":true,"id":979},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":918},"_Fill":{"__isSmartRef__":true,"id":919},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"978":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"979":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"980":{"x":564.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"981":{"stops":[{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":986},{"__isSmartRef__":true,"id":988}],"vector":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"982":{"offset":0,"color":{"__isSmartRef__":true,"id":983}},"983":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"984":{"offset":0.4,"color":{"__isSmartRef__":true,"id":985}},"985":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"986":{"offset":0.6,"color":{"__isSmartRef__":true,"id":987}},"987":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"988":{"offset":1,"color":{"__isSmartRef__":true,"id":989}},"989":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"990":{"moveHorizontal":true},"991":{"sourceObj":{"__isSmartRef__":true,"id":967},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"992":{"sourceObj":{"__isSmartRef__":true,"id":967},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":792},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"993":{"_Position":{"__isSmartRef__":true,"id":994},"_Extent":{"__isSmartRef__":true,"id":995},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":798},"_Fill":{"__isSmartRef__":true,"id":356},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"994":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"995":{"x":603.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"996":{"resizeWidth":true,"adjustForNewBounds":true},"997":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"998":{"x":603.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"999":{"submorphs":[],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":1000},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1005},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1006},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1007},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":792},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1008},"__LivelyClassName__":"lively.morphic.Box"},"1000":{"position":{"__isSmartRef__":true,"id":1001},"_Extent":{"__isSmartRef__":true,"id":1002},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1003},"_Fill":{"__isSmartRef__":true,"id":1004},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1001":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1002":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1003":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1004":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1005":{"x":590.0809190809191,"y":403.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1006":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1007":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1008":{"onDrag":{"__isSmartRef__":true,"id":1009},"onDragEnd":{"__isSmartRef__":true,"id":1016},"onDragStart":{"__isSmartRef__":true,"id":1023}},"1009":{"varMapping":{"__isSmartRef__":true,"id":1010},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":1015},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1010":{"this":{"__isSmartRef__":true,"id":999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1011}},"1011":{"$super":{"__isSmartRef__":true,"id":1012}},"1012":{"varMapping":{"__isSmartRef__":true,"id":1013},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1014},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1013":{"obj":{"__isSmartRef__":true,"id":999},"name":"onDrag"},"1014":{},"1015":{},"1016":{"varMapping":{"__isSmartRef__":true,"id":1017},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1022},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1017":{"this":{"__isSmartRef__":true,"id":999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1018}},"1018":{"$super":{"__isSmartRef__":true,"id":1019}},"1019":{"varMapping":{"__isSmartRef__":true,"id":1020},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1021},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1020":{"obj":{"__isSmartRef__":true,"id":999},"name":"onDragEnd"},"1021":{},"1022":{},"1023":{"varMapping":{"__isSmartRef__":true,"id":1024},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1029},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1024":{"this":{"__isSmartRef__":true,"id":999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1025}},"1025":{"$super":{"__isSmartRef__":true,"id":1026}},"1026":{"varMapping":{"__isSmartRef__":true,"id":1027},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1028},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1027":{"obj":{"__isSmartRef__":true,"id":999},"name":"onDragStart"},"1028":{},"1029":{},"1030":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1031},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1031":{"x":603.0809190809191,"y":418.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1032":{"adjustForNewBounds":true},"1033":{"x":153.51982851966858,"y":663.9096655826033,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1034":{"x":603.0809190809191,"y":418.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1035":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1036":{"x":637.3118806837304,"y":672.3498295474718,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1037":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1038":{"submorphs":[{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1141},{"__isSmartRef__":true,"id":1252}],"scripts":[],"id":18205,"shape":{"__isSmartRef__":true,"id":1283},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1285},"_Position":{"__isSmartRef__":true,"id":1286},"priorExtent":{"__isSmartRef__":true,"id":1287},"targetMorph":{"__isSmartRef__":true,"id":1039},"titleBar":{"__isSmartRef__":true,"id":1141},"contentOffset":{"__isSmartRef__":true,"id":1288},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1289},"showsHalos":false,"halos":[],"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":1290},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Window"},"1039":{"submorphs":[{"__isSmartRef__":true,"id":1040}],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":1059},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1064},"showsHalos":false,"halos":[],"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1065},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1038},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1040},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":101},"_Scale":1,"layout":{"__isSmartRef__":true,"id":1066},"priorExtent":{"__isSmartRef__":true,"id":1067},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1068},"__LivelyClassName__":"lively.morphic.Box"},"1040":{"submorphs":[],"scripts":[],"id":263,"shape":{"__isSmartRef__":true,"id":1041},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1046},"_MaxTextWidth":861.046953046953,"_MaxTextHeight":355.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1039},"layout":{"__isSmartRef__":true,"id":1047},"doitContext":{"__isSmartRef__":true,"id":101},"charsReplaced":"browse","lastFindLoc":188,"showsHalos":false,"halos":[],"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":1048}],"priorSelectionRange":[213,213],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1050},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1051},"__LivelyClassName__":"lively.morphic.Text"},"1041":{"position":{"__isSmartRef__":true,"id":1042},"_Extent":{"__isSmartRef__":true,"id":1043},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1044},"_Fill":{"__isSmartRef__":true,"id":1045},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1042":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1043":{"x":861.046953046953,"y":355.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1044":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1045":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1046":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1047":{"resizeWidth":true,"resizeHeight":true},"1048":{"style":{"__isSmartRef__":true,"id":1049},"morph":{"__isSmartRef__":true,"id":1040},"storedString":"// modulesList (this)\n\n\n\n// ** modulesList's Connections **\ndisconnect(this, \"selection\", this.get(\"ClassBrowserPane\"), \"browse\", {});\n\nconnect(this, \"selection\", this.get(\"ClassBrowserPane\"), \"browseModule\", {});\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1049":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1050":{"x":861.046953046953,"y":355.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1051":{"doSave":{"__isSmartRef__":true,"id":1052}},"1052":{"varMapping":{"__isSmartRef__":true,"id":1053},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1058},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1053":{"this":{"__isSmartRef__":true,"id":1040},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1054}},"1054":{"$super":{"__isSmartRef__":true,"id":1055}},"1055":{"varMapping":{"__isSmartRef__":true,"id":1056},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1057},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1056":{"obj":{"__isSmartRef__":true,"id":1040},"name":"doSave"},"1057":{},"1058":{},"1059":{"position":{"__isSmartRef__":true,"id":1060},"_Extent":{"__isSmartRef__":true,"id":1061},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1062},"_Fill":{"__isSmartRef__":true,"id":1063},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1060":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1061":{"x":874.0799200799202,"y":370.9980019980019,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1062":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1063":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1064":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1065":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1066":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1067":{"x":874.0799200799202,"y":370.9980019980019,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1068":{"addTargetScript":{"__isSmartRef__":true,"id":1069},"addTestObject":{"__isSmartRef__":true,"id":1072},"allMorphNames":{"__isSmartRef__":true,"id":1075},"allScriptListItems":{"__isSmartRef__":true,"id":1078},"bindMorphNames":{"__isSmartRef__":true,"id":1081},"doSearch":{"__isSmartRef__":true,"id":1084},"findSubobjects":{"__isSmartRef__":true,"id":1087},"generateSourceForConnection":{"__isSmartRef__":true,"id":1090},"generateSourceForObject":{"__isSmartRef__":true,"id":1093},"generateSourceForProperty":{"__isSmartRef__":true,"id":1096},"generateSourceForScript":{"__isSmartRef__":true,"id":1099},"generateSourceForValue":{"__isSmartRef__":true,"id":1102},"generateTargetCode":{"__isSmartRef__":true,"id":1105},"highlightSelectedObject":{"__isSmartRef__":true,"id":1108},"listItemsForObj":{"__isSmartRef__":true,"id":1111},"removeTargetScript":{"__isSmartRef__":true,"id":1114},"reset":{"__isSmartRef__":true,"id":1117},"setSourceInPane":{"__isSmartRef__":true,"id":1120},"setTarget":{"__isSmartRef__":true,"id":1123},"setupConnections":{"__isSmartRef__":true,"id":1126},"showTopLevelItems":{"__isSmartRef__":true,"id":1129},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1132},"updateScriptList":{"__isSmartRef__":true,"id":1135},"updateSourcePane":{"__isSmartRef__":true,"id":1138}},"1069":{"varMapping":{"__isSmartRef__":true,"id":1070},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1071},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1070":{"this":{"__isSmartRef__":true,"id":1039}},"1071":{},"1072":{"varMapping":{"__isSmartRef__":true,"id":1073},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1074},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1073":{"this":{"__isSmartRef__":true,"id":1039}},"1074":{},"1075":{"varMapping":{"__isSmartRef__":true,"id":1076},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":1077},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1076":{"this":{"__isSmartRef__":true,"id":1039}},"1077":{},"1078":{"varMapping":{"__isSmartRef__":true,"id":1079},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":1080},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1079":{"this":{"__isSmartRef__":true,"id":1039}},"1080":{},"1081":{"varMapping":{"__isSmartRef__":true,"id":1082},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1083},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1082":{"this":{"__isSmartRef__":true,"id":1039}},"1083":{},"1084":{"varMapping":{"__isSmartRef__":true,"id":1085},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":1086},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1085":{"this":{"__isSmartRef__":true,"id":1039}},"1086":{},"1087":{"varMapping":{"__isSmartRef__":true,"id":1088},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":1089},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1088":{"this":{"__isSmartRef__":true,"id":1039}},"1089":{},"1090":{"varMapping":{"__isSmartRef__":true,"id":1091},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1092},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1091":{"this":{"__isSmartRef__":true,"id":1039}},"1092":{},"1093":{"varMapping":{"__isSmartRef__":true,"id":1094},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":1095},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1094":{"this":{"__isSmartRef__":true,"id":1039}},"1095":{},"1096":{"varMapping":{"__isSmartRef__":true,"id":1097},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":1098},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1097":{"this":{"__isSmartRef__":true,"id":1039}},"1098":{},"1099":{"varMapping":{"__isSmartRef__":true,"id":1100},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1101},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1100":{"this":{"__isSmartRef__":true,"id":1039}},"1101":{},"1102":{"varMapping":{"__isSmartRef__":true,"id":1103},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":1104},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1103":{"this":{"__isSmartRef__":true,"id":1039}},"1104":{},"1105":{"varMapping":{"__isSmartRef__":true,"id":1106},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":1107},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1106":{"this":{"__isSmartRef__":true,"id":1039}},"1107":{},"1108":{"varMapping":{"__isSmartRef__":true,"id":1109},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":1110},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1109":{"this":{"__isSmartRef__":true,"id":1039}},"1110":{},"1111":{"varMapping":{"__isSmartRef__":true,"id":1112},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":1113},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1112":{"this":{"__isSmartRef__":true,"id":1039}},"1113":{},"1114":{"varMapping":{"__isSmartRef__":true,"id":1115},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1116},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1115":{"this":{"__isSmartRef__":true,"id":1039}},"1116":{},"1117":{"varMapping":{"__isSmartRef__":true,"id":1118},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":1119},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1118":{"this":{"__isSmartRef__":true,"id":1039}},"1119":{},"1120":{"varMapping":{"__isSmartRef__":true,"id":1121},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":1122},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1121":{"this":{"__isSmartRef__":true,"id":1039}},"1122":{},"1123":{"varMapping":{"__isSmartRef__":true,"id":1124},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n}","funcProperties":{"__isSmartRef__":true,"id":1125},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1124":{"this":{"__isSmartRef__":true,"id":1039}},"1125":{},"1126":{"varMapping":{"__isSmartRef__":true,"id":1127},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":1128},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1127":{"this":{"__isSmartRef__":true,"id":1039}},"1128":{},"1129":{"varMapping":{"__isSmartRef__":true,"id":1130},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":1131},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1130":{"this":{"__isSmartRef__":true,"id":1039}},"1131":{},"1132":{"varMapping":{"__isSmartRef__":true,"id":1133},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":1134},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1133":{"this":{"__isSmartRef__":true,"id":1039}},"1134":{},"1135":{"varMapping":{"__isSmartRef__":true,"id":1136},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":1137},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1136":{"this":{"__isSmartRef__":true,"id":1039}},"1137":{},"1138":{"varMapping":{"__isSmartRef__":true,"id":1139},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":1140},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1139":{"this":{"__isSmartRef__":true,"id":1039}},"1140":{},"1141":{"submorphs":[{"__isSmartRef__":true,"id":1142},{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1213}],"scripts":[],"id":18206,"shape":{"__isSmartRef__":true,"id":1239},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1249},"_Position":{"__isSmartRef__":true,"id":1250},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1038},"label":{"__isSmartRef__":true,"id":1142},"closeButton":{"__isSmartRef__":true,"id":1151},"menuButton":{"__isSmartRef__":true,"id":1188},"collapseButton":{"__isSmartRef__":true,"id":1213},"priorExtent":{"__isSmartRef__":true,"id":1251},"owner":{"__isSmartRef__":true,"id":1038},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1142":{"submorphs":[],"scripts":[],"id":18207,"shape":{"__isSmartRef__":true,"id":1143},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1146},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1147},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":1148}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1141},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1150},"__LivelyClassName__":"lively.morphic.Text"},"1143":{"_Position":{"__isSmartRef__":true,"id":1144},"_Extent":{"__isSmartRef__":true,"id":1145},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1062},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1144":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1145":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1146":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1147":{"x":372.54045954045955,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1148":{"style":{"__isSmartRef__":true,"id":1149},"morph":{"__isSmartRef__":true,"id":1142},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ScriptEditorPane","__LivelyClassName__":"lively.morphic.TextChunk"},"1149":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1150":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1151":{"submorphs":[{"__isSmartRef__":true,"id":1152}],"scripts":[],"id":18208,"shape":{"__isSmartRef__":true,"id":1161},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1175},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1165},"lighterFill":{"__isSmartRef__":true,"id":1176},"label":{"__isSmartRef__":true,"id":1152},"owner":{"__isSmartRef__":true,"id":1141},"layout":{"__isSmartRef__":true,"id":1185},"attributeConnections":[{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1187}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1152":{"submorphs":[],"scripts":[],"id":18209,"shape":{"__isSmartRef__":true,"id":1153},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1156},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1157},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1158}],"owner":{"__isSmartRef__":true,"id":1151},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1160},"__LivelyClassName__":"lively.morphic.Text"},"1153":{"_Position":{"__isSmartRef__":true,"id":1154},"_Extent":{"__isSmartRef__":true,"id":1155},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1062},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1154":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1155":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1156":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1157":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1158":{"style":{"__isSmartRef__":true,"id":1159},"morph":{"__isSmartRef__":true,"id":1152},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"1159":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1160":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1161":{"_Position":{"__isSmartRef__":true,"id":1162},"_Extent":{"__isSmartRef__":true,"id":1163},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1164},"_Fill":{"__isSmartRef__":true,"id":1165},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1162":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1163":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1164":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1165":{"stops":[{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1172}],"vector":{"__isSmartRef__":true,"id":1174},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1166":{"offset":0,"color":{"__isSmartRef__":true,"id":1167}},"1167":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1168":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1169}},"1169":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1170":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1171}},"1171":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1172":{"offset":1,"color":{"__isSmartRef__":true,"id":1173}},"1173":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1174":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1175":{"x":853.0809190809191,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1176":{"stops":[{"__isSmartRef__":true,"id":1177},{"__isSmartRef__":true,"id":1179},{"__isSmartRef__":true,"id":1181},{"__isSmartRef__":true,"id":1183}],"vector":{"__isSmartRef__":true,"id":1174},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1177":{"offset":0,"color":{"__isSmartRef__":true,"id":1178}},"1178":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1179":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1180}},"1180":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1181":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1182}},"1182":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1183":{"offset":1,"color":{"__isSmartRef__":true,"id":1184}},"1184":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1185":{"moveHorizontal":true},"1186":{"sourceObj":{"__isSmartRef__":true,"id":1151},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1187":{"sourceObj":{"__isSmartRef__":true,"id":1151},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1188":{"submorphs":[{"__isSmartRef__":true,"id":1189}],"scripts":[],"id":18210,"shape":{"__isSmartRef__":true,"id":1198},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1201},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1165},"lighterFill":{"__isSmartRef__":true,"id":1202},"label":{"__isSmartRef__":true,"id":1189},"owner":{"__isSmartRef__":true,"id":1141},"attributeConnections":[{"__isSmartRef__":true,"id":1211},{"__isSmartRef__":true,"id":1212}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"halos":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1189":{"submorphs":[],"scripts":[],"id":18211,"shape":{"__isSmartRef__":true,"id":1190},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1193},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1194},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1195}],"owner":{"__isSmartRef__":true,"id":1188},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1197},"__LivelyClassName__":"lively.morphic.Text"},"1190":{"_Position":{"__isSmartRef__":true,"id":1191},"_Extent":{"__isSmartRef__":true,"id":1192},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1062},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1191":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1192":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1193":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1195":{"style":{"__isSmartRef__":true,"id":1196},"morph":{"__isSmartRef__":true,"id":1189},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"1196":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1197":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1198":{"_Position":{"__isSmartRef__":true,"id":1199},"_Extent":{"__isSmartRef__":true,"id":1200},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1164},"_Fill":{"__isSmartRef__":true,"id":1165},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1199":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1200":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1201":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1202":{"stops":[{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209}],"vector":{"__isSmartRef__":true,"id":1174},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1203":{"offset":0,"color":{"__isSmartRef__":true,"id":1204}},"1204":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1205":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1206}},"1206":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1207":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1208}},"1208":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1209":{"offset":1,"color":{"__isSmartRef__":true,"id":1210}},"1210":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1211":{"sourceObj":{"__isSmartRef__":true,"id":1188},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1212":{"sourceObj":{"__isSmartRef__":true,"id":1188},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1213":{"submorphs":[{"__isSmartRef__":true,"id":1214}],"scripts":[],"id":18212,"shape":{"__isSmartRef__":true,"id":1223},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1226},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1165},"lighterFill":{"__isSmartRef__":true,"id":1227},"label":{"__isSmartRef__":true,"id":1214},"owner":{"__isSmartRef__":true,"id":1141},"layout":{"__isSmartRef__":true,"id":1236},"attributeConnections":[{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1238}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1214":{"submorphs":[],"scripts":[],"id":18213,"shape":{"__isSmartRef__":true,"id":1215},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1218},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1219},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1220}],"owner":{"__isSmartRef__":true,"id":1213},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1222},"__LivelyClassName__":"lively.morphic.Text"},"1215":{"_Position":{"__isSmartRef__":true,"id":1216},"_Extent":{"__isSmartRef__":true,"id":1217},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1062},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1216":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1217":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1218":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1219":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1220":{"style":{"__isSmartRef__":true,"id":1221},"morph":{"__isSmartRef__":true,"id":1214},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"1221":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1222":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1223":{"_Position":{"__isSmartRef__":true,"id":1224},"_Extent":{"__isSmartRef__":true,"id":1225},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1164},"_Fill":{"__isSmartRef__":true,"id":1165},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1224":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1225":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1226":{"x":834.0809190809191,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1227":{"stops":[{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1232},{"__isSmartRef__":true,"id":1234}],"vector":{"__isSmartRef__":true,"id":1174},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1228":{"offset":0,"color":{"__isSmartRef__":true,"id":1229}},"1229":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1230":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1231}},"1231":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1232":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1233}},"1233":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1234":{"offset":1,"color":{"__isSmartRef__":true,"id":1235}},"1235":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1236":{"moveHorizontal":true},"1237":{"sourceObj":{"__isSmartRef__":true,"id":1213},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1238":{"sourceObj":{"__isSmartRef__":true,"id":1213},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1038},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1239":{"_Position":{"__isSmartRef__":true,"id":1240},"_Extent":{"__isSmartRef__":true,"id":1241},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1044},"_Fill":{"__isSmartRef__":true,"id":1242},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1240":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1241":{"x":873.0809190809191,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1242":{"stops":[{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1245},{"__isSmartRef__":true,"id":1247}],"vector":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1243":{"offset":0,"color":{"__isSmartRef__":true,"id":1244}},"1244":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1245":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1246}},"1246":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1247":{"offset":1,"color":{"__isSmartRef__":true,"id":1248}},"1248":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1249":{"resizeWidth":true,"adjustForNewBounds":true},"1250":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1251":{"x":873.0809190809191,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1252":{"submorphs":[],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":1253},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1258},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1260},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1038},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1261},"__LivelyClassName__":"lively.morphic.Box"},"1253":{"position":{"__isSmartRef__":true,"id":1254},"_Extent":{"__isSmartRef__":true,"id":1255},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1256},"_Fill":{"__isSmartRef__":true,"id":1257},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1254":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1255":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1256":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1257":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1258":{"x":860.0809190809191,"y":374.00199800199795,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1259":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1260":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1261":{"onDrag":{"__isSmartRef__":true,"id":1262},"onDragEnd":{"__isSmartRef__":true,"id":1269},"onDragStart":{"__isSmartRef__":true,"id":1276}},"1262":{"varMapping":{"__isSmartRef__":true,"id":1263},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":1268},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1263":{"this":{"__isSmartRef__":true,"id":1252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1264}},"1264":{"$super":{"__isSmartRef__":true,"id":1265}},"1265":{"varMapping":{"__isSmartRef__":true,"id":1266},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1267},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1266":{"obj":{"__isSmartRef__":true,"id":1252},"name":"onDrag"},"1267":{},"1268":{},"1269":{"varMapping":{"__isSmartRef__":true,"id":1270},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1275},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1270":{"this":{"__isSmartRef__":true,"id":1252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1271}},"1271":{"$super":{"__isSmartRef__":true,"id":1272}},"1272":{"varMapping":{"__isSmartRef__":true,"id":1273},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1274},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1273":{"obj":{"__isSmartRef__":true,"id":1252},"name":"onDragEnd"},"1274":{},"1275":{},"1276":{"varMapping":{"__isSmartRef__":true,"id":1277},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1282},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1277":{"this":{"__isSmartRef__":true,"id":1252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1278}},"1278":{"$super":{"__isSmartRef__":true,"id":1279}},"1279":{"varMapping":{"__isSmartRef__":true,"id":1280},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1281},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1280":{"obj":{"__isSmartRef__":true,"id":1252},"name":"onDragStart"},"1281":{},"1282":{},"1283":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1284},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1284":{"x":873.0809190809191,"y":389.00199800199795,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1285":{"adjustForNewBounds":true},"1286":{"x":823.2663434585236,"y":900.1357644085251,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1287":{"x":873.0809190809191,"y":389.00199800199795,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1288":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1289":{"x":982.9565113665856,"y":909.0927272754549,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1290":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1291":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1292},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":1296},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":0.9469715909119322,"__LivelyClassName__":"lively.morphic.HandMorph"},"1292":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1293},"_Extent":{"__isSmartRef__":true,"id":1294},"_Fill":{"__isSmartRef__":true,"id":1295},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1293":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1294":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1295":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1296":{"x":531.251062501594,"y":311.5536534100257,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1297":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1298},"_Extent":{"__isSmartRef__":true,"id":1299},"_Fill":{"__isSmartRef__":true,"id":1300},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1298":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1299":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1300":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1301":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1302":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"isSimplifiedRegistry":true}}]]>