' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"120":{"this":{"__isSmartRef__":true,"id":65},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":121}},"121":{"$super":{"__isSmartRef__":true,"id":122}},"122":{"varMapping":{"__isSmartRef__":true,"id":123},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"123":{"obj":{"__isSmartRef__":true,"id":65},"name":"morphMenuItems"},"124":{},"125":{},"126":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":63},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"127":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":63},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"128":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":63},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"129":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":63},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":130},"dependedBy":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"130":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":63}},"131":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":91},"targetMethodName":"rotation","visualConnector":{"__isSmartRef__":true,"id":1},"converterString":"function converter(value) {\n return 360*value\n}","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"132":{"converter":{"__isSmartRef__":true,"id":133}},"133":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":134},"source":"function converter(value) {\n return 360*value\n}","funcProperties":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"134":{},"135":{},"136":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":26},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140}],"__LivelyClassName__":"lively.morphic.GeometryTransformConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"137":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":136},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"138":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":136},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"139":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":136},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"140":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":136},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":141},"dependedBy":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"141":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":136}},"142":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"143":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"144":{"morph":{"__isSmartRef__":true,"id":28},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"145":{},"146":{"x":1000,"y":87.00000000000003,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"147":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"148":{"morphMenuItems":{"__isSmartRef__":true,"id":149}},"149":{"varMapping":{"__isSmartRef__":true,"id":150},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"150":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":151}},"151":{"$super":{"__isSmartRef__":true,"id":152}},"152":{"varMapping":{"__isSmartRef__":true,"id":153},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"153":{"obj":{"__isSmartRef__":true,"id":1},"name":"morphMenuItems"},"154":{},"155":{},"156":{"submorphs":[],"scripts":[],"id":121,"shape":{"__isSmartRef__":true,"id":157},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":164},"_MaxTextWidth":821,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":165},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"padding":{"__isSmartRef__":true,"id":166},"layout":{"__isSmartRef__":true,"id":167},"_Padding":{"__isSmartRef__":true,"id":166},"textChunks":[{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":184},{"__isSmartRef__":true,"id":186}],"charsReplaced":"publish","lastFindLoc":211,"_ClipMode":"auto","renderContextTable":{"__isSmartRef__":true,"id":188},"priorExtent":{"__isSmartRef__":true,"id":189},"eventHandler":{"__isSmartRef__":true,"id":190},"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":821,"_MinTextHeight":null,"isBeingDragged":false,"priorSelectionRange":[37,37],"previousSelection":[163,163],"distanceToDragEvent":{"__isSmartRef__":true,"id":191},"savedTextString":"Welcome to your initial world!\n\nIn Lovely, Web pages are worlds. Worlds contain live objects and can be saved in their current state. This way you can save a world to continue working at some point or to share a specific state. Just send out the link to the world ;-)\n\nYou can either save a world by overwriting or under a new name.\nRight-click on the world to see the world's menu. There you find \"save world\" and \"save world as...\". When you save the world under a new name, you get prompted for a name. \n\nA faster way to save changes to the current world is by using the cmd/ctrl-s shortcut.\n\nThis world is nearly empty. You can use it as template for further worlds. ","__LivelyClassName__":"lively.morphic.Text"},"157":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":158},"_Extent":{"__isSmartRef__":true,"id":159},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":160},"_Fill":{"__isSmartRef__":true,"id":161},"renderContextTable":{"__isSmartRef__":true,"id":162},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":163},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"158":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"159":{"x":840,"y":290,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"160":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"161":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"162":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"163":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"164":{"x":20,"y":110,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"165":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"166":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"167":{"resizeWidth":true,"resizeHeight":true},"168":{"style":{"__isSmartRef__":true,"id":169},"morph":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":156},"storedString":"Welcome to your initial world!\n","__LivelyClassName__":"lively.morphic.TextChunk"},"169":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"170":{"style":{"__isSmartRef__":true,"id":171},"morph":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":156},"storedString":"\nIn Lovely, Web pages are worlds. Worlds contain live objects and can be saved in their current state. This way you can save a world to continue working at some point or to share a specific state. Just send out the link to the world ;-)\n\nYou can either save a world by overwriting or under a new name.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"171":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"172":{"style":{"__isSmartRef__":true,"id":173},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Right-click","__LivelyClassName__":"lively.morphic.TextChunk"},"173":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"174":{"style":{"__isSmartRef__":true,"id":175},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" on the world to see the ","__LivelyClassName__":"lively.morphic.TextChunk"},"175":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"176":{"style":{"__isSmartRef__":true,"id":177},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"world's menu","__LivelyClassName__":"lively.morphic.TextChunk"},"177":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"178":{"style":{"__isSmartRef__":true,"id":179},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":". There you find \"","__LivelyClassName__":"lively.morphic.TextChunk"},"179":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"180":{"style":{"__isSmartRef__":true,"id":181},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk"},"181":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"182":{"style":{"__isSmartRef__":true,"id":183},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\" and \"","__LivelyClassName__":"lively.morphic.TextChunk"},"183":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"184":{"style":{"__isSmartRef__":true,"id":185},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"save world as...","__LivelyClassName__":"lively.morphic.TextChunk"},"185":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"186":{"style":{"__isSmartRef__":true,"id":187},"chunkOwner":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\". When you save the world under a new name, you get prompted for a name. \n\nA faster way to save changes to the current world is by using the cmd/ctrl-s shortcut.\n\nThis world is nearly empty. You can use it as template for further worlds. ","__LivelyClassName__":"lively.morphic.TextChunk"},"187":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"189":{"x":840,"y":290,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"190":{"morph":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"191":{"x":443,"y":-6,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"192":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":193},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":199},"_MaxTextWidth":420,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":200},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":201},"_TextColor":{"__isSmartRef__":true,"id":202},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"textChunks":[{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":205}],"charsReplaced":"new","lastFindLoc":18,"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":207},"priorExtent":{"__isSmartRef__":true,"id":208},"eventHandler":{"__isSmartRef__":true,"id":209},"priorSelectionRange":[0,26],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":420,"_MinTextHeight":null,"previousSelection":[20,26],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.Text"},"193":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":194},"_Extent":{"__isSmartRef__":true,"id":195},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":196},"renderContextTable":{"__isSmartRef__":true,"id":197},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"195":{"x":420,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"196":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"197":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"198":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"199":{"x":20,"y":30,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"200":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"201":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"202":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"203":{"style":{"__isSmartRef__":true,"id":204},"morph":{"__isSmartRef__":true,"id":192},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":192},"storedString":"A template for your worlds","__LivelyClassName__":"lively.morphic.TextChunk"},"204":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"205":{"style":{"__isSmartRef__":true,"id":206},"chunkOwner":{"__isSmartRef__":true,"id":192},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"206":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"207":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"208":{"x":420,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"209":{"morph":{"__isSmartRef__":true,"id":192},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"210":{"x":270,"y":-10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"211":{"submorphs":[{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":360}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3443},"id":"BE6A5792-EAB3-41EB-8AB9-56A67F499E9D","renderContextTable":{"__isSmartRef__":true,"id":3448},"eventHandler":{"__isSmartRef__":true,"id":3449},"droppingEnabled":false,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":3450},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":3451},"attributeConnections":[{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2258},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2295},{"__isSmartRef__":true,"id":2296}],"doNotSerialize":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"targetMorph":{"__isSmartRef__":true,"id":360},"titleBar":{"__isSmartRef__":true,"id":212},"contentOffset":{"__isSmartRef__":true,"id":3452},"collapsedTransform":{"__isSmartRef__":true,"id":3453},"collapsedExtent":{"__isSmartRef__":true,"id":3454},"expandedTransform":{"__isSmartRef__":true,"id":3455},"expandedExtent":{"__isSmartRef__":true,"id":3445},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3456},"name":"PartsBinBrowser","prevDragPos":{"__isSmartRef__":true,"id":3483},"showsHalos":false,"highlighted":true,"__SourceModuleName__":"Global.lively.morphic.Widgets","isBeingDragged":false,"prevScroll":[0,0],"derivationIds":[1215,"CD1D2132-9803-45F0-938B-A3EBEFBF00C0","3DA45E92-65EE-4204-9FD1-B2937182D2A2","355D68D8-8232-482A-9523-6DB0E52810A0","A0BB5BEF-7109-48C0-A62E-DF7F9AF31E34","0C777EAA-8FAE-4CC7-9F13-BE5705616FE8","802A0A68-43C2-490F-8B92-F39EFC70898F","B3516BD2-CAA3-483F-BAFC-2CDE09EF880F","430E7A9A-C67D-44B4-A5D9-D07D7426B9D7","9DE2C4AC-0928-4F92-988A-29DD071EEC06"],"showLog":false,"cameForward":false,"expandedPosition":{"__isSmartRef__":true,"id":3484},"state":"expanded","collapsedPosition":{"__isSmartRef__":true,"id":3485},"_Position":{"__isSmartRef__":true,"id":3486},"_Scale":1.008036120330794,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3487},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"212":{"submorphs":[{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":227},{"__isSmartRef__":true,"id":274},{"__isSmartRef__":true,"id":308}],"scripts":[],"shape":{"__isSmartRef__":true,"id":343},"derivationIds":[null,"CB9A7942-A126-4FEA-92F7-97C70D060BEB","FA9B3561-DB28-470D-A1EC-B8150D4DEF2A","36D680CF-892E-407E-8105-DAA6B09D71D6","1CAA1D0A-D71B-4BFE-8240-865CB7F05E0E","66C69699-50EE-40ED-8CA9-B86D0DD4E47B","BBA3CE3B-99B8-4E44-B846-2C780BAE5F52","1D8D1A51-894F-48AF-A187-A7A6A6038424"],"id":"1A8554F6-349D-4A4A-86D1-D723E8C453DA","renderContextTable":{"__isSmartRef__":true,"id":355},"eventHandler":{"__isSmartRef__":true,"id":356},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":357},"_Position":{"__isSmartRef__":true,"id":358},"windowMorph":{"__isSmartRef__":true,"id":211},"label":{"__isSmartRef__":true,"id":213},"closeButton":{"__isSmartRef__":true,"id":227},"menuButton":{"__isSmartRef__":true,"id":274},"collapseButton":{"__isSmartRef__":true,"id":308},"priorExtent":{"__isSmartRef__":true,"id":359},"owner":{"__isSmartRef__":true,"id":211},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.TitleBar"},"213":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":214},"derivationIds":[null,"35225DC7-6AD1-4EAA-9640-2B20FCEAB44B","ED05473C-5327-4DDB-A6D6-F89AE10B9058","A8D18394-0903-41C0-B752-8734202D9666","804FDA9E-028E-4AB2-B5A6-8AE21C38056D","6AB19EC9-B24B-4260-B303-9EEBCCF28B2F","ABFDEE17-F1C9-40C0-948B-89CCE44C80BF","462C3183-AF6C-410F-B603-423FAF163161"],"id":"64C21CEB-DE65-4742-8BD2-D3AE992172A5","renderContextTable":{"__isSmartRef__":true,"id":220},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":221}],"eventHandler":{"__isSmartRef__":true,"id":223},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":224},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":212},"priorExtent":{"__isSmartRef__":true,"id":225},"_MaxTextWidth":642.1842763684606,"_MinTextWidth":642.1842763684606,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":226},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"214":{"_Position":{"__isSmartRef__":true,"id":215},"renderContextTable":{"__isSmartRef__":true,"id":216},"_Extent":{"__isSmartRef__":true,"id":217},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":218},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":219},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"215":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"216":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"217":{"x":642.1842763684606,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"218":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"219":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"221":{"style":{"__isSmartRef__":true,"id":222},"chunkOwner":{"__isSmartRef__":true,"id":213},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"PartsBinBrowser","__LivelyClassName__":"lively.morphic.TextChunk"},"222":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"223":{"morph":{"__isSmartRef__":true,"id":213},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"224":{"resizeWidth":true},"225":{"x":642.1842763684606,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"226":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"227":{"submorphs":[{"__isSmartRef__":true,"id":228}],"scripts":[],"shape":{"__isSmartRef__":true,"id":240},"derivationIds":[null,"84C6AD5C-08E4-4D3E-AE1C-80ED065C7447","1EDA2278-A2B9-4AB4-9516-3DC25ACB4C27","55BA9050-F318-4DDE-AE70-6219D439298D","49C4D74C-7648-4A50-A5D6-2F0F753509B2","861E4568-E439-4FF5-8D7E-CDA56A1E95F3","C3698C70-6388-47F7-947A-5C34A6B60700","93DB8FA4-5D5C-4600-9742-3F67068D5CED"],"id":"2B812B3F-C5F7-44C9-855B-995586BE960A","renderContextTable":{"__isSmartRef__":true,"id":256},"eventHandler":{"__isSmartRef__":true,"id":257},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":258},"priorExtent":{"__isSmartRef__":true,"id":259},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":246},"lighterFill":{"__isSmartRef__":true,"id":260},"label":{"__isSmartRef__":true,"id":228},"owner":{"__isSmartRef__":true,"id":212},"layout":{"__isSmartRef__":true,"id":269},"attributeConnections":[{"__isSmartRef__":true,"id":270},{"__isSmartRef__":true,"id":272}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"228":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":229},"derivationIds":[null,"57529DB3-5359-4B56-9F8B-0110DAFAFC52","9921C550-09B9-4C17-8111-D8FE86FB228B","69344588-0544-4FC7-BE21-29C4A98D0D23","81E014B3-6896-4E77-BA4A-F9EA8356F1E2","32EE1337-35F3-4EA6-93FC-58BD22920993","90D97708-997D-47B7-836D-C3951B871800","536FAD0F-5661-46AF-BD86-2FEB8DBC2962"],"id":"0169E5F4-3CD2-47E9-982F-67C6B1FDE83E","renderContextTable":{"__isSmartRef__":true,"id":234},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":235}],"eventHandler":{"__isSmartRef__":true,"id":237},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":238},"priorExtent":{"__isSmartRef__":true,"id":239},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":227},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"229":{"_Position":{"__isSmartRef__":true,"id":230},"renderContextTable":{"__isSmartRef__":true,"id":231},"_Extent":{"__isSmartRef__":true,"id":232},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":233},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":219},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"230":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"231":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"232":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"233":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"234":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"235":{"style":{"__isSmartRef__":true,"id":236},"chunkOwner":{"__isSmartRef__":true,"id":228},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"236":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"237":{"morph":{"__isSmartRef__":true,"id":228},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"238":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"239":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"240":{"_Position":{"__isSmartRef__":true,"id":241},"renderContextTable":{"__isSmartRef__":true,"id":242},"_Extent":{"__isSmartRef__":true,"id":243},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":244},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":245},"_Fill":{"__isSmartRef__":true,"id":246},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"241":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"243":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"244":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"245":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"246":{"stops":[{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":249},{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":253}],"vector":{"__isSmartRef__":true,"id":255},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"247":{"offset":0,"color":{"__isSmartRef__":true,"id":248}},"248":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"249":{"offset":0.4,"color":{"__isSmartRef__":true,"id":250}},"250":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"251":{"offset":0.6,"color":{"__isSmartRef__":true,"id":252}},"252":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"253":{"offset":1,"color":{"__isSmartRef__":true,"id":254}},"254":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"255":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"256":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"257":{"morph":{"__isSmartRef__":true,"id":227},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"258":{"x":681.1842763684606,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"259":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"260":{"stops":[{"__isSmartRef__":true,"id":261},{"__isSmartRef__":true,"id":263},{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":267}],"vector":{"__isSmartRef__":true,"id":255},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"261":{"offset":0,"color":{"__isSmartRef__":true,"id":262}},"262":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"263":{"offset":0.4,"color":{"__isSmartRef__":true,"id":264}},"264":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"265":{"offset":0.6,"color":{"__isSmartRef__":true,"id":266}},"266":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"267":{"offset":1,"color":{"__isSmartRef__":true,"id":268}},"268":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"269":{"moveHorizontal":true},"270":{"sourceObj":{"__isSmartRef__":true,"id":227},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":271},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"271":{"source":{"__isSmartRef__":true,"id":227},"target":{"__isSmartRef__":true,"id":211}},"272":{"sourceObj":{"__isSmartRef__":true,"id":227},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":273},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"273":{"source":{"__isSmartRef__":true,"id":227},"target":{"__isSmartRef__":true,"id":211}},"274":{"submorphs":[{"__isSmartRef__":true,"id":275}],"scripts":[],"shape":{"__isSmartRef__":true,"id":286},"derivationIds":[null,"36CC1066-451F-4248-A272-77B1EA5736D7","69CDBF77-3059-4F05-8245-F654E7C609BF","1AC294AF-CF26-40BF-9B2B-39E2E2A22384","A392DCC9-50D0-478A-A26F-7235BA3B34F1","5FD70964-AD0A-4804-B34A-2E9F0F6A4B52","6A97C30C-330D-4980-90B1-0C07F3D260ED","213D23B8-6B28-40E7-9059-7F7905901965"],"id":"4A869DD9-0E2F-4256-9FB0-DA539D0E44B8","renderContextTable":{"__isSmartRef__":true,"id":291},"eventHandler":{"__isSmartRef__":true,"id":292},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":293},"priorExtent":{"__isSmartRef__":true,"id":294},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":246},"lighterFill":{"__isSmartRef__":true,"id":295},"label":{"__isSmartRef__":true,"id":275},"owner":{"__isSmartRef__":true,"id":212},"attributeConnections":[{"__isSmartRef__":true,"id":304},{"__isSmartRef__":true,"id":306}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"275":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":276},"derivationIds":[null,"11B8870D-6BAE-4862-8B99-5833D01F50B0","D7C837FB-858D-4C7A-93EF-C5AB424C3DAA","BBB55BCF-2370-440F-9C6B-FE87F65F8E09","6D5114EB-4653-4D3C-9C75-B218CB866171","48C098C9-00C0-4448-893D-EDA16C579071","563C793B-CDC3-41BE-BF58-DF6EA19556FD","ED1430B6-0141-43F2-BDD7-1AE954359582"],"id":"269591A9-02F6-4557-B4FB-A7B11C07A355","renderContextTable":{"__isSmartRef__":true,"id":280},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":281}],"eventHandler":{"__isSmartRef__":true,"id":283},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":284},"priorExtent":{"__isSmartRef__":true,"id":285},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":274},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"276":{"_Position":{"__isSmartRef__":true,"id":277},"renderContextTable":{"__isSmartRef__":true,"id":278},"_Extent":{"__isSmartRef__":true,"id":279},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":233},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":219},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"277":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"279":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"280":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"281":{"style":{"__isSmartRef__":true,"id":282},"chunkOwner":{"__isSmartRef__":true,"id":275},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"282":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"283":{"morph":{"__isSmartRef__":true,"id":275},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"284":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"285":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"286":{"_Position":{"__isSmartRef__":true,"id":287},"renderContextTable":{"__isSmartRef__":true,"id":288},"_Extent":{"__isSmartRef__":true,"id":289},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":290},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":245},"_Fill":{"__isSmartRef__":true,"id":246},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"287":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"288":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"289":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"290":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"291":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"292":{"morph":{"__isSmartRef__":true,"id":274},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"293":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"294":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"295":{"stops":[{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":298},{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":302}],"vector":{"__isSmartRef__":true,"id":255},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"296":{"offset":0,"color":{"__isSmartRef__":true,"id":297}},"297":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"298":{"offset":0.4,"color":{"__isSmartRef__":true,"id":299}},"299":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"300":{"offset":0.6,"color":{"__isSmartRef__":true,"id":301}},"301":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"302":{"offset":1,"color":{"__isSmartRef__":true,"id":303}},"303":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"304":{"sourceObj":{"__isSmartRef__":true,"id":274},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"305":{"source":{"__isSmartRef__":true,"id":274},"target":{"__isSmartRef__":true,"id":211}},"306":{"sourceObj":{"__isSmartRef__":true,"id":274},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":307},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"307":{"source":{"__isSmartRef__":true,"id":274},"target":{"__isSmartRef__":true,"id":211}},"308":{"submorphs":[{"__isSmartRef__":true,"id":309}],"scripts":[],"shape":{"__isSmartRef__":true,"id":320},"derivationIds":[null,"A4716D24-333D-4F87-B30D-693046A4CC11","09521FBD-32DD-4AD7-B9E6-7B3E537AF883","D971E4B7-1DF3-4B21-A73D-24F6EF12F679","C69F70E3-3EBE-4169-AB1B-B6C8A043B95B","F8D9EA1D-0D64-4375-B8B5-4F1F2C5E8541","9FEA18A8-D928-4A43-8017-C0FD088C4B63","F7BA92FD-2CCD-457D-9CD7-19DAEB009515"],"id":"2EC32BC1-3BE9-4DD8-BA58-01BCC07A6E40","renderContextTable":{"__isSmartRef__":true,"id":325},"eventHandler":{"__isSmartRef__":true,"id":326},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":327},"priorExtent":{"__isSmartRef__":true,"id":328},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":246},"lighterFill":{"__isSmartRef__":true,"id":329},"label":{"__isSmartRef__":true,"id":309},"owner":{"__isSmartRef__":true,"id":212},"layout":{"__isSmartRef__":true,"id":338},"attributeConnections":[{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":341}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"309":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":310},"derivationIds":[null,"862E80E4-0CC5-48AC-A76F-A35D7FE1FC5B","C6CA8AE7-6702-4867-9BD1-9D3A42821A1F","BA5B9281-B182-4EBA-9D02-BBA304CC959B","2289C593-75CE-45EE-B698-E0E9DB527628","3FDADAEC-E6C1-4220-A68C-8FAA386B6562","2D55EBB5-8584-4626-AD2C-EA1DCF3BF923","50B8B19C-917D-4AE4-8231-9FDDAA188B87"],"id":"D6CDAC25-1FEB-483B-8135-6D1DB9386C73","renderContextTable":{"__isSmartRef__":true,"id":314},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":315}],"eventHandler":{"__isSmartRef__":true,"id":317},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":318},"priorExtent":{"__isSmartRef__":true,"id":319},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":308},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"310":{"_Position":{"__isSmartRef__":true,"id":311},"renderContextTable":{"__isSmartRef__":true,"id":312},"_Extent":{"__isSmartRef__":true,"id":313},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":233},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":219},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"311":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"312":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"313":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"315":{"style":{"__isSmartRef__":true,"id":316},"chunkOwner":{"__isSmartRef__":true,"id":309},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"316":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"317":{"morph":{"__isSmartRef__":true,"id":309},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"318":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"319":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"320":{"_Position":{"__isSmartRef__":true,"id":321},"renderContextTable":{"__isSmartRef__":true,"id":322},"_Extent":{"__isSmartRef__":true,"id":323},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":324},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":245},"_Fill":{"__isSmartRef__":true,"id":246},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"321":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"322":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"323":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"324":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"325":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"326":{"morph":{"__isSmartRef__":true,"id":308},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"327":{"x":662.1842763684606,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"328":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"329":{"stops":[{"__isSmartRef__":true,"id":330},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":334},{"__isSmartRef__":true,"id":336}],"vector":{"__isSmartRef__":true,"id":255},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"330":{"offset":0,"color":{"__isSmartRef__":true,"id":331}},"331":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"332":{"offset":0.4,"color":{"__isSmartRef__":true,"id":333}},"333":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"334":{"offset":0.6,"color":{"__isSmartRef__":true,"id":335}},"335":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"336":{"offset":1,"color":{"__isSmartRef__":true,"id":337}},"337":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"338":{"moveHorizontal":true},"339":{"sourceObj":{"__isSmartRef__":true,"id":308},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":340},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"340":{"source":{"__isSmartRef__":true,"id":308},"target":{"__isSmartRef__":true,"id":211}},"341":{"sourceObj":{"__isSmartRef__":true,"id":308},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":211},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":342},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"342":{"source":{"__isSmartRef__":true,"id":308},"target":{"__isSmartRef__":true,"id":211}},"343":{"_Position":{"__isSmartRef__":true,"id":344},"renderContextTable":{"__isSmartRef__":true,"id":345},"_Extent":{"__isSmartRef__":true,"id":346},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":347},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":348},"_Fill":{"__isSmartRef__":true,"id":349},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"344":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"345":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"346":{"x":701.1842763684606,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"348":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"349":{"stops":[{"__isSmartRef__":true,"id":350},{"__isSmartRef__":true,"id":352}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"350":{"offset":0,"color":{"__isSmartRef__":true,"id":351}},"351":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"352":{"offset":1,"color":{"__isSmartRef__":true,"id":353}},"353":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"354":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"355":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"356":{"morph":{"__isSmartRef__":true,"id":212},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"357":{"resizeWidth":true,"adjustForNewBounds":true},"358":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"359":{"x":701.1842763684606,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"360":{"submorphs":[{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":1461},{"__isSmartRef__":true,"id":1476},{"__isSmartRef__":true,"id":1525},{"__isSmartRef__":true,"id":2039},{"__isSmartRef__":true,"id":2091},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2174}],"scripts":[],"id":"2F422DFE-5150-4259-8BA9-64CAA08772CF","shape":{"__isSmartRef__":true,"id":2272},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"PartsBinBrowser","partsBinMetaInfo":{"__isSmartRef__":true,"id":2279},"__SourceModuleName__":"Global.lively.morphic.Core","attributeConnections":[{"__isSmartRef__":true,"id":2282},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2283},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287}],"doNotSerialize":["$$categoryName","$$_Position","$$_Scale","$$_Rotation","$$owner","categories"],"doNotCopyProperties":["$$categoryName","$$_Position","$$_Scale","$$_Rotation","$$owner"],"selectedPartItem":{"__isSmartRef__":true,"id":1631},"layout":{"__isSmartRef__":true,"id":2303},"priorExtent":{"__isSmartRef__":true,"id":2304},"renderContextTable":{"__isSmartRef__":true,"id":2305},"eventHandler":{"__isSmartRef__":true,"id":2306},"connections":{"__isSmartRef__":true,"id":2307},"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"isBeingDragged":false,"derivationIds":[1216,"DCEC3706-0AB9-4A0C-925F-475895BE1DF7","68426E58-E2B1-4674-9B39-B68EBCF20862","2669991A-6DFB-4E8C-B5E0-7AAFEB4C1F1B","28532929-9EF2-46BB-806D-E2DEDDDD7B23","C9A10B70-D314-40FE-8F60-89C176D369BE","AB7C8D37-027C-4F1A-94C9-6D9399870560","6C0D122F-738A-4887-A71E-60CC93389047","78714529-9A42-4AF0-89F3-94DB4F3E87BC","20E86927-BBA6-45B0-AE2E-74C6531A2D8B"],"_Position":{"__isSmartRef__":true,"id":2309},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":211},"categoryName":"Basic","allURLs":[{"__isSmartRef__":true,"id":2310},{"__isSmartRef__":true,"id":2311},{"__isSmartRef__":true,"id":2312},{"__isSmartRef__":true,"id":2313},{"__isSmartRef__":true,"id":2314},{"__isSmartRef__":true,"id":2315},{"__isSmartRef__":true,"id":2316},{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2319},{"__isSmartRef__":true,"id":2320},{"__isSmartRef__":true,"id":2321},{"__isSmartRef__":true,"id":2322},{"__isSmartRef__":true,"id":2323},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2325},{"__isSmartRef__":true,"id":2326},{"__isSmartRef__":true,"id":2327},{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2329},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2331},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2333},{"__isSmartRef__":true,"id":2334},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2337},{"__isSmartRef__":true,"id":2338},{"__isSmartRef__":true,"id":2339},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2341},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2343},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2345},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2347},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2349},{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2351},{"__isSmartRef__":true,"id":2352},{"__isSmartRef__":true,"id":2353},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2355},{"__isSmartRef__":true,"id":2356},{"__isSmartRef__":true,"id":2357},{"__isSmartRef__":true,"id":2358},{"__isSmartRef__":true,"id":2359},{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2361},{"__isSmartRef__":true,"id":2362},{"__isSmartRef__":true,"id":2363},{"__isSmartRef__":true,"id":2364},{"__isSmartRef__":true,"id":2365},{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2367},{"__isSmartRef__":true,"id":2368},{"__isSmartRef__":true,"id":2369},{"__isSmartRef__":true,"id":2370},{"__isSmartRef__":true,"id":2371},{"__isSmartRef__":true,"id":2372},{"__isSmartRef__":true,"id":2373},{"__isSmartRef__":true,"id":2374},{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2376},{"__isSmartRef__":true,"id":2377},{"__isSmartRef__":true,"id":2378},{"__isSmartRef__":true,"id":2379},{"__isSmartRef__":true,"id":2380},{"__isSmartRef__":true,"id":2381},{"__isSmartRef__":true,"id":2382},{"__isSmartRef__":true,"id":2383},{"__isSmartRef__":true,"id":2384},{"__isSmartRef__":true,"id":2385},{"__isSmartRef__":true,"id":2386},{"__isSmartRef__":true,"id":2387},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2389},{"__isSmartRef__":true,"id":2390},{"__isSmartRef__":true,"id":2391},{"__isSmartRef__":true,"id":2392},{"__isSmartRef__":true,"id":2393},{"__isSmartRef__":true,"id":2394},{"__isSmartRef__":true,"id":2395},{"__isSmartRef__":true,"id":2396},{"__isSmartRef__":true,"id":2397},{"__isSmartRef__":true,"id":2398},{"__isSmartRef__":true,"id":2399},{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2401},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2403},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2405},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2407},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2409},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2411},{"__isSmartRef__":true,"id":2412},{"__isSmartRef__":true,"id":2413},{"__isSmartRef__":true,"id":2414},{"__isSmartRef__":true,"id":2415},{"__isSmartRef__":true,"id":2416},{"__isSmartRef__":true,"id":2417},{"__isSmartRef__":true,"id":2418},{"__isSmartRef__":true,"id":2419},{"__isSmartRef__":true,"id":2420},{"__isSmartRef__":true,"id":2421},{"__isSmartRef__":true,"id":2422},{"__isSmartRef__":true,"id":2423},{"__isSmartRef__":true,"id":2424},{"__isSmartRef__":true,"id":2425},{"__isSmartRef__":true,"id":2426},{"__isSmartRef__":true,"id":2427},{"__isSmartRef__":true,"id":2428},{"__isSmartRef__":true,"id":2429},{"__isSmartRef__":true,"id":2430},{"__isSmartRef__":true,"id":2431},{"__isSmartRef__":true,"id":2432},{"__isSmartRef__":true,"id":2433},{"__isSmartRef__":true,"id":2434},{"__isSmartRef__":true,"id":2435},{"__isSmartRef__":true,"id":2436},{"__isSmartRef__":true,"id":2437},{"__isSmartRef__":true,"id":2438},{"__isSmartRef__":true,"id":2439},{"__isSmartRef__":true,"id":2440},{"__isSmartRef__":true,"id":2441},{"__isSmartRef__":true,"id":2442},{"__isSmartRef__":true,"id":2443},{"__isSmartRef__":true,"id":2444},{"__isSmartRef__":true,"id":2445},{"__isSmartRef__":true,"id":2446},{"__isSmartRef__":true,"id":2447},{"__isSmartRef__":true,"id":2448},{"__isSmartRef__":true,"id":2449},{"__isSmartRef__":true,"id":2450},{"__isSmartRef__":true,"id":2451},{"__isSmartRef__":true,"id":2452},{"__isSmartRef__":true,"id":2453},{"__isSmartRef__":true,"id":2454},{"__isSmartRef__":true,"id":2455},{"__isSmartRef__":true,"id":2456},{"__isSmartRef__":true,"id":2457},{"__isSmartRef__":true,"id":2458},{"__isSmartRef__":true,"id":2459},{"__isSmartRef__":true,"id":2460},{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":2462},{"__isSmartRef__":true,"id":2463},{"__isSmartRef__":true,"id":2464},{"__isSmartRef__":true,"id":2465},{"__isSmartRef__":true,"id":2466},{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2468},{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":2472},{"__isSmartRef__":true,"id":2473},{"__isSmartRef__":true,"id":2474},{"__isSmartRef__":true,"id":2475},{"__isSmartRef__":true,"id":2476},{"__isSmartRef__":true,"id":2477},{"__isSmartRef__":true,"id":2478},{"__isSmartRef__":true,"id":2479},{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2481},{"__isSmartRef__":true,"id":2482},{"__isSmartRef__":true,"id":2483},{"__isSmartRef__":true,"id":2484},{"__isSmartRef__":true,"id":2485},{"__isSmartRef__":true,"id":2486},{"__isSmartRef__":true,"id":2487},{"__isSmartRef__":true,"id":2488},{"__isSmartRef__":true,"id":2489},{"__isSmartRef__":true,"id":2490},{"__isSmartRef__":true,"id":2491},{"__isSmartRef__":true,"id":2492},{"__isSmartRef__":true,"id":2493},{"__isSmartRef__":true,"id":2494},{"__isSmartRef__":true,"id":2495},{"__isSmartRef__":true,"id":2496},{"__isSmartRef__":true,"id":2497},{"__isSmartRef__":true,"id":2498},{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2500},{"__isSmartRef__":true,"id":2501},{"__isSmartRef__":true,"id":2502},{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2507},{"__isSmartRef__":true,"id":2508},{"__isSmartRef__":true,"id":2509},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2511},{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2513},{"__isSmartRef__":true,"id":2514},{"__isSmartRef__":true,"id":2515},{"__isSmartRef__":true,"id":2516},{"__isSmartRef__":true,"id":2517},{"__isSmartRef__":true,"id":2518},{"__isSmartRef__":true,"id":2519},{"__isSmartRef__":true,"id":2520},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2522},{"__isSmartRef__":true,"id":2523},{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2525},{"__isSmartRef__":true,"id":2526},{"__isSmartRef__":true,"id":2527},{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2529},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2531},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2533},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2535},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2538},{"__isSmartRef__":true,"id":2539},{"__isSmartRef__":true,"id":2540},{"__isSmartRef__":true,"id":2541},{"__isSmartRef__":true,"id":2542},{"__isSmartRef__":true,"id":2543},{"__isSmartRef__":true,"id":2544},{"__isSmartRef__":true,"id":2545},{"__isSmartRef__":true,"id":2546},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2548},{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2550},{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2552},{"__isSmartRef__":true,"id":2553},{"__isSmartRef__":true,"id":2554},{"__isSmartRef__":true,"id":2555},{"__isSmartRef__":true,"id":2556},{"__isSmartRef__":true,"id":2557},{"__isSmartRef__":true,"id":2558},{"__isSmartRef__":true,"id":2559},{"__isSmartRef__":true,"id":2560},{"__isSmartRef__":true,"id":2561},{"__isSmartRef__":true,"id":2562},{"__isSmartRef__":true,"id":2563},{"__isSmartRef__":true,"id":2564},{"__isSmartRef__":true,"id":2565},{"__isSmartRef__":true,"id":2566},{"__isSmartRef__":true,"id":2567},{"__isSmartRef__":true,"id":2568},{"__isSmartRef__":true,"id":2569},{"__isSmartRef__":true,"id":2570},{"__isSmartRef__":true,"id":2571},{"__isSmartRef__":true,"id":2572},{"__isSmartRef__":true,"id":2573},{"__isSmartRef__":true,"id":2574},{"__isSmartRef__":true,"id":2575},{"__isSmartRef__":true,"id":2576},{"__isSmartRef__":true,"id":2577},{"__isSmartRef__":true,"id":2578},{"__isSmartRef__":true,"id":2579},{"__isSmartRef__":true,"id":2580},{"__isSmartRef__":true,"id":2581},{"__isSmartRef__":true,"id":2582},{"__isSmartRef__":true,"id":2583},{"__isSmartRef__":true,"id":2584},{"__isSmartRef__":true,"id":2585},{"__isSmartRef__":true,"id":2586},{"__isSmartRef__":true,"id":2587},{"__isSmartRef__":true,"id":2588},{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2590},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2592},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2594},{"__isSmartRef__":true,"id":2595},{"__isSmartRef__":true,"id":2596},{"__isSmartRef__":true,"id":2597},{"__isSmartRef__":true,"id":2598},{"__isSmartRef__":true,"id":2599},{"__isSmartRef__":true,"id":2600},{"__isSmartRef__":true,"id":2601},{"__isSmartRef__":true,"id":2602},{"__isSmartRef__":true,"id":2603},{"__isSmartRef__":true,"id":2604},{"__isSmartRef__":true,"id":2605},{"__isSmartRef__":true,"id":2606},{"__isSmartRef__":true,"id":2607},{"__isSmartRef__":true,"id":2608},{"__isSmartRef__":true,"id":2609},{"__isSmartRef__":true,"id":2610},{"__isSmartRef__":true,"id":2611},{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2613},{"__isSmartRef__":true,"id":2614},{"__isSmartRef__":true,"id":2615},{"__isSmartRef__":true,"id":2616},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2618},{"__isSmartRef__":true,"id":2619},{"__isSmartRef__":true,"id":2620},{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2622},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2624},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2626},{"__isSmartRef__":true,"id":2627},{"__isSmartRef__":true,"id":2628},{"__isSmartRef__":true,"id":2629},{"__isSmartRef__":true,"id":2630},{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2633},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2635},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2637},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2641},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2643},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2645},{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2647},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2649},{"__isSmartRef__":true,"id":2650},{"__isSmartRef__":true,"id":2651},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2653},{"__isSmartRef__":true,"id":2654},{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2656},{"__isSmartRef__":true,"id":2657},{"__isSmartRef__":true,"id":2658},{"__isSmartRef__":true,"id":2659},{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2661},{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2663},{"__isSmartRef__":true,"id":2664},{"__isSmartRef__":true,"id":2665},{"__isSmartRef__":true,"id":2666},{"__isSmartRef__":true,"id":2667},{"__isSmartRef__":true,"id":2668},{"__isSmartRef__":true,"id":2669},{"__isSmartRef__":true,"id":2670},{"__isSmartRef__":true,"id":2671},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2674},{"__isSmartRef__":true,"id":2675},{"__isSmartRef__":true,"id":2676},{"__isSmartRef__":true,"id":2677},{"__isSmartRef__":true,"id":2678},{"__isSmartRef__":true,"id":2679},{"__isSmartRef__":true,"id":2680},{"__isSmartRef__":true,"id":2681},{"__isSmartRef__":true,"id":2682},{"__isSmartRef__":true,"id":2683},{"__isSmartRef__":true,"id":2684},{"__isSmartRef__":true,"id":2685},{"__isSmartRef__":true,"id":2686},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2688},{"__isSmartRef__":true,"id":2689},{"__isSmartRef__":true,"id":2690},{"__isSmartRef__":true,"id":2691},{"__isSmartRef__":true,"id":2692},{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2694},{"__isSmartRef__":true,"id":2695},{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2697},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2700},{"__isSmartRef__":true,"id":2701},{"__isSmartRef__":true,"id":2702},{"__isSmartRef__":true,"id":2703},{"__isSmartRef__":true,"id":2704},{"__isSmartRef__":true,"id":2705},{"__isSmartRef__":true,"id":2706},{"__isSmartRef__":true,"id":2707},{"__isSmartRef__":true,"id":2708},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2710},{"__isSmartRef__":true,"id":2711},{"__isSmartRef__":true,"id":2712},{"__isSmartRef__":true,"id":2713},{"__isSmartRef__":true,"id":2714},{"__isSmartRef__":true,"id":2715},{"__isSmartRef__":true,"id":2716},{"__isSmartRef__":true,"id":2717},{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2719},{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2723},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2727},{"__isSmartRef__":true,"id":2728},{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2730},{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2735},{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2737},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2739},{"__isSmartRef__":true,"id":2740},{"__isSmartRef__":true,"id":2741},{"__isSmartRef__":true,"id":2742},{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2744},{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2746},{"__isSmartRef__":true,"id":2747},{"__isSmartRef__":true,"id":2748},{"__isSmartRef__":true,"id":2749},{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2751},{"__isSmartRef__":true,"id":2752},{"__isSmartRef__":true,"id":2753},{"__isSmartRef__":true,"id":2754},{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2757},{"__isSmartRef__":true,"id":2758},{"__isSmartRef__":true,"id":2759},{"__isSmartRef__":true,"id":2760},{"__isSmartRef__":true,"id":2761},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2763},{"__isSmartRef__":true,"id":2764},{"__isSmartRef__":true,"id":2765},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2767},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2769},{"__isSmartRef__":true,"id":2770},{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2772},{"__isSmartRef__":true,"id":2773},{"__isSmartRef__":true,"id":2774},{"__isSmartRef__":true,"id":2775},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2777},{"__isSmartRef__":true,"id":2778},{"__isSmartRef__":true,"id":2779},{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2782},{"__isSmartRef__":true,"id":2783},{"__isSmartRef__":true,"id":2784},{"__isSmartRef__":true,"id":2785},{"__isSmartRef__":true,"id":2786},{"__isSmartRef__":true,"id":2787},{"__isSmartRef__":true,"id":2788},{"__isSmartRef__":true,"id":2789},{"__isSmartRef__":true,"id":2790},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2792},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2794},{"__isSmartRef__":true,"id":2795},{"__isSmartRef__":true,"id":2796},{"__isSmartRef__":true,"id":2797},{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2799},{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2801},{"__isSmartRef__":true,"id":2802},{"__isSmartRef__":true,"id":2803},{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2805},{"__isSmartRef__":true,"id":2806},{"__isSmartRef__":true,"id":2807},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":2809},{"__isSmartRef__":true,"id":2810},{"__isSmartRef__":true,"id":2811},{"__isSmartRef__":true,"id":2812},{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2814},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2818},{"__isSmartRef__":true,"id":2819},{"__isSmartRef__":true,"id":2820},{"__isSmartRef__":true,"id":2821},{"__isSmartRef__":true,"id":2822},{"__isSmartRef__":true,"id":2823},{"__isSmartRef__":true,"id":2824},{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2826},{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2828},{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2830},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2832},{"__isSmartRef__":true,"id":2833},{"__isSmartRef__":true,"id":2834},{"__isSmartRef__":true,"id":2835},{"__isSmartRef__":true,"id":2836},{"__isSmartRef__":true,"id":2837},{"__isSmartRef__":true,"id":2838},{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2843},{"__isSmartRef__":true,"id":2844},{"__isSmartRef__":true,"id":2845},{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2847},{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2849},{"__isSmartRef__":true,"id":2850},{"__isSmartRef__":true,"id":2851},{"__isSmartRef__":true,"id":2852},{"__isSmartRef__":true,"id":2853},{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2856},{"__isSmartRef__":true,"id":2857},{"__isSmartRef__":true,"id":2858},{"__isSmartRef__":true,"id":2859},{"__isSmartRef__":true,"id":2860},{"__isSmartRef__":true,"id":2861},{"__isSmartRef__":true,"id":2862},{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2864},{"__isSmartRef__":true,"id":2865},{"__isSmartRef__":true,"id":2866},{"__isSmartRef__":true,"id":2867},{"__isSmartRef__":true,"id":2868},{"__isSmartRef__":true,"id":2869},{"__isSmartRef__":true,"id":2870},{"__isSmartRef__":true,"id":2871},{"__isSmartRef__":true,"id":2872},{"__isSmartRef__":true,"id":2873},{"__isSmartRef__":true,"id":2874},{"__isSmartRef__":true,"id":2875},{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2877},{"__isSmartRef__":true,"id":2878},{"__isSmartRef__":true,"id":2879},{"__isSmartRef__":true,"id":2880},{"__isSmartRef__":true,"id":2881},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2883},{"__isSmartRef__":true,"id":2884},{"__isSmartRef__":true,"id":2885},{"__isSmartRef__":true,"id":2886},{"__isSmartRef__":true,"id":2887},{"__isSmartRef__":true,"id":2888},{"__isSmartRef__":true,"id":2889},{"__isSmartRef__":true,"id":2890},{"__isSmartRef__":true,"id":2891},{"__isSmartRef__":true,"id":2892},{"__isSmartRef__":true,"id":2893},{"__isSmartRef__":true,"id":2894},{"__isSmartRef__":true,"id":2895},{"__isSmartRef__":true,"id":2896},{"__isSmartRef__":true,"id":2897},{"__isSmartRef__":true,"id":2898},{"__isSmartRef__":true,"id":2899},{"__isSmartRef__":true,"id":2900},{"__isSmartRef__":true,"id":2901},{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2903},{"__isSmartRef__":true,"id":2904},{"__isSmartRef__":true,"id":2905},{"__isSmartRef__":true,"id":2906},{"__isSmartRef__":true,"id":2907},{"__isSmartRef__":true,"id":2908},{"__isSmartRef__":true,"id":2909},{"__isSmartRef__":true,"id":2910},{"__isSmartRef__":true,"id":2911},{"__isSmartRef__":true,"id":2912},{"__isSmartRef__":true,"id":2913},{"__isSmartRef__":true,"id":2914},{"__isSmartRef__":true,"id":2915},{"__isSmartRef__":true,"id":2916},{"__isSmartRef__":true,"id":2917},{"__isSmartRef__":true,"id":2918},{"__isSmartRef__":true,"id":2919},{"__isSmartRef__":true,"id":2920},{"__isSmartRef__":true,"id":2921},{"__isSmartRef__":true,"id":2922},{"__isSmartRef__":true,"id":2923},{"__isSmartRef__":true,"id":2924},{"__isSmartRef__":true,"id":2925},{"__isSmartRef__":true,"id":2926},{"__isSmartRef__":true,"id":2927},{"__isSmartRef__":true,"id":2928},{"__isSmartRef__":true,"id":2929},{"__isSmartRef__":true,"id":2930},{"__isSmartRef__":true,"id":2931},{"__isSmartRef__":true,"id":2932},{"__isSmartRef__":true,"id":2933},{"__isSmartRef__":true,"id":2934},{"__isSmartRef__":true,"id":2935},{"__isSmartRef__":true,"id":2936},{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2938},{"__isSmartRef__":true,"id":2939},{"__isSmartRef__":true,"id":2940},{"__isSmartRef__":true,"id":2941},{"__isSmartRef__":true,"id":2942},{"__isSmartRef__":true,"id":2943},{"__isSmartRef__":true,"id":2944},{"__isSmartRef__":true,"id":2945},{"__isSmartRef__":true,"id":2946},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2948},{"__isSmartRef__":true,"id":2949},{"__isSmartRef__":true,"id":2950},{"__isSmartRef__":true,"id":2951},{"__isSmartRef__":true,"id":2952},{"__isSmartRef__":true,"id":2953},{"__isSmartRef__":true,"id":2954},{"__isSmartRef__":true,"id":2955},{"__isSmartRef__":true,"id":2956},{"__isSmartRef__":true,"id":2957},{"__isSmartRef__":true,"id":2958},{"__isSmartRef__":true,"id":2959},{"__isSmartRef__":true,"id":2960},{"__isSmartRef__":true,"id":2961},{"__isSmartRef__":true,"id":2962},{"__isSmartRef__":true,"id":2963},{"__isSmartRef__":true,"id":2964},{"__isSmartRef__":true,"id":2965},{"__isSmartRef__":true,"id":2966},{"__isSmartRef__":true,"id":2967},{"__isSmartRef__":true,"id":2968},{"__isSmartRef__":true,"id":2969},{"__isSmartRef__":true,"id":2970},{"__isSmartRef__":true,"id":2971},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":2973},{"__isSmartRef__":true,"id":2974},{"__isSmartRef__":true,"id":2975},{"__isSmartRef__":true,"id":2976},{"__isSmartRef__":true,"id":2977},{"__isSmartRef__":true,"id":2978},{"__isSmartRef__":true,"id":2979},{"__isSmartRef__":true,"id":2980},{"__isSmartRef__":true,"id":2981},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2983},{"__isSmartRef__":true,"id":2984},{"__isSmartRef__":true,"id":2985},{"__isSmartRef__":true,"id":2986},{"__isSmartRef__":true,"id":2987},{"__isSmartRef__":true,"id":2988},{"__isSmartRef__":true,"id":2989},{"__isSmartRef__":true,"id":2990},{"__isSmartRef__":true,"id":2991},{"__isSmartRef__":true,"id":2992},{"__isSmartRef__":true,"id":2993},{"__isSmartRef__":true,"id":2994},{"__isSmartRef__":true,"id":2995},{"__isSmartRef__":true,"id":2996},{"__isSmartRef__":true,"id":2997},{"__isSmartRef__":true,"id":2998},{"__isSmartRef__":true,"id":2999},{"__isSmartRef__":true,"id":3000},{"__isSmartRef__":true,"id":3001},{"__isSmartRef__":true,"id":3002},{"__isSmartRef__":true,"id":3003},{"__isSmartRef__":true,"id":3004},{"__isSmartRef__":true,"id":3005},{"__isSmartRef__":true,"id":3006},{"__isSmartRef__":true,"id":3007},{"__isSmartRef__":true,"id":3008},{"__isSmartRef__":true,"id":3009},{"__isSmartRef__":true,"id":3010},{"__isSmartRef__":true,"id":3011},{"__isSmartRef__":true,"id":3012},{"__isSmartRef__":true,"id":3013},{"__isSmartRef__":true,"id":3014},{"__isSmartRef__":true,"id":3015},{"__isSmartRef__":true,"id":3016},{"__isSmartRef__":true,"id":3017},{"__isSmartRef__":true,"id":3018},{"__isSmartRef__":true,"id":3019},{"__isSmartRef__":true,"id":3020},{"__isSmartRef__":true,"id":3021},{"__isSmartRef__":true,"id":3022},{"__isSmartRef__":true,"id":3023},{"__isSmartRef__":true,"id":3024},{"__isSmartRef__":true,"id":3025},{"__isSmartRef__":true,"id":3026},{"__isSmartRef__":true,"id":3027},{"__isSmartRef__":true,"id":3028},{"__isSmartRef__":true,"id":3029},{"__isSmartRef__":true,"id":3030},{"__isSmartRef__":true,"id":3031},{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3033},{"__isSmartRef__":true,"id":3034},{"__isSmartRef__":true,"id":3035},{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3037},{"__isSmartRef__":true,"id":3038},{"__isSmartRef__":true,"id":3039},{"__isSmartRef__":true,"id":3040},{"__isSmartRef__":true,"id":3041},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3043},{"__isSmartRef__":true,"id":3044},{"__isSmartRef__":true,"id":3045},{"__isSmartRef__":true,"id":3046},{"__isSmartRef__":true,"id":3047},{"__isSmartRef__":true,"id":3048},{"__isSmartRef__":true,"id":3049},{"__isSmartRef__":true,"id":3050},{"__isSmartRef__":true,"id":3051},{"__isSmartRef__":true,"id":3052},{"__isSmartRef__":true,"id":3053},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3055},{"__isSmartRef__":true,"id":3056},{"__isSmartRef__":true,"id":3057},{"__isSmartRef__":true,"id":3058},{"__isSmartRef__":true,"id":3059},{"__isSmartRef__":true,"id":3060},{"__isSmartRef__":true,"id":3061},{"__isSmartRef__":true,"id":3062},{"__isSmartRef__":true,"id":3063},{"__isSmartRef__":true,"id":3064},{"__isSmartRef__":true,"id":3065},{"__isSmartRef__":true,"id":3066},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3069},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3071},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3073},{"__isSmartRef__":true,"id":3074},{"__isSmartRef__":true,"id":3075},{"__isSmartRef__":true,"id":3076},{"__isSmartRef__":true,"id":3077},{"__isSmartRef__":true,"id":3078},{"__isSmartRef__":true,"id":3079},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3082},{"__isSmartRef__":true,"id":3083},{"__isSmartRef__":true,"id":3084},{"__isSmartRef__":true,"id":3085},{"__isSmartRef__":true,"id":3086},{"__isSmartRef__":true,"id":3087},{"__isSmartRef__":true,"id":3088},{"__isSmartRef__":true,"id":3089},{"__isSmartRef__":true,"id":3090},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3093},{"__isSmartRef__":true,"id":3094},{"__isSmartRef__":true,"id":3095},{"__isSmartRef__":true,"id":3096},{"__isSmartRef__":true,"id":3097},{"__isSmartRef__":true,"id":3098},{"__isSmartRef__":true,"id":3099},{"__isSmartRef__":true,"id":3100},{"__isSmartRef__":true,"id":3101},{"__isSmartRef__":true,"id":3102},{"__isSmartRef__":true,"id":3103},{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3105},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3107},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3109},{"__isSmartRef__":true,"id":3110},{"__isSmartRef__":true,"id":3111},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3113},{"__isSmartRef__":true,"id":3114},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3116},{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3118},{"__isSmartRef__":true,"id":3119},{"__isSmartRef__":true,"id":3120},{"__isSmartRef__":true,"id":3121},{"__isSmartRef__":true,"id":3122},{"__isSmartRef__":true,"id":3123},{"__isSmartRef__":true,"id":3124},{"__isSmartRef__":true,"id":3125},{"__isSmartRef__":true,"id":3126},{"__isSmartRef__":true,"id":3127},{"__isSmartRef__":true,"id":3128},{"__isSmartRef__":true,"id":3129},{"__isSmartRef__":true,"id":3130},{"__isSmartRef__":true,"id":3131},{"__isSmartRef__":true,"id":3132},{"__isSmartRef__":true,"id":3133},{"__isSmartRef__":true,"id":3134},{"__isSmartRef__":true,"id":3135},{"__isSmartRef__":true,"id":3136},{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3138},{"__isSmartRef__":true,"id":3139},{"__isSmartRef__":true,"id":3140},{"__isSmartRef__":true,"id":3141},{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3143},{"__isSmartRef__":true,"id":3144},{"__isSmartRef__":true,"id":3145},{"__isSmartRef__":true,"id":3146},{"__isSmartRef__":true,"id":3147},{"__isSmartRef__":true,"id":3148},{"__isSmartRef__":true,"id":3149},{"__isSmartRef__":true,"id":3150},{"__isSmartRef__":true,"id":3151},{"__isSmartRef__":true,"id":3152},{"__isSmartRef__":true,"id":3153},{"__isSmartRef__":true,"id":3154},{"__isSmartRef__":true,"id":3155},{"__isSmartRef__":true,"id":3156},{"__isSmartRef__":true,"id":3157},{"__isSmartRef__":true,"id":3158},{"__isSmartRef__":true,"id":3159},{"__isSmartRef__":true,"id":3160},{"__isSmartRef__":true,"id":3161},{"__isSmartRef__":true,"id":3162},{"__isSmartRef__":true,"id":3163},{"__isSmartRef__":true,"id":3164},{"__isSmartRef__":true,"id":3165},{"__isSmartRef__":true,"id":3166},{"__isSmartRef__":true,"id":3167},{"__isSmartRef__":true,"id":3168},{"__isSmartRef__":true,"id":3169},{"__isSmartRef__":true,"id":3170},{"__isSmartRef__":true,"id":3171},{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3173},{"__isSmartRef__":true,"id":3174},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3176},{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3178},{"__isSmartRef__":true,"id":3179},{"__isSmartRef__":true,"id":3180},{"__isSmartRef__":true,"id":3181},{"__isSmartRef__":true,"id":3182},{"__isSmartRef__":true,"id":3183},{"__isSmartRef__":true,"id":3184},{"__isSmartRef__":true,"id":3185},{"__isSmartRef__":true,"id":3186},{"__isSmartRef__":true,"id":3187},{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3189},{"__isSmartRef__":true,"id":3190},{"__isSmartRef__":true,"id":3191},{"__isSmartRef__":true,"id":3192},{"__isSmartRef__":true,"id":3193},{"__isSmartRef__":true,"id":3194},{"__isSmartRef__":true,"id":3195},{"__isSmartRef__":true,"id":3196},{"__isSmartRef__":true,"id":3197},{"__isSmartRef__":true,"id":3198},{"__isSmartRef__":true,"id":3199},{"__isSmartRef__":true,"id":3200},{"__isSmartRef__":true,"id":3201},{"__isSmartRef__":true,"id":3202},{"__isSmartRef__":true,"id":3203},{"__isSmartRef__":true,"id":3204},{"__isSmartRef__":true,"id":3205},{"__isSmartRef__":true,"id":3206},{"__isSmartRef__":true,"id":3207},{"__isSmartRef__":true,"id":3208},{"__isSmartRef__":true,"id":3209},{"__isSmartRef__":true,"id":3210},{"__isSmartRef__":true,"id":3211},{"__isSmartRef__":true,"id":3212},{"__isSmartRef__":true,"id":3213},{"__isSmartRef__":true,"id":3214},{"__isSmartRef__":true,"id":3215},{"__isSmartRef__":true,"id":3216},{"__isSmartRef__":true,"id":3217},{"__isSmartRef__":true,"id":3218},{"__isSmartRef__":true,"id":3219},{"__isSmartRef__":true,"id":3220},{"__isSmartRef__":true,"id":3221},{"__isSmartRef__":true,"id":3222},{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3224},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3226},{"__isSmartRef__":true,"id":3227},{"__isSmartRef__":true,"id":3228},{"__isSmartRef__":true,"id":3229},{"__isSmartRef__":true,"id":3230},{"__isSmartRef__":true,"id":3231},{"__isSmartRef__":true,"id":3232},{"__isSmartRef__":true,"id":3233},{"__isSmartRef__":true,"id":3234},{"__isSmartRef__":true,"id":3235},{"__isSmartRef__":true,"id":3236},{"__isSmartRef__":true,"id":3237},{"__isSmartRef__":true,"id":3238},{"__isSmartRef__":true,"id":3239},{"__isSmartRef__":true,"id":3240},{"__isSmartRef__":true,"id":3241},{"__isSmartRef__":true,"id":3242},{"__isSmartRef__":true,"id":3243},{"__isSmartRef__":true,"id":3244},{"__isSmartRef__":true,"id":3245},{"__isSmartRef__":true,"id":3246},{"__isSmartRef__":true,"id":3247},{"__isSmartRef__":true,"id":3248},{"__isSmartRef__":true,"id":3249},{"__isSmartRef__":true,"id":3250},{"__isSmartRef__":true,"id":3251},{"__isSmartRef__":true,"id":3252},{"__isSmartRef__":true,"id":3253},{"__isSmartRef__":true,"id":3254},{"__isSmartRef__":true,"id":3255},{"__isSmartRef__":true,"id":3256},{"__isSmartRef__":true,"id":3257},{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3259},{"__isSmartRef__":true,"id":3260},{"__isSmartRef__":true,"id":3261},{"__isSmartRef__":true,"id":3262},{"__isSmartRef__":true,"id":3263},{"__isSmartRef__":true,"id":3264},{"__isSmartRef__":true,"id":3265},{"__isSmartRef__":true,"id":3266},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3268},{"__isSmartRef__":true,"id":3269},{"__isSmartRef__":true,"id":3270},{"__isSmartRef__":true,"id":3271},{"__isSmartRef__":true,"id":3272},{"__isSmartRef__":true,"id":3273}],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3274},"__LivelyClassName__":"lively.morphic.Box"},"361":{"submorphs":[{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":411},{"__isSmartRef__":true,"id":460},{"__isSmartRef__":true,"id":510},{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":1284},{"__isSmartRef__":true,"id":1302},{"__isSmartRef__":true,"id":1316},{"__isSmartRef__":true,"id":1367},{"__isSmartRef__":true,"id":1383},{"__isSmartRef__":true,"id":1434}],"scripts":[],"id":"394E3473-A200-4E42-B1EE-A34144E1C861","shape":{"__isSmartRef__":true,"id":1448},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1455},"showsHalos":false,"name":"morePane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1456},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1457},"eventHandler":{"__isSmartRef__":true,"id":1458},"owner":{"__isSmartRef__":true,"id":360},"priorExtent":{"__isSmartRef__":true,"id":1459},"layout":{"__isSmartRef__":true,"id":1460},"_Visible":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[1217,"8FB7EEAA-27C3-4BCC-9905-59A59B8AB602","B4102745-8642-4F09-A5B5-0452D29E993C","02282C11-7C56-4C33-A2D1-E4C92F9F5575","83E2A61C-0119-4597-ADC8-8CB3AEDF35C1","119E4FE1-420B-4FDF-BD03-CF15F07B3538","6D70BD64-C7F8-4A79-9BE9-FA4C5A1E7892","C116FCDA-BB4D-4543-BE17-4D5586813CAF","1EAD9C62-350F-40EB-B5EA-B9441BB280C9","A3B24A35-589E-460F-9B54-45B0D0B7D7DD"],"_Rotation":0,"_Scale":1.000000000000002,"__LivelyClassName__":"lively.morphic.Box"},"362":{"submorphs":[{"__isSmartRef__":true,"id":363}],"scripts":[],"id":"F5B59BB8-8F46-4707-8BE3-D2D0CE86BDDD","shape":{"__isSmartRef__":true,"id":378},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":394},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":381},"lighterFill":{"__isSmartRef__":true,"id":395},"label":{"__isSmartRef__":true,"id":363},"attributeConnections":[{"__isSmartRef__":true,"id":404}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":405},"name":"movePartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":406},"owner":{"__isSmartRef__":true,"id":361},"layout":{"__isSmartRef__":true,"id":407},"renderContextTable":{"__isSmartRef__":true,"id":408},"eventHandler":{"__isSmartRef__":true,"id":409},"priorExtent":{"__isSmartRef__":true,"id":410},"derivationIds":[1218,"F5D21B41-BD0E-49D3-80E5-F1624416C143","1E157243-B0DC-4138-B660-EF05198FA3C8","4D60CECB-66FD-4865-BD46-45F0C9CAB399","0E997A95-CCA0-4BBF-B55B-62B5C6EC32DF","FA30D56E-17FE-4B1F-BE8A-7CBCCABEFF1D","A5A7F641-F783-4649-A154-1AD81607B7CE","D10ED7E0-21BA-463D-996E-6D458B557F68","606309D2-7D9D-4122-A64C-CFE582E6D738","998D7B7C-CF5D-401C-9594-FA8956C326A1"],"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Button"},"363":{"submorphs":[],"scripts":[],"id":"42B79C78-396F-4E7B-B48C-25920F2BAB62","shape":{"__isSmartRef__":true,"id":364},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":58,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":370},"textColor":{"__isSmartRef__":true,"id":367},"owner":{"__isSmartRef__":true,"id":362},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":371}],"padding":{"__isSmartRef__":true,"id":373},"_Padding":{"__isSmartRef__":true,"id":374},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":375},"renderContextTable":{"__isSmartRef__":true,"id":376},"eventHandler":{"__isSmartRef__":true,"id":377},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":58,"_MinTextHeight":null,"derivationIds":[1219,"46E7D2D8-D7A5-4476-8AD1-FB81FAE717FE","7B2A54CD-6423-4B77-A082-B5A1DA2BCE66","6C3B231E-5C42-449F-9425-8EE874A6EC57","7ACD0BA3-074C-461F-8C6B-ECEBA0B09C7A","556A1D2F-8F3F-4BCD-A602-FD3C257F1859","6C05BE2D-BB66-44E3-9765-65B24D7579E1","9F6A58E1-A23D-4A56-8D85-71FD5AA872B9","EDEC5AA1-080B-42AE-A9D6-F6FAB0CD3E1A","FE4530BA-6D31-4472-A351-4DCB0F9FE121"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"364":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":365},"_Extent":{"__isSmartRef__":true,"id":366},"_BorderColor":{"__isSmartRef__":true,"id":367},"renderContextTable":{"__isSmartRef__":true,"id":368},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":369},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"365":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"366":{"x":58,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"367":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"368":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"369":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"370":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"371":{"style":{"__isSmartRef__":true,"id":372},"morph":{"__isSmartRef__":true,"id":363},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":363},"storedString":"move","__LivelyClassName__":"lively.morphic.TextChunk"},"372":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"373":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"374":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"375":{"x":58,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"376":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"377":{"morph":{"__isSmartRef__":true,"id":363},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"378":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":379},"_Extent":{"__isSmartRef__":true,"id":380},"_Fill":{"__isSmartRef__":true,"id":381},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":391},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":392},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":393},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"379":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"380":{"x":58,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"381":{"stops":[{"__isSmartRef__":true,"id":382},{"__isSmartRef__":true,"id":384},{"__isSmartRef__":true,"id":386},{"__isSmartRef__":true,"id":388}],"vector":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"382":{"offset":0,"color":{"__isSmartRef__":true,"id":383}},"383":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"384":{"offset":0.4,"color":{"__isSmartRef__":true,"id":385}},"385":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"386":{"offset":0.6,"color":{"__isSmartRef__":true,"id":387}},"387":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"388":{"offset":1,"color":{"__isSmartRef__":true,"id":389}},"389":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"390":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"391":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"392":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"393":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"394":{"x":137.67911865694913,"y":393.86777109042464,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"395":{"stops":[{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":398},{"__isSmartRef__":true,"id":400},{"__isSmartRef__":true,"id":402}],"vector":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"396":{"offset":0,"color":{"__isSmartRef__":true,"id":397}},"397":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"398":{"offset":0.4,"color":{"__isSmartRef__":true,"id":399}},"399":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"400":{"offset":0.6,"color":{"__isSmartRef__":true,"id":401}},"401":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"402":{"offset":1,"color":{"__isSmartRef__":true,"id":403}},"403":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"404":{"sourceObj":{"__isSmartRef__":true,"id":362},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"interactivelyMoveSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"405":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"406":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"407":{"moveVertical":true},"408":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"409":{"morph":{"__isSmartRef__":true,"id":362},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"410":{"x":59,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"411":{"submorphs":[{"__isSmartRef__":true,"id":412}],"scripts":[],"id":"29785E65-6557-4E26-BD24-897072462A47","shape":{"__isSmartRef__":true,"id":427},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":443},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":430},"lighterFill":{"__isSmartRef__":true,"id":444},"label":{"__isSmartRef__":true,"id":412},"attributeConnections":[{"__isSmartRef__":true,"id":453},{"__isSmartRef__":true,"id":454}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":455},"name":"removePartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":456},"owner":{"__isSmartRef__":true,"id":361},"layout":{"__isSmartRef__":true,"id":457},"renderContextTable":{"__isSmartRef__":true,"id":458},"eventHandler":{"__isSmartRef__":true,"id":459},"derivationIds":[1220,"6104A033-57FD-4F65-B785-3F32FC278E39","BF7EFB0E-5EBE-4F44-9F5E-0576880F8E75","1E4BFB46-60C5-46A6-970A-CE2825840F25","6F766455-545A-496A-88AE-84737A5534A7","38DFF15E-9F34-46E9-BF1D-A4E46C497541","06C3D4D0-C1C1-4664-9899-5F7C61544400","4C448623-A82F-4C77-87AF-D6EA63A59B8D","9A0208AE-4752-4CEC-ABFE-69A8DCADDEC1","B622D1E6-1113-45B0-B7F1-D476B7187C6F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"412":{"submorphs":[],"scripts":[],"id":"7C6C8262-2632-40D0-BF8B-309A96C6A746","shape":{"__isSmartRef__":true,"id":413},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":66,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":419},"textColor":{"__isSmartRef__":true,"id":416},"owner":{"__isSmartRef__":true,"id":411},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":420}],"padding":{"__isSmartRef__":true,"id":422},"_Padding":{"__isSmartRef__":true,"id":423},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":424},"renderContextTable":{"__isSmartRef__":true,"id":425},"eventHandler":{"__isSmartRef__":true,"id":426},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":66,"_MinTextHeight":null,"derivationIds":[1221,"9DA2513A-CC83-4283-AB2A-ACF15C86C674","5F885FF0-B156-4674-9C69-74CB7C257A00","58A5253D-0C92-4B09-9B0B-50BAF7062B0D","C655EA28-0996-4C54-8E49-F908BCA93FCE","E7DE43DD-20AF-4E46-9928-2D26F325AB7F","7B24B946-C7AF-4E42-AC8B-BAC6D5D6FB5E","43456CD2-B83E-455A-89EA-E2EAC5B41399","3ACAECEE-6384-4EBE-9736-CAD24C3B3762","8005E82C-FA8E-4695-B93B-D9B2E924E896"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"413":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":414},"_Extent":{"__isSmartRef__":true,"id":415},"_BorderColor":{"__isSmartRef__":true,"id":416},"renderContextTable":{"__isSmartRef__":true,"id":417},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":418},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"414":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"415":{"x":66,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"416":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"417":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"418":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"419":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"420":{"style":{"__isSmartRef__":true,"id":421},"morph":{"__isSmartRef__":true,"id":412},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":412},"storedString":"remove","__LivelyClassName__":"lively.morphic.TextChunk"},"421":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"422":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"423":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"424":{"x":66,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"425":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"426":{"morph":{"__isSmartRef__":true,"id":412},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"427":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":428},"_Extent":{"__isSmartRef__":true,"id":429},"_Fill":{"__isSmartRef__":true,"id":430},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":440},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":441},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":442},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"428":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"429":{"x":66,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"430":{"stops":[{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":437}],"vector":{"__isSmartRef__":true,"id":439},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"431":{"offset":0,"color":{"__isSmartRef__":true,"id":432}},"432":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"433":{"offset":0.4,"color":{"__isSmartRef__":true,"id":434}},"434":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"435":{"offset":0.6,"color":{"__isSmartRef__":true,"id":436}},"436":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"437":{"offset":1,"color":{"__isSmartRef__":true,"id":438}},"438":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"439":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"440":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"442":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"443":{"x":70.12005863445097,"y":393.8518587078797,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"444":{"stops":[{"__isSmartRef__":true,"id":445},{"__isSmartRef__":true,"id":447},{"__isSmartRef__":true,"id":449},{"__isSmartRef__":true,"id":451}],"vector":{"__isSmartRef__":true,"id":439},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"445":{"offset":0,"color":{"__isSmartRef__":true,"id":446}},"446":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"447":{"offset":0.4,"color":{"__isSmartRef__":true,"id":448}},"448":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"449":{"offset":0.6,"color":{"__isSmartRef__":true,"id":450}},"450":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"451":{"offset":1,"color":{"__isSmartRef__":true,"id":452}},"452":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"453":{"sourceObj":{"__isSmartRef__":true,"id":411},"sourceAttrName":"fire","targetMethodName":"reloadEverything","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"454":{"sourceObj":{"__isSmartRef__":true,"id":411},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"interactivelyRemoveSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"455":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"456":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"457":{"moveVertical":true},"458":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"459":{"morph":{"__isSmartRef__":true,"id":411},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"460":{"submorphs":[{"__isSmartRef__":true,"id":461}],"scripts":[],"id":"4E617FA0-0B9A-40E2-9D76-8D61F1AA0F99","shape":{"__isSmartRef__":true,"id":476},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":492},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":479},"lighterFill":{"__isSmartRef__":true,"id":493},"label":{"__isSmartRef__":true,"id":461},"attributeConnections":[{"__isSmartRef__":true,"id":502},{"__isSmartRef__":true,"id":503}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":504},"name":"loadPartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":505},"owner":{"__isSmartRef__":true,"id":361},"layout":{"__isSmartRef__":true,"id":506},"renderContextTable":{"__isSmartRef__":true,"id":507},"eventHandler":{"__isSmartRef__":true,"id":508},"derivationIds":[1222,"53143161-6C64-48C5-8E55-E5914F0EF97D","00D6DD0A-007D-478E-B625-602F218C4635","F420150F-FC88-4A76-8B6B-EA48495DAD2A","7E7374D3-E099-45D6-A873-E111BC557971","69B710F0-9A8E-4B16-9936-5C3E2512043F","1B1D4C76-8DF1-460A-ACCE-80568FE703DC","334778F7-689B-4D27-9891-059110F5122A","8B321CE5-31C5-4333-ADDF-E464DDE059A0","BC069425-0C12-4A28-867E-6C5A5B1334AE"],"_Rotation":0,"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.morphic.Button"},"461":{"submorphs":[],"scripts":[],"id":"96DE210E-3937-45DD-BC17-888E0716D40D","shape":{"__isSmartRef__":true,"id":462},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":50,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":468},"textColor":{"__isSmartRef__":true,"id":465},"owner":{"__isSmartRef__":true,"id":460},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":469}],"padding":{"__isSmartRef__":true,"id":471},"_Padding":{"__isSmartRef__":true,"id":472},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":473},"renderContextTable":{"__isSmartRef__":true,"id":474},"eventHandler":{"__isSmartRef__":true,"id":475},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":50,"_MinTextHeight":null,"derivationIds":[1223,"CA1AEDF7-8E87-433B-9CD1-DDA8D5A3EBCF","86BD113F-64BA-49A6-B42F-E561F4E0D67E","272B9AB5-11DE-4885-89B6-C3438FC53A90","8A9A437F-D683-4B7F-AE55-35EB605AFB78","A990A9CC-15E4-4E0C-BB5B-16023C399575","F9EF7A21-3B37-4964-B000-6276E90F9807","7C3782C1-9B87-4C58-8D9B-699E9789DA5F","519AE5D6-2EFD-48C5-B983-5A9CA44B7361","3C6B09E0-A6F9-42D6-902B-CF03B209261C"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"462":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":463},"_Extent":{"__isSmartRef__":true,"id":464},"_BorderColor":{"__isSmartRef__":true,"id":465},"renderContextTable":{"__isSmartRef__":true,"id":466},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":467},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"463":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"464":{"x":50,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"465":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"466":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"467":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"468":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"469":{"style":{"__isSmartRef__":true,"id":470},"morph":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":461},"storedString":"load","__LivelyClassName__":"lively.morphic.TextChunk"},"470":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"471":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"472":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"473":{"x":50,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"474":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"475":{"morph":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"476":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":477},"_Extent":{"__isSmartRef__":true,"id":478},"_Fill":{"__isSmartRef__":true,"id":479},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":489},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":490},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":491},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"477":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"478":{"x":50,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"479":{"stops":[{"__isSmartRef__":true,"id":480},{"__isSmartRef__":true,"id":482},{"__isSmartRef__":true,"id":484},{"__isSmartRef__":true,"id":486}],"vector":{"__isSmartRef__":true,"id":488},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"480":{"offset":0,"color":{"__isSmartRef__":true,"id":481}},"481":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"482":{"offset":0.4,"color":{"__isSmartRef__":true,"id":483}},"483":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"484":{"offset":0.6,"color":{"__isSmartRef__":true,"id":485}},"485":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"486":{"offset":1,"color":{"__isSmartRef__":true,"id":487}},"487":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"488":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"489":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"490":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"491":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"492":{"x":19.154971194602297,"y":393.89144835121806,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"493":{"stops":[{"__isSmartRef__":true,"id":494},{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":498},{"__isSmartRef__":true,"id":500}],"vector":{"__isSmartRef__":true,"id":488},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"494":{"offset":0,"color":{"__isSmartRef__":true,"id":495}},"495":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"496":{"offset":0.4,"color":{"__isSmartRef__":true,"id":497}},"497":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"498":{"offset":0.6,"color":{"__isSmartRef__":true,"id":499}},"499":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"500":{"offset":1,"color":{"__isSmartRef__":true,"id":501}},"501":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"502":{"sourceObj":{"__isSmartRef__":true,"id":460},"sourceAttrName":"fire","targetMethodName":"reloadEverything","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"503":{"sourceObj":{"__isSmartRef__":true,"id":460},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"loadAndOpenSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"504":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"505":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"506":{"moveVertical":true},"507":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"508":{"morph":{"__isSmartRef__":true,"id":460},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"509":{"x":51,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"510":{"submorphs":[],"scripts":[],"id":"3C5A5C49-191C-457A-9A73-B4E4CE3D32DE","shape":{"__isSmartRef__":true,"id":511},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":517},"_MaxTextWidth":258,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":514},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"selectedPartName","partsBinMetaInfo":{"__isSmartRef__":true,"id":518},"textChunks":[{"__isSmartRef__":true,"id":519}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[9,9],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":361},"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":521},"renderContextTable":{"__isSmartRef__":true,"id":522},"eventHandler":{"__isSmartRef__":true,"id":523},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":258,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":524},"previousSelection":[11,11],"derivationIds":[1224,"25E0FB99-9B39-4754-932D-DB6A01B4A95D","61627613-C999-40E7-9DB0-BDF996D1ECC4","C4D29785-0782-4706-806D-FF6038713C2F","4C2E106A-1F4C-48A0-A435-1FAA967054BC","BCB8A5BC-CD57-4495-8E0B-67AA5E474FA4","BC6B6857-9FAE-499A-BBFC-4F98A28D555D","A33D26A2-77A9-4F7B-B01E-E011C3AEAB93","12CBEF1F-E269-417E-ACEA-4DE2E29A0CE3","FCA464B3-A849-409D-BC5B-6D9EBAFB43BE"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"511":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":512},"_Extent":{"__isSmartRef__":true,"id":513},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":514},"renderContextTable":{"__isSmartRef__":true,"id":515},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":516},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"512":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"513":{"x":258,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"514":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"515":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"516":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"517":{"x":22.074220912172564,"y":8.635794805933187,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"518":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"519":{"style":{"__isSmartRef__":true,"id":520},"chunkOwner":{"__isSmartRef__":true,"id":510},"storedString":"Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"520":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"521":{"x":258,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"522":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"523":{"morph":{"__isSmartRef__":true,"id":510},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"524":{"x":167.51791727205773,"y":-12.628784291915622,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"525":{"submorphs":[],"scripts":[],"id":"F235DA86-B6A4-445F-A215-086491B61901","shape":{"__isSmartRef__":true,"id":526},"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":533},"itemList":[{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":1125},{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1136},{"__isSmartRef__":true,"id":1141},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1274}],"showsHalos":false,"name":"selectedPartVersions","partsBinMetaInfo":{"__isSmartRef__":true,"id":1279},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"scroll","owner":{"__isSmartRef__":true,"id":361},"prevScroll":[0,96],"layout":{"__isSmartRef__":true,"id":1280},"priorExtent":{"__isSmartRef__":true,"id":1281},"renderContextTable":{"__isSmartRef__":true,"id":1282},"eventHandler":{"__isSmartRef__":true,"id":1283},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[1225,"9B936EA2-F23D-497C-A53E-4396CA9256F6","E333E76B-0723-4359-B687-2AA820C0D677","25D90D11-0432-4E82-891D-54FFA3BB9FB1","914D1CD5-B925-47EC-B766-212629CF18AC","06903DED-2228-497A-A5E4-BD39CDAC9286","87BCD5EE-A9F5-41E6-AF60-2E0F4B187B25","7FF89F4C-C131-4DAD-A2E3-E3891D43F801","4C4F847E-E079-4B30-BD21-99ACC266B3A6","CD3F6BEF-CFAC-4D1D-9EDE-645D9A1BD064"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.List"},"526":{"position":{"__isSmartRef__":true,"id":527},"_Extent":{"__isSmartRef__":true,"id":528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":529},"_Fill":{"__isSmartRef__":true,"id":530},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":531},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":532},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"527":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"528":{"x":330.7762078882963,"y":121.97632273920658,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"529":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"530":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"531":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"532":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"533":{"x":19.98146549080036,"y":56.349422571268406,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"534":{"string":"2011-10-28 01:02 lauritz (112200)","value":{"__isSmartRef__":true,"id":535},"isListItem":true},"535":{"rev":112200,"author":"lauritz","date":{"__isSmartRef__":true,"id":536},"url":{"__isSmartRef__":true,"id":537},"changes":[{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":540},{"__isSmartRef__":true,"id":541},{"__isSmartRef__":true,"id":542},{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":544},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":546},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":548},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":550},{"__isSmartRef__":true,"id":551},{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":553},{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":556},{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":560},{"__isSmartRef__":true,"id":561},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":564},{"__isSmartRef__":true,"id":565},{"__isSmartRef__":true,"id":566},{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":570},{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":572},{"__isSmartRef__":true,"id":573},{"__isSmartRef__":true,"id":574},{"__isSmartRef__":true,"id":575},{"__isSmartRef__":true,"id":576},{"__isSmartRef__":true,"id":577},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":579},{"__isSmartRef__":true,"id":580},{"__isSmartRef__":true,"id":581},{"__isSmartRef__":true,"id":582},{"__isSmartRef__":true,"id":583},{"__isSmartRef__":true,"id":584},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":589},{"__isSmartRef__":true,"id":590},{"__isSmartRef__":true,"id":591},{"__isSmartRef__":true,"id":592},{"__isSmartRef__":true,"id":593},{"__isSmartRef__":true,"id":594},{"__isSmartRef__":true,"id":595},{"__isSmartRef__":true,"id":596},{"__isSmartRef__":true,"id":597},{"__isSmartRef__":true,"id":598},{"__isSmartRef__":true,"id":599},{"__isSmartRef__":true,"id":600},{"__isSmartRef__":true,"id":601},{"__isSmartRef__":true,"id":602},{"__isSmartRef__":true,"id":603},{"__isSmartRef__":true,"id":604},{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":606},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":617},{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":621},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":625},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":631},{"__isSmartRef__":true,"id":632},{"__isSmartRef__":true,"id":633},{"__isSmartRef__":true,"id":634},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":636},{"__isSmartRef__":true,"id":637},{"__isSmartRef__":true,"id":638},{"__isSmartRef__":true,"id":639},{"__isSmartRef__":true,"id":640},{"__isSmartRef__":true,"id":641},{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":643},{"__isSmartRef__":true,"id":644},{"__isSmartRef__":true,"id":645},{"__isSmartRef__":true,"id":646},{"__isSmartRef__":true,"id":647},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":652},{"__isSmartRef__":true,"id":653},{"__isSmartRef__":true,"id":654},{"__isSmartRef__":true,"id":655},{"__isSmartRef__":true,"id":656},{"__isSmartRef__":true,"id":657},{"__isSmartRef__":true,"id":658},{"__isSmartRef__":true,"id":659},{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":661},{"__isSmartRef__":true,"id":662},{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":664},{"__isSmartRef__":true,"id":665},{"__isSmartRef__":true,"id":666},{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":668},{"__isSmartRef__":true,"id":669},{"__isSmartRef__":true,"id":670},{"__isSmartRef__":true,"id":671},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":673},{"__isSmartRef__":true,"id":674},{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":678},{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":680},{"__isSmartRef__":true,"id":681},{"__isSmartRef__":true,"id":682},{"__isSmartRef__":true,"id":683},{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":685},{"__isSmartRef__":true,"id":686},{"__isSmartRef__":true,"id":687},{"__isSmartRef__":true,"id":688},{"__isSmartRef__":true,"id":689},{"__isSmartRef__":true,"id":690},{"__isSmartRef__":true,"id":691},{"__isSmartRef__":true,"id":692},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":694},{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":696},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":698},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":700},{"__isSmartRef__":true,"id":701},{"__isSmartRef__":true,"id":702},{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":704},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":709},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":711},{"__isSmartRef__":true,"id":712},{"__isSmartRef__":true,"id":713},{"__isSmartRef__":true,"id":714},{"__isSmartRef__":true,"id":715},{"__isSmartRef__":true,"id":716},{"__isSmartRef__":true,"id":717},{"__isSmartRef__":true,"id":718},{"__isSmartRef__":true,"id":719},{"__isSmartRef__":true,"id":720},{"__isSmartRef__":true,"id":721},{"__isSmartRef__":true,"id":722},{"__isSmartRef__":true,"id":723},{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":728},{"__isSmartRef__":true,"id":729},{"__isSmartRef__":true,"id":730},{"__isSmartRef__":true,"id":731},{"__isSmartRef__":true,"id":732},{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":734},{"__isSmartRef__":true,"id":735},{"__isSmartRef__":true,"id":736},{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":738},{"__isSmartRef__":true,"id":739},{"__isSmartRef__":true,"id":740},{"__isSmartRef__":true,"id":741},{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":743},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":748},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":757},{"__isSmartRef__":true,"id":758},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":763},{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":765},{"__isSmartRef__":true,"id":766},{"__isSmartRef__":true,"id":767},{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":778},{"__isSmartRef__":true,"id":779},{"__isSmartRef__":true,"id":780},{"__isSmartRef__":true,"id":781},{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":785},{"__isSmartRef__":true,"id":786},{"__isSmartRef__":true,"id":787},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":789},{"__isSmartRef__":true,"id":790},{"__isSmartRef__":true,"id":791},{"__isSmartRef__":true,"id":792},{"__isSmartRef__":true,"id":793},{"__isSmartRef__":true,"id":794},{"__isSmartRef__":true,"id":795},{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":797},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":801},{"__isSmartRef__":true,"id":802},{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":804},{"__isSmartRef__":true,"id":805},{"__isSmartRef__":true,"id":806},{"__isSmartRef__":true,"id":807},{"__isSmartRef__":true,"id":808},{"__isSmartRef__":true,"id":809},{"__isSmartRef__":true,"id":810},{"__isSmartRef__":true,"id":811},{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":815},{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":820},{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":822},{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":826},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":830},{"__isSmartRef__":true,"id":831},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":836},{"__isSmartRef__":true,"id":837},{"__isSmartRef__":true,"id":838},{"__isSmartRef__":true,"id":839},{"__isSmartRef__":true,"id":840},{"__isSmartRef__":true,"id":841},{"__isSmartRef__":true,"id":842},{"__isSmartRef__":true,"id":843},{"__isSmartRef__":true,"id":844},{"__isSmartRef__":true,"id":845},{"__isSmartRef__":true,"id":846},{"__isSmartRef__":true,"id":847},{"__isSmartRef__":true,"id":848},{"__isSmartRef__":true,"id":849},{"__isSmartRef__":true,"id":850},{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":852},{"__isSmartRef__":true,"id":853},{"__isSmartRef__":true,"id":854},{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":856},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":858},{"__isSmartRef__":true,"id":859},{"__isSmartRef__":true,"id":860},{"__isSmartRef__":true,"id":861},{"__isSmartRef__":true,"id":862},{"__isSmartRef__":true,"id":863},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":865},{"__isSmartRef__":true,"id":866},{"__isSmartRef__":true,"id":867},{"__isSmartRef__":true,"id":868},{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":870},{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":872},{"__isSmartRef__":true,"id":873},{"__isSmartRef__":true,"id":874},{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":876},{"__isSmartRef__":true,"id":877},{"__isSmartRef__":true,"id":878},{"__isSmartRef__":true,"id":879},{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":881},{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":883},{"__isSmartRef__":true,"id":884},{"__isSmartRef__":true,"id":885},{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":887},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889},{"__isSmartRef__":true,"id":890},{"__isSmartRef__":true,"id":891},{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":897},{"__isSmartRef__":true,"id":898},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":900},{"__isSmartRef__":true,"id":901},{"__isSmartRef__":true,"id":902},{"__isSmartRef__":true,"id":903},{"__isSmartRef__":true,"id":904},{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":906},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":908},{"__isSmartRef__":true,"id":909},{"__isSmartRef__":true,"id":910},{"__isSmartRef__":true,"id":911},{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":914},{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":916},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":918},{"__isSmartRef__":true,"id":919},{"__isSmartRef__":true,"id":920},{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":928},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":930},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":937},{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":939},{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":941},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":946},{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":949},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":951},{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":953},{"__isSmartRef__":true,"id":954},{"__isSmartRef__":true,"id":955},{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":957},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":959},{"__isSmartRef__":true,"id":960},{"__isSmartRef__":true,"id":961},{"__isSmartRef__":true,"id":962},{"__isSmartRef__":true,"id":963},{"__isSmartRef__":true,"id":964},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":970},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":972},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":978},{"__isSmartRef__":true,"id":979},{"__isSmartRef__":true,"id":980},{"__isSmartRef__":true,"id":981},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":986},{"__isSmartRef__":true,"id":987},{"__isSmartRef__":true,"id":988},{"__isSmartRef__":true,"id":989},{"__isSmartRef__":true,"id":990},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":995},{"__isSmartRef__":true,"id":996},{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":998},{"__isSmartRef__":true,"id":999},{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1001},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1003},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1008},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1013},{"__isSmartRef__":true,"id":1014},{"__isSmartRef__":true,"id":1015},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1018},{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1020},{"__isSmartRef__":true,"id":1021},{"__isSmartRef__":true,"id":1022},{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1024},{"__isSmartRef__":true,"id":1025},{"__isSmartRef__":true,"id":1026},{"__isSmartRef__":true,"id":1027},{"__isSmartRef__":true,"id":1028},{"__isSmartRef__":true,"id":1029},{"__isSmartRef__":true,"id":1030},{"__isSmartRef__":true,"id":1031},{"__isSmartRef__":true,"id":1032},{"__isSmartRef__":true,"id":1033},{"__isSmartRef__":true,"id":1034},{"__isSmartRef__":true,"id":1035},{"__isSmartRef__":true,"id":1036},{"__isSmartRef__":true,"id":1037},{"__isSmartRef__":true,"id":1038},{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1040},{"__isSmartRef__":true,"id":1041},{"__isSmartRef__":true,"id":1042},{"__isSmartRef__":true,"id":1043},{"__isSmartRef__":true,"id":1044},{"__isSmartRef__":true,"id":1045},{"__isSmartRef__":true,"id":1046},{"__isSmartRef__":true,"id":1047},{"__isSmartRef__":true,"id":1048},{"__isSmartRef__":true,"id":1049},{"__isSmartRef__":true,"id":1050},{"__isSmartRef__":true,"id":1051},{"__isSmartRef__":true,"id":1052},{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1055},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1057},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1059},{"__isSmartRef__":true,"id":1060},{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1062},{"__isSmartRef__":true,"id":1063},{"__isSmartRef__":true,"id":1064},{"__isSmartRef__":true,"id":1065},{"__isSmartRef__":true,"id":1066},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1068},{"__isSmartRef__":true,"id":1069},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1075},{"__isSmartRef__":true,"id":1076},{"__isSmartRef__":true,"id":1077},{"__isSmartRef__":true,"id":1078},{"__isSmartRef__":true,"id":1079},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1081},{"__isSmartRef__":true,"id":1082},{"__isSmartRef__":true,"id":1083},{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1085},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1087},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1089},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1091},{"__isSmartRef__":true,"id":1092},{"__isSmartRef__":true,"id":1093},{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1095},{"__isSmartRef__":true,"id":1096},{"__isSmartRef__":true,"id":1097},{"__isSmartRef__":true,"id":1098},{"__isSmartRef__":true,"id":1099},{"__isSmartRef__":true,"id":1100},{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1103},{"__isSmartRef__":true,"id":1104},{"__isSmartRef__":true,"id":1105},{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1107},{"__isSmartRef__":true,"id":1108},{"__isSmartRef__":true,"id":1109},{"__isSmartRef__":true,"id":1110},{"__isSmartRef__":true,"id":1111},{"__isSmartRef__":true,"id":1112},{"__isSmartRef__":true,"id":1113},{"__isSmartRef__":true,"id":1114},{"__isSmartRef__":true,"id":1115},{"__isSmartRef__":true,"id":1116},{"__isSmartRef__":true,"id":1117},{"__isSmartRef__":true,"id":1118},{"__isSmartRef__":true,"id":1119},{"__isSmartRef__":true,"id":1120},{"__isSmartRef__":true,"id":1121},{"__isSmartRef__":true,"id":1122},{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1124}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"536":{"isSerializedDate":true,"string":"Fri Oct 28 2011 01:02:08 GMT+0200 (W. Europe Daylight Time)"},"537":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lauritz/miniprojects/annotationPart.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"538":{"type":"S:modified","url":"/users/jennek/start.xhtml"},"539":{"type":"S:modified","url":"/users/Dan/Piano.xhtml"},"540":{"type":"S:modified","url":"/users/sofia/documentation.xhtml"},"541":{"type":"S:modified","url":"/users/cschuster/presentation.xhtml"},"542":{"type":"S:modified","url":"/demos/LiveWeb/NewCPUVisualization.xhtml"},"543":{"type":"S:modified","url":"/users/lauritz/start.xhtml"},"544":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"545":{"type":"S:modified","url":"/draft/NewWorld/ServerPart.xhtml"},"546":{"type":"S:modified","url":"/users/sofia/georgi/ButtonPrototypes.xhtml"},"547":{"type":"S:modified","url":"/draft/NewWorld/NotetakingApp.xhtml"},"548":{"type":"S:modified","url":"/projects/CodeDB2/info_documents.xhtml"},"549":{"type":"S:modified","url":"/users/cschuster/hello.xhtml"},"550":{"type":"S:modified","url":"/users/fbo/layoutNoEpiMorphs.xhtml"},"551":{"type":"S:modified","url":"/issues/110527_RichTextGetsLost.xhtml"},"552":{"type":"S:modified","url":"/users/fbo/boxTestRange.xhtml"},"553":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualization.xhtml"},"554":{"type":"S:modified","url":"/demos/contextjs/Syntax.xhtml"},"555":{"type":"S:modified","url":"/draft/NewWorld/Connectors.xhtml"},"556":{"type":"S:modified","url":"/users/sofia/documentationXXX.xhtml"},"557":{"type":"S:modified","url":"/demos/VisualConnect.xhtml"},"558":{"type":"S:modified","url":"/users/MrSteve/Test1.xhtml"},"559":{"type":"S:modified","url":"/issues/110614_ClickingOnLinesHackIsBroken.xhtml"},"560":{"type":"S:modified","url":"/ChangeLog.xhtml"},"561":{"type":"S:modified","url":"/gettingStarted.xhtml"},"562":{"type":"S:modified","url":"/users/martin/oldWorkspace.xhtml"},"563":{"type":"S:modified","url":"/demos/Clean.xhtml"},"564":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeSaved.xhtml"},"565":{"type":"S:modified","url":"/issues/110613_ConnectorsAreBroken.xhtml"},"566":{"type":"S:modified","url":"/draft/NewWorld/ModuleDependencies.xhtml"},"567":{"type":"S:modified","url":"/issues/fixed/110412_ListDroppingBroken.xhtml"},"568":{"type":"S:modified","url":"/demos/LiveWeb/Empty.xhtml"},"569":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/dev2.xhtml"},"570":{"type":"S:modified","url":"/users/fbo/dropJournalBug.xhtml"},"571":{"type":"S:modified","url":"/users/tfleig/start.xhtml"},"572":{"type":"S:modified","url":"/specs/Scrolling.xhtml"},"573":{"type":"S:modified","url":"/users/fbo/dataGridTests.xhtml"},"574":{"type":"S:modified","url":"/users/tmohr/newWorld2.xhtml"},"575":{"type":"S:modified","url":"/users/sofia/georgi/new_world.xhtml"},"576":{"type":"S:modified","url":"/users/tmohr/slide5.xhtml"},"577":{"type":"S:modified","url":"/users/fbo/constraintLayoutExampleSerialized.xhtml"},"578":{"type":"S:modified","url":"/draft/NewWorld/TextBugfixes.xhtml"},"579":{"type":"S:modified","url":"/users/ahold/new/usertracking.xhtml"},"580":{"type":"S:modified","url":"/issues/110512_WrappingTextInTextMorph.xhtml"},"581":{"type":"S:modified","url":"/users/constantin/doku.xhtml"},"582":{"type":"S:modified","url":"/users/Dan/PartsBin.xhtml"},"583":{"type":"S:modified","url":"/users/fbo/chat.xhtml"},"584":{"type":"S:modified","url":"/users/Dan/NewPresentation.xhtml"},"585":{"type":"S:modified","url":"/users/markoroeder/TablePartDev.xhtml"},"586":{"type":"S:modified","url":"/users/fbo/renderingHooks.xhtml"},"587":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype_saved.xhtml"},"588":{"type":"S:modified","url":"/users/bert/start.xhtml"},"589":{"type":"S:modified","url":"/users/Dan/TestWorld.xhtml"},"590":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert.xhtml"},"591":{"type":"S:modified","url":"/issues/110603_SvgRenderIsNotYetGoodEnoughForOurIcons.xhtml"},"592":{"type":"S:modified","url":"/issues/111006_DisableGrabbingDoesNotDisableGrabbing.xhtml"},"593":{"type":"S:modified","url":"/users/robertkrahn/writing.xhtml"},"594":{"type":"S:modified","url":"/issues/111020_ClassBrowserPartShouldRememberChanges.xhtml"},"595":{"type":"S:modified","url":"/users/ahold/serverDevNew.xhtml"},"596":{"type":"S:modified","url":"/demos/LiveWeb/LiveWebSummary.xhtml"},"597":{"type":"S:modified","url":"/users/lauritz/miniprojects/jQueryEffects.xhtml"},"598":{"type":"S:modified","url":"/users/Dan/BorderTest.xhtml"},"599":{"type":"S:modified","url":"/draft/NewWorld/PartsBin.xhtml"},"600":{"type":"S:modified","url":"/users/sofia/georgi/splitter.xhtml"},"601":{"type":"S:modified","url":"/users/martin/stats.xhtml"},"602":{"type":"S:modified","url":"/users/ahold/newWorld.xhtml"},"603":{"type":"S:modified","url":"/draft/NewWorld/SVGLines.xhtml"},"604":{"type":"S:added","url":null},"605":{"type":"S:modified","url":"/issues/fixed/110507_CommentsForParts.xhtml"},"606":{"type":"S:modified","url":"/demos/contextjs/OpenImplementation.xhtml"},"607":{"type":"S:modified","url":"/users/Dan/QBF2Ba.xhtml"},"608":{"type":"S:modified","url":"/users/fbo/welcome.xhtml"},"609":{"type":"S:modified","url":"/issues/111026_CouchDB>>saveDoesNotAskForCredentialsInSafari.xhtml"},"610":{"type":"S:modified","url":"/users/martin/measurements/FAQ.xhtml"},"611":{"type":"S:modified","url":"/users/gerald24/temp.xhtml"},"612":{"type":"S:modified","url":"/users/markoroeder/MetadataVisualization.xhtml"},"613":{"type":"S:modified","url":"/demos/WorldSerializationGraph.xhtml"},"614":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/ImageDroppin.xhtml"},"615":{"type":"S:modified","url":"/users/Dan/LiveWeb-NewLayout.xhtml"},"616":{"type":"S:modified","url":"/core/lively/DOMAbstraction.js"},"617":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Slider.xhtml"},"618":{"type":"S:modified","url":"/demos/ScriptingClock.xhtml"},"619":{"type":"S:modified","url":"/issues/111017_BrowsingSubmorphsWithObjectExplorerBroken.xhtml"},"620":{"type":"S:modified","url":"/users/Dan/Tutorial1.xhtml"},"621":{"type":"S:modified","url":"/users/fbo/empty3.xhtml"},"622":{"type":"S:modified","url":"/demos/visualizations/FPSProtovis.xhtml"},"623":{"type":"S:modified","url":"/draft/NewWorld/ObjectTracerPart.xhtml"},"624":{"type":"S:modified","url":"/issues/110629_SlideoverlayIsBrokenAfterSavingItHidden.xhtml"},"625":{"type":"S:modified","url":"/users/markoroeder/GOTY2011.xhtml"},"626":{"type":"S:modified","url":"/users/fbo/DraftLayout.xhtml"},"627":{"type":"S:modified","url":"/users/fbo/onMouseMoveRefactoring.xhtml"},"628":{"type":"S:modified","url":"/users/Dan/PM/ScripterDev.xhtml"},"629":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksSebastian.xhtml"},"630":{"type":"S:modified","url":"/users/fbo/DataTables.xhtml"},"631":{"type":"S:modified","url":"/users/fbo/myLineWorld.xhtml"},"632":{"type":"S:modified","url":"/issues/110526_ConnectorsInTheNewWorld.xhtml"},"633":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt.xhtml"},"634":{"type":"S:modified","url":"/users/Dan/MyQBF.xhtml"},"635":{"type":"S:modified","url":"/users/Dan/LiveWeb2.xhtml"},"636":{"type":"S:modified","url":"/users/fbo/layoutPlaceholdersForDragging.xhtml"},"637":{"type":"S:modified","url":"/webwerkstatt.xhtml"},"638":{"type":"S:modified","url":"/users/sofia/georgi/Versions.xhtml"},"639":{"type":"S:modified","url":"/issues/fixed/110506_CompletelyEmphasizedTextDoesNotSerialize.xhtml"},"640":{"type":"S:modified","url":"/issues/110518_ShadowOfAMorphDoesNotReflectRotation.xhtml"},"641":{"type":"S:modified","url":"/users/olmeca/start.xhtml"},"642":{"type":"S:modified","url":"/users/sofia/martin/3.xhtml"},"643":{"type":"S:modified","url":"/issues/110514_DontShowEditCursorForHalosMenusEtc.xhtml"},"644":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Lists.xhtml"},"645":{"type":"S:modified","url":"/users/fbo/layoutDragSnap.xhtml"},"646":{"type":"S:modified","url":"/users/sofia/georgi/new.xhtml"},"647":{"type":"S:modified","url":"/users/mkilling/ikuh.xhtml"},"648":{"type":"S:modified","url":"/draft/NewWorld/ClassBrowser.xhtml"},"649":{"type":"S:modified","url":"/users/fbo/xamppInstaller.xhtml"},"650":{"type":"S:modified","url":"/users/Kat/QBF2B.xhtml"},"651":{"type":"S:modified","url":"/demos/visualizations/protovis.xhtml"},"652":{"type":"S:modified","url":"/users/NikolaySuslov/start.xhtml"},"653":{"type":"S:modified","url":"/documentation/Lively2Installation.xhtml"},"654":{"type":"S:modified","url":"/issues/110518_ProblemToOpenDialogs.xhtml"},"655":{"type":"S:modified","url":"/users/sofia/learning_prototype_js.xhtml"},"656":{"type":"S:modified","url":"/issues/110809_AsScriptOfMethodDoesNotChangeFunctionName.xhtml"},"657":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksBenjamin.xhtml"},"658":{"type":"S:modified","url":"/users/sofia/video1.xhtml"},"659":{"type":"S:modified","url":"/empty.xhtml"},"660":{"type":"S:modified","url":"/demos/LiveWeb/LiveWeb.xhtml"},"661":{"type":"S:modified","url":"/users/cschuster/start.xhtml"},"662":{"type":"S:modified","url":"/issues/fixed/110509_WorldMenuDoesNotWork.xhtml"},"663":{"type":"S:modified","url":"/users/Dan/QuickBrownFox.xhtml"},"664":{"type":"S:modified","url":"/projects/Lively2/Minimal.xhtml"},"665":{"type":"S:modified","url":"/issues/111005_LineIssues.xhtml"},"666":{"type":"S:modified","url":"/issues/fixed/110506_PartsbinHasNoAddOrRemoveCategoryButtons.xhtml"},"667":{"type":"S:modified","url":"/users/sofia/experiments/css_theming.xhtml"},"668":{"type":"S:modified","url":"/documentation/videoTutorials/110630_CPUVis.xhtml"},"669":{"type":"S:modified","url":"/users/template/start.xhtml"},"670":{"type":"S:modified","url":"/documentation/Traits.xhtml"},"671":{"type":"S:modified","url":"/issues/110717_ShapeOffsetMakesEventsGoMad.xhtml"},"672":{"type":"S:modified","url":"/users/fbo/jQueryUi.xhtml"},"673":{"type":"S:modified","url":"/users/robertkrahn/nonexisting.xhtml"},"674":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DroppingForImport.xhtml"},"675":{"type":"S:modified","url":"/cleanup.xhtml"},"676":{"type":"S:modified","url":"/issues/110522_ListAndTextScrollWorldAfterReachingTheirScrollBounds.xhtml"},"677":{"type":"S:modified","url":"/projects/BP2012/simple.xhtml"},"678":{"type":"S:modified","url":"/issues/110831_ScrolingWithNewClippingCodeDoesNotWork.xhtml"},"679":{"type":"S:modified","url":"/issues/110923_ProtovisVisualizationBroken.xhtml"},"680":{"type":"S:modified","url":"/issues/111019_PublishingPartsWithCommitMessages.xhtml"},"681":{"type":"S:modified","url":"/demos/visualizations/jsl4tv-world-000.xhtml"},"682":{"type":"S:modified","url":"/users/markoroeder/SVN2CodeDB.xhtml"},"683":{"type":"S:modified","url":"/users/sofia/trac_tickets_pavel.xhtml"},"684":{"type":"S:modified","url":"/projects/BP2012/2011-11-02-talk.xhtml"},"685":{"type":"S:modified","url":"/users/fbo/dojoWorld.xhtml"},"686":{"type":"S:modified","url":"/users/Dan/NewPresentation2.xhtml"},"687":{"type":"S:modified","url":"/users/tmohr/slide6.xhtml"},"688":{"type":"S:modified","url":"/projects/DebuggingJS/draft.xhtml"},"689":{"type":"S:modified","url":"/draft/NewWorld/DirectGrabDragAndCopy.xhtml"},"690":{"type":"S:modified","url":"/users/sofia/protovis.xhtml"},"691":{"type":"S:modified","url":"/blank.xhtml"},"692":{"type":"S:modified","url":"/users/robertkrahn/testCPUVis.xhtml"},"693":{"type":"S:modified","url":"/projects/Lively2/Converting.xhtml"},"694":{"type":"S:modified","url":"/users/andyburnett/start.xhtml"},"695":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/RichText.xhtml"},"696":{"type":"S:modified","url":"/draft/NewWorld/Presentations.xhtml"},"697":{"type":"S:modified","url":"/users/robertkrahn/garminExport.xhtml"},"698":{"type":"S:modified","url":"/tests.xhtml"},"699":{"type":"S:modified","url":"/issues/110625_PartUploadBroken.xhtml"},"700":{"type":"S:modified","url":"/issues/fixed/110517_ConnectionsWantToAccessClosureValues.xhtml"},"701":{"type":"S:modified","url":"/users/markoroeder/DataVisualization.xhtml"},"702":{"type":"S:modified","url":"/draft/NewWorld/PartsBinSearch.xhtml"},"703":{"type":"S:modified","url":"/issues/110529_InsertingSomethingInTextRemovesFocus.xhtml"},"704":{"type":"S:modified","url":"/issues/110512_ListSelectionInScbDoesNotWorkCorrectly.xhtml"},"705":{"type":"S:modified","url":"/issues/111017_StaticBindingOfSuperInClosures.xhtml"},"706":{"type":"S:modified","url":"/demos/contextjs/flattening.xhtml"},"707":{"type":"S:modified","url":"/issues/110511_LinesCannotBeClicked.xhtml"},"708":{"type":"S:modified","url":"/users/lauritz/miniprojects/gettingStarted.xhtml"},"709":{"type":"S:modified","url":"/users/markoroeder/Part2Class.xhtml"},"710":{"type":"S:modified","url":"/users/Dan/EmptyWorld2.xhtml"},"711":{"type":"S:modified","url":"/projects/LivelyKernel/nextSteps.xhtml"},"712":{"type":"S:modified","url":"/users/wlcleveland/start.xhtml"},"713":{"type":"S:modified","url":"/users/swart/start.xhtml"},"714":{"type":"S:modified","url":"/users/Dan/QBF2Bb.xhtml"},"715":{"type":"S:modified","url":"/users/tmohr/slide1.xhtml"},"716":{"type":"S:modified","url":"/users/robertkrahn/DetermineModuleDependencies.xhtml"},"717":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert2.xhtml"},"718":{"type":"S:modified","url":"/projects/CodeDB2/info_restructuring.xhtml"},"719":{"type":"S:modified","url":"/users/Dan/PM/DemoForm.xhtml"},"720":{"type":"S:modified","url":"/issues/110728_GraffleLayerGrabsWorld.xhtml"},"721":{"type":"S:modified","url":"/users/Dan/Activities1.xhtml"},"722":{"type":"S:modified","url":"/users/tmohr/emtpy.xhtml"},"723":{"type":"S:modified","url":"/documentation/ElProfesor.xhtml"},"724":{"type":"S:modified","url":"/issues/111022_TheExplorerScrollingIsBroken.xhtml"},"725":{"type":"S:modified","url":"/users/Dan/WindowPlay.xhtml"},"726":{"type":"S:modified","url":"/users/martin/Measurements.xhtml"},"727":{"type":"S:modified","url":"/users/fbo/layoutCycle.xhtml"},"728":{"type":"S:modified","url":"/documentation/7funthings.xhtml"},"729":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/jensWorld.xhtml"},"730":{"type":"S:modified","url":"/users/iho/start.xhtml"},"731":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicIntroduction.xhtml"},"732":{"type":"S:modified","url":"/BrokenWorldRepairSite.xhtml"},"733":{"type":"S:modified","url":"/users/fbo/serverDevPlayground.xhtml"},"734":{"type":"S:modified","url":"/users/ahold/TrackerDev.xhtml"},"735":{"type":"S:modified","url":"/users/Dan/LiveWeb3.xhtml"},"736":{"type":"S:modified","url":"/documentation/Template.xhtml"},"737":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/secondWorld.xhtml"},"738":{"type":"S:modified","url":"/documentation/ContextJS.xhtml"},"739":{"type":"S:modified","url":"/projects/CodeDB2/CodeDB2Dev.xhtml"},"740":{"type":"S:modified","url":"/users/markoroeder/GrammarTesting.xhtml"},"741":{"type":"S:modified","url":"/documentation/ScriptingTutorial.xhtml"},"742":{"type":"S:modified","url":"/users/fbo/deserializeMorphs.xhtml"},"743":{"type":"S:modified","url":"/issues/110722_ClipModeShouldClipMorphsInTheirBounds.xhtml"},"744":{"type":"S:modified","url":"/documentation/videoTutorials/110714_NodeJSServerCreation.xhtml"},"745":{"type":"S:modified","url":"/users/fbo/scrollFixes.xhtml"},"746":{"type":"S:modified","url":"/users/fbo/empty.xhtml"},"747":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksConrad.xhtml"},"748":{"type":"S:modified","url":"/users/keith/deadly.xhtml"},"749":{"type":"S:modified","url":"/users/robertkrahn/nonexisting2.xhtml"},"750":{"type":"S:modified","url":"/users/Dan/QBFa.xhtml"},"751":{"type":"S:modified","url":"/users/cschuster/debugging2.xhtml"},"752":{"type":"S:modified","url":"/users/fbo/SlickGrid.xhtml"},"753":{"type":"S:modified","url":"/users/constantin/Snake.xhtml"},"754":{"type":"S:modified","url":"/documentation/worlds.xhtml"},"755":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld2.xhtml"},"756":{"type":"S:modified","url":"/issues/110609_TabIndentionForBulletPoints.xhtml"},"757":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksAstrid.xhtml"},"758":{"type":"S:modified","url":"/users/sofia/video2.xhtml"},"759":{"type":"S:modified","url":"/users/keith/notes.xhtml"},"760":{"type":"S:modified","url":"/issues/110528_ClickBehaviorOfScbIsStrange.xhtml"},"761":{"type":"S:modified","url":"/demos/Parts.xhtml"},"762":{"type":"S:modified","url":"/demos/WhereArePeopleFrom.xhtml"},"763":{"type":"S:modified","url":"/issues/110510_MorphsAreDroppedWhenDndedFromPartsbin.xhtml"},"764":{"type":"S:modified","url":"/users/fbo/jqueryTabulate.xhtml"},"765":{"type":"S:modified","url":"/issues/111026_CustomFormattedBinsInPartsBin.xhtml"},"766":{"type":"S:modified","url":"/users/fbo/learningLively2.xhtml"},"767":{"type":"S:modified","url":"/issues/111017_svgIssues.xhtml"},"768":{"type":"S:modified","url":"/users/markoroeder/NewStreamwork.xhtml"},"769":{"type":"S:modified","url":"/users/markoroeder/MapImport.xhtml"},"770":{"type":"S:modified","url":"/documentation/Serialization-Interface.xhtml"},"771":{"type":"S:modified","url":"/issues/fixed/110511_DroppablebehaviorParts.xhtml"},"772":{"type":"S:modified","url":"/users/markoroeder/newDraft.xhtml"},"773":{"type":"S:modified","url":"/projects/Lively2/ReleasePlanning.xhtml"},"774":{"type":"S:modified","url":"/draft/NewWorld/LinesAndCurves.xhtml"},"775":{"type":"S:modified","url":"/users/Dan/HaloExpt.xhtml"},"776":{"type":"S:modified","url":"/issues/110921_DropshadowIsOff.xhtml"},"777":{"type":"S:modified","url":"/users/keith/versionControl.xhtml"},"778":{"type":"S:modified","url":"/issues/111021_HowToStoreObjectsOnTheServer.xhtml"},"779":{"type":"S:modified","url":"/documentation/videoTutorials/SystemBrowserDiffingVersions.xhtml"},"780":{"type":"S:modified","url":"/users/fbo/blank.xhtml"},"781":{"type":"S:modified","url":"/demos/Clock.xhtml"},"782":{"type":"S:modified","url":"/users/fbo/scrolling.xhtml"},"783":{"type":"S:modified","url":"/users/markoroeder/DraftInfoItem.xhtml"},"784":{"type":"S:modified","url":"/documentation/HowConnectWorks.xhtml"},"785":{"type":"S:modified","url":"/users/fbo/layoutTests.xhtml"},"786":{"type":"S:modified","url":"/issues/fixed/110407_NoScriptEditorInNewWorld.xhtml"},"787":{"type":"S:modified","url":"/projects/BP2012/Requests.xhtml"},"788":{"type":"S:modified","url":"/users/template/pleaseDoNotChangeOrRemoveWorldsInThisDirectory.xhtml"},"789":{"type":"S:modified","url":"/users/fbo/journalBug.xhtml"},"790":{"type":"S:modified","url":"/issues/110701_VisualBindingToStarBroken.xhtml"},"791":{"type":"S:modified","url":"/users/tmohr/slide7.xhtml"},"792":{"type":"S:modified","url":"/issues/110723_PathBroken.xhtml"},"793":{"type":"S:modified","url":"/demos/MyNewWikiPage.xhtml"},"794":{"type":"S:modified","url":"/issues/fixed/110510_SafariWontOpenToolsFromPartsbin.xhtml"},"795":{"type":"S:modified","url":"/issues/110720_FirefoxCannotDisplaySvgBasedMorphs.xhtml"},"796":{"type":"S:modified","url":"/draft/NewWorld/RichText.xhtml"},"797":{"type":"S:modified","url":"/users/alexwarth/start.xhtml"},"798":{"type":"S:modified","url":"/draft/NewWorld/SimpleBrowser.xhtml"},"799":{"type":"S:modified","url":"/draft/NewWorld/OldMorphicObjectConversion.xhtml"},"800":{"type":"S:modified","url":"/documentation/profesores.xhtml"},"801":{"type":"S:modified","url":"/documentation/videoTutorials/template.xhtml"},"802":{"type":"S:modified","url":"/issues/110629_WindmillDoesNotShowInThePartsBin.xhtml"},"803":{"type":"S:modified","url":"/issues/110519_PasteBug.xhtml"},"804":{"type":"S:modified","url":"/draft/NewWorld/Engine.xhtml"},"805":{"type":"S:modified","url":"/draft/NewWorld/ProgressForRequests.xhtml"},"806":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Sliders.xhtml"},"807":{"type":"S:modified","url":"/users/tmohr/bespin.xhtml"},"808":{"type":"S:modified","url":"/users/fbo/scrollPlayground.xhtml"},"809":{"type":"S:modified","url":"/users/tfleig/test1.xhtml"},"810":{"type":"S:modified","url":"/users/fbo/gitSetup.xhtml"},"811":{"type":"S:modified","url":"/users/constantin/start.xhtml"},"812":{"type":"S:modified","url":"/users/Dan/Test.xhtml"},"813":{"type":"S:modified","url":"/issues/110630_MenusLeaveVisibleBounds.xhtml"},"814":{"type":"S:modified","url":"/projects/CodeDB2/playground_tilman.xhtml"},"815":{"type":"S:modified","url":"/users/ohshima/start.xhtml"},"816":{"type":"S:modified","url":"/issues/110704_MapsAreBlacksAfterDeserialization.xhtml"},"817":{"type":"S:modified","url":"/users/Kat/MyQBF.xhtml"},"818":{"type":"S:modified","url":"/users/markoroeder/SerializationDebug.xhtml"},"819":{"type":"S:modified","url":"/issues/111012_BorderWidthIssue.xhtml"},"820":{"type":"S:modified","url":"/users/mzimmerm/etoys-development-notes.xhtml"},"821":{"type":"S:modified","url":"/users/Dan/EngineTest.xhtml"},"822":{"type":"S:modified","url":"/users/tmohr/slide2.xhtml"},"823":{"type":"S:modified","url":"/users/sofia/protovisPrototype.xhtml"},"824":{"type":"S:modified","url":"/users/sofia/sofia/georgi/new_world.xhtml"},"825":{"type":"S:modified","url":"/documentation/FAQ.xhtml"},"826":{"type":"S:modified","url":"/demos/contextjs/SimpleObjectTracing.xhtml"},"827":{"type":"S:modified","url":"/users/Dan/PM/Dan.xhtml"},"828":{"type":"S:modified","url":"/issues/fixed/110518_PartsbinMoveIsNoRealMove.xhtml"},"829":{"type":"S:modified","url":"/sandbox/sandbox-dgc.xhtml"},"830":{"type":"S:modified","url":"/issues/110610_AddNewMethodBroken.xhtml"},"831":{"type":"S:modified","url":"/users/Dan/CC.xhtml"},"832":{"type":"S:modified","url":"/draft/NewWorld/StringsAsRichText.xhtml"},"833":{"type":"S:modified","url":"/issues/110704_ClickingOnProtoVisDrawing.xhtml"},"834":{"type":"S:modified","url":"/users/fbo/layoutGrid.xhtml"},"835":{"type":"S:modified","url":"/users/Dan/Garbage.xhtml"},"836":{"type":"S:modified","url":"/welcome.xhtml"},"837":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/textEditor.xhtml"},"838":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeQBF.xhtml"},"839":{"type":"S:modified","url":"/documentation/videoTutorials/110429_TextAttributes.xhtml"},"840":{"type":"S:modified","url":"/users/fbo/pongServer.xhtml"},"841":{"type":"S:modified","url":"/users/miku/start.xhtml"},"842":{"type":"S:modified","url":"/users/Dan/PM/Lively2.xhtml"},"843":{"type":"S:modified","url":"/users/cschuster/dev-alpha.xhtml"},"844":{"type":"S:modified","url":"/users/Dan/PM/PowerPointNot.xhtml"},"845":{"type":"S:modified","url":"/users/fbo/layoutConfigurator.xhtml"},"846":{"type":"S:modified","url":"/draft/NewWorld/Diffing.xhtml"},"847":{"type":"S:modified","url":"/issues/110604_GriddingDoesNotWorkRight.xhtml"},"848":{"type":"S:modified","url":"/issues/110927_TranslationAndPositionAreNotEqualWhenMorphHasAOwnerWithModifiedOrigin.xhtml"},"849":{"type":"S:modified","url":"/issues/110809_ChangeOrRemovedScriptsAfterSerializationWrong.xhtml"},"850":{"type":"S:modified","url":"/issues/110729_ShowHaloItemDuringHaloAction.xhtml"},"851":{"type":"S:modified","url":"/users/tmohr/demo.xhtml"},"852":{"type":"S:modified","url":"/documentation/overview.xhtml"},"853":{"type":"S:modified","url":"/demos/LiveWeb/iPad.xhtml"},"854":{"type":"S:modified","url":"/issues/110628_MorphOffsetsAfterGrabbingAreBroken.xhtml"},"855":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SCBMigration.xhtml"},"856":{"type":"S:modified","url":"/users/Dan/LiveWeb4.xhtml"},"857":{"type":"S:modified","url":"/users/olmeca/olmeca3.xhtml"},"858":{"type":"S:deleted","url":null},"859":{"type":"S:modified","url":"/issues/111026_AccessingVersionsUsesWrongURLAndVersionCombination.xhtml"},"860":{"type":"S:modified","url":"/users/sofia/sofia/georgi/video_experiments1.xhtml"},"861":{"type":"S:modified","url":"/users/wlcleveland/shadowworld.xhtml"},"862":{"type":"S:modified","url":"/users/mzimmerm/mz-world-from-start-xhtml.xhtml"},"863":{"type":"S:modified","url":"/users/Dan/FormLayoutExpt.xhtml.xhtml"},"864":{"type":"S:modified","url":"/users/robertkrahn/writeSite.xhtml"},"865":{"type":"S:modified","url":"/draft/NewWorld/CurveDrafting.xhtml"},"866":{"type":"S:modified","url":"/draft/NewWorld/ParseApacheServerLog.xhtml"},"867":{"type":"S:modified","url":"/issues/fixed/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"868":{"type":"S:modified","url":"/projects/BP2012/h2.xhtml"},"869":{"type":"S:modified","url":"/draft/NewWorld/110521_BetterLists.xhtml"},"870":{"type":"S:modified","url":"/users/Dan/PM/layoutExpts.xhtml"},"871":{"type":"S:modified","url":"/users/test50/start.xhtml"},"872":{"type":"S:modified","url":"/MovePages.xhtml"},"873":{"type":"S:modified","url":"/documentation/Rendering.xhtml"},"874":{"type":"S:modified","url":"/users/fbo/layoutPlayground.xhtml"},"875":{"type":"S:modified","url":"/users/martin/measurements/webwerkstatt.xhtml"},"876":{"type":"S:modified","url":"/issues/111005_MouseMoveChangesFocus.xhtml"},"877":{"type":"S:modified","url":"/documentation/videoTutorials/110419_ManipulateMorphs.xhtml"},"878":{"type":"S:modified","url":"/projects/Lively2/Release.xhtml"},"879":{"type":"S:modified","url":"/issues/110523_RelayMouseEventsToMorphBeneath.xhtml"},"880":{"type":"S:modified","url":"/users/tmohr/myNewWorld.xhtml"},"881":{"type":"S:modified","url":"/users/robertkrahn/thingsToExplain.xhtml"},"882":{"type":"S:modified","url":"/users/fbo/start.xhtml"},"883":{"type":"S:modified","url":"/issues/110511_WeHaveNoCheckbox.xhtml"},"884":{"type":"S:modified","url":"/users/Dan/PM/FormsDraft1.xhtml"},"885":{"type":"S:modified","url":"/users/Dan/EmptyWorld.xhtml"},"886":{"type":"S:modified","url":"/users/sofia/georgi/empty.xhtml"},"887":{"type":"S:modified","url":"/issues/110609_AccidentalGrabbing.xhtml"},"888":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicDevelopment.xhtml"},"889":{"type":"S:modified","url":"/users/lauritz/personal/snippets.xhtml"},"890":{"type":"S:modified","url":"/users/lauritz/personal/thoughts.xhtml"},"891":{"type":"S:modified","url":"/users/Dan/NewEmptyWorld.xhtml"},"892":{"type":"S:modified","url":"/users/markoroeder/DOMRemovalPlugin.xhtml"},"893":{"type":"S:modified","url":"/documentation/LivelyInstallation.xhtml"},"894":{"type":"S:modified","url":"/issues/110530_MakeSyntaxHighlightingFaster.xhtml"},"895":{"type":"S:modified","url":"/users/lauritz/miniprojects/pongClient.xhtml"},"896":{"type":"S:modified","url":"/issues/110831_ButtonLabelsAreNotCenteredAnymore.xhtml"},"897":{"type":"S:modified","url":"/sandbox/ColorfulWindmills.xhtml"},"898":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/todo.xhtml"},"899":{"type":"S:modified","url":"/users/robertkrahn/simple.xhtml"},"900":{"type":"S:modified","url":"/issues/111004_SavingAnEmptyTextObjectSetsTheStringToUndefined.xhtml"},"901":{"type":"S:modified","url":"/issues/TextDebugWorld.xhtml"},"902":{"type":"S:modified","url":"/documentation/ShortcutList.xhtml"},"903":{"type":"S:modified","url":"/users/tmohr/slide8.xhtml"},"904":{"type":"S:modified","url":"/issues/110522_ClickingTheScrollbarInListsDoesNotWork.xhtml"},"905":{"type":"S:modified","url":"/draft/NewWorld/ObjectSerializationGraph.xhtml"},"906":{"type":"S:modified","url":"/users/Dan/TextTest.xhtml"},"907":{"type":"S:modified","url":"/users/dtornow/start.xhtml"},"908":{"type":"S:modified","url":"/projects/BP2012/start.xhtml"},"909":{"type":"S:modified","url":"/users/Dan/Empty.xhtml"},"910":{"type":"S:modified","url":"/users/keith/start.xhtml"},"911":{"type":"S:modified","url":"/users/gerald24/start.xhtml"},"912":{"type":"S:modified","url":"/documentation/videoTutorial.xhtml"},"913":{"type":"S:modified","url":"/draft/NewWorld/DraftSelection.xhtml"},"914":{"type":"S:modified","url":"/demos/LiveWeb/Pheonix.xhtml"},"915":{"type":"S:modified","url":"/users/ahold/siteTracking.xhtml"},"916":{"type":"S:modified","url":"/issues/110608_GetterAndSettersInIe9.xhtml"},"917":{"type":"S:modified","url":"/users/iho/1.xhtml"},"918":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/bootstrap.xhtml"},"919":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasks.xhtml"},"920":{"type":"S:modified","url":"/users/Dan/PM/FormsScripter.xhtml"},"921":{"type":"S:modified","url":"/users/fbo/cassowary.xhtml"},"922":{"type":"S:modified","url":"/users/MrSteve/start.xhtml"},"923":{"type":"S:modified","url":"/issues/CreateIssuePage.xhtml"},"924":{"type":"S:modified","url":"/users/fbo/xamppInstallerWindows.xhtml"},"925":{"type":"S:modified","url":"/users/Dan/PM/Phoenix.xhtml"},"926":{"type":"S:modified","url":"/users/tmohr/WebGL.xhtml"},"927":{"type":"S:modified","url":"/documentation/PartsBin.xhtml"},"928":{"type":"S:modified","url":"/users/mzimmerm/start.xhtml"},"929":{"type":"S:modified","url":"/users/markoroeder/SequenceDiagram.xhtml"},"930":{"type":"S:modified","url":"/demos/Wiki.xhtml"},"931":{"type":"S:modified","url":"/documentation/Events.xhtml"},"932":{"type":"S:modified","url":"/users/tmohr/slide3.xhtml"},"933":{"type":"S:modified","url":"/users/hjust/blank.xhtml"},"934":{"type":"S:modified","url":"/Lively2.xhtml"},"935":{"type":"S:modified","url":"/users/tfleig/template.xhtml"},"936":{"type":"S:modified","url":"/issues/111021_PianoDoesNotMakeASound.xhtml"},"937":{"type":"S:modified","url":"/issues/fixed/110426_NewStatusMessagesWithMore.xhtml"},"938":{"type":"S:modified","url":"/users/martin/tests.xhtml"},"939":{"type":"S:modified","url":"/users/sofia/empty.xhtml"},"940":{"type":"S:modified","url":"/issues/110601_PartsDoNotLoadThereRequireModulesOnWorldLoad.xhtml"},"941":{"type":"S:modified","url":"/draft/NewWorld/Sliders.xhtml"},"942":{"type":"S:modified","url":"/users/davidorban/start.xhtml"},"943":{"type":"S:modified","url":"/users/orjan/start.xhtml"},"944":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-Final.xhtml"},"945":{"type":"S:modified","url":"/users/sofia/video.xhtml"},"946":{"type":"S:modified","url":"/demos/contextjs/PersonExample.xhtml"},"947":{"type":"S:modified","url":"/users/zeebeedee/start.xhtml"},"948":{"type":"S:modified","url":"/users/robertkrahn/textRain.xhtml"},"949":{"type":"S:modified","url":"/users/fbo/databaseForms.xhtml"},"950":{"type":"S:modified","url":"/draft/NewWorld/DraftUploadPDFs.xhtml"},"951":{"type":"S:modified","url":"/users/olmeca/olmeca4.xhtml"},"952":{"type":"S:modified","url":"/users/lauritz/miniprojects/livelyExplorer.xhtml"},"953":{"type":"S:modified","url":"/documentation/videoTutorials/110421_CreatingVideoTutorials.xhtml"},"954":{"type":"S:modified","url":"/draft/NewWorld/MartinsObjectDiffInNewWorlds.xhtml"},"955":{"type":"S:modified","url":"/users/Dan/LineTest.xhtml"},"956":{"type":"S:modified","url":"/draft/NewWorld/Translator.xhtml"},"957":{"type":"S:modified","url":"/documentation/Styles.xhtml"},"958":{"type":"S:modified","url":"/draft/NewWorld/MorphOrigin.xhtml"},"959":{"type":"S:modified","url":"/screenshots.xhtml"},"960":{"type":"S:modified","url":"/users/Dan/LiveWeb.xhtml"},"961":{"type":"S:modified","url":"/demos/AntotherPageWithAClock.xhtml"},"962":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens2.xhtml"},"963":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/improvingTheWebPag.xhtml"},"964":{"type":"S:modified","url":"/users/fbo/constraintLayoutExample.xhtml"},"965":{"type":"S:modified","url":"/documentation/TutorialList.xhtml"},"966":{"type":"S:modified","url":"/draft/NewWorld/MakeEventsTriggerOnCapture.xhtml"},"967":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype.xhtml"},"968":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-bk.xhtml"},"969":{"type":"S:modified","url":"/users/Dan/QBF.xhtml"},"970":{"type":"S:modified","url":"/users/tmohr/slides.xhtml"},"971":{"type":"S:modified","url":"/users/Dan/ButtonTest.xhtml"},"972":{"type":"S:modified","url":"/users/fbo/textInVbox.xhtml"},"973":{"type":"S:modified","url":"/users/sofia/externalShapeExample.xhtml"},"974":{"type":"S:modified","url":"/users/hjust/playground.xhtml"},"975":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens.xhtml"},"976":{"type":"S:modified","url":"/users/tmohr/morphSpecificRendering.xhtml"},"977":{"type":"S:modified","url":"/users/fbo/dataGrid.xhtml"},"978":{"type":"S:modified","url":"/issues/111020_HighlightTheTargetOfDropping.xhtml"},"979":{"type":"S:modified","url":"/users/mzimmerm/help.xhtml"},"980":{"type":"S:modified","url":"/users/fbo/jqGrid.xhtml"},"981":{"type":"S:modified","url":"/projects/CodeDB2/contents.xhtml"},"982":{"type":"S:modified","url":"/demos/PartsBin.xhtml"},"983":{"type":"S:modified","url":"/users/sofia/martin/empty.xhtml"},"984":{"type":"S:modified","url":"/users/markoroeder/research/Internship.xhtml"},"985":{"type":"S:modified","url":"/users/tmohr/NewWorld.xhtml"},"986":{"type":"S:modified","url":"/users/bert/sandbox.xhtml"},"987":{"type":"S:modified","url":"/draft/NewWorld/GoogleMaps.xhtml"},"988":{"type":"S:modified","url":"/demos/contextjs/NewContents.xhtml"},"989":{"type":"S:modified","url":"/users/fbo/meteora.xhtml"},"990":{"type":"S:modified","url":"/users/Dan/PM/Forms.xhtml"},"991":{"type":"S:modified","url":"/issues/draft/NewWorld/CurveDrafting_EmbeddableWorld.xhtml"},"992":{"type":"S:modified","url":"/projects/LivelyHelping/draftLK2.xhtml"},"993":{"type":"S:modified","url":"/users/lauritz/miniprojects/objectEditor.xhtml"},"994":{"type":"S:modified","url":"/users/fbo/blank2.xhtml"},"995":{"type":"S:modified","url":"/issues/110509_ConnectionsInputsGetStackedUp.xhtml"},"996":{"type":"S:modified","url":"/draft/NewWorld/SimpleLayout.xhtml"},"997":{"type":"S:modified","url":"/users/mkilling/iKuh2.xhtml"},"998":{"type":"S:modified","url":"/users/fbo/profesorControls.xhtml"},"999":{"type":"S:modified","url":"/documentation/Serialization-Overview.xhtml"},"1000":{"type":"S:modified","url":"/users/sofia/georgi/PropertySheet.xhtml"},"1001":{"type":"S:modified","url":"/users/sofia/martin/1.xhtml"},"1002":{"type":"S:modified","url":"/issues/110828_HaloInfoLabelsWontShowUp.xhtml"},"1003":{"type":"S:modified","url":"/users/sofia/georgi/styles.xhtml"},"1004":{"type":"S:modified","url":"/users/fbo/doc/profesores.xhtml"},"1005":{"type":"S:modified","url":"/users/markoroeder/MorphicProtoVis2.xhtml"},"1006":{"type":"S:modified","url":"/issues/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"1007":{"type":"S:modified","url":"/projects/Lively2/LivelyMap.xhtml"},"1008":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/colorFiel.xhtml"},"1009":{"type":"S:modified","url":"/users/tmohr/slide9.xhtml"},"1010":{"type":"S:modified","url":"/issues/110518_TextAttributesBreakOnPaste.xhtml"},"1011":{"type":"S:modified","url":"/demos/LiveWeb/VisualBindings.xhtml"},"1012":{"type":"S:modified","url":"/documentation/Layout.xhtml"},"1013":{"type":"S:modified","url":"/documentation/repository.xhtml"},"1014":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DontOverwriteChangedFile.xhtml"},"1015":{"type":"S:modified","url":"/users/Dan/Tests/TextTest.xhtml"},"1016":{"type":"S:modified","url":"/issues/fixed/110412_NewSimpleBrowser.xhtml"},"1017":{"type":"S:modified","url":"/users/fbo/proposedUiFixes.xhtml"},"1018":{"type":"S:modified","url":"/issues/NewTemplate.xhtml"},"1019":{"type":"S:modified","url":"/documentation/SVNOnServer.xhtml"},"1020":{"type":"S:modified","url":"/issues/110524_PartsSerializeTheirWorldsSometimes.xhtml"},"1021":{"type":"S:modified","url":"/users/Dan/PM/May.xhtml"},"1022":{"type":"S:modified","url":"/documentation/ignoreOrDisableEvents.xhtml"},"1023":{"type":"S:modified","url":"/issues/110522_FixSubmorphOrderWhenAddingMorphs.xhtml"},"1024":{"type":"S:modified","url":"/users/Dan/CCbkup.xhtml"},"1025":{"type":"S:modified","url":"/users/Dan/LiveWeb2-bk.xhtml"},"1026":{"type":"S:modified","url":"/issues/110704_DontGrabTextWithJensFancyGrabber.xhtml"},"1027":{"type":"S:modified","url":"/users/lauritz/blank.xhtml"},"1028":{"type":"S:modified","url":"/draft/NewWorld/Dragging.xhtml"},"1029":{"type":"S:modified","url":"/users/lauritz/personal/todo.xhtml"},"1030":{"type":"S:modified","url":"/users/fbo/flexigrid.xhtml"},"1031":{"type":"S:modified","url":"/draft/NewWorld/LatestFileChangeViewer.xhtml"},"1032":{"type":"S:modified","url":"/issues/fixed/110729_QucikBrownFoxBackspaceBug.xhtml"},"1033":{"type":"S:modified","url":"/users/lauritz/miniprojects/elProfesorWerkstatt.xhtml"},"1034":{"type":"S:modified","url":"/documentation/VisualBindings.xhtml"},"1035":{"type":"S:modified","url":"/users/robertkrahn/notexisting.xhtml"},"1036":{"type":"S:modified","url":"/draft/NewWorld/TreeMap.xhtml"},"1037":{"type":"S:modified","url":"/draft/NewWorld/Empty.xhtml"},"1038":{"type":"S:modified","url":"/users/Dan/QBF2B.xhtml"},"1039":{"type":"S:modified","url":"/issues/111019_MergingVersionsOfAnObject.xhtml"},"1040":{"type":"S:modified","url":"/issues/110619_SerializingMorphsThatAreNotInTheSceneGraphGivesStrangeErrors.xhtml"},"1041":{"type":"S:modified","url":"/users/lauritz/test.xhtml"},"1042":{"type":"S:modified","url":"/users/tilman.giese/start.xhtml"},"1043":{"type":"S:modified","url":"/users/tmohr/slide4.xhtml"},"1044":{"type":"S:modified","url":"/sandbox/PartsBin.xhtml"},"1045":{"type":"S:modified","url":"/users/markoroeder/DraftObjectExplorer.xhtml"},"1046":{"type":"S:modified","url":"/demos/WhereArePeopleFrom2.xhtml"},"1047":{"type":"S:modified","url":"/projects/CodeDB2/SVN2CodeDB.xhtml"},"1048":{"type":"S:modified","url":"/users/fbo/sqliteQueryServer.xhtml"},"1049":{"type":"S:modified","url":"/issues/fixed/110513_ScrollingWhenSearching.xhtml"},"1050":{"type":"S:modified","url":"/users/lauritz/miniprojects/bugFixing/referencedTextBug.xhtml"},"1051":{"type":"S:modified","url":"/issues/fixed/111020_ScrollingInScripteditorIsBroken.xhtml"},"1052":{"type":"S:modified","url":"/issues/110513_FindMethodsShouldSearchInClassMethodsAndObjects.xhtml"},"1053":{"type":"S:modified","url":"/draft/NewWorld/NewTestWidgetAgain.xhtml"},"1054":{"type":"S:modified","url":"/users/Dan/DansSlideOverview.xhtml"},"1055":{"type":"S:modified","url":"/users/fbo/exportCore.xhtml"},"1056":{"type":"S:modified","url":"/users/olmeca/olmeca.xhtml"},"1057":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld.xhtml"},"1058":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SearchSourceCodeWidge.xhtml"},"1059":{"type":"S:modified","url":"/users/Dan/CircleTest.xhtml"},"1060":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest2.xhtml"},"1061":{"type":"S:modified","url":"/users/fbo/sandbox.xhtml"},"1062":{"type":"S:modified","url":"/issues/110728_BackspaceTriggersBrowserBack.xhtml"},"1063":{"type":"S:modified","url":"/users/markoroeder/empty.xhtml"},"1064":{"type":"S:modified","url":"/draft/NewWorld/DropStyles.xhtml"},"1065":{"type":"S:modified","url":"/issues/fixed/110513_MakeSyntaxHighlightingWorkInNewWorld.xhtml"},"1066":{"type":"S:modified","url":"/users/MrSteve/lorenzo.start.xhtml"},"1067":{"type":"S:modified","url":"/users/Dan/PM/LiveWeb.xhtml"},"1068":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-start.xhtml"},"1069":{"type":"S:modified","url":"/draft/NewWorld/ScriptEditor.xhtml"},"1070":{"type":"S:modified","url":"/users/mzimmerm/test-build-simple-webapp.xhtml"},"1071":{"type":"S:modified","url":"/issues/110628_SettingTetAttributesDoesNotAlwaysWork.xhtml"},"1072":{"type":"S:modified","url":"/users/lauritz/miniprojects/spiel.xhtml"},"1073":{"type":"S:modified","url":"/users/robertkrahn/DraftPresentation.xhtml"},"1074":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/layouting.xhtml"},"1075":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest.xhtml"},"1076":{"type":"S:modified","url":"/users/lauritz/miniprojects/spikes/connectedExplorer.xhtml"},"1077":{"type":"S:modified","url":"/users/fbo/nodejsServerDevelopment.xhtml"},"1078":{"type":"S:modified","url":"/draft/NewWorld/QBFForPartsBin.xhtml"},"1079":{"type":"S:modified","url":"/issues/fixed/110628_CommandAndCurlyBracketGoesBackInBrowserHistory.xhtml"},"1080":{"type":"S:modified","url":"/users/lauritz/miniprojects/connections.xhtml"},"1081":{"type":"S:modified","url":"/users/ahold/start.xhtml"},"1082":{"type":"S:modified","url":"/users/markus/FileBrowser.xhtml"},"1083":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualizationFinal.xhtml"},"1084":{"type":"S:modified","url":"/users/fbo/jsUiWidgetLibResearch.xhtml"},"1085":{"type":"S:modified","url":"/users/fbo/constraintLayout.xhtml"},"1086":{"type":"S:modified","url":"/users/Dan/Tests/LineTest.xhtml"},"1087":{"type":"S:modified","url":"/sandbox/sandbox.xhtml"},"1088":{"type":"S:modified","url":"/users/fbo/versionControl.xhtml"},"1089":{"type":"S:modified","url":"/draft/NewWorld/CreateDirWhenSaving.xhtml"},"1090":{"type":"S:modified","url":"/demos/Lively2.xhtml"},"1091":{"type":"S:modified","url":"/users/fbo/userIsolationAndGit.xhtml"},"1092":{"type":"S:modified","url":"/draft/NewWorld/KeyboardFocusForMorphs.xhtml"},"1093":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample2.xhtml"},"1094":{"type":"S:modified","url":"/users/oudenampsen/start.xhtml"},"1095":{"type":"S:modified","url":"/issues/110517_VlayoutShouldGrowAndShrink.xhtml"},"1096":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample.xhtml"},"1097":{"type":"S:modified","url":"/users/tmohr/ace.xhtml"},"1098":{"type":"S:modified","url":"/users/fbo/empty2.xhtml"},"1099":{"type":"S:modified","url":"/users/martin/Workspace.xhtml"},"1100":{"type":"S:modified","url":"/users/Dan/Bug-List.xhtml"},"1101":{"type":"S:modified","url":"/users/Dan/QuickBrownFoxx.xhtml"},"1102":{"type":"S:modified","url":"/demos/LiveWeb/ServerScripting.xhtml"},"1103":{"type":"S:modified","url":"/demos/contextjs/WordCompletion.xhtml"},"1104":{"type":"S:modified","url":"/issues/110715_PartModuleRequirementsAreNotLoadedOnWorldLoad.xhtml"},"1105":{"type":"S:modified","url":"/users/fbo/fabiansTickets.xhtml"},"1106":{"type":"S:modified","url":"/issues/111020_ViewOfTextFieldsAfterSaving.xhtml"},"1107":{"type":"S:modified","url":"/users/martin/Template.xhtml"},"1108":{"type":"S:modified","url":"/projects/CodeDB2/Testing.xhtml"},"1109":{"type":"S:modified","url":"/users/keith/MySetup.xhtml"},"1110":{"type":"S:modified","url":"/users/fbo/noGrabLayer.xhtml"},"1111":{"type":"S:modified","url":"/demos/CPUVisualization.xhtml"},"1112":{"type":"S:modified","url":"/users/sofia/georgi/trac-report.xhtml"},"1113":{"type":"S:modified","url":"/users/fbo/HtmlWrapperMorph.xhtml"},"1114":{"type":"S:modified","url":"/users/sofia/documentation_afterLunch.xhtml"},"1115":{"type":"S:modified","url":"/demos/contextjs/Empty.xhtml"},"1116":{"type":"S:modified","url":"/users/fbo/setExtent.xhtml"},"1117":{"type":"S:modified","url":"/users/sofia/martin/2.xhtml"},"1118":{"type":"S:modified","url":"/users/markoroeder/DropboxUpload.xhtml"},"1119":{"type":"S:modified","url":"/users/fbo/newMouseDownLayer.xhtml"},"1120":{"type":"S:modified","url":"/issues/fixed/110914_StraightLineIssue.xhtml"},"1121":{"type":"S:modified","url":"/users/cschuster/debugging.xhtml"},"1122":{"type":"S:modified","url":"/users/sofia/prototVisPrototype.xhtml"},"1123":{"type":"S:modified","url":"/draft/NewWorld/DraggingAndGrabbing.xhtml"},"1124":{"type":"S:modified","url":"/users/lauritz/miniprojects/annotationPart.xhtml"},"1125":{"string":"2011-10-26 22:42 fbo (111628)","value":{"__isSmartRef__":true,"id":1126},"isListItem":true},"1126":{"rev":111628,"author":"fbo","date":{"__isSmartRef__":true,"id":1127},"url":{"__isSmartRef__":true,"id":1128},"changes":[{"__isSmartRef__":true,"id":1129},{"__isSmartRef__":true,"id":1130}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1127":{"isSerializedDate":true,"string":"Wed Oct 26 2011 22:42:15 GMT+0200 (W. Europe Daylight Time)"},"1128":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/kernel/PartsBin","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1129":{"type":"S:deleted","url":null},"1130":{"type":"S:added","url":null},"1131":{"string":"2011-06-03 16:55 jenslincke (81388)","value":{"__isSmartRef__":true,"id":1132},"isListItem":true},"1132":{"rev":81388,"author":"jenslincke","date":{"__isSmartRef__":true,"id":1133},"url":{"__isSmartRef__":true,"id":1134},"changes":[{"__isSmartRef__":true,"id":1135}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1133":{"isSerializedDate":true,"string":"Fri Jun 03 2011 16:55:16 GMT+0200 (W. Europe Daylight Time)"},"1134":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1135":{"type":"S:modified","url":"/PartsBin/Basic/Image.json"},"1136":{"string":"2011-06-01 01:16 robertkrahn (79503)","value":{"__isSmartRef__":true,"id":1137},"isListItem":true},"1137":{"rev":79503,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":1138},"url":{"__isSmartRef__":true,"id":1139},"changes":[{"__isSmartRef__":true,"id":1140}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1138":{"isSerializedDate":true,"string":"Wed Jun 01 2011 01:16:19 GMT+0200 (W. Europe Daylight Time)"},"1139":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1140":{"type":"S:modified","url":"/PartsBin/Basic/Image.json"},"1141":{"string":"2011-06-01 01:15 robertkrahn (79497)","value":{"__isSmartRef__":true,"id":1142},"isListItem":true},"1142":{"rev":79497,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":1143},"url":{"__isSmartRef__":true,"id":1144},"changes":[{"__isSmartRef__":true,"id":1145}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1143":{"isSerializedDate":true,"string":"Wed Jun 01 2011 01:15:41 GMT+0200 (W. Europe Daylight Time)"},"1144":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1145":{"type":"S:modified","url":"/PartsBin/Basic/Image.json"},"1146":{"string":"2011-05-20 13:41 robertkrahn (74651)","value":{"__isSmartRef__":true,"id":1147},"isListItem":true},"1147":{"rev":74651,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":1148},"url":{"__isSmartRef__":true,"id":1149},"changes":[{"__isSmartRef__":true,"id":1150}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1148":{"isSerializedDate":true,"string":"Fri May 20 2011 13:41:21 GMT+0200 (W. Europe Daylight Time)"},"1149":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1150":{"type":"S:added","url":null},"1151":{"string":"2011-05-05 14:24 robertkrahn (68277)","value":{"__isSmartRef__":true,"id":1152},"isListItem":true},"1152":{"rev":68277,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":1153},"url":{"__isSmartRef__":true,"id":1154},"changes":[{"__isSmartRef__":true,"id":1155},{"__isSmartRef__":true,"id":1156},{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1158},{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1160},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1162},{"__isSmartRef__":true,"id":1163},{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1165},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1173},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1175},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1177},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1179},{"__isSmartRef__":true,"id":1180},{"__isSmartRef__":true,"id":1181},{"__isSmartRef__":true,"id":1182},{"__isSmartRef__":true,"id":1183},{"__isSmartRef__":true,"id":1184},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1187},{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1189},{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1191},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1193},{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1195},{"__isSmartRef__":true,"id":1196},{"__isSmartRef__":true,"id":1197},{"__isSmartRef__":true,"id":1198},{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1204},{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1206},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1208},{"__isSmartRef__":true,"id":1209},{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1211},{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1213},{"__isSmartRef__":true,"id":1214},{"__isSmartRef__":true,"id":1215},{"__isSmartRef__":true,"id":1216},{"__isSmartRef__":true,"id":1217},{"__isSmartRef__":true,"id":1218},{"__isSmartRef__":true,"id":1219},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1221},{"__isSmartRef__":true,"id":1222},{"__isSmartRef__":true,"id":1223},{"__isSmartRef__":true,"id":1224},{"__isSmartRef__":true,"id":1225},{"__isSmartRef__":true,"id":1226},{"__isSmartRef__":true,"id":1227},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1229},{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1231},{"__isSmartRef__":true,"id":1232},{"__isSmartRef__":true,"id":1233},{"__isSmartRef__":true,"id":1234},{"__isSmartRef__":true,"id":1235},{"__isSmartRef__":true,"id":1236},{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1238},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1240},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1244},{"__isSmartRef__":true,"id":1245},{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1247},{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1249},{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1251},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1253},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1255},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1257},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1259},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1261},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1263},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1265},{"__isSmartRef__":true,"id":1266},{"__isSmartRef__":true,"id":1267},{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1269},{"__isSmartRef__":true,"id":1270},{"__isSmartRef__":true,"id":1271},{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1273}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1153":{"isSerializedDate":true,"string":"Thu May 05 2011 14:24:54 GMT+0200 (W. Europe Daylight Time)"},"1154":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/NewWorld/FindSenders.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1155":{"type":"S:replaced","url":null},"1156":{"type":"S:replaced","url":null},"1157":{"type":"S:replaced","url":null},"1158":{"type":"S:replaced","url":null},"1159":{"type":"S:replaced","url":null},"1160":{"type":"S:replaced","url":null},"1161":{"type":"S:replaced","url":null},"1162":{"type":"S:replaced","url":null},"1163":{"type":"S:replaced","url":null},"1164":{"type":"S:replaced","url":null},"1165":{"type":"S:replaced","url":null},"1166":{"type":"S:replaced","url":null},"1167":{"type":"S:replaced","url":null},"1168":{"type":"S:replaced","url":null},"1169":{"type":"S:replaced","url":null},"1170":{"type":"S:replaced","url":null},"1171":{"type":"S:replaced","url":null},"1172":{"type":"S:replaced","url":null},"1173":{"type":"S:replaced","url":null},"1174":{"type":"S:replaced","url":null},"1175":{"type":"S:replaced","url":null},"1176":{"type":"S:replaced","url":null},"1177":{"type":"S:replaced","url":null},"1178":{"type":"S:replaced","url":null},"1179":{"type":"S:replaced","url":null},"1180":{"type":"S:replaced","url":null},"1181":{"type":"S:replaced","url":null},"1182":{"type":"S:replaced","url":null},"1183":{"type":"S:replaced","url":null},"1184":{"type":"S:replaced","url":null},"1185":{"type":"S:replaced","url":null},"1186":{"type":"S:replaced","url":null},"1187":{"type":"S:replaced","url":null},"1188":{"type":"S:replaced","url":null},"1189":{"type":"S:replaced","url":null},"1190":{"type":"S:replaced","url":null},"1191":{"type":"S:replaced","url":null},"1192":{"type":"S:replaced","url":null},"1193":{"type":"S:replaced","url":null},"1194":{"type":"S:replaced","url":null},"1195":{"type":"S:replaced","url":null},"1196":{"type":"S:replaced","url":null},"1197":{"type":"S:replaced","url":null},"1198":{"type":"S:replaced","url":null},"1199":{"type":"S:replaced","url":null},"1200":{"type":"S:replaced","url":null},"1201":{"type":"S:replaced","url":null},"1202":{"type":"S:added","url":null},"1203":{"type":"S:replaced","url":null},"1204":{"type":"S:replaced","url":null},"1205":{"type":"S:replaced","url":null},"1206":{"type":"S:replaced","url":null},"1207":{"type":"S:replaced","url":null},"1208":{"type":"S:replaced","url":null},"1209":{"type":"S:replaced","url":null},"1210":{"type":"S:replaced","url":null},"1211":{"type":"S:replaced","url":null},"1212":{"type":"S:replaced","url":null},"1213":{"type":"S:replaced","url":null},"1214":{"type":"S:replaced","url":null},"1215":{"type":"S:replaced","url":null},"1216":{"type":"S:replaced","url":null},"1217":{"type":"S:replaced","url":null},"1218":{"type":"S:replaced","url":null},"1219":{"type":"S:replaced","url":null},"1220":{"type":"S:replaced","url":null},"1221":{"type":"S:replaced","url":null},"1222":{"type":"S:replaced","url":null},"1223":{"type":"S:replaced","url":null},"1224":{"type":"S:replaced","url":null},"1225":{"type":"S:replaced","url":null},"1226":{"type":"S:replaced","url":null},"1227":{"type":"S:replaced","url":null},"1228":{"type":"S:replaced","url":null},"1229":{"type":"S:replaced","url":null},"1230":{"type":"S:replaced","url":null},"1231":{"type":"S:replaced","url":null},"1232":{"type":"S:replaced","url":null},"1233":{"type":"S:replaced","url":null},"1234":{"type":"S:replaced","url":null},"1235":{"type":"S:replaced","url":null},"1236":{"type":"S:replaced","url":null},"1237":{"type":"S:replaced","url":null},"1238":{"type":"S:replaced","url":null},"1239":{"type":"S:replaced","url":null},"1240":{"type":"S:replaced","url":null},"1241":{"type":"S:replaced","url":null},"1242":{"type":"S:replaced","url":null},"1243":{"type":"S:replaced","url":null},"1244":{"type":"S:replaced","url":null},"1245":{"type":"S:replaced","url":null},"1246":{"type":"S:replaced","url":null},"1247":{"type":"S:replaced","url":null},"1248":{"type":"S:replaced","url":null},"1249":{"type":"S:replaced","url":null},"1250":{"type":"S:replaced","url":null},"1251":{"type":"S:replaced","url":null},"1252":{"type":"S:replaced","url":null},"1253":{"type":"S:replaced","url":null},"1254":{"type":"S:replaced","url":null},"1255":{"type":"S:replaced","url":null},"1256":{"type":"S:replaced","url":null},"1257":{"type":"S:replaced","url":null},"1258":{"type":"S:replaced","url":null},"1259":{"type":"S:replaced","url":null},"1260":{"type":"S:replaced","url":null},"1261":{"type":"S:replaced","url":null},"1262":{"type":"S:replaced","url":null},"1263":{"type":"S:replaced","url":null},"1264":{"type":"S:replaced","url":null},"1265":{"type":"S:replaced","url":null},"1266":{"type":"S:replaced","url":null},"1267":{"type":"S:replaced","url":null},"1268":{"type":"S:replaced","url":null},"1269":{"type":"S:replaced","url":null},"1270":{"type":"S:replaced","url":null},"1271":{"type":"S:replaced","url":null},"1272":{"type":"S:replaced","url":null},"1273":{"type":"S:replaced","url":null},"1274":{"string":"2011-03-29 13:26 robertkrahn (59233)","value":{"__isSmartRef__":true,"id":1275},"isListItem":true},"1275":{"rev":59233,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":1276},"url":{"__isSmartRef__":true,"id":1277},"changes":[{"__isSmartRef__":true,"id":1278}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"1276":{"isSerializedDate":true,"string":"Tue Mar 29 2011 13:26:09 GMT+0200 (W. Europe Daylight Time)"},"1277":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/NewWorld/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1278":{"type":"S:added","url":null},"1279":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1280":{"resizeWidth":true},"1281":{"x":330.7762078882963,"y":122.97632273920658,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1282":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"1283":{"morph":{"__isSmartRef__":true,"id":525},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1284":{"submorphs":[],"scripts":[],"id":"EB8C87BB-EC47-43E1-80F5-1F7F608D1C1C","shape":{"__isSmartRef__":true,"id":1285},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1291},"_MaxTextWidth":330.04,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1292},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"selectedPartComment","partsBinMetaInfo":{"__isSmartRef__":true,"id":1293},"textChunks":[{"__isSmartRef__":true,"id":1294}],"charsReplaced":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","lastFindLoc":-139,"priorSelectionRange":[14,14],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":361},"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":1296},"attributeConnections":[{"__isSmartRef__":true,"id":1297}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"layout":{"__isSmartRef__":true,"id":1298},"renderContextTable":{"__isSmartRef__":true,"id":1299},"eventHandler":{"__isSmartRef__":true,"id":1300},"_MinTextWidth":330.04,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","previousSelection":[0,0],"derivationIds":[1226,"DD9BD765-ADCE-4F83-BD29-D46C4F70D065","FAF93200-3F45-458D-A09A-150A9A564E17","45B7AF6D-BAB6-4C3A-A200-A6A7A709499B","65E31DB6-BFDA-4D8A-9EF2-EB1D94C2E253","74C3EFF9-4889-452C-A456-5A5B6778CE47","38D7BE76-BC2A-4B09-92FC-C08352382C88","96002B07-9CDB-4008-A195-09BD239923F2","DAA476D0-F42A-43C3-B4C4-BC880BD80E65","BA992D77-C2D5-466E-A47A-4322BB7146A8"],"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1301},"savedTextString":"Translator that uses the Google Translation Web service.","__LivelyClassName__":"lively.morphic.Text"},"1285":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1286},"_Extent":{"__isSmartRef__":true,"id":1287},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1288},"renderContextTable":{"__isSmartRef__":true,"id":1289},"_BorderRadius":7.400000000000001,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1290},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1286":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1287":{"x":333,"y":70,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1288":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1289":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1290":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1291":{"x":20,"y":180,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1292":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1293":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1294":{"style":{"__isSmartRef__":true,"id":1295},"chunkOwner":{"__isSmartRef__":true,"id":1284},"storedString":"an pixmap image morph","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1295":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1296":{"x":333,"y":70,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1297":{"sourceObj":{"__isSmartRef__":true,"id":1284},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"saveCommentForSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1298":{"resizeWidth":true,"resizeHeight":true},"1299":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1300":{"morph":{"__isSmartRef__":true,"id":1284},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1301":{"x":227.14764051653037,"y":-11.693836156918564,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1302":{"submorphs":[],"scripts":[],"id":"724D9695-1303-41DD-A314-D747E1604685","shape":{"__isSmartRef__":true,"id":1303},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1309},"_MaxTextWidth":265,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1306},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"selectedPartSpaceName","partsBinMetaInfo":{"__isSmartRef__":true,"id":1310},"textChunks":[{"__isSmartRef__":true,"id":1311}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,16],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1313},"renderContextTable":{"__isSmartRef__":true,"id":1314},"eventHandler":{"__isSmartRef__":true,"id":1315},"owner":{"__isSmartRef__":true,"id":361},"_Align":"left","_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":265,"_MinTextHeight":null,"previousSelection":[9,15],"derivationIds":[1227,"6CE972BD-83CD-4BBB-80ED-D454164C5FEB","157A323D-D969-49B0-B93C-8BD36505D2FC","5D8E7DE9-5E77-4A78-85CC-2BCE68CE557D","EC218021-7880-4AB3-85E1-D09C4BF93D8A","2439308A-9CEB-46A8-8601-F268A4F47F4A","13F42C03-8A95-489F-A557-40F9DF434A0E","DE538AF0-B066-47FC-87FB-FDAC3C147AA1","2E3F7404-39E8-40D4-8CE5-9562B3E28CAF","19B83978-E82E-42BE-9A3B-C419E6106819"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1303":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1304},"_Extent":{"__isSmartRef__":true,"id":1305},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1306},"renderContextTable":{"__isSmartRef__":true,"id":1307},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1308},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1304":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1305":{"x":265,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1306":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1307":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1308":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1309":{"x":22.381974001732715,"y":30.870025607392563,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1310":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1311":{"style":{"__isSmartRef__":true,"id":1312},"chunkOwner":{"__isSmartRef__":true,"id":1302},"storedString":"PartsBin/Basic/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1312":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1313":{"x":265,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1315":{"morph":{"__isSmartRef__":true,"id":1302},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1316":{"submorphs":[{"__isSmartRef__":true,"id":1317}],"scripts":[],"id":"8A435148-7712-4AA5-85E9-4FC3C4B9073C","shape":{"__isSmartRef__":true,"id":1332},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1348},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1349},"lighterFill":{"__isSmartRef__":true,"id":1335},"label":{"__isSmartRef__":true,"id":1317},"attributeConnections":[{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1359}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1360},"name":"copyPartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1361},"layout":{"__isSmartRef__":true,"id":1362},"renderContextTable":{"__isSmartRef__":true,"id":1363},"eventHandler":{"__isSmartRef__":true,"id":1364},"owner":{"__isSmartRef__":true,"id":361},"distanceToDragEvent":{"__isSmartRef__":true,"id":1365},"priorExtent":{"__isSmartRef__":true,"id":1366},"derivationIds":[1228,"A7EE497C-3BC4-48A3-8B6D-193804223319","1F02DAAA-E458-41C2-8A98-B61020A2E0A2","8324EE8D-1ABC-4E9E-96A9-C36215559902","85744E70-8D7A-4836-B64D-5D72BEB47A24","DAB27C35-5025-4060-AFA0-24DB71031B79","7490C0EB-B488-4F98-9C66-E48F89F2A921","EADFC9A5-98FD-4150-BCE8-0ACA0351474D","3A50497B-C8BD-4EAF-915B-E3790C33AD66","E6302DFE-3CE2-45C3-AE75-DE059CCC03FA"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1317":{"submorphs":[],"scripts":[],"id":"59D3370D-A13B-4D92-B301-5D52E22F8ACD","shape":{"__isSmartRef__":true,"id":1318},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":85,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1324},"textColor":{"__isSmartRef__":true,"id":1321},"owner":{"__isSmartRef__":true,"id":1316},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1325}],"padding":{"__isSmartRef__":true,"id":1327},"_Padding":{"__isSmartRef__":true,"id":1328},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":1329},"renderContextTable":{"__isSmartRef__":true,"id":1330},"eventHandler":{"__isSmartRef__":true,"id":1331},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":85,"_MinTextHeight":null,"derivationIds":[1229,"48944567-0B6F-46EA-AD76-2677296C53EA","E68189FB-262E-412F-B5CE-00D5F9ED451C","4AB6AC8D-F0E4-44F7-A6A9-ED45C6B3FA16","BBAE8D78-82FB-4D7F-9F2D-D2358BC706F5","3F40AADC-4450-4508-8A3B-53779974E210","F55D05B5-34A2-4509-8B14-8929A97BDE5B","A9917EAE-88D7-49DF-86CA-8EF5155DC125","8B1BF7BF-63FD-4069-B895-FB093499508B","0F5810CB-D842-4192-A607-6D731E3887DE"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1318":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1319},"_Extent":{"__isSmartRef__":true,"id":1320},"_BorderColor":{"__isSmartRef__":true,"id":1321},"renderContextTable":{"__isSmartRef__":true,"id":1322},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1323},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1319":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1320":{"x":85,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1321":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1322":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1323":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1324":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1325":{"style":{"__isSmartRef__":true,"id":1326},"chunkOwner":{"__isSmartRef__":true,"id":1317},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"copy","__LivelyClassName__":"lively.morphic.TextChunk"},"1326":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1327":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1328":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1329":{"x":85,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1330":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1331":{"morph":{"__isSmartRef__":true,"id":1317},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1332":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1333},"_Extent":{"__isSmartRef__":true,"id":1334},"_Fill":{"__isSmartRef__":true,"id":1335},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1345},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1346},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1347},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1333":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1334":{"x":85,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1335":{"stops":[{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338},{"__isSmartRef__":true,"id":1340},{"__isSmartRef__":true,"id":1342}],"vector":{"__isSmartRef__":true,"id":1344},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1336":{"offset":0,"color":{"__isSmartRef__":true,"id":1337}},"1337":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1338":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1339}},"1339":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1340":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1341}},"1341":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1342":{"offset":1,"color":{"__isSmartRef__":true,"id":1343}},"1343":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1344":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1345":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1346":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1348":{"x":196,"y":393,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1349":{"stops":[{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1356}],"vector":{"__isSmartRef__":true,"id":1344},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1350":{"offset":0,"color":{"__isSmartRef__":true,"id":1351}},"1351":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1352":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1353}},"1353":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1354":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1355}},"1355":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1356":{"offset":1,"color":{"__isSmartRef__":true,"id":1357}},"1357":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1358":{"sourceObj":{"__isSmartRef__":true,"id":1316},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"interactivelyMoveSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1359":{"sourceObj":{"__isSmartRef__":true,"id":1316},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"interactivelyCopySelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1360":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1361":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1362":{"moveVertical":true},"1363":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1364":{"morph":{"__isSmartRef__":true,"id":1316},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1365":{"x":50.41301952728122,"y":-17.360760576407074,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1366":{"x":83,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1367":{"submorphs":[],"scripts":[],"id":"FCB1083B-2DE0-4059-8F0C-ABD5A8C6A478","shape":{"__isSmartRef__":true,"id":1368},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1374},"_MaxTextWidth":67,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1371},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"shareLink","partsBinMetaInfo":{"__isSmartRef__":true,"id":1375},"textChunks":[{"__isSmartRef__":true,"id":1376}],"charsReplaced":"this part with others:","lastFindLoc":28,"priorSelectionRange":[8,8],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1378},"renderContextTable":{"__isSmartRef__":true,"id":1379},"eventHandler":{"__isSmartRef__":true,"id":1380},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1381},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":361},"_MinTextWidth":67,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":1382},"previousSelection":[0,11],"isBeingDragged":false,"derivationIds":[1232,"B9D2A879-DE55-4FCE-A39E-A49A5C513DB5","9B2052B5-A239-453D-BB12-7E8C6D47F9A3","EBBE29B3-CFB1-4F29-B063-3151F39F05EE","F4E1E4A0-3E52-4122-AA40-813B7DE11F76","838CC24A-7BA4-4FE8-9F17-0095855C98BB","31AE717F-70AF-471F-A274-C083B4D1AA99","8A4D997E-3528-421C-92E3-C9C6D3E71D7A","B7149BC1-13A4-4E74-8875-3D491C3D241D","F2E52A05-0BA8-4E2C-A15B-F2DCC738D984"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1368":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1369},"_Extent":{"__isSmartRef__":true,"id":1370},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1371},"renderContextTable":{"__isSmartRef__":true,"id":1372},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1373},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1369":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1370":{"x":67,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1371":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1373":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1374":{"x":289,"y":31,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1375":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1376":{"style":{"__isSmartRef__":true,"id":1377},"chunkOwner":{"__isSmartRef__":true,"id":1367},"storedString":"Share Link","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1377":{"uri":"http://www.lively-kernel.org/viral?part=Image&path=PartsBin/Basic/","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1378":{"x":67,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1379":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1380":{"morph":{"__isSmartRef__":true,"id":1367},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1381":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1382":{"x":47.59213818423041,"y":-17.492989485982434,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1383":{"submorphs":[{"__isSmartRef__":true,"id":1384}],"scripts":[],"id":"CFB05727-A0D1-476E-9E50-6C3120D5EFA8","shape":{"__isSmartRef__":true,"id":1399},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1415},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1402},"lighterFill":{"__isSmartRef__":true,"id":1416},"label":{"__isSmartRef__":true,"id":1384},"attributeConnections":[{"__isSmartRef__":true,"id":1425}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1427},"name":"editModulesButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1428},"layout":{"__isSmartRef__":true,"id":1429},"renderContextTable":{"__isSmartRef__":true,"id":1430},"eventHandler":{"__isSmartRef__":true,"id":1431},"distanceToDragEvent":{"__isSmartRef__":true,"id":1432},"priorExtent":{"__isSmartRef__":true,"id":1433},"derivationIds":[1228,"A7EE497C-3BC4-48A3-8B6D-193804223319","1F02DAAA-E458-41C2-8A98-B61020A2E0A2","8324EE8D-1ABC-4E9E-96A9-C36215559902","85744E70-8D7A-4836-B64D-5D72BEB47A24","DAB27C35-5025-4060-AFA0-24DB71031B79","7490C0EB-B488-4F98-9C66-E48F89F2A921","560C20B1-25AC-44A3-AEFB-D1BF530F949F","BFA181FE-2E54-4F33-B095-AFDB42B6BDF5","5A129B5C-19E8-4F9F-8EE3-965642773E8D","950927A9-0B66-4641-BF3B-AB7AA29E66E2","8304D920-645F-4AD4-ACE7-A38F24AB5D56"],"owner":{"__isSmartRef__":true,"id":361},"_Rotation":0,"_Scale":0.9920279440699424,"__LivelyClassName__":"lively.morphic.Button"},"1384":{"submorphs":[],"scripts":[],"id":"113BA135-9DF7-4D6D-B5D1-BB8702630E5F","shape":{"__isSmartRef__":true,"id":1385},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":64.37831234775626,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1391},"textColor":{"__isSmartRef__":true,"id":1388},"owner":{"__isSmartRef__":true,"id":1383},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1392}],"padding":{"__isSmartRef__":true,"id":1394},"_Padding":{"__isSmartRef__":true,"id":1395},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":1396},"renderContextTable":{"__isSmartRef__":true,"id":1397},"eventHandler":{"__isSmartRef__":true,"id":1398},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.37831234775626,"_MinTextHeight":null,"derivationIds":[1229,"48944567-0B6F-46EA-AD76-2677296C53EA","E68189FB-262E-412F-B5CE-00D5F9ED451C","4AB6AC8D-F0E4-44F7-A6A9-ED45C6B3FA16","BBAE8D78-82FB-4D7F-9F2D-D2358BC706F5","3F40AADC-4450-4508-8A3B-53779974E210","F55D05B5-34A2-4509-8B14-8929A97BDE5B","57E00BE5-A979-4932-A6BF-82E922915547","3F2A56C8-300D-48C4-AEC6-2B6D57BB4AFA","59668791-500C-47F3-BB68-9E3128E1368E","9F26A844-331F-4C72-9C1F-317F97684DDC","47F7E9D0-6F7E-4A60-BB12-C4E348651067"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1385":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1386},"_Extent":{"__isSmartRef__":true,"id":1387},"_BorderColor":{"__isSmartRef__":true,"id":1388},"renderContextTable":{"__isSmartRef__":true,"id":1389},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1390},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1386":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1387":{"x":64.37831234775626,"y":21.69293479284704,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1388":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1389":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1390":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1391":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1392":{"style":{"__isSmartRef__":true,"id":1393},"chunkOwner":{"__isSmartRef__":true,"id":1384},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"modules","__LivelyClassName__":"lively.morphic.TextChunk"},"1393":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1394":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1395":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1396":{"x":64.37831234775626,"y":21.69293479284704,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1397":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1398":{"morph":{"__isSmartRef__":true,"id":1384},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1399":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1400},"_Extent":{"__isSmartRef__":true,"id":1401},"_Fill":{"__isSmartRef__":true,"id":1402},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1412},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1413},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1414},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1400":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1401":{"x":64.37831234775626,"y":21.69293479284704,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1402":{"stops":[{"__isSmartRef__":true,"id":1403},{"__isSmartRef__":true,"id":1405},{"__isSmartRef__":true,"id":1407},{"__isSmartRef__":true,"id":1409}],"vector":{"__isSmartRef__":true,"id":1411},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1403":{"offset":0,"color":{"__isSmartRef__":true,"id":1404}},"1404":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1405":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1406}},"1406":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1407":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1408}},"1408":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1409":{"offset":1,"color":{"__isSmartRef__":true,"id":1410}},"1410":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1411":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1412":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1413":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1414":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1415":{"x":285.00468966732456,"y":393.95580708060504,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1416":{"stops":[{"__isSmartRef__":true,"id":1417},{"__isSmartRef__":true,"id":1419},{"__isSmartRef__":true,"id":1421},{"__isSmartRef__":true,"id":1423}],"vector":{"__isSmartRef__":true,"id":1411},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1417":{"offset":0,"color":{"__isSmartRef__":true,"id":1418}},"1418":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1419":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1420}},"1420":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1421":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1422}},"1422":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1423":{"offset":1,"color":{"__isSmartRef__":true,"id":1424}},"1424":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1425":{"sourceObj":{"__isSmartRef__":true,"id":1383},"sourceAttrName":"fire","targetMethodName":"showRequiredModules","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1426},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1426":{"source":{"__isSmartRef__":true,"id":1383}},"1427":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1428":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1429":{"moveVertical":true},"1430":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1431":{"morph":{"__isSmartRef__":true,"id":1383},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1432":{"x":48.17656337858898,"y":-13.247949828198443,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1433":{"x":63.91140505366775,"y":21.69293479284704,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1434":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1435},"derivationIds":[null,"074C2A5B-DB0A-47F0-A589-2DD872B13343"],"id":"B05D596D-D76D-4B20-9600-57150F6FFA4C","renderContextTable":{"__isSmartRef__":true,"id":1441},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1442}],"eventHandler":{"__isSmartRef__":true,"id":1444},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1445},"priorExtent":{"__isSmartRef__":true,"id":1446},"_MaxTextWidth":323,"_MinTextWidth":323,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":361},"layout":{"__isSmartRef__":true,"id":1447},"syntaxHighlightingWhileTyping":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastSyntaxHighlightTime":1328037408581,"accessibleInInactiveWindow":true,"showsHalos":false,"_Rotation":0,"_Scale":0.992027944069942,"name":"CommitLog","previousSelection":[124,124],"priorSelectionRange":[106,119],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1435":{"_Position":{"__isSmartRef__":true,"id":1436},"renderContextTable":{"__isSmartRef__":true,"id":1437},"_Extent":{"__isSmartRef__":true,"id":1438},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1439},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1440},"_Fill":null,"_BorderRadius":7.405,"_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1436":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1437":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1438":{"x":333,"y":124,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1439":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1440":{"r":0.662,"g":0.662,"b":0.662,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1442":{"style":{"__isSmartRef__":true,"id":1443},"chunkOwner":{"__isSmartRef__":true,"id":1434},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1443":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1444":{"morph":{"__isSmartRef__":true,"id":1434},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1445":{"x":21.16240762993516,"y":257.9370085150181,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1446":{"x":333,"y":124,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1447":{"resizeWidth":true,"resizeHeight":true},"1448":{"position":{"__isSmartRef__":true,"id":1449},"_Extent":{"__isSmartRef__":true,"id":1450},"_BorderWidth":2.294,"_BorderColor":{"__isSmartRef__":true,"id":1451},"_Fill":{"__isSmartRef__":true,"id":1452},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1453},"_BorderRadius":6.12,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1454},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1449":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1450":{"x":373,"y":433,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1451":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1452":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1453":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1454":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1455":{"x":320.9999999999992,"y":38,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1456":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1457":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1458":{"morph":{"__isSmartRef__":true,"id":361},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1459":{"x":383,"y":433,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1460":{"moveHorizontal":true},"1461":{"submorphs":[],"scripts":[],"id":"F32F7ACA-F53F-4E4F-87E0-E92DF8DC5B2D","shape":{"__isSmartRef__":true,"id":1462},"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1469},"itemList":["*all*","*latest*","*search*","Backgrounds","Basic","BP2012","CodeSnippets","Constantin","Controls","Database","DatabaseDemo","Debugging","Demos","Dialogs","Documentation","DroppableBehaviors","ElProfesor","Fun","Grid","Holger","Inputs","iPad Widgets","Issues","Jens","Layout","Maps","Martin","Math","morphic.js","MP2011WS","NewWorld","Pictures","Presenting","prova","Robert","Sandbox","Scripting","Server","SketchyInputs","SWD2011","Tests","Text","Tiles","Tools","uncategorized","Visualization","Widgets","Wiki"],"showsHalos":false,"name":"categoryList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1470},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":360},"_ClipMode":"auto","prevScroll":[0,96],"attributeConnections":[{"__isSmartRef__":true,"id":1471}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"priorExtent":{"__isSmartRef__":true,"id":1472},"layout":{"__isSmartRef__":true,"id":1473},"renderContextTable":{"__isSmartRef__":true,"id":1474},"eventHandler":{"__isSmartRef__":true,"id":1475},"isBeingDragged":false,"derivationIds":[1234,"E4573A4B-7457-4A85-B5E0-8634CF6B5A32","36ABD56F-22FB-466E-911F-B5A54713AC62","C5B5D3B3-C81B-4BF1-AF14-AD010028B8E8","0E406F2D-69F9-4AB8-8D75-02815B9FE8AB","AB7C35D1-2411-4621-AEF1-4B26A3B06611","134793DC-D7FD-429A-8303-7E57B5B7B24A","37D6C084-5E43-4B73-9710-E05DEA0B8D9B","C98A36F4-D242-4A3E-82C9-9DF7443A3BC6","C3570FAB-192B-4D80-8400-751E3DD8720B"],"selectedLineNo":4,"_Rotation":0,"_Scale":1,"selection":"Basic","__LivelyClassName__":"lively.morphic.List"},"1462":{"position":{"__isSmartRef__":true,"id":1463},"_Extent":{"__isSmartRef__":true,"id":1464},"_BorderWidth":1.258,"_BorderColor":{"__isSmartRef__":true,"id":1465},"_Fill":{"__isSmartRef__":true,"id":1466},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1467},"_Padding":{"__isSmartRef__":true,"id":1468},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1463":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1464":{"x":145.0100150200251,"y":425.002003004005,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1465":{"r":0.8280587561201496,"g":0.8280587561201496,"b":0.8280587561201496,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1466":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1467":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1468":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1469":{"x":9,"y":37,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1470":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1471":{"sourceObj":{"__isSmartRef__":true,"id":1461},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"categoryName","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1472":{"x":145.0100150200251,"y":426.002003004005,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1473":{"resizeHeight":true},"1474":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"1475":{"morph":{"__isSmartRef__":true,"id":1461},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1476":{"submorphs":[{"__isSmartRef__":true,"id":1477}],"scripts":[],"id":"B8613531-8B23-4948-A440-25D06A060E3F","shape":{"__isSmartRef__":true,"id":1492},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1508},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1495},"lighterFill":{"__isSmartRef__":true,"id":1509},"label":{"__isSmartRef__":true,"id":1477},"attributeConnections":[{"__isSmartRef__":true,"id":1518}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1520},"name":"reloadButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1521},"owner":{"__isSmartRef__":true,"id":360},"renderContextTable":{"__isSmartRef__":true,"id":1522},"eventHandler":{"__isSmartRef__":true,"id":1523},"priorExtent":{"__isSmartRef__":true,"id":1524},"derivationIds":[1235,"1004C6DF-84F6-4345-B2CA-055AA4F773F6","E89AF462-CFE4-4AC3-B827-CB2505E2A7BA","E2DDE5E0-43A1-4195-90A8-91408473DCDA","03920DC7-DC2D-4C3F-A927-AAD2960216A5","A72AAFB6-23CC-4F29-9DAD-27A67A7577E9","2B4287A8-196C-42F0-828E-4CE4381C9D7F","528F8789-646A-46B1-B4BE-1E5382D1FC89","75DE0100-DA4C-43AC-BD8B-23EFB260EAF4","EA00D1F3-F11C-438A-9B70-1B08F358EB5C"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1477":{"submorphs":[],"scripts":[],"id":"92ABB576-E5CD-4AEC-8895-2485EEECA27A","shape":{"__isSmartRef__":true,"id":1478},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1484},"textColor":{"__isSmartRef__":true,"id":1481},"owner":{"__isSmartRef__":true,"id":1476},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1485}],"padding":{"__isSmartRef__":true,"id":1487},"_Padding":{"__isSmartRef__":true,"id":1488},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":1489},"renderContextTable":{"__isSmartRef__":true,"id":1490},"eventHandler":{"__isSmartRef__":true,"id":1491},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_MinTextHeight":null,"derivationIds":[1236,"0AABC7BC-431F-4F28-A475-694B57A56F0A","E508F35D-1887-4A79-A395-19186427F9C7","4878087E-76B4-401E-AAFB-3A98B1DC2B76","B415B743-575F-4D4A-A6C6-6C97E4DC54A4","EA639CD5-A12C-425C-AD35-FF77947DFC67","5E535C29-89AB-424F-A50E-40D7E6794ACE","44B3E0BB-A9AF-46E4-A2A3-EB76BB87610A","905CD9C3-1327-4130-B76B-72609D9578A8","11C63B11-BCA5-4131-A18B-A4A42D1894A8"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1478":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1479},"_Extent":{"__isSmartRef__":true,"id":1480},"_BorderColor":{"__isSmartRef__":true,"id":1481},"renderContextTable":{"__isSmartRef__":true,"id":1482},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1483},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1479":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1480":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1481":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1483":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1484":{"x":0,"y":-2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1485":{"style":{"__isSmartRef__":true,"id":1486},"chunkOwner":{"__isSmartRef__":true,"id":1477},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"⟳","__LivelyClassName__":"lively.morphic.TextChunk"},"1486":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1487":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1488":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1489":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1490":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1491":{"morph":{"__isSmartRef__":true,"id":1477},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1492":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1493},"_Extent":{"__isSmartRef__":true,"id":1494},"_Fill":{"__isSmartRef__":true,"id":1495},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1505},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1506},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1507},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1494":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1495":{"stops":[{"__isSmartRef__":true,"id":1496},{"__isSmartRef__":true,"id":1498},{"__isSmartRef__":true,"id":1500},{"__isSmartRef__":true,"id":1502}],"vector":{"__isSmartRef__":true,"id":1504},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1496":{"offset":0,"color":{"__isSmartRef__":true,"id":1497}},"1497":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1498":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1499}},"1499":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1500":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1501}},"1501":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1502":{"offset":1,"color":{"__isSmartRef__":true,"id":1503}},"1503":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1504":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1505":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1506":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1507":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1508":{"x":79,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1509":{"stops":[{"__isSmartRef__":true,"id":1510},{"__isSmartRef__":true,"id":1512},{"__isSmartRef__":true,"id":1514},{"__isSmartRef__":true,"id":1516}],"vector":{"__isSmartRef__":true,"id":1504},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1510":{"offset":0,"color":{"__isSmartRef__":true,"id":1511}},"1511":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1512":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1513}},"1513":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1514":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1515}},"1515":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1516":{"offset":1,"color":{"__isSmartRef__":true,"id":1517}},"1517":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1518":{"sourceObj":{"__isSmartRef__":true,"id":1476},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"reloadEverything","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1519},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1519":{"source":{"__isSmartRef__":true,"id":1476},"target":{"__isSmartRef__":true,"id":360}},"1520":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1521":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1522":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1523":{"morph":{"__isSmartRef__":true,"id":1476},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1524":{"x":140,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1525":{"submorphs":[{"__isSmartRef__":true,"id":1526},{"__isSmartRef__":true,"id":1561},{"__isSmartRef__":true,"id":1596},{"__isSmartRef__":true,"id":1649},{"__isSmartRef__":true,"id":1684},{"__isSmartRef__":true,"id":1719},{"__isSmartRef__":true,"id":1754},{"__isSmartRef__":true,"id":1789},{"__isSmartRef__":true,"id":1824},{"__isSmartRef__":true,"id":1859},{"__isSmartRef__":true,"id":1894},{"__isSmartRef__":true,"id":1929},{"__isSmartRef__":true,"id":1964}],"scripts":[],"id":"FEEF055F-F905-4C64-B5CB-1E438E758CA3","shape":{"__isSmartRef__":true,"id":1999},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"partsBinContents","partsBinMetaInfo":{"__isSmartRef__":true,"id":2006},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"scroll","priorExtent":{"__isSmartRef__":true,"id":2007},"attributeConnections":[{"__isSmartRef__":true,"id":2008}],"doNotSerialize":["$$selectedItem"],"doNotCopyProperties":["$$selectedItem"],"layout":{"__isSmartRef__":true,"id":2009},"renderContextTable":{"__isSmartRef__":true,"id":2010},"eventHandler":{"__isSmartRef__":true,"id":2011},"_Position":{"__isSmartRef__":true,"id":2012},"owner":{"__isSmartRef__":true,"id":360},"derivationIds":[1237,"36E894B8-0363-4580-8726-268CF8708422","24FF45E0-75DD-4A18-8279-472DDC2F411C","83558E66-F5C3-400C-A4C2-47A948B8136A","260D6B4C-06A4-45A2-B702-887829835D7E","86BCFBDB-66C5-4DD5-AC0E-FBCA02BB1698","D46AEB64-D1DC-46EF-822C-E86588905880","6DA46DD0-D2A0-46BE-BE8F-82D3E98A8696","24A0F2AB-B88F-494D-9EE9-F877A4619BD8","E46F739C-7FB0-451B-BFD2-7CFAEB01EF65"],"isBeingDragged":false,"_Rotation":0,"_Scale":1,"selectedItem":{"__isSmartRef__":true,"id":1631},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2013},"__LivelyClassName__":"lively.morphic.Box"},"1526":{"submorphs":[{"__isSmartRef__":true,"id":1527},{"__isSmartRef__":true,"id":1537}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1550},"derivationIds":[null],"id":"11FA992D-5D2E-4BFD-BFD6-DE6F6B029EB5","renderContextTable":{"__isSmartRef__":true,"id":1556},"eventHandler":{"__isSmartRef__":true,"id":1557},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1558},"partsBinURL":{"__isSmartRef__":true,"id":1559},"targetName":"Cloud","partItem":{"__isSmartRef__":true,"id":1560},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1527":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1528},"derivationIds":[null],"id":"4B7F143C-8854-48F8-88A0-2ACD6EA3A065","renderContextTable":{"__isSmartRef__":true,"id":1533},"eventHandler":{"__isSmartRef__":true,"id":1534},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1535},"priorExtent":{"__isSmartRef__":true,"id":1536},"owner":{"__isSmartRef__":true,"id":1526},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1528":{"renderContextTable":{"__isSmartRef__":true,"id":1529},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1530},"_Padding":{"__isSmartRef__":true,"id":1531},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1532},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1529":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1530":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1531":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1532":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1533":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1534":{"morph":{"__isSmartRef__":true,"id":1527},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1535":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1536":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1537":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1538},"derivationIds":[null],"id":"F14F9399-3292-4B9A-9683-C492489A24E0","renderContextTable":{"__isSmartRef__":true,"id":1544},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1545}],"eventHandler":{"__isSmartRef__":true,"id":1547},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1548},"priorExtent":{"__isSmartRef__":true,"id":1549},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1526},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1538":{"_Position":{"__isSmartRef__":true,"id":1539},"renderContextTable":{"__isSmartRef__":true,"id":1540},"_Extent":{"__isSmartRef__":true,"id":1541},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1542},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1543},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1539":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1540":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1541":{"x":37,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1542":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1543":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1544":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1545":{"style":{"__isSmartRef__":true,"id":1546},"chunkOwner":{"__isSmartRef__":true,"id":1537},"storedString":"Cloud","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1546":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1547":{"morph":{"__isSmartRef__":true,"id":1537},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1548":{"x":31.5,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1549":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1550":{"_Position":{"__isSmartRef__":true,"id":1551},"renderContextTable":{"__isSmartRef__":true,"id":1552},"_Extent":{"__isSmartRef__":true,"id":1553},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1554},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1555},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1551":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1552":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1553":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1554":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1555":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1556":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1557":{"morph":{"__isSmartRef__":true,"id":1526},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1558":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1559":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1560":{"partsSpaceName":"PartsBin/Basic/","name":"Cloud","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1561":{"submorphs":[{"__isSmartRef__":true,"id":1562},{"__isSmartRef__":true,"id":1572}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1585},"derivationIds":[null],"id":"499E7207-C093-45E5-AAB3-7B1F3746F633","renderContextTable":{"__isSmartRef__":true,"id":1591},"eventHandler":{"__isSmartRef__":true,"id":1592},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1593},"partsBinURL":{"__isSmartRef__":true,"id":1594},"targetName":"Ellipse","partItem":{"__isSmartRef__":true,"id":1595},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1562":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1563},"derivationIds":[null],"id":"8B24F271-B15F-41A7-B7D1-68761041F1D9","renderContextTable":{"__isSmartRef__":true,"id":1568},"eventHandler":{"__isSmartRef__":true,"id":1569},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1570},"priorExtent":{"__isSmartRef__":true,"id":1571},"owner":{"__isSmartRef__":true,"id":1561},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1563":{"renderContextTable":{"__isSmartRef__":true,"id":1564},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1565},"_Padding":{"__isSmartRef__":true,"id":1566},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1567},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1564":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1565":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1566":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1567":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1568":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1569":{"morph":{"__isSmartRef__":true,"id":1562},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1570":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1571":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1572":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1573},"derivationIds":[null],"id":"D5FE1D94-2A4B-4F3F-8E66-FB850D64A43C","renderContextTable":{"__isSmartRef__":true,"id":1579},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1580}],"eventHandler":{"__isSmartRef__":true,"id":1582},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1583},"priorExtent":{"__isSmartRef__":true,"id":1584},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1561},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1573":{"_Position":{"__isSmartRef__":true,"id":1574},"renderContextTable":{"__isSmartRef__":true,"id":1575},"_Extent":{"__isSmartRef__":true,"id":1576},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1577},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1578},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1574":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1575":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1576":{"x":43,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1577":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1578":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1579":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1580":{"style":{"__isSmartRef__":true,"id":1581},"chunkOwner":{"__isSmartRef__":true,"id":1572},"storedString":"Ellipse","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1581":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1582":{"morph":{"__isSmartRef__":true,"id":1572},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1583":{"x":28.5,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1584":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1585":{"_Position":{"__isSmartRef__":true,"id":1586},"renderContextTable":{"__isSmartRef__":true,"id":1587},"_Extent":{"__isSmartRef__":true,"id":1588},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1589},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1590},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1586":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1587":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1588":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1589":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1590":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1591":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1592":{"morph":{"__isSmartRef__":true,"id":1561},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1593":{"x":105,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1594":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1595":{"partsSpaceName":"PartsBin/Basic/","name":"Ellipse","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1596":{"submorphs":[{"__isSmartRef__":true,"id":1597},{"__isSmartRef__":true,"id":1607}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1620},"derivationIds":[null],"id":"3E6D1E4B-AA53-4FDB-93E4-DF7E96AFB223","renderContextTable":{"__isSmartRef__":true,"id":1627},"eventHandler":{"__isSmartRef__":true,"id":1628},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1629},"partsBinURL":{"__isSmartRef__":true,"id":1630},"targetName":"Image","partItem":{"__isSmartRef__":true,"id":1631},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":true,"isBeingDragged":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1597":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1598},"derivationIds":[null],"id":"30FC3018-3A89-4928-AF9F-0F0671455C7C","renderContextTable":{"__isSmartRef__":true,"id":1603},"eventHandler":{"__isSmartRef__":true,"id":1604},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1605},"priorExtent":{"__isSmartRef__":true,"id":1606},"owner":{"__isSmartRef__":true,"id":1596},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1598":{"renderContextTable":{"__isSmartRef__":true,"id":1599},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1600},"_Padding":{"__isSmartRef__":true,"id":1601},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1602},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1599":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1600":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1601":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1602":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1603":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1604":{"morph":{"__isSmartRef__":true,"id":1597},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1605":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1606":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1607":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1608},"derivationIds":[null],"id":"722176A6-A793-4C18-A3E3-5DD934C611E6","renderContextTable":{"__isSmartRef__":true,"id":1614},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1615}],"eventHandler":{"__isSmartRef__":true,"id":1617},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1618},"priorExtent":{"__isSmartRef__":true,"id":1619},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1596},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1608":{"_Position":{"__isSmartRef__":true,"id":1609},"renderContextTable":{"__isSmartRef__":true,"id":1610},"_Extent":{"__isSmartRef__":true,"id":1611},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1612},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1613},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1609":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1610":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1611":{"x":38,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1612":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1613":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1614":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1615":{"style":{"__isSmartRef__":true,"id":1616},"chunkOwner":{"__isSmartRef__":true,"id":1607},"storedString":"Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1616":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1617":{"morph":{"__isSmartRef__":true,"id":1607},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1618":{"x":31,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1619":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1620":{"_Position":{"__isSmartRef__":true,"id":1621},"renderContextTable":{"__isSmartRef__":true,"id":1622},"_Extent":{"__isSmartRef__":true,"id":1623},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1624},"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":{"__isSmartRef__":true,"id":1626},"_BorderRadius":6,"_BorderWidth":3,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1621":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1622":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1623":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1624":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1625":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1626":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1627":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1628":{"morph":{"__isSmartRef__":true,"id":1596},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1629":{"x":210,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1630":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1631":{"partsSpaceName":"PartsBin/Basic/","name":"Image","attributeConnections":[{"__isSmartRef__":true,"id":1632},{"__isSmartRef__":true,"id":1633},{"__isSmartRef__":true,"id":1634},{"__isSmartRef__":true,"id":1645},{"__isSmartRef__":true,"id":1646},{"__isSmartRef__":true,"id":1647}],"doNotSerialize":["$$partVersions","$$loadedMetaInfo","$$part","$$json"],"doNotCopyProperties":["$$partVersions","$$loadedMetaInfo","$$part","$$json"],"partVersions":[{"__isSmartRef__":true,"id":535},{"__isSmartRef__":true,"id":1126},{"__isSmartRef__":true,"id":1132},{"__isSmartRef__":true,"id":1137},{"__isSmartRef__":true,"id":1142},{"__isSmartRef__":true,"id":1147},{"__isSmartRef__":true,"id":1152},{"__isSmartRef__":true,"id":1275}],"loadedMetaInfo":{"__isSmartRef__":true,"id":1648},"part":{"__isSmartRef__":true,"id":91},"json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[],\"scripts\":[],\"id\":707,\"shape\":{\"__isSmartRef__\":true,\"id\":1},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"eventHandler\":{\"__isSmartRef__\":true,\"id\":5},\"_Position\":{\"__isSmartRef__\":true,\"id\":6},\"showsHalos\":false,\"name\":\"Image\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":7},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":8},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Image\"},\"1\":{\"position\":{\"__isSmartRef__\":true,\"id\":2},\"_Extent\":{\"__isSmartRef__\":true,\"id\":3},\"_ImageURL\":\"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":4},\"isLoaded\":true,\"__LivelyClassName__\":\"lively.morphic.Shapes.Image\"},\"2\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"3\":{\"x\":100,\"y\":100,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"4\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setImageURL\":\"setImageURLHTML\",\"getNativeExtent\":\"getNativeExtentHTML\"},\"5\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"6\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"7\":{\"partsSpaceName\":\"PartsBin/Basic/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"partName\":\"Image\",\"migrationLevel\":2,\"comment\":\"an pixmap image morph\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"8\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"setOrigin\":\"setOriginHTML\",\"setClipMode\":\"setClipModeHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\"},\"isSimplifiedRegistry\":true}}","__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1632":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"partVersions","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"setSelectedPartVersions","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1633":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"setMetaInfoOfSelectedItem","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1634":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"part","targetObj":{"__isSmartRef__":true,"id":1635},"targetMethodName":"remove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1635":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1636},"derivationIds":[null],"id":"56F6C65E-821B-4D90-8801-99120358583F","renderContextTable":{"__isSmartRef__":true,"id":1642},"eventHandler":{"__isSmartRef__":true,"id":1643},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1644},"owner":null,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1636":{"_Position":{"__isSmartRef__":true,"id":1637},"renderContextTable":{"__isSmartRef__":true,"id":1638},"_Extent":{"__isSmartRef__":true,"id":1639},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1640},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1641},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1637":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1638":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1639":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1640":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1641":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1642":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1643":{"morph":{"__isSmartRef__":true,"id":1635},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1644":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1645":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"part","targetObj":{"__isSmartRef__":true,"id":1596},"targetMethodName":"openLoadedPartsBinItem","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1646":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"json","targetObj":{"__isSmartRef__":true,"id":1631},"targetMethodName":"cachePartJSON","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1647":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":1631},"targetMethodName":"cachePartMetaInfo","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1648":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1649":{"submorphs":[{"__isSmartRef__":true,"id":1650},{"__isSmartRef__":true,"id":1660}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1673},"derivationIds":[null],"id":"11A6249C-8A3D-479B-AC77-9DCEDE31B3BE","renderContextTable":{"__isSmartRef__":true,"id":1679},"eventHandler":{"__isSmartRef__":true,"id":1680},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1681},"partsBinURL":{"__isSmartRef__":true,"id":1682},"targetName":"Line","partItem":{"__isSmartRef__":true,"id":1683},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1650":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1651},"derivationIds":[null],"id":"49EB18D1-88D2-4A9F-BCF2-7565CE2B4D1F","renderContextTable":{"__isSmartRef__":true,"id":1656},"eventHandler":{"__isSmartRef__":true,"id":1657},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1658},"priorExtent":{"__isSmartRef__":true,"id":1659},"owner":{"__isSmartRef__":true,"id":1649},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1651":{"renderContextTable":{"__isSmartRef__":true,"id":1652},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1653},"_Padding":{"__isSmartRef__":true,"id":1654},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1655},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1652":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1653":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1654":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1655":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1656":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1657":{"morph":{"__isSmartRef__":true,"id":1650},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1658":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1659":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1660":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1661},"derivationIds":[null],"id":"BB6172CE-2006-40DF-84FE-432ACED25932","renderContextTable":{"__isSmartRef__":true,"id":1667},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1668}],"eventHandler":{"__isSmartRef__":true,"id":1670},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1671},"priorExtent":{"__isSmartRef__":true,"id":1672},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1649},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1661":{"_Position":{"__isSmartRef__":true,"id":1662},"renderContextTable":{"__isSmartRef__":true,"id":1663},"_Extent":{"__isSmartRef__":true,"id":1664},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1665},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1666},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1662":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1663":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1664":{"x":30,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1665":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1666":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1667":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1668":{"style":{"__isSmartRef__":true,"id":1669},"chunkOwner":{"__isSmartRef__":true,"id":1660},"storedString":"Line","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1669":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1670":{"morph":{"__isSmartRef__":true,"id":1660},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1671":{"x":35,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1672":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1673":{"_Position":{"__isSmartRef__":true,"id":1674},"renderContextTable":{"__isSmartRef__":true,"id":1675},"_Extent":{"__isSmartRef__":true,"id":1676},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1677},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1678},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1674":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1675":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1676":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1677":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1678":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1679":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1680":{"morph":{"__isSmartRef__":true,"id":1649},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1681":{"x":315,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1682":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1683":{"partsSpaceName":"PartsBin/Basic/","name":"Line","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1684":{"submorphs":[{"__isSmartRef__":true,"id":1685},{"__isSmartRef__":true,"id":1695}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1708},"derivationIds":[null],"id":"A604B095-79A3-4A7F-A616-87A9B86F8CCE","renderContextTable":{"__isSmartRef__":true,"id":1714},"eventHandler":{"__isSmartRef__":true,"id":1715},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1716},"partsBinURL":{"__isSmartRef__":true,"id":1717},"targetName":"LineWithArrow","partItem":{"__isSmartRef__":true,"id":1718},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1685":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1686},"derivationIds":[null],"id":"196C11AA-DB52-4C2F-A009-0C88E6F8FCB9","renderContextTable":{"__isSmartRef__":true,"id":1691},"eventHandler":{"__isSmartRef__":true,"id":1692},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1693},"priorExtent":{"__isSmartRef__":true,"id":1694},"owner":{"__isSmartRef__":true,"id":1684},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1686":{"renderContextTable":{"__isSmartRef__":true,"id":1687},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1688},"_Padding":{"__isSmartRef__":true,"id":1689},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1690},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1687":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1688":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1689":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1690":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1691":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1692":{"morph":{"__isSmartRef__":true,"id":1685},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1693":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1694":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1695":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1696},"derivationIds":[null],"id":"76E3D315-AA91-4EBA-B538-AE3C2EDE8A40","renderContextTable":{"__isSmartRef__":true,"id":1702},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1703}],"eventHandler":{"__isSmartRef__":true,"id":1705},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1706},"priorExtent":{"__isSmartRef__":true,"id":1707},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1684},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1696":{"_Position":{"__isSmartRef__":true,"id":1697},"renderContextTable":{"__isSmartRef__":true,"id":1698},"_Extent":{"__isSmartRef__":true,"id":1699},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1700},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1701},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1697":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1698":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1699":{"x":77,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1700":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1701":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1702":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1703":{"style":{"__isSmartRef__":true,"id":1704},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"LineWithArrow","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1704":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1705":{"morph":{"__isSmartRef__":true,"id":1695},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1706":{"x":11.5,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1707":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1708":{"_Position":{"__isSmartRef__":true,"id":1709},"renderContextTable":{"__isSmartRef__":true,"id":1710},"_Extent":{"__isSmartRef__":true,"id":1711},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1712},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1713},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1709":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1710":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1711":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1712":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1713":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1714":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1715":{"morph":{"__isSmartRef__":true,"id":1684},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1716":{"x":420,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1717":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1718":{"partsSpaceName":"PartsBin/Basic/","name":"LineWithArrow","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1719":{"submorphs":[{"__isSmartRef__":true,"id":1720},{"__isSmartRef__":true,"id":1730}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1743},"derivationIds":[null],"id":"D670C471-29ED-4C5A-B173-B3E7F9E57319","renderContextTable":{"__isSmartRef__":true,"id":1749},"eventHandler":{"__isSmartRef__":true,"id":1750},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1751},"partsBinURL":{"__isSmartRef__":true,"id":1752},"targetName":"LineWithArrowOrange","partItem":{"__isSmartRef__":true,"id":1753},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1720":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1721},"derivationIds":[null],"id":"A3A37E15-B8E5-4B17-9C81-85663FF00400","renderContextTable":{"__isSmartRef__":true,"id":1726},"eventHandler":{"__isSmartRef__":true,"id":1727},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1728},"priorExtent":{"__isSmartRef__":true,"id":1729},"owner":{"__isSmartRef__":true,"id":1719},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1721":{"renderContextTable":{"__isSmartRef__":true,"id":1722},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1723},"_Padding":{"__isSmartRef__":true,"id":1724},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1725},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1722":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1723":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1724":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1725":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1726":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1727":{"morph":{"__isSmartRef__":true,"id":1720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1728":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1729":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1730":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1731},"derivationIds":[null],"id":"5BF48F95-8EED-4DEC-A400-6D210D8CF6D0","renderContextTable":{"__isSmartRef__":true,"id":1737},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1738}],"eventHandler":{"__isSmartRef__":true,"id":1740},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1741},"priorExtent":{"__isSmartRef__":true,"id":1742},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1719},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1731":{"_Position":{"__isSmartRef__":true,"id":1732},"renderContextTable":{"__isSmartRef__":true,"id":1733},"_Extent":{"__isSmartRef__":true,"id":1734},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1735},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1736},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1732":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1733":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1734":{"x":96,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1735":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1736":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1737":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1738":{"style":{"__isSmartRef__":true,"id":1739},"chunkOwner":{"__isSmartRef__":true,"id":1730},"storedString":"LineWithArrowOr...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1739":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1740":{"morph":{"__isSmartRef__":true,"id":1730},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1741":{"x":2,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1742":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1743":{"_Position":{"__isSmartRef__":true,"id":1744},"renderContextTable":{"__isSmartRef__":true,"id":1745},"_Extent":{"__isSmartRef__":true,"id":1746},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1747},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1748},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1744":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1745":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1746":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1747":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1748":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1749":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1750":{"morph":{"__isSmartRef__":true,"id":1719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1751":{"x":0,"y":105,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1752":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1753":{"partsSpaceName":"PartsBin/Basic/","name":"LineWithArrowOrange","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1754":{"submorphs":[{"__isSmartRef__":true,"id":1755},{"__isSmartRef__":true,"id":1765}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1778},"derivationIds":[null],"id":"CF008426-4993-4624-8E83-77D734734CB7","renderContextTable":{"__isSmartRef__":true,"id":1784},"eventHandler":{"__isSmartRef__":true,"id":1785},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1786},"partsBinURL":{"__isSmartRef__":true,"id":1787},"targetName":"LineWithArrows","partItem":{"__isSmartRef__":true,"id":1788},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1755":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1756},"derivationIds":[null],"id":"C76D5269-3AF8-477F-8683-8D5FEB7DAE94","renderContextTable":{"__isSmartRef__":true,"id":1761},"eventHandler":{"__isSmartRef__":true,"id":1762},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1763},"priorExtent":{"__isSmartRef__":true,"id":1764},"owner":{"__isSmartRef__":true,"id":1754},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1756":{"renderContextTable":{"__isSmartRef__":true,"id":1757},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1758},"_Padding":{"__isSmartRef__":true,"id":1759},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1760},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1757":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1758":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1759":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1760":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1761":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1762":{"morph":{"__isSmartRef__":true,"id":1755},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1763":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1764":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1765":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1766},"derivationIds":[null],"id":"D7351BB8-2199-4997-94FC-E1E8AACDBD3C","renderContextTable":{"__isSmartRef__":true,"id":1772},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1773}],"eventHandler":{"__isSmartRef__":true,"id":1775},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1776},"priorExtent":{"__isSmartRef__":true,"id":1777},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1754},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1766":{"_Position":{"__isSmartRef__":true,"id":1767},"renderContextTable":{"__isSmartRef__":true,"id":1768},"_Extent":{"__isSmartRef__":true,"id":1769},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1770},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1771},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1767":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1768":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1769":{"x":83,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1770":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1771":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1772":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1773":{"style":{"__isSmartRef__":true,"id":1774},"chunkOwner":{"__isSmartRef__":true,"id":1765},"storedString":"LineWithArrows","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1774":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1775":{"morph":{"__isSmartRef__":true,"id":1765},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1776":{"x":8.5,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1777":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1778":{"_Position":{"__isSmartRef__":true,"id":1779},"renderContextTable":{"__isSmartRef__":true,"id":1780},"_Extent":{"__isSmartRef__":true,"id":1781},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1782},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1783},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1779":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1780":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1781":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1782":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1783":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1785":{"morph":{"__isSmartRef__":true,"id":1754},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1786":{"x":105,"y":105,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1787":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1788":{"partsSpaceName":"PartsBin/Basic/","name":"LineWithArrows","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1789":{"submorphs":[{"__isSmartRef__":true,"id":1790},{"__isSmartRef__":true,"id":1800}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1813},"derivationIds":[null],"id":"7FADB014-67A1-48E5-B8C4-A387C86D94E4","renderContextTable":{"__isSmartRef__":true,"id":1819},"eventHandler":{"__isSmartRef__":true,"id":1820},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1821},"partsBinURL":{"__isSmartRef__":true,"id":1822},"targetName":"Marker","partItem":{"__isSmartRef__":true,"id":1823},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1790":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1791},"derivationIds":[null],"id":"EEF80FCF-EA5F-4AF8-9F1F-50B02E444446","renderContextTable":{"__isSmartRef__":true,"id":1796},"eventHandler":{"__isSmartRef__":true,"id":1797},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1798},"priorExtent":{"__isSmartRef__":true,"id":1799},"owner":{"__isSmartRef__":true,"id":1789},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1791":{"renderContextTable":{"__isSmartRef__":true,"id":1792},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1793},"_Padding":{"__isSmartRef__":true,"id":1794},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1795},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1792":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1793":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1794":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1795":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1797":{"morph":{"__isSmartRef__":true,"id":1790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1798":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1799":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1800":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1801},"derivationIds":[null],"id":"58697C98-5C53-4966-975D-B990C955B2E9","renderContextTable":{"__isSmartRef__":true,"id":1807},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1808}],"eventHandler":{"__isSmartRef__":true,"id":1810},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1811},"priorExtent":{"__isSmartRef__":true,"id":1812},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1789},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1801":{"_Position":{"__isSmartRef__":true,"id":1802},"renderContextTable":{"__isSmartRef__":true,"id":1803},"_Extent":{"__isSmartRef__":true,"id":1804},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1805},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1806},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1802":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1803":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1804":{"x":38,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1805":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1806":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1807":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1808":{"style":{"__isSmartRef__":true,"id":1809},"chunkOwner":{"__isSmartRef__":true,"id":1800},"storedString":"Marker","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1809":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1810":{"morph":{"__isSmartRef__":true,"id":1800},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1811":{"x":31,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1812":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1813":{"_Position":{"__isSmartRef__":true,"id":1814},"renderContextTable":{"__isSmartRef__":true,"id":1815},"_Extent":{"__isSmartRef__":true,"id":1816},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1817},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1818},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1814":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1815":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1816":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1817":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1818":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1819":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1820":{"morph":{"__isSmartRef__":true,"id":1789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1821":{"x":210,"y":105,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1822":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1823":{"partsSpaceName":"PartsBin/Basic/","name":"Marker","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1824":{"submorphs":[{"__isSmartRef__":true,"id":1825},{"__isSmartRef__":true,"id":1835}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1848},"derivationIds":[null],"id":"A2C90381-9412-45E1-A137-2DB9B644073C","renderContextTable":{"__isSmartRef__":true,"id":1854},"eventHandler":{"__isSmartRef__":true,"id":1855},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1856},"partsBinURL":{"__isSmartRef__":true,"id":1857},"targetName":"PrimitiveShapes","partItem":{"__isSmartRef__":true,"id":1858},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1825":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1826},"derivationIds":[null],"id":"B959221E-1D6F-4BB0-AD77-28CE4DCD83C2","renderContextTable":{"__isSmartRef__":true,"id":1831},"eventHandler":{"__isSmartRef__":true,"id":1832},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1833},"priorExtent":{"__isSmartRef__":true,"id":1834},"owner":{"__isSmartRef__":true,"id":1824},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1826":{"renderContextTable":{"__isSmartRef__":true,"id":1827},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1828},"_Padding":{"__isSmartRef__":true,"id":1829},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1830},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1827":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1828":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1829":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1830":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1832":{"morph":{"__isSmartRef__":true,"id":1825},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1833":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1834":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1835":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1836},"derivationIds":[null],"id":"FE550631-62A8-4E18-ABDE-D90A491385D4","renderContextTable":{"__isSmartRef__":true,"id":1842},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1843}],"eventHandler":{"__isSmartRef__":true,"id":1845},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1846},"priorExtent":{"__isSmartRef__":true,"id":1847},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1824},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1836":{"_Position":{"__isSmartRef__":true,"id":1837},"renderContextTable":{"__isSmartRef__":true,"id":1838},"_Extent":{"__isSmartRef__":true,"id":1839},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1840},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1841},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1837":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1838":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1839":{"x":86,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1840":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1841":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1842":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1843":{"style":{"__isSmartRef__":true,"id":1844},"chunkOwner":{"__isSmartRef__":true,"id":1835},"storedString":"PrimitiveShapes","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1844":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1845":{"morph":{"__isSmartRef__":true,"id":1835},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1846":{"x":7,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1847":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1848":{"_Position":{"__isSmartRef__":true,"id":1849},"renderContextTable":{"__isSmartRef__":true,"id":1850},"_Extent":{"__isSmartRef__":true,"id":1851},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1852},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1853},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1849":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1851":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1852":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1853":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1854":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1855":{"morph":{"__isSmartRef__":true,"id":1824},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1856":{"x":315,"y":105,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1857":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1858":{"partsSpaceName":"PartsBin/Basic/","name":"PrimitiveShapes","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1859":{"submorphs":[{"__isSmartRef__":true,"id":1860},{"__isSmartRef__":true,"id":1870}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1883},"derivationIds":[null],"id":"0F7C45EA-C479-4229-A47E-B639042E74A5","renderContextTable":{"__isSmartRef__":true,"id":1889},"eventHandler":{"__isSmartRef__":true,"id":1890},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1891},"partsBinURL":{"__isSmartRef__":true,"id":1892},"targetName":"Rectangle","partItem":{"__isSmartRef__":true,"id":1893},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1860":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1861},"derivationIds":[null],"id":"4ACD5B5F-F2DF-41D2-879B-2621B44629F3","renderContextTable":{"__isSmartRef__":true,"id":1866},"eventHandler":{"__isSmartRef__":true,"id":1867},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1868},"priorExtent":{"__isSmartRef__":true,"id":1869},"owner":{"__isSmartRef__":true,"id":1859},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1861":{"renderContextTable":{"__isSmartRef__":true,"id":1862},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1863},"_Padding":{"__isSmartRef__":true,"id":1864},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1865},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1862":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1863":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1864":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1865":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1866":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1867":{"morph":{"__isSmartRef__":true,"id":1860},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1868":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1869":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1870":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1871},"derivationIds":[null],"id":"8FC8ED4A-E20A-4426-BCBD-488C55E00729","renderContextTable":{"__isSmartRef__":true,"id":1877},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1878}],"eventHandler":{"__isSmartRef__":true,"id":1880},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1881},"priorExtent":{"__isSmartRef__":true,"id":1882},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1859},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1871":{"_Position":{"__isSmartRef__":true,"id":1872},"renderContextTable":{"__isSmartRef__":true,"id":1873},"_Extent":{"__isSmartRef__":true,"id":1874},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1875},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1876},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1872":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1873":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1874":{"x":57,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1875":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1876":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1877":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1878":{"style":{"__isSmartRef__":true,"id":1879},"chunkOwner":{"__isSmartRef__":true,"id":1870},"storedString":"Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1879":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1880":{"morph":{"__isSmartRef__":true,"id":1870},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1881":{"x":21.5,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1882":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1883":{"_Position":{"__isSmartRef__":true,"id":1884},"renderContextTable":{"__isSmartRef__":true,"id":1885},"_Extent":{"__isSmartRef__":true,"id":1886},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1887},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1888},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1884":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1885":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1886":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1887":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1888":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1889":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1890":{"morph":{"__isSmartRef__":true,"id":1859},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1891":{"x":420,"y":105,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1892":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1893":{"partsSpaceName":"PartsBin/Basic/","name":"Rectangle","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1894":{"submorphs":[{"__isSmartRef__":true,"id":1895},{"__isSmartRef__":true,"id":1905}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1918},"derivationIds":[null],"id":"DF5B5B23-D903-4FA3-B5D8-E8B6460D9F0E","renderContextTable":{"__isSmartRef__":true,"id":1924},"eventHandler":{"__isSmartRef__":true,"id":1925},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1926},"partsBinURL":{"__isSmartRef__":true,"id":1927},"targetName":"Star","partItem":{"__isSmartRef__":true,"id":1928},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1895":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1896},"derivationIds":[null],"id":"B56E2571-1605-4822-B10C-CB733E9A9165","renderContextTable":{"__isSmartRef__":true,"id":1901},"eventHandler":{"__isSmartRef__":true,"id":1902},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1903},"priorExtent":{"__isSmartRef__":true,"id":1904},"owner":{"__isSmartRef__":true,"id":1894},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1896":{"renderContextTable":{"__isSmartRef__":true,"id":1897},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1898},"_Padding":{"__isSmartRef__":true,"id":1899},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1900},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1897":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1898":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1899":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1900":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1901":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1902":{"morph":{"__isSmartRef__":true,"id":1895},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1903":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1904":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1905":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1906},"derivationIds":[null],"id":"CB0B6A81-13E2-4F29-A0BA-B02D006EA19A","renderContextTable":{"__isSmartRef__":true,"id":1912},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1913}],"eventHandler":{"__isSmartRef__":true,"id":1915},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1916},"priorExtent":{"__isSmartRef__":true,"id":1917},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1894},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1906":{"_Position":{"__isSmartRef__":true,"id":1907},"renderContextTable":{"__isSmartRef__":true,"id":1908},"_Extent":{"__isSmartRef__":true,"id":1909},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1910},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1911},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1907":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1908":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1909":{"x":28,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1910":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1911":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1912":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1913":{"style":{"__isSmartRef__":true,"id":1914},"chunkOwner":{"__isSmartRef__":true,"id":1905},"storedString":"Star","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1914":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1915":{"morph":{"__isSmartRef__":true,"id":1905},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1916":{"x":36,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1917":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1918":{"_Position":{"__isSmartRef__":true,"id":1919},"renderContextTable":{"__isSmartRef__":true,"id":1920},"_Extent":{"__isSmartRef__":true,"id":1921},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1922},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1923},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1919":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1920":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1921":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1922":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1923":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1925":{"morph":{"__isSmartRef__":true,"id":1894},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1926":{"x":0,"y":210,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1927":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1928":{"partsSpaceName":"PartsBin/Basic/","name":"Star","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1929":{"submorphs":[{"__isSmartRef__":true,"id":1930},{"__isSmartRef__":true,"id":1940}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1953},"derivationIds":[null],"id":"DB856209-F6F0-48C8-86EB-185B7B2D3875","renderContextTable":{"__isSmartRef__":true,"id":1959},"eventHandler":{"__isSmartRef__":true,"id":1960},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1961},"partsBinURL":{"__isSmartRef__":true,"id":1962},"targetName":"Text","partItem":{"__isSmartRef__":true,"id":1963},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1930":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1931},"derivationIds":[null],"id":"9361D2C1-333F-417F-82B2-C1EAA3EC3BA3","renderContextTable":{"__isSmartRef__":true,"id":1936},"eventHandler":{"__isSmartRef__":true,"id":1937},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1938},"priorExtent":{"__isSmartRef__":true,"id":1939},"owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1931":{"renderContextTable":{"__isSmartRef__":true,"id":1932},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1933},"_Padding":{"__isSmartRef__":true,"id":1934},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1935},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1932":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1933":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1934":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1935":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1936":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1937":{"morph":{"__isSmartRef__":true,"id":1930},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1938":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1939":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1940":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1941},"derivationIds":[null],"id":"F138962A-00E2-4EEB-B315-32E2BFEFC8DD","renderContextTable":{"__isSmartRef__":true,"id":1947},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1948}],"eventHandler":{"__isSmartRef__":true,"id":1950},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1951},"priorExtent":{"__isSmartRef__":true,"id":1952},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1929},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1941":{"_Position":{"__isSmartRef__":true,"id":1942},"renderContextTable":{"__isSmartRef__":true,"id":1943},"_Extent":{"__isSmartRef__":true,"id":1944},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1945},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1946},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1942":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1943":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1944":{"x":30,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1945":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1946":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1948":{"style":{"__isSmartRef__":true,"id":1949},"chunkOwner":{"__isSmartRef__":true,"id":1940},"storedString":"Text","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1949":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1950":{"morph":{"__isSmartRef__":true,"id":1940},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1951":{"x":35,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1952":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1953":{"_Position":{"__isSmartRef__":true,"id":1954},"renderContextTable":{"__isSmartRef__":true,"id":1955},"_Extent":{"__isSmartRef__":true,"id":1956},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1957},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1958},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1954":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1955":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1956":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1957":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1958":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1959":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1960":{"morph":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1961":{"x":105,"y":210,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1962":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1963":{"partsSpaceName":"PartsBin/Basic/","name":"Text","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1964":{"submorphs":[{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1975}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1988},"derivationIds":[null],"id":"0E28F925-BEA5-40BE-B87D-1D79E798776D","renderContextTable":{"__isSmartRef__":true,"id":1994},"eventHandler":{"__isSmartRef__":true,"id":1995},"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1996},"partsBinURL":{"__isSmartRef__":true,"id":1997},"targetName":"Triangle","partItem":{"__isSmartRef__":true,"id":1998},"owner":{"__isSmartRef__":true,"id":1525},"isSelected":false,"__LivelyClassName__":"lively.morphic.PartsBinItem","__SourceModuleName__":"Global.lively.morphic.ScriptingSupport"},"1965":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1966},"derivationIds":[null],"id":"481FA2CD-FBE2-4240-9D1E-FC510C06AABE","renderContextTable":{"__isSmartRef__":true,"id":1971},"eventHandler":{"__isSmartRef__":true,"id":1972},"droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1973},"priorExtent":{"__isSmartRef__":true,"id":1974},"owner":{"__isSmartRef__":true,"id":1964},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1966":{"renderContextTable":{"__isSmartRef__":true,"id":1967},"_ClipMode":"visible","_Extent":{"__isSmartRef__":true,"id":1968},"_Padding":{"__isSmartRef__":true,"id":1969},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1970},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1967":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML"},"1968":{"x":94,"y":94,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1969":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1970":{"x":93,"y":93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1971":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1972":{"morph":{"__isSmartRef__":true,"id":1965},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1973":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1974":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1975":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1976},"derivationIds":[null],"id":"DE904310-1E7B-40F8-9B5E-BEBF198F3577","renderContextTable":{"__isSmartRef__":true,"id":1982},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1983}],"eventHandler":{"__isSmartRef__":true,"id":1985},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1986},"priorExtent":{"__isSmartRef__":true,"id":1987},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1964},"_Visible":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1976":{"_Position":{"__isSmartRef__":true,"id":1977},"renderContextTable":{"__isSmartRef__":true,"id":1978},"_Extent":{"__isSmartRef__":true,"id":1979},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1980},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1981},"_Opacity":0.8,"_BorderRadius":2,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1977":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1978":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1979":{"x":48,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1980":{"x":5,"y":2,"width":0,"height":-2,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1981":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1982":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1983":{"style":{"__isSmartRef__":true,"id":1984},"chunkOwner":{"__isSmartRef__":true,"id":1975},"storedString":"Triangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1984":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1985":{"morph":{"__isSmartRef__":true,"id":1975},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1986":{"x":26,"y":84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1987":{"x":50,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1988":{"_Position":{"__isSmartRef__":true,"id":1989},"renderContextTable":{"__isSmartRef__":true,"id":1990},"_Extent":{"__isSmartRef__":true,"id":1991},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1992},"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":1993},"_BorderRadius":6,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1989":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1991":{"x":100,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1992":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1993":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1994":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1995":{"morph":{"__isSmartRef__":true,"id":1964},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1996":{"x":210,"y":210,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1997":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1998":{"partsSpaceName":"PartsBin/Basic/","name":"Triangle","part":null,"json":null,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"1999":{"position":{"__isSmartRef__":true,"id":2000},"_Extent":{"__isSmartRef__":true,"id":2001},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2002},"_Fill":{"__isSmartRef__":true,"id":2003},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2004},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":2005},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2000":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2001":{"x":538,"y":421.01402102803513,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2002":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2003":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2004":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2005":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2006":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2007":{"x":538,"y":421.01402102803513,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2008":{"sourceObj":{"__isSmartRef__":true,"id":1525},"sourceAttrName":"selectedItem","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"setSelectedPartItem","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2009":{"resizeHeight":true,"resizeWidth":true},"2010":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2011":{"morph":{"__isSmartRef__":true,"id":1525},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2012":{"x":156,"y":38,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2013":{"adjustForNewBounds":{"__isSmartRef__":true,"id":2014},"unselectAll":{"__isSmartRef__":true,"id":2021},"selectPartItem":{"__isSmartRef__":true,"id":2024},"startAddingPartItems":{"__isSmartRef__":true,"id":2027},"addPartItemAsync":{"__isSmartRef__":true,"id":2031},"stopAddingPartItemsAsync":{"__isSmartRef__":true,"id":2035}},"2014":{"varMapping":{"__isSmartRef__":true,"id":2015},"source":"function adjustForNewBounds() {\n/*\n\tthis.adjustForNewBounds()\n*/\n\t$super();\n\tvar bounds = this.innerBounds(),\n\t\tx = bounds.x,\n\t\ty = bounds.y,\n\t\twidth = bounds.width;\n\tthis.submorphs.forEach(function(morph) {\n\t\tvar extent = morph.getExtent();\n\t\tif (extent.x + x > width) {\n\t\t\tx = 0;\n\t\t\ty += extent.y + 5;\n\t\t}\n\t\tmorph.setPosition(pt(x,y))\n\t\tx += extent.x + 5;\n\t})\n}","funcProperties":{"__isSmartRef__":true,"id":2020},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2015":{"this":{"__isSmartRef__":true,"id":1525},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2016}},"2016":{"$super":{"__isSmartRef__":true,"id":2017}},"2017":{"varMapping":{"__isSmartRef__":true,"id":2018},"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":2019},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2018":{"obj":{"__isSmartRef__":true,"id":1525},"name":"adjustForNewBounds"},"2019":{},"2020":{},"2021":{"varMapping":{"__isSmartRef__":true,"id":2022},"source":"function unselectAll() {\n\tthis.submorphs.invoke('showAsNotSelected');\n}","funcProperties":{"__isSmartRef__":true,"id":2023},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2022":{"this":{"__isSmartRef__":true,"id":1525}},"2023":{},"2024":{"varMapping":{"__isSmartRef__":true,"id":2025},"source":"function selectPartItem(item) {\n\tthis.selectedItem = item && item.partItem;\n\tthis.submorphs.without(item).invoke('showAsNotSelected');\n}","funcProperties":{"__isSmartRef__":true,"id":2026},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2025":{"this":{"__isSmartRef__":true,"id":1525}},"2026":{},"2027":{"varMapping":{"__isSmartRef__":true,"id":2028},"source":"function startAddingPartItems(partItems) {\n this.partItemsToBeAdded = partItems.clone();\n this.startStepping(0, 'addPartItemAsync')\n}","funcProperties":{"__isSmartRef__":true,"id":2029},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2028":{"this":{"__isSmartRef__":true,"id":1525}},"2029":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":2030}},"2030":{"isSerializedDate":true,"string":"Fri Jul 01 2011 02:00:58 GMT+0200 (W. Europe Daylight Time)"},"2031":{"varMapping":{"__isSmartRef__":true,"id":2032},"source":"function addPartItemAsync() {\n if (!this.partItemsToBeAdded || this.partItemsToBeAdded.length == 0) {\n this.stopAddingPartItemsAsync();\n return;\n }\n\n var partItem = this.partItemsToBeAdded.shift();\n var morph = partItem.asPartsBinItem();\n this.addMorph(morph);\n this.adjustForNewBounds() \n}","funcProperties":{"__isSmartRef__":true,"id":2033},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2032":{"this":{"__isSmartRef__":true,"id":1525}},"2033":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":2034}},"2034":{"isSerializedDate":true,"string":"Fri Jul 01 2011 02:03:38 GMT+0200 (W. Europe Daylight Time)"},"2035":{"varMapping":{"__isSmartRef__":true,"id":2036},"source":"function stopAddingPartItemsAsync() {\n this.stopStepping();\n delete this.partItemsToBeAdded;\n}","funcProperties":{"__isSmartRef__":true,"id":2037},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2036":{"this":{"__isSmartRef__":true,"id":1525}},"2037":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":2038}},"2038":{"isSerializedDate":true,"string":"Fri Jul 01 2011 02:03:46 GMT+0200 (W. Europe Daylight Time)"},"2039":{"submorphs":[{"__isSmartRef__":true,"id":2040}],"scripts":[],"id":"9F456EC6-CCC5-49F1-BC95-95334C32B55D","shape":{"__isSmartRef__":true,"id":2055},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2071},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2059},"lighterFill":{"__isSmartRef__":true,"id":2072},"label":{"__isSmartRef__":true,"id":2040},"name":"removeCategoryButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2081},"attributeConnections":[{"__isSmartRef__":true,"id":2082}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2083},"owner":{"__isSmartRef__":true,"id":360},"layout":{"__isSmartRef__":true,"id":2084},"renderContextTable":{"__isSmartRef__":true,"id":2085},"eventHandler":{"__isSmartRef__":true,"id":2086},"derivationIds":[1238,"779C0566-5466-4191-9056-3A104C7EFAEC","F8319D79-817B-415B-80D1-ACE5F12CDD01","37900DC1-0689-4E1B-9709-A65C15C40367","399B28D7-03E3-4E38-8710-E7A5F5F513D1","8EA24F2B-6E35-4013-8CCB-18016701673B","C5991ECA-726A-42D6-8AB1-1B6DA1AAD119","7C6FC789-C7D6-482C-906E-5EABA9E0E151","7C90668B-396F-43DB-AB44-3277DA8BE863","CDE8D251-2EED-4992-B316-64B64110C044"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2087},"__LivelyClassName__":"lively.morphic.Button"},"2040":{"submorphs":[],"scripts":[],"id":"EE409167-BA05-404D-81A4-167DACF26090","shape":{"__isSmartRef__":true,"id":2041},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2047},"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2048},"_Padding":{"__isSmartRef__":true,"id":2049},"owner":{"__isSmartRef__":true,"id":2039},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2050},"textChunks":[{"__isSmartRef__":true,"id":2051}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2053},"eventHandler":{"__isSmartRef__":true,"id":2054},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_MinTextHeight":null,"derivationIds":[1239,"0950594A-94D2-49BB-8E22-06789654760D","9E11E76B-89E8-4AF1-8D7F-24952002D1DE","39E0A384-A8F7-4ECE-A3F3-3B39C85B1DBA","7970902A-4F1C-4337-8A61-02D5AEA5697B","DE30399C-D0BE-412E-B0C6-18B37109F841","E311AA2E-9F6A-4DF4-AAD2-6631660E1203","AA4706D6-6736-4F85-80F2-48443DC7DA44","C2A120EC-B8B5-44A6-801B-F8E9FDE230BF","34EB9510-4D09-4B14-8B09-45852E807EEC"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2041":{"position":{"__isSmartRef__":true,"id":2042},"_Extent":{"__isSmartRef__":true,"id":2043},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2044},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2045},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2046},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2042":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2043":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2044":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2045":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2046":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2047":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2048":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2050":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2051":{"style":{"__isSmartRef__":true,"id":2052},"chunkOwner":{"__isSmartRef__":true,"id":2040},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"2052":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2053":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2054":{"morph":{"__isSmartRef__":true,"id":2040},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2055":{"position":{"__isSmartRef__":true,"id":2056},"_Extent":{"__isSmartRef__":true,"id":2057},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2058},"_Fill":{"__isSmartRef__":true,"id":2059},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2069},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2070},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2056":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2057":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2058":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2059":{"stops":[{"__isSmartRef__":true,"id":2060},{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2064},{"__isSmartRef__":true,"id":2066}],"vector":{"__isSmartRef__":true,"id":2068},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2060":{"offset":0,"color":{"__isSmartRef__":true,"id":2061}},"2061":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2062":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2063}},"2063":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2064":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2065}},"2065":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2066":{"offset":1,"color":{"__isSmartRef__":true,"id":2067}},"2067":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2068":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2069":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2070":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2071":{"x":120,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2072":{"stops":[{"__isSmartRef__":true,"id":2073},{"__isSmartRef__":true,"id":2075},{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2079}],"vector":{"__isSmartRef__":true,"id":2068},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2073":{"offset":0,"color":{"__isSmartRef__":true,"id":2074}},"2074":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2075":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2076}},"2076":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2077":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2078}},"2078":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2079":{"offset":1,"color":{"__isSmartRef__":true,"id":2080}},"2080":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2081":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2082":{"sourceObj":{"__isSmartRef__":true,"id":2039},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2039},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2083":{"x":134.06609913216516,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2084":{"moveVertical":false},"2085":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2086":{"morph":{"__isSmartRef__":true,"id":2039},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2087":{"onFire":{"__isSmartRef__":true,"id":2088}},"2088":{"varMapping":{"__isSmartRef__":true,"id":2089},"source":"function onFire() {\n\tthis.get('PartsBinBrowser').removeCategoryInteractively()\n}","funcProperties":{"__isSmartRef__":true,"id":2090},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2089":{"this":{"__isSmartRef__":true,"id":2039}},"2090":{},"2091":{"submorphs":[{"__isSmartRef__":true,"id":2092}],"scripts":[],"id":"09E4DC36-7C1C-4730-A1DE-010DAE3D4BBD","shape":{"__isSmartRef__":true,"id":2107},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2123},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2111},"lighterFill":{"__isSmartRef__":true,"id":2124},"label":{"__isSmartRef__":true,"id":2092},"name":"addCategoryButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2133},"attributeConnections":[{"__isSmartRef__":true,"id":2134}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2135},"owner":{"__isSmartRef__":true,"id":360},"layout":{"__isSmartRef__":true,"id":2136},"renderContextTable":{"__isSmartRef__":true,"id":2137},"eventHandler":{"__isSmartRef__":true,"id":2138},"derivationIds":[1240,"4C2C10AA-3167-4B7D-9518-38AA200B5BC6","03AA66B1-0216-4615-BC50-CD240729363E","E4ECDC08-B9DE-4716-97F1-FA4A9D84B22D","AA637DB5-981E-4875-A449-4FEA2FC1C13F","55DB5207-1834-4135-81B3-4F1837BD85E0","30C8FE48-BA9E-43F9-B4FC-0341EC392ACF","2C20BACF-1CEC-44C2-8F56-12470A7027A9","C650BBE2-143B-4BC5-8EF1-1A524E123AE5","F33FAD3D-DBA2-49AD-84F4-4754F4036D2D"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2139},"__LivelyClassName__":"lively.morphic.Button"},"2092":{"submorphs":[],"scripts":[],"id":"9A387E1D-8E0E-4FF1-ADB8-672BF3B1E9D6","shape":{"__isSmartRef__":true,"id":2093},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2099},"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2100},"_Padding":{"__isSmartRef__":true,"id":2101},"owner":{"__isSmartRef__":true,"id":2091},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2102},"textChunks":[{"__isSmartRef__":true,"id":2103}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2105},"eventHandler":{"__isSmartRef__":true,"id":2106},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_MinTextHeight":null,"derivationIds":[1241,"4FB5FB12-B7A2-4FF0-A0A1-C45C2FAE8274","7FFD3B07-E2DB-4CA7-A11B-327EBF88268D","3AD91228-BC6B-4030-A2C5-4055DF856DE4","B0F178B5-2384-4150-9E8E-F9F630407349","B62BAE98-D2F9-4769-A7A2-64403D5C2C21","F208698E-6181-438F-8C96-4E6B9739967E","DA6A940F-C968-47AC-AC35-59D17BBB71BC","D72F3161-DE66-4A55-827B-FE95CB3855C1","38222CFF-F285-4D8C-8CE9-49E289A8DB01"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2093":{"position":{"__isSmartRef__":true,"id":2094},"_Extent":{"__isSmartRef__":true,"id":2095},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2096},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2097},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2098},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2094":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2095":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2096":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2097":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2098":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2099":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2100":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2101":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2102":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2103":{"style":{"__isSmartRef__":true,"id":2104},"chunkOwner":{"__isSmartRef__":true,"id":2092},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"+","__LivelyClassName__":"lively.morphic.TextChunk"},"2104":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2105":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2106":{"morph":{"__isSmartRef__":true,"id":2092},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2107":{"position":{"__isSmartRef__":true,"id":2108},"_Extent":{"__isSmartRef__":true,"id":2109},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2110},"_Fill":{"__isSmartRef__":true,"id":2111},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2121},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2122},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2108":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2109":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2110":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2111":{"stops":[{"__isSmartRef__":true,"id":2112},{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2116},{"__isSmartRef__":true,"id":2118}],"vector":{"__isSmartRef__":true,"id":2120},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2112":{"offset":0,"color":{"__isSmartRef__":true,"id":2113}},"2113":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2114":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2115}},"2115":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2116":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2117}},"2117":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2118":{"offset":1,"color":{"__isSmartRef__":true,"id":2119}},"2119":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2120":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2122":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2123":{"x":100,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2124":{"stops":[{"__isSmartRef__":true,"id":2125},{"__isSmartRef__":true,"id":2127},{"__isSmartRef__":true,"id":2129},{"__isSmartRef__":true,"id":2131}],"vector":{"__isSmartRef__":true,"id":2120},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2125":{"offset":0,"color":{"__isSmartRef__":true,"id":2126}},"2126":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2127":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2128}},"2128":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2129":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2130}},"2130":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2131":{"offset":1,"color":{"__isSmartRef__":true,"id":2132}},"2132":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2133":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2134":{"sourceObj":{"__isSmartRef__":true,"id":2091},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2091},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2135":{"x":134.06609913216516,"y":19.99799699599498,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2136":{"moveVertical":false},"2137":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2138":{"morph":{"__isSmartRef__":true,"id":2091},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2139":{"onFire":{"__isSmartRef__":true,"id":2140}},"2140":{"varMapping":{"__isSmartRef__":true,"id":2141},"source":"function onFire() {\n\tthis.get('PartsBinBrowser').addCategoryInteractively()\n}","funcProperties":{"__isSmartRef__":true,"id":2142},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2141":{"this":{"__isSmartRef__":true,"id":2091}},"2142":{},"2143":{"submorphs":[],"scripts":[],"id":"0A62A4B6-D49B-43AC-873C-4945461642E9","shape":{"__isSmartRef__":true,"id":2144},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2150},"_MaxTextWidth":466.264,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2151},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":2152},"textChunks":[{"__isSmartRef__":true,"id":2153}],"charsReplaced":"image","lastFindLoc":10,"priorSelectionRange":[5,5],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2155},"renderContextTable":{"__isSmartRef__":true,"id":2156},"eventHandler":{"__isSmartRef__":true,"id":2157},"owner":{"__isSmartRef__":true,"id":360},"isInputLine":true,"attributeConnections":[{"__isSmartRef__":true,"id":2158}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"layout":{"__isSmartRef__":true,"id":2159},"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_MinTextWidth":466.264,"_MinTextHeight":null,"previousSelection":[0,7],"derivationIds":[1242,"A22EEABD-CB29-4C5C-8C48-F766E326BC3F","6A6D6852-0ACD-4AFB-B78D-5C1767FC64BF","9D304E91-4077-4112-BBAA-EA47623B1BD8","178FCB01-0879-494A-9F87-056D582D689E","26B6A9F2-7F9D-4666-AB17-65E0DCD0BA0A","74080715-3CAE-431E-94C4-C98DDDF12BCD","54094B9D-EC29-4193-AE36-80A09F2E996E","3C430B51-E92E-42CF-9F28-9155B1DD75BE","95739011-C77B-4A83-92C9-404E7678E001"],"_Rotation":0,"_Scale":1,"savedTextString":"image","isBeingDragged":false,"__LivelyClassName__":"lively.morphic.Text"},"2144":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2145},"_Extent":{"__isSmartRef__":true,"id":2146},"_BorderWidth":2.3680000000000003,"_BorderColor":{"__isSmartRef__":true,"id":2147},"renderContextTable":{"__isSmartRef__":true,"id":2148},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2149},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2145":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2146":{"x":488,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2147":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2148":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2149":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2150":{"x":154.76802363450668,"y":13.108574301564317,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2151":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2152":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2153":{"style":{"__isSmartRef__":true,"id":2154},"chunkOwner":{"__isSmartRef__":true,"id":2143},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2154":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2155":{"x":488,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2156":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2157":{"morph":{"__isSmartRef__":true,"id":2143},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2158":{"sourceObj":{"__isSmartRef__":true,"id":2143},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"search","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2159":{},"2160":{"submorphs":[],"scripts":[],"id":"A2484EAF-981C-469B-BDB6-8600C8EDC613","shape":{"__isSmartRef__":true,"id":2161},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2167},"_MaxTextWidth":168,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2164},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2168},"textChunks":[{"__isSmartRef__":true,"id":2169}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2171},"renderContextTable":{"__isSmartRef__":true,"id":2172},"eventHandler":{"__isSmartRef__":true,"id":2173},"owner":{"__isSmartRef__":true,"id":360},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":168,"_MinTextHeight":null,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","previousSelection":[0,6],"derivationIds":[1243,"5346A257-CAB6-48DA-B412-636917F28280","E611ABED-3298-4027-89C5-503BFCFE4CA3","27AE40EC-F949-496E-8968-BA32D5E3A431","025BE71F-60AB-4115-B745-04714CE7774C","A2845EF4-117F-4AC3-AD19-E09D78C3C866","B854DD97-9BE2-44B9-BFF5-93AA931B4385","2FEEF365-D284-4F58-A92B-A8E11A69DAA6","41171B50-1911-4C21-A067-633FFB938163","6FF550A7-CD2A-48AA-B67F-9E24ACDEB0C1"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2161":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2162},"_Extent":{"__isSmartRef__":true,"id":2163},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2164},"renderContextTable":{"__isSmartRef__":true,"id":2165},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2166},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2162":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2163":{"x":168,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2164":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2165":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2166":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2167":{"x":154.76802363450668,"y":0.10857430156420378,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2168":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2169":{"style":{"__isSmartRef__":true,"id":2170},"morph":{"__isSmartRef__":true,"id":2160},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":2160},"storedString":"search","__LivelyClassName__":"lively.morphic.TextChunk"},"2170":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2171":{"x":168,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2172":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2173":{"morph":{"__isSmartRef__":true,"id":2160},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2174":{"submorphs":[{"__isSmartRef__":true,"id":2175}],"scripts":[],"id":"6024028C-6415-4ACA-958F-03E88F5F6435","shape":{"__isSmartRef__":true,"id":2190},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2193},"lighterFill":{"__isSmartRef__":true,"id":2206},"label":{"__isSmartRef__":true,"id":2175},"attributeConnections":[{"__isSmartRef__":true,"id":2215},{"__isSmartRef__":true,"id":2240},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244}],"doNotSerialize":["$$fire","$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$fire","$$_Position","$$_Scale","$$_Rotation","$$owner"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2265},"name":"moreButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2266},"renderContextTable":{"__isSmartRef__":true,"id":2267},"eventHandler":{"__isSmartRef__":true,"id":2268},"priorExtent":{"__isSmartRef__":true,"id":2269},"layout":{"__isSmartRef__":true,"id":2270},"derivationIds":[1244,"C5093924-2C24-4CFD-B800-F131C46037DC","AB03EF5D-3025-4CB5-BEC2-E2C320D01FA0","817FF716-6521-4E26-BB87-16FA8F03677B","0F06625C-5212-45B6-A7D7-A07176D879F3","0ED68E94-8AB8-4A9A-A901-B500D901EAED","EF0C5FDE-98A3-45BD-8272-258EA652B5ED","98806A3E-629D-4352-BAA2-478838A8B085","A4F6BA8D-523C-411E-833E-DD810C034DB5","0CB2D4BC-8186-4D2F-BEA4-96BA094171C6"],"_Position":{"__isSmartRef__":true,"id":2271},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"lively.morphic.Button"},"2175":{"submorphs":[],"scripts":[],"id":"4E4DEDD2-89E6-4AF9-B843-EBD2826956CC","shape":{"__isSmartRef__":true,"id":2176},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":45.76199368290986,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2182},"textColor":{"__isSmartRef__":true,"id":2179},"owner":{"__isSmartRef__":true,"id":2174},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2183}],"padding":{"__isSmartRef__":true,"id":2185},"_Padding":{"__isSmartRef__":true,"id":2186},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2187},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":2188},"eventHandler":{"__isSmartRef__":true,"id":2189},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":45.76199368290986,"_MinTextHeight":null,"derivationIds":[1245,"0125C72B-2B04-4872-A0B1-0292F9733F9D","99E6F0CD-AA33-42BD-B6E6-3154AA491D70","DAFB157F-4F83-4402-894A-12549438C7E9","98F29C75-DB67-470E-8F9F-4B7135CE21D9","D4509212-C332-45F0-B768-69E4E0D59537","735C22EC-309F-484F-B643-48229EC6D6E5","72386EBF-DE01-4B53-9084-32841E59EE3C","8AB3572C-52F6-4F6A-B59F-9EFA069C1601","C882377D-6F5C-43E4-AEAB-996ECA6A82A1"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2176":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2177},"_Extent":{"__isSmartRef__":true,"id":2178},"_BorderColor":{"__isSmartRef__":true,"id":2179},"renderContextTable":{"__isSmartRef__":true,"id":2180},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2181},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2177":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2178":{"x":45.76199368290986,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2179":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2180":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2181":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2182":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2183":{"style":{"__isSmartRef__":true,"id":2184},"chunkOwner":{"__isSmartRef__":true,"id":2175},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"more","__LivelyClassName__":"lively.morphic.TextChunk"},"2184":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2185":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2186":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2187":{"x":45.76199368290986,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2189":{"morph":{"__isSmartRef__":true,"id":2175},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2190":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2191},"_Extent":{"__isSmartRef__":true,"id":2192},"_Fill":{"__isSmartRef__":true,"id":2193},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2203},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2204},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2205},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2191":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2192":{"x":45.76199368290986,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2193":{"stops":[{"__isSmartRef__":true,"id":2194},{"__isSmartRef__":true,"id":2196},{"__isSmartRef__":true,"id":2198},{"__isSmartRef__":true,"id":2200}],"vector":{"__isSmartRef__":true,"id":2202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2194":{"offset":0,"color":{"__isSmartRef__":true,"id":2195}},"2195":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2196":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2197}},"2197":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2198":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2199}},"2199":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2200":{"offset":1,"color":{"__isSmartRef__":true,"id":2201}},"2201":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2202":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2203":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2205":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2206":{"stops":[{"__isSmartRef__":true,"id":2207},{"__isSmartRef__":true,"id":2209},{"__isSmartRef__":true,"id":2211},{"__isSmartRef__":true,"id":2213}],"vector":{"__isSmartRef__":true,"id":2202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2207":{"offset":0,"color":{"__isSmartRef__":true,"id":2208}},"2208":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2209":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2210}},"2210":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2211":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2212}},"2212":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2213":{"offset":1,"color":{"__isSmartRef__":true,"id":2214}},"2214":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2215":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"toggleMorePane","visualConnector":{"__isSmartRef__":true,"id":2216},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2216":{"submorphs":[],"scripts":[],"id":7318,"renderContextTable":{"__isSmartRef__":true,"id":2217},"shape":{"__isSmartRef__":true,"id":2218},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":2225},"controlPoints":[{"__isSmartRef__":true,"id":2226},{"__isSmartRef__":true,"id":2229}],"con":{"__isSmartRef__":true,"id":2215},"showsMorphMenu":true,"isCopyMorphRef":true,"morphRefId":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2232},"__LivelyClassName__":"lively.morphic.Path"},"2217":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2218":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2219},{"__isSmartRef__":true,"id":2220}],"renderContextTable":{"__isSmartRef__":true,"id":2221},"_Position":{"__isSmartRef__":true,"id":2222},"_Extent":{"__isSmartRef__":true,"id":2223},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2224},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2219":{"isAbsolute":true,"x":904.602037175973,"y":79.76927803072813,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2220":{"isAbsolute":true,"x":250.59046120629097,"y":65.68480607421958,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2221":{},"2222":{"x":-2,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2223":{"x":720.7977294921875,"y":13.972190856933594,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2224":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2225":{"morph":{"__isSmartRef__":true,"id":2216},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2226":{"morph":{"__isSmartRef__":true,"id":2216},"index":0,"connectedMagnet":{"__isSmartRef__":true,"id":2227},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2227":{"morph":{"__isSmartRef__":true,"id":2174},"position":{"__isSmartRef__":true,"id":2228},"connectedControlPoints":[{"__isSmartRef__":true,"id":2226}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.Magnet"},"2228":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2229":{"morph":{"__isSmartRef__":true,"id":2216},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":2230},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2230":{"morph":{"__isSmartRef__":true,"id":360},"position":{"__isSmartRef__":true,"id":2231},"connectedControlPoints":[{"__isSmartRef__":true,"id":2229}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.Magnet"},"2231":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2232":{"morphMenuItems":{"__isSmartRef__":true,"id":2233}},"2233":{"varMapping":{"__isSmartRef__":true,"id":2234},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2239},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2234":{"this":{"__isSmartRef__":true,"id":2216},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2235}},"2235":{"$super":{"__isSmartRef__":true,"id":2236}},"2236":{"varMapping":{"__isSmartRef__":true,"id":2237},"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":2238},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2237":{"obj":{"__isSmartRef__":true,"id":2216},"name":"morphMenuItems"},"2238":{},"2239":{},"2240":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":2226},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2258}],"oldTransform":{"__isSmartRef__":true,"id":2263},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"2241":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2242":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2243":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2244":{"sourceObj":{"__isSmartRef__":true,"id":2174},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2245},"dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2245":{"source":{"__isSmartRef__":true,"id":2174},"target":{"__isSmartRef__":true,"id":2240}},"2246":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2247":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2248":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2249":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2250},"dependedBy":{"__isSmartRef__":true,"id":2240},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2251},"__LivelyClassName__":"AttributeConnection"},"2250":{"source":{"__isSmartRef__":true,"id":360},"target":{"__isSmartRef__":true,"id":2240}},"2251":{"converter":{"__isSmartRef__":true,"id":2252}},"2252":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2253},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":2254},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2253":{"source":{"__isSmartRef__":true,"id":360},"target":{"__isSmartRef__":true,"id":2240}},"2254":{},"2255":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2256":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2257":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2258":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2240},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2259},"dependedBy":{"__isSmartRef__":true,"id":2240},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2260},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2259":{"source":{"__isSmartRef__":true,"id":211},"target":{"__isSmartRef__":true,"id":2240}},"2260":{"converter":{"__isSmartRef__":true,"id":2261}},"2261":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2259},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":2262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2262":{},"2263":{"d":1.008036120330794,"a":1.008036120330794,"f":79.76927803072813,"e":904.602037175973,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":2264},"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2264":{"a":1.008036120330794,"b":0,"c":0,"d":1.008036120330794,"e":904.602037175973,"f":79.76927803072813,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2265":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2266":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2267":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2268":{"morph":{"__isSmartRef__":true,"id":2174},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2269":{"x":46.754037491637405,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2270":{"moveHorizontal":true},"2271":{"x":648.7977591071475,"y":13.972189758325953,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2272":{"position":{"__isSmartRef__":true,"id":2273},"_Extent":{"__isSmartRef__":true,"id":2274},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2275},"_Fill":{"__isSmartRef__":true,"id":2276},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2277},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2278},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2273":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2274":{"x":701.1842763684606,"y":471.01402102803513,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2275":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2276":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2277":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2278":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2279":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","requiredModules":["lively.PartsBin","apps.DateFormat"],"migrationLevel":4,"comment":"Browser for a Parts repository.","partName":"PartsBinBrowser","changes":[{"__isSmartRef__":true,"id":2280}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2280":{"date":{"__isSmartRef__":true,"id":2281},"author":"markoroeder","message":"Reset to clean copy. Added this.categories to doNotSerialize list.","id":"1D9493E9-B229-4716-8649-F1333D5133D0"},"2281":{"isSerializedDate":true,"string":"Thu Jan 05 2012 15:19:05 GMT+0100 (W. Europe Standard Time)"},"2282":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"categoryName","targetObj":{"__isSmartRef__":true,"id":360},"targetMethodName":"loadPartsOfCategory","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2283":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":2229},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2295},{"__isSmartRef__":true,"id":2296}],"oldTransform":{"__isSmartRef__":true,"id":2301},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"2284":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2285":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2286":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2287":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2288},"dependedBy":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2289},"__LivelyClassName__":"AttributeConnection"},"2288":{"source":{"__isSmartRef__":true,"id":360},"target":{"__isSmartRef__":true,"id":2283}},"2289":{"converter":{"__isSmartRef__":true,"id":2290}},"2290":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2291},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":2292},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2291":{"source":{"__isSmartRef__":true,"id":360},"target":{"__isSmartRef__":true,"id":2283}},"2292":{},"2293":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2294":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2295":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":2283},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2296":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2283},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2297},"dependedBy":{"__isSmartRef__":true,"id":2283},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2298},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2297":{"source":{"__isSmartRef__":true,"id":211},"target":{"__isSmartRef__":true,"id":2283}},"2298":{"converter":{"__isSmartRef__":true,"id":2299}},"2299":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2297},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":2300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2300":{},"2301":{"d":1.008036120330794,"a":1.008036120330794,"f":65.68480607421958,"e":250.59046120629097,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":2302},"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2302":{"a":1.008036120330794,"b":0,"c":0,"d":1.008036120330794,"e":250.59046120629097,"f":65.68480607421958,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2303":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2304":{"x":701.1842763684606,"y":471.01402102803513,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2305":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2306":{"morph":{"__isSmartRef__":true,"id":360},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2307":{"toggleMorePane":{"__isSmartRef__":true,"id":2308}},"2308":{},"2309":{"x":5.684341886080802e-14,"y":21.000000000000007,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2310":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Holger/EventsLimiter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2311":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Holger/EventsLimiter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2312":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Holger/EventsLimiter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2313":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/EmptyElProfesor.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2314":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnConnections.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2315":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/EmptyElProfesor.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2316":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnConnections.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2317":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnLivelyKernel.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2318":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnLivelyKernel.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2319":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnMorphs.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2320":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/EmptyElProfesor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2321":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnConnections.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2322":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnMorphs.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2323":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnLivelyKernel.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2324":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/ElProfesor/ElProfesorOnMorphs.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2325":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomTile.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2326":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomTile.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2327":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TwitterSource.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2328":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomTile.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2329":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TwitterSource.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2330":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataCustomerTile.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2331":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataCustomerTile.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2332":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TwitterSource.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2333":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataCustomerTile.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2334":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImage.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2335":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImage.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2336":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileText.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2337":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileText.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2338":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImage.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2339":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileText.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2340":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileLink.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2341":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataTileSourceSearch.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2342":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileLink.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2343":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataTileSourceSearch.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2344":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomSource.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2345":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileFeed.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2346":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileLink.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2347":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomSource.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2348":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileFeed.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2349":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataTileSourceSearch.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2350":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/AtomSource.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2351":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileFeed.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2352":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/BasicTile.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2353":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataShipperTile.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2354":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/BasicTile.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2355":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataShipperTile.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2356":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImageBase64.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2357":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/BasicTile.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2358":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TweetTile.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2359":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImageBase64.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2360":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/ODataShipperTile.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2361":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TweetTile.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2362":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TileImageBase64.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2363":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tiles/TweetTile.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2364":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2365":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/PublishPartDialog.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2366":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2367":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2368":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2369":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2370":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2371":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2372":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/PublishPartDialog.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2373":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridFactory.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2374":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridWorker.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2375":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridWorker.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2376":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/DummyRegistry.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2377":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridFactory.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2378":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/DummyRegistry.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2379":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridWorker.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2380":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/DummyRegistry.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2381":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Grid/GridFactory.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2382":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Crab.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2383":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/CrazyColorsAgain.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2384":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChineseCheckers.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2385":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChineseCheckers.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2386":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/GridColorArt.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2387":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/GridColorArt.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2388":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChineseCheckers.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2389":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Elephant.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2390":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/GridColorArt.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2391":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Elephant.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2392":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChamaeleonMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2393":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Heart.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2394":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/MonaLisa.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2395":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Pong.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2396":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChamaeleonMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2397":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Pong.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2398":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/MonaLisa.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2399":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Heart.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2400":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Elephant.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2401":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChamaeleonMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2402":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Pong.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2403":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/MonaLisa.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2404":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Heart.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2405":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/FunnyWatcher.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2406":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/FunnyWatcher.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2407":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/HeartsGame.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2408":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/WanderingEye.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2409":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/HeartsGame.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2410":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/WanderingEye.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2411":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/FunnyWatcher.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2412":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ColoredRectCreator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2413":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChatMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2414":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChatMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2415":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ColoredRectCreator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2416":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/HeartsGame.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2417":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/PianoKeyboard.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2418":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Alien.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2419":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/WanderingEye.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2420":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/PianoKeyboard.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2421":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Alien.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2422":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ChatMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2423":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/ColoredRectCreator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2424":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/PianoKeyboard.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2425":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Alien.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2426":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/QuickBrownFox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2427":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/RefactorMan.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2428":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/QuickBrownFox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2429":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/RefactorMan.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2430":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Crab.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2431":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/QuickBrownFox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2432":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/RefactorMan.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2433":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/Crab.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2434":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/CrazyColorsAgain.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2435":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Fun/CrazyColorsAgain.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2436":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle-republished.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2437":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/SandboxBackup.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2438":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ColorfulWindmill.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2439":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/GreenRectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2440":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/SandboxBackup.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2441":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ModifiedGreenRectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2442":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car2.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2443":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ColorfulWindmill.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2444":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/GreenRectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2445":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ModifiedGreenRectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2446":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car2.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2447":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/SandboxBackup.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2448":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ColorfulWindmill.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2449":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/GreenRectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2450":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/ModifiedGreenRectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2451":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car2.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2452":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Orange%20Rectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2453":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Orange%20Rectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2454":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle%20Light%20Blue.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2455":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2456":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/MyRedRectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2457":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle%20Light%20Blue.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2458":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/MyRedRectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2459":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2460":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Orange%20Rectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2461":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle-republished.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2462":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle-republished.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2463":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Rectangle%20Light%20Blue.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2464":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/Car.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2465":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Sandbox/MyRedRectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2466":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FormatXMLCodeSnippet.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2467":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSBenchmarker.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2468":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSBenchmarker.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2469":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FilterText.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2470":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSBenchmarker.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2471":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ColorRect.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2472":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FilterText.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2473":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ColorRect.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2474":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/APIUsageInParts.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2475":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FilterText.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2476":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/APIUsageInParts.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2477":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ColorRect.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2478":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/APIUsageInParts.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2479":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/EfficientLayerActivationPresentation.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2480":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/EfficientLayerActivationPresentation.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2481":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/WordCounter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2482":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/MorphFinder.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2483":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/WordCounter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2484":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/EfficientLayerActivationPresentation.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2485":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ToggleLayer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2486":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/MorphFinder.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2487":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ToggleLayer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2488":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSControl.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2489":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/WordCounter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2490":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSControl.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2491":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/GrayColorChooser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2492":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/MorphFinder.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2493":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ToggleLayer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2494":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/GrayColorChooser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2495":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/ContextJSControl.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2496":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/GrayColorChooser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2497":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FormatXMLCodeSnippet.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2498":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Jens/FormatXMLCodeSnippet.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2499":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTreeMap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2500":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLCirclePacking.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2501":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/WorldMorphTreeMap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2502":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTreeMap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2503":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTree.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2504":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLCirclePacking.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2505":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTree.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2506":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTreeMap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2507":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisStackDrawing.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2508":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLCirclePacking.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2509":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLTree.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2510":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisStackDrawing.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2511":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLSunbursts.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2512":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/TreeMap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2513":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLIndentedTree.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2514":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLSunbursts.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2515":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisStackDrawing.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2516":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLIndentedTree.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2517":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/TreeMap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2518":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisDrawing.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2519":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLSunbursts.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2520":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisDrawing.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2521":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/URLIndentedTree.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2522":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/TreeMap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2523":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/ProtovisDrawing.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2524":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/WorldMorphTreeMap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2525":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Visualization/WorldMorphTreeMap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2526":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LK1Background.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2527":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/WhiteBackground.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2528":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/GrayBackground.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2529":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/WhiteBackground.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2530":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/GrayBackground.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2531":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LivelyBackgroundControl.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2532":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LK1Background.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2533":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LivelyBackgroundControl.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2534":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/WhiteBackground.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2535":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/GrayBackground.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2536":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LK1Background.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2537":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Backgrounds/LivelyBackgroundControl.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2538":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/VersionViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2539":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/TracLink.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2540":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/LatestChangesViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2541":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WhatDidIDo.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2542":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WhatDidIDo.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2543":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WhatDidIDo.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2544":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WikiActivities.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2545":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JournalNavigation.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2546":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WikiActivities.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2547":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JournalNavigation.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2548":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/WikiActivities.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2549":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/RemoveWorldButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2550":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JournalNavigation.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2551":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/RemoveWorldButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2552":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/RemoveWorldButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2553":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/Title.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2554":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/Title.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2555":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/MovePages.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2556":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/MovePages.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2557":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/CommitCounter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2558":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/Title.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2559":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/CommitCounter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2560":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/URLShortener.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2561":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/MovePages.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2562":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JenkinsButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2563":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/URLShortener.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2564":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JenkinsButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2565":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/CommitCounter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2566":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/URLShortener.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2567":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/JenkinsButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2568":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/TracLink.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2569":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/VersionViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2570":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/LatestChangesViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2571":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/VersionViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2572":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/TracLink.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2573":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Wiki/LatestChangesViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2574":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CodePane.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2575":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/NameLabel.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2576":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CodePane.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2577":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/NameLabel.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2578":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CodePane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2579":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/NameLabel.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2580":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/RGBColorChooser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2581":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/RGBColorChooser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2582":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/TabFolder.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2583":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/RGBColorChooser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2584":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/TabFolder.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2585":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/TabFolder.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2586":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ResizeCorner.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2587":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ResizeCorner.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2588":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ResizeCorner.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2589":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressBar.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2590":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressBar.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2591":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/JournalEntry.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2592":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ClipMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2593":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/JournalEntry.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2594":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ClipMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2595":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressBar.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2596":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CloseButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2597":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/LabeledBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2598":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressIndicator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2599":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/LabeledBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2600":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/JournalEntry.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2601":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CloseButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2602":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressIndicator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2603":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ClipMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2604":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/FilterableList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2605":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/FilterableList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2606":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/ProgressIndicator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2607":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/LabeledBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2608":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/CloseButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2609":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Widgets/FilterableList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2610":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/IntegerInput.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2611":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/ReferenceChoice.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2612":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataSelector.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2613":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/IntegerInput.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2614":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/wlsReference.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2615":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/FloatInput.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2616":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/wlsReference.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2617":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/FloatInput.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2618":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/MessageMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2619":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/wlsReference.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2620":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/MessageMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2621":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/FloatInput.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2622":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataForm.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2623":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDisplay.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2624":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataForm.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2625":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDisplay.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2626":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/MessageMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2627":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TextInput.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2628":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataForm.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2629":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TextInput.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2630":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDisplay.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2631":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TableCreator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2632":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TableCreator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2633":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDeclarator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2634":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TextInput.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2635":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDeclarator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2636":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/TableCreator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2637":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DatabaseConnector.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2638":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataDeclarator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2639":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DatabaseConnector.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2640":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DatabaseConnector.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2641":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataReference.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2642":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataReference.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2643":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/BooleanInput.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2644":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataReference.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2645":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/BooleanInput.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2646":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/BooleanInput.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2647":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/ReferenceChoice.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2648":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataSelector.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2649":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/ReferenceChoice.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2650":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/DataSelector.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2651":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DatabaseDemo/IntegerInput.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2652":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HelpfulShortcuts.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2653":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HowConnectWorks.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2654":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelyHelp.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2655":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HelpfulShortcuts.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2656":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/AnnotationPin.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2657":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelysPartsBin.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2658":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/AnnotationPin.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2659":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HowConnectWorks.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2660":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelyHelp.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2661":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HelpfulShortcuts.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2662":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/AnnotationPin.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2663":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelysPartsBin.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2664":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelysPartsBin.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2665":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/HowConnectWorks.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2666":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Documentation/LivelyHelp.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2667":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUVisualization.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2668":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUWorkload.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2669":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUVisualization.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2670":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUWorkload.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2671":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUVisualization.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2672":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Issues/CPUWorkload.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2673":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/TitleTextStyle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2674":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/RotationBehavior.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2675":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/GradientBehavior.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2676":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/SubtitleTextStyle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2677":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/RotationBehavior.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2678":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/SubtitleTextStyle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2679":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/GradientBehavior.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2680":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/RotationBehavior.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2681":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/SubtitleTextStyle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2682":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/NoteTextStyle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2683":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/NoteTextStyle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2684":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ThrobbingBehavior.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2685":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ColorBehavior.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2686":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ThrobbingBehavior.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2687":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ColorBehavior.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2688":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/NoteTextStyle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2689":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/LaTeXHighlighting.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2690":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/InvisibleBehavior.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2691":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/LaTeXHighlighting.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2692":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ColorBehavior.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2693":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/ThrobbingBehavior.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2694":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/InvisibleBehavior.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2695":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/TitleTextStyle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2696":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/TitleTextStyle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2697":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/LaTeXHighlighting.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2698":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/InvisibleBehavior.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2699":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/DroppableBehaviors/GradientBehavior.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2700":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Label.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2701":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Label.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2702":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Slider.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2703":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Button.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2704":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/List.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2705":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Text.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2706":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Slider.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2707":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Text.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2708":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Label.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2709":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/DropDownList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2710":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Slider.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2711":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/ProgressBar.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2712":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/DropDownList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2713":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Text.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2714":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/ProgressBar.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2715":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/DropDownList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2716":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/ProgressBar.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2717":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Rectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2718":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Rectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2719":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/List.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2720":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Button.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2721":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Rectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2722":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/List.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2723":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SketchyInputs/Button.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2724":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationContainer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2725":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationController.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2726":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationContainer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2727":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationController.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2728":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationContainer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2729":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/PresentationController.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2730":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TestSlide.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2731":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TestSlide.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2732":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPLogo.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2733":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPLogo.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2734":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TestSlide.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2735":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlide.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2736":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPLogo.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2737":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWATitleSlide.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2738":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlideOverlay.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2739":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlide.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2740":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlideOverlay.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2741":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWATitleSlide.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2742":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPSWASlideOverlay.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2743":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlide.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2744":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPSWASlideOverlay.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2745":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWASlideOverlay.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2746":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SWATitleSlide.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2747":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SAPSWASlideOverlay.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2748":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TemplateSlide.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2749":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TemplateSlide.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2750":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SlideOverlay.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2751":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/HPITitleSlide.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2752":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/TemplateSlide.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2753":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SlideOverlay.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2754":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/HPITitleSlide.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2755":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/SlideOverlay.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2756":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Presenting/HPITitleSlide.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2757":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/CardStack.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2758":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/Kreis.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2759":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/CardStack.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2760":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/Kreis.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2761":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/CardStack.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2762":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Constantin/Kreis.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2763":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/PrimitiveShapes.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2764":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrows.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2765":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Image.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2766":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/PrimitiveShapes.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2767":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrows.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2768":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Image.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2769":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Text.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2770":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Text.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2771":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Line.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2772":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrows.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2773":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Image.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2774":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Line.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2775":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrowOrange.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2776":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Text.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2777":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrowOrange.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2778":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Ellipse.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2779":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrow.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2780":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Line.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2781":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Ellipse.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2782":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrow.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2783":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrowOrange.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2784":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Ellipse.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2785":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Rectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2786":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Triangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2787":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/LineWithArrow.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2788":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Rectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2789":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Triangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2790":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Star.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2791":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Rectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2792":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Star.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2793":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Triangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2794":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Star.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2795":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Marker.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2796":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Marker.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2797":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Marker.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2798":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Cloud.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2799":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Cloud.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2800":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/PrimitiveShapes.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2801":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Basic/Cloud.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2802":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/List.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2803":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ScriptableButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2804":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ScriptableButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2805":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/DropDownList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2806":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/DropDownList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2807":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ScriptableButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2808":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/DropDownList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2809":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/StartStopButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2810":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/StartStopButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2811":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ComboText.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2812":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/StartStopButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2813":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ComboText.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2814":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Button.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2815":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ComboText.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2816":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Button.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2817":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Spinner.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2818":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Spinner.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2819":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Button.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2820":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Slider.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2821":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Slider.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2822":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Spinner.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2823":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ChoiceButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2824":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/CheckBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2825":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ChoiceButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2826":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/CheckBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2827":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/Slider.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2828":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/ChoiceButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2829":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/CheckBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2830":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/InputField.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2831":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/InputField.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2832":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/InputField.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2833":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/List.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2834":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Inputs/List.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2835":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Journal.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2836":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/TextBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2837":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/TextBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2838":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FixedLabel.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2839":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/WIP.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2840":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotationAndLine.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2841":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FixedLabel.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2842":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/WIP.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2843":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotationAndLine.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2844":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/TextBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2845":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FixedLabel.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2846":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/WIP.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2847":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotationAndLine.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2848":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/PaperMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2849":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/PaperMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2850":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Label.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2851":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Title.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2852":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Label.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2853":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/MetaNoteText.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2854":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/MetaNoteText.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2855":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Title.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2856":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/PaperMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2857":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Label.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2858":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/MetaNoteText.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2859":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Title.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2860":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Translator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2861":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Translator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2862":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Cool.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2863":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Cool.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2864":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Translator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2865":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FontList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2866":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Cool.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2867":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FontList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2868":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotation.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2869":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotation.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2870":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/FontList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2871":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Journal.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2872":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/Journal.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2873":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Text/OrangeAnnotation.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2874":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Math/MathMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2875":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Math/MathMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2876":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Math/MathMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2877":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/MP2011WS/MetricsView.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2878":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/MP2011WS/MetricsView.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2879":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/MP2011WS/MetricsView.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2880":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Measurements%20Workspace.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2881":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/OfflineIndicator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2882":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Result%20Workspace.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2883":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/OfflineIndicator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2884":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2885":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs1.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2886":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Result%20Workspace.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2887":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/OfflineIndicator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2888":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Measurements%20Workspace.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2889":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Measurements%20Workspace.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2890":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2891":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs1.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2892":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2893":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/RecreateIDs1.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2894":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Martin/Result%20Workspace.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2895":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectTracer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2896":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/CurveInspector.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2897":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/TextInspector.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2898":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Debugger.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2899":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Debugger.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2900":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Debugger.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2901":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/FPSMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2902":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectAreaTracer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2903":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/FPSMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2904":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectAreaTracer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2905":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/FPSMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2906":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ModuleDependencyVis.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2907":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectAreaTracer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2908":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ModuleDependencyVis.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2909":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ModuleDependencyVis.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2910":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PropertySheet.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2911":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PropertySheet.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2912":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Benchmarker.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2913":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Benchmarker.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2914":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PropertySheet.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2915":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/AlternativeObjectDiffer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2916":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectDiffer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2917":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectSerializationGraph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2918":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/AlternativeObjectDiffer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2919":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/Benchmarker.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2920":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectDiffer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2921":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectSerializationGraph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2922":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/AlternativeObjectDiffer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2923":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectDiffer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2924":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectSerializationGraph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2925":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/SerializationGraph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2926":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/SerializationGraph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2927":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PasteInspector.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2928":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PasteInspector.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2929":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/SerializationGraph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2930":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectTracer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2931":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/ObjectTracer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2932":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/PasteInspector.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2933":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/CurveInspector.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2934":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/TextInspector.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2935":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/CurveInspector.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2936":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Debugging/TextInspector.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2937":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/RobertsTransportationMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2938":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/JensTransportationMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2939":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/RobertsTransportationMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2940":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/JensTransportationMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2941":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/RobertsTransportationMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2942":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Robert/JensTransportationMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2943":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Pictures/SAPLogo.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2944":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Pictures/LivelyLogo.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2945":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Pictures/LivelyLogo.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2946":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Pictures/LivelyLogo.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2947":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ModulePart.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2948":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/MethodFinder.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2949":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ClassBrowser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2950":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ModulePart.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2951":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2952":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2953":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ColorReplacer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2954":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ServerSearch.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2955":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2956":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ColorReplacer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2957":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ServerSearch.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2958":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2959":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2960":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ColorReplacer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2961":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ServerSearch.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2962":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/StyleEditor.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2963":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2964":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser2.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2965":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TestRunner.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2966":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/StyleEditor.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2967":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser2.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2968":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TestRunner.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2969":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ObjectEditor.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2970":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/StyleEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2971":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/PartsBinBrowser2.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2972":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ObjectEditor.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2973":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TestRunner.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2974":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/SearchSourceCode.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2975":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/DropboxBrowser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2976":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/SearchSourceCode.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2977":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/DropboxBrowser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2978":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2979":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/DropboxBrowser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2980":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/SearchSourceCode.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2981":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextAttributePanel.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2982":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/IFrameLoader.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2983":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextAttributePanel.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2984":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextEditor.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2985":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/IFrameLoader.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2986":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextEditor.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2987":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextAttributePanel.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2988":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/WindowFinder.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2989":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/LivelyTweets.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2990":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/IFrameLoader.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2991":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ErrorStackViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2992":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/WindowFinder.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2993":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/LivelyTweets.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2994":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/TextEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2995":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ErrorStackViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2996":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/WindowFinder.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2997":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/LivelyTweets.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2998":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/MethodFinder.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2999":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ErrorStackViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3000":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ClassBrowser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3001":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/MethodFinder.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3002":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ClassBrowser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3003":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/ModulePart.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3004":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/CodeSnippets/ConvertPartsBinLogos.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3005":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/CodeSnippets/ConvertPartsBinLogos.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3006":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/CodeSnippets/ConvertPartsBinLogos.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3007":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/GoogleMaps.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3008":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/AddressExtractor.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3009":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/AddressExtractor.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3010":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/GoogleMaps.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3011":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/USMap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3012":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/WorldMap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3013":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/USMap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3014":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/WorldMap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3015":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/AddressExtractor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3016":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/USMap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3017":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/WorldMap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3018":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Maps/GoogleMaps.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3019":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/BloomFilter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3020":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/Prototype%20Inheritance.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3021":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/BloomFilter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3022":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/ExampleSWDObject%20%20%20%20.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3023":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/Prototype%20Inheritance.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3024":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/ExampleSWDObject%20%20%20%20.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3025":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/BloomFilter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3026":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/Prototype%20Inheritance.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3027":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/SWD2011/ExampleSWDObject%20%20%20%20.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3028":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/CollapsiblePanel.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3029":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/FontChooserDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3030":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/WordCounter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3031":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/ColorField.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3032":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/MetaNoteText.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3033":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/Text.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3034":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/ColorField.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3035":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/DiffExample.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3036":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/FontChooserComboBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3037":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/Text.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3038":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/DiffExample.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3039":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/ColorField.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3040":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/FontChooserComboBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3041":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/StyleEditor1.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3042":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/StyleEditor2.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3043":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/DiffExample.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3044":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/Text.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3045":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VideoCodecTester.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3046":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VideoCodecTester.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3047":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/Cool.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3048":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VideoCodecTester.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3049":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VersionDiffer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3050":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/SAPLogo.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3051":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VersionDiffer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3052":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/CollapsiblePanel.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3053":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/FontChooserDialog.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3054":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/CollapsiblePanel.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3055":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/WordCounter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3056":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/VersionDiffer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3057":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/NewWorld/WordCounter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3058":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONPrinter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3059":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Iterator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3060":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Timer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3061":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONConverter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3062":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Timer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3063":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/TimerWithDisplay.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3064":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONConverter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3065":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONPrinter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3066":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/TimerWithDisplay.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3067":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Timer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3068":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONConverter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3069":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Iterator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3070":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/TimerWithDisplay.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3071":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/Iterator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3072":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Scripting/JSONPrinter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3073":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/CommitMessageTest.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3074":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestEllipse.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3075":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/JensContent.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3076":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestObjectDice.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3077":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/CommitMessageTest.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3078":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestEllipse.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3079":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/JensContent.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3080":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestObjectDice.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3081":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/JensContent.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3082":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/CommitMessageTest.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3083":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestEllipse.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3084":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tests/TestObjectDice.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3085":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/GrabbingControl.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3086":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/DraggingControl.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3087":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/GrabbingControl.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3088":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/DraggingControl.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3089":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/DraggingControl.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3090":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Controls/GrabbingControl.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3091":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/DatabaseContainer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3092":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataBrowser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3093":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataSource.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3094":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataBrowser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3095":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/SQLiteViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3096":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/SQLiteViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3097":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/DatabaseContainer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3098":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/DatabaseContainer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3099":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataSource.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3100":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/SQLiteViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3101":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataSource.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3102":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Database/ODataBrowser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3103":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/WorldMenu.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3104":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TouchList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3105":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TouchList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3106":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/ShadowButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3107":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Slider.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3108":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/WorldMenu.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3109":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/HoldIndicator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3110":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/LoadingMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3111":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/ShadowButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3112":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Text.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3113":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Slider.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3114":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TouchList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3115":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/HoldIndicator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3116":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/LoadingMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3117":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/MultiButton.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3118":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/PartsBinBrowser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3119":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Text.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3120":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/ShadowButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3121":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/PartsBinBrowser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3122":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/MultiButton.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3123":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TextField.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3124":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Slider.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3125":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/LoadingMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3126":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/HoldIndicator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3127":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TextField.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3128":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/Text.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3129":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/PartsBinBrowser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3130":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/MultiButton.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3131":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/TextField.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3132":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/iPad%20Widgets/WorldMenu.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3133":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffing%20status%20indicator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3134":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/onlineChecker.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3135":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Flap.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3136":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/VoteMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3137":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffing%20status%20indicator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3138":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Flap.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3139":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/VoteMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3140":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Flap.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3141":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/VoteMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3142":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3143":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3144":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3145":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStory.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3146":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDestroyer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3147":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HyperCard.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3148":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStory.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3149":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDestroyer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3150":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HyperCard.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3151":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Blog.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3152":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/TestMorph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3153":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Blog.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3154":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStory.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3155":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDestroyer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3156":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryBoard.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3157":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/DatabaseChooser.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3158":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/TestMorph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3159":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HyperCard.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3160":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryBoard.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3161":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/DatabaseChooser.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3162":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDiffViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3163":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/Blog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3164":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/TestMorph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3165":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDiffViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3166":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/DatabaseChooser.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3167":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryBoard.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3168":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffViewer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3169":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/NameSign.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3170":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/UserStoryDiffViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3171":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffViewer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3172":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/NameSign.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3173":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HCTextField.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3174":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/BlogEntry.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3175":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HCTextField.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3176":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffViewer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3177":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/BlogEntry.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3178":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/NameSign.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3179":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/onlineChecker.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3180":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/HCTextField.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3181":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/onlineChecker.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3182":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/BlogEntry.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3183":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/BP2012/MorphDiffing%20status%20indicator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3184":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/LogSearch.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3185":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CPUData.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3186":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/NodeJSControl.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3187":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CPUData.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3188":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/NodeJSControl.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3189":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CommandLine.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3190":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerCommands.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3191":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CPUData.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3192":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CommandLine.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3193":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerCommands.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3194":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/NodeJSControl.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3195":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerPart.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3196":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/CommandLine.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3197":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/JSRemoteServerWorkspace.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3198":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerPart.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3199":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerCommands.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3200":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/JSRemoteServerWorkspace.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3201":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/FibonacciPart.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3202":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/ServerPart.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3203":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/JSRemoteServerWorkspace.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3204":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/FibonacciPart.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3205":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/LogSearch.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3206":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/LogSearch.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3207":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Server/FibonacciPart.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3208":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/SillyClock.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3209":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Windmill.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3210":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Windmill.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3211":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Windmill.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3212":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/HighscoreExample.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3213":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/FrameRateGraph.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3214":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/HighscoreExample.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3215":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/FrameRateGraph.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3216":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Clock.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3217":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Clock.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3218":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/HighscoreExample.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3219":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RedRectangle.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3220":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/FrameRateGraph.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3221":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RedRectangle.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3222":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/Clock.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3223":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/KClock.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3224":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RedRectangle.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3225":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/KClock.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3226":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/ArchitectureOverview.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3227":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/ArchitectureOverview.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3228":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CrabsResults.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3229":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/KClock.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3230":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CrabsResults.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3231":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/ArchitectureOverview.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3232":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RotatingStar.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3233":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CurrencyConverter.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3234":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/TestWidget.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3235":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CrabsResults.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3236":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RotatingStar.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3237":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CurrencyConverter.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3238":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/TestWidget.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3239":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/RotatingStar.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3240":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/CurrencyConverter.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3241":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/LivelyEngine.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3242":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/TestWidget.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3243":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/LivelyEngine.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3244":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/LivelyEngine.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3245":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/SillyClock.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3246":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Demos/SillyClock.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3247":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/TestObject.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3248":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/TestObject.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3249":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/morphic.js/MinimalWorld.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3250":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/morphic.js/MinimalWorld.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3251":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/morphic.js/MinimalWorld.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3252":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/VBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3253":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/VBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3254":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TabContainer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3255":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/JournalBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3256":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/VBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3257":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/JournalBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3258":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/JournalBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3259":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/FancyList.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3260":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/FancyList.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3261":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/HBox.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3262":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/LayoutConfigurator.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3263":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TilePane.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3264":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/HBox.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3265":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/LayoutConfigurator.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3266":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/FancyList.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3267":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TilePane.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3268":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/LayoutConfigurator.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3269":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/HBox.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3270":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TilePane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3271":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TabContainer.metainfo","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3272":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Layout/TabContainer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3273":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/TestObject.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3274":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":3275},"reloadEverything":{"__isSmartRef__":true,"id":3283},"ensureCategories":{"__isSmartRef__":true,"id":3287},"updateCategoriesDictFromPartsBin":{"__isSmartRef__":true,"id":3291},"updateCategoryList":{"__isSmartRef__":true,"id":3295},"defaultPartsBinURL":{"__isSmartRef__":true,"id":3299},"reset":{"__isSmartRef__":true,"id":3303},"setupConnections":{"__isSmartRef__":true,"id":3307},"loadPartsOfCategory":{"__isSmartRef__":true,"id":3311},"removeParts":{"__isSmartRef__":true,"id":3315},"getPartsSpaceForCategory":{"__isSmartRef__":true,"id":3319},"addMorphsForPartItems":{"__isSmartRef__":true,"id":3323},"getURLForCategoryNamed":{"__isSmartRef__":true,"id":3327},"setSelectedPartItem":{"__isSmartRef__":true,"id":3331},"makeUpPartNameFor":{"__isSmartRef__":true,"id":3335},"openPart":{"__isSmartRef__":true,"id":3339},"interactivelyRemoveSelectedPartItem":{"__isSmartRef__":true,"id":3343},"loadAndOpenSelectedPartItem":{"__isSmartRef__":true,"id":3347},"addCategory":{"__isSmartRef__":true,"id":3351},"addCategoryInteractively":{"__isSmartRef__":true,"id":3355},"addExternalCategory":{"__isSmartRef__":true,"id":3359},"removeCategory":{"__isSmartRef__":true,"id":3363},"removeCategoryInteractively":{"__isSmartRef__":true,"id":3367},"interactivelyMoveSelectedPartItem":{"__isSmartRef__":true,"id":3371},"setMetaInfoOfSelectedItem":{"__isSmartRef__":true,"id":3375},"saveCommentForSelectedPartItem":{"__isSmartRef__":true,"id":3379},"addPartsOfCategory":{"__isSmartRef__":true,"id":3383},"onLoadLatest":{"__isSmartRef__":true,"id":3387},"onLoadAll":{"__isSmartRef__":true,"id":3391},"onSearch":{"__isSmartRef__":true,"id":3395},"addPartsFromURLs":{"__isSmartRef__":true,"id":3399},"search":{"__isSmartRef__":true,"id":3403},"showMsg":{"__isSmartRef__":true,"id":3407},"toggleMorePane":{"__isSmartRef__":true,"id":3411},"interactivelyCopySelectedPartItem":{"__isSmartRef__":true,"id":3415},"partsBinUrl":{"__isSmartRef__":true,"id":3419},"partsBinURL":{"__isSmartRef__":true,"id":3423},"commitLogString":{"__isSmartRef__":true,"id":3427},"showCommits":{"__isSmartRef__":true,"id":3431},"setShareLink":{"__isSmartRef__":true,"id":3435},"setSelectedPartVersions":{"__isSmartRef__":true,"id":3439}},"3275":{"varMapping":{"__isSmartRef__":true,"id":3276},"source":"function onLoadFromPartsBin() {\n $super();\n this.reloadEverything();\n}","funcProperties":{"__isSmartRef__":true,"id":3281},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3276":{"this":{"__isSmartRef__":true,"id":360},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3277}},"3277":{"$super":{"__isSmartRef__":true,"id":3278}},"3278":{"varMapping":{"__isSmartRef__":true,"id":3279},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3280},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3279":{"obj":{"__isSmartRef__":true,"id":360},"name":"onLoadFromPartsBin"},"3280":{},"3281":{"timestamp":{"__isSmartRef__":true,"id":3282},"tags":[]},"3282":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3283":{"varMapping":{"__isSmartRef__":true,"id":3284},"source":"function reloadEverything() {\n this.setSelectedPartItem(null)\n this.updateCategoriesDictFromPartsBin();\n this.addCategory(\"*latest*\", true);\n this.addCategory(\"*all*\", true);\n this.addCategory(\"*search*\", true);\n}","funcProperties":{"__isSmartRef__":true,"id":3285},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3284":{"this":{"__isSmartRef__":true,"id":360}},"3285":{"timestamp":{"__isSmartRef__":true,"id":3286},"tags":[]},"3286":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:58 GMT+0100 (W. Europe Standard Time)"},"3287":{"varMapping":{"__isSmartRef__":true,"id":3288},"source":"function ensureCategories() {\n if (!this.categories)\n this.categories = {uncategorized: 'PartsBin/'};\n}","funcProperties":{"__isSmartRef__":true,"id":3289},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3288":{"this":{"__isSmartRef__":true,"id":360}},"3289":{"timestamp":{"__isSmartRef__":true,"id":3290},"tags":[]},"3290":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3291":{"varMapping":{"__isSmartRef__":true,"id":3292},"source":"function updateCategoriesDictFromPartsBin() { \n this.ensureCategories();\n var webR = new WebResource(this.partsBinURL());\n webR.beAsync();\n \n var that = this;\n var callback = function(collections) {\n collections.forEach(function(dir) {\n var unescape = Global.urlUnescape || Global.unescape,\n unescaped = unescape(dir.getURL().filename()),\n name = unescaped.replace(/\\/$/,\"\");\n that.categories[name] = that.partsBinURL().withFilename(unescaped);\n });\n that.updateCategoryList(that.categoryName);\n }\n connect(webR, 'subCollections', {cb: callback}, 'cb', {\n updater: function($upd, value) {\n if (!(this.sourceObj.status && this.sourceObj.status.isDone())) return;\n if (!value) return;\n $upd(value);\n },\n });\n webR.getSubElements();\n}","funcProperties":{"__isSmartRef__":true,"id":3293},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3292":{"this":{"__isSmartRef__":true,"id":360}},"3293":{"timestamp":{"__isSmartRef__":true,"id":3294},"tags":[]},"3294":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:58 GMT+0100 (W. Europe Standard Time)"},"3295":{"varMapping":{"__isSmartRef__":true,"id":3296},"source":"function updateCategoryList(optCategoryName) {\n this.get('categoryList').updateList(\n\tProperties.own(this.categories).sortBy(function(name) { return name.toLowerCase()}));\n this.get('categoryList').setSelection(optCategoryName)\n}","funcProperties":{"__isSmartRef__":true,"id":3297},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3296":{"this":{"__isSmartRef__":true,"id":360}},"3297":{"timestamp":{"__isSmartRef__":true,"id":3298},"tags":[]},"3298":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3299":{"varMapping":{"__isSmartRef__":true,"id":3300},"source":"function defaultPartsBinURL() {\n return URL.codeBase.withFilename('PartsBin/');\n}","funcProperties":{"__isSmartRef__":true,"id":3301},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3300":{"this":{"__isSmartRef__":true,"id":360}},"3301":{"timestamp":{"__isSmartRef__":true,"id":3302},"tags":[]},"3302":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:28:33 GMT+0100 (W. Europe Standard Time)"},"3303":{"varMapping":{"__isSmartRef__":true,"id":3304},"source":"function reset() {\n this.connections = {toggleMorePane: {}} \n this.setSelectedPartItem(null);\n delete this.categories;\n this.getPartsBinMetaInfo().requiredModules= ['lively.PartsBin', 'apps.DateFormat'] \n this.get('categoryList').updateList([]);\n this.get('partsBinContents').removeAllMorphs();\n this.get('searchText').setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":3305},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3304":{"this":{"__isSmartRef__":true,"id":360}},"3305":{"timestamp":{"__isSmartRef__":true,"id":3306},"user":"jenslincke","tags":[]},"3306":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:28:27 GMT+0100 (W. Europe Standard Time)"},"3307":{"varMapping":{"__isSmartRef__":true,"id":3308},"source":"function setupConnections() {\n connect(this.closeButton, 'fire', this, 'remove')\n connect(this.addCategoryButton, 'fire', this, 'addCategoryInteractively')\n connect(this.get('removeCategoryButton'), 'fire', this, 'removeCategoryInteractively')\n connect(this.get('categoryList'), 'selection', this, 'categoryName')\n connect(this, 'categoryName', this, 'loadPartsOfCategory')\n\n connect(this.get('partsBinContents'), 'selectedItem', this, 'setSelectedPartItem')\n\n connect(this.get('reloadButton'), \"fire\", this, \"reloadEverything\")\n\n connect(this.get('loadPartButton'), \"fire\", this, \"loadAndOpenSelectedPartItem\")\n\n connect(this.get('removePartButton'), \"fire\", this, \"interactivelyRemoveSelectedPartItem\")\n\n connect(this.get('movePartButton'), \"fire\", this, \"interactivelyMoveSelectedPartItem\")\n connect(this.get('copyPartButton'), \"fire\", this, \"interactivelyCopySelectedPartItem\")\n\n connect(this.get('selectedPartComment'), \"savedTextString\", this, \"saveCommentForSelectedPartItem\")\n}","funcProperties":{"__isSmartRef__":true,"id":3309},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3308":{"this":{"__isSmartRef__":true,"id":360}},"3309":{"timestamp":{"__isSmartRef__":true,"id":3310},"tags":[]},"3310":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3311":{"varMapping":{"__isSmartRef__":true,"id":3312},"source":"function loadPartsOfCategory(categoryName) {\n this.removeParts();\n this.setSelectedPartItem(null);\n if (!categoryName) return;\n var webR;\n if (categoryName == \"*all*\") {\n this.showMsg(\"loading all...\");\n webR = new WebResource(this.partsBinURL()).beAsync();\n lively.bindings.connect(webR, 'subDocuments', this, 'onLoadAll');\n webR.getSubElements(10)\n } else if (categoryName == \"*latest*\") {\n this.showMsg(\"loading latest...\");\n webR = new WebResource(this.partsBinURL()).beAsync();\n lively.bindings.connect(webR, 'contentDocument', this, 'onLoadLatest');\n webR.propfind('infinity')\n } else if (categoryName == \"*search*\") {\n this.showMsg(\"searching...\");\n webR = new WebResource(this.partsBinURL()).beAsync();\n lively.bindings.connect(webR, 'subDocuments', this, 'allURLs', {\n converter: function(subDocuments) {\n return subDocuments.invoke('getURL')\n }\n });\n lively.bindings.connect(this, 'allURLs', this, 'onSearch', {\n removeAfterUpdate: true});\n webR.getSubElements(10)\n } else {\n this.addPartsOfCategory(categoryName)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3313},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3312":{"this":{"__isSmartRef__":true,"id":360}},"3313":{"timestamp":{"__isSmartRef__":true,"id":3314},"tags":[]},"3314":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:58 GMT+0100 (W. Europe Standard Time)"},"3315":{"varMapping":{"__isSmartRef__":true,"id":3316},"source":"function removeParts() {\n this.get('partsBinContents').submorphs.clone().invoke('remove');\n}","funcProperties":{"__isSmartRef__":true,"id":3317},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3316":{"this":{"__isSmartRef__":true,"id":360}},"3317":{"timestamp":{"__isSmartRef__":true,"id":3318},"tags":[]},"3318":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3319":{"varMapping":{"__isSmartRef__":true,"id":3320},"source":"function getPartsSpaceForCategory(categoryName) {\n var url = this.getURLForCategoryNamed(categoryName);\n return lively.PartsBin.partsSpaceWithURL(url);\n}","funcProperties":{"__isSmartRef__":true,"id":3321},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3320":{"this":{"__isSmartRef__":true,"id":360}},"3321":{"timestamp":{"__isSmartRef__":true,"id":3322},"tags":[]},"3322":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3323":{"varMapping":{"__isSmartRef__":true,"id":3324},"source":"function addMorphsForPartItems(partItems, doNotSort) {\n this.removeParts();\n if (!doNotSort) {\n partItems = partItems.sortBy(function(ea) {\n return ea.name.toLowerCase() \n });\n }\n\n var pContents = this.get('partsBinContents');\n pContents.stopAddingPartItemsAsync();\n pContents.startAddingPartItems(partItems);\n}","funcProperties":{"__isSmartRef__":true,"id":3325},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3324":{"this":{"__isSmartRef__":true,"id":360}},"3325":{"timestamp":{"__isSmartRef__":true,"id":3326},"tags":[]},"3326":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:26:53 GMT+0100 (W. Europe Standard Time)"},"3327":{"varMapping":{"__isSmartRef__":true,"id":3328},"source":"function getURLForCategoryNamed(categoryName) {\n var relative = this.categories[categoryName];\n if (!relative) return null;\n return URL.ensureAbsoluteCodeBaseURL(relative).withRelativePartsResolved()\n}","funcProperties":{"__isSmartRef__":true,"id":3329},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3328":{"this":{"__isSmartRef__":true,"id":360}},"3329":{"timestamp":{"__isSmartRef__":true,"id":3330},"tags":[]},"3330":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3331":{"varMapping":{"__isSmartRef__":true,"id":3332},"source":"function setSelectedPartItem(item) {\n this.selectedPartItem = item;\n this.get('selectedPartComment').textString = '';\n this.get('selectedPartVersions').updateList(item ? ['Loading versions...']: []);\n this.get('selectedPartVersions').setSelection(null);\n if (!item) {\n this.get('selectedPartName').textString = 'nothing selected'\n this.get('selectedPartSpaceName').textString = ''\n\treturn;\n }\n this.get('selectedPartName').textString = item.name\n this.get('selectedPartSpaceName').textString = item.partsSpaceName\n\n // load versions\n connect(item, 'partVersions', this, 'setSelectedPartVersions');\n item.loadPartVersions(true);\n\n // load meta info\n connect(item, 'loadedMetaInfo', this, 'setMetaInfoOfSelectedItem');\n \n this.setShareLink(item);\n\n item.loadPartMetaInfo(true);\n}","funcProperties":{"__isSmartRef__":true,"id":3333},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3332":{"this":{"__isSmartRef__":true,"id":360}},"3333":{"timestamp":{"__isSmartRef__":true,"id":3334},"user":"jenslincke","tags":[]},"3334":{"isSerializedDate":true,"string":"Tue Jan 31 2012 19:34:13 GMT+0100 (W. Europe Standard Time)"},"3335":{"varMapping":{"__isSmartRef__":true,"id":3336},"source":"function makeUpPartNameFor(name) {\n if (!$morph(name)) return name;\n var i = 2;\n while($morph(name + i)) { i++ }\n return name + i;\n}","funcProperties":{"__isSmartRef__":true,"id":3337},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3336":{"this":{"__isSmartRef__":true,"id":360}},"3337":{"timestamp":{"__isSmartRef__":true,"id":3338},"tags":[]},"3338":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3339":{"varMapping":{"__isSmartRef__":true,"id":3340},"source":"function openPart(partMorph) {\n partMorph.setName(this.makeUpPartNameFor(partMorph.getName()));\n lively.morphic.World.current().firstHand().grabMorph(partMorph, null);\n if(partMorph.onCreateFromPartsBin) partMorph.onCreateFromPartsBin();\n partMorph.setPosition(pt(0,0));\n}","funcProperties":{"__isSmartRef__":true,"id":3341},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3340":{"this":{"__isSmartRef__":true,"id":360}},"3341":{"timestamp":{"__isSmartRef__":true,"id":3342},"tags":[]},"3342":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3343":{"varMapping":{"__isSmartRef__":true,"id":3344},"source":"function interactivelyRemoveSelectedPartItem(partMorph) {\n var item = this.selectedPartItem;\n if (!item) return;\n this.world().confirm(\"really delete \" + item.name + \" in PartsBin?\", function(answer) {\n\tif (!answer) return;\n\titem.del();\n\tthis.reloadEverything();\n\talertOK(\"deleted \" + item.name);\n }.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":3345},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3344":{"this":{"__isSmartRef__":true,"id":360}},"3345":{"timestamp":{"__isSmartRef__":true,"id":3346},"tags":[]},"3346":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3347":{"varMapping":{"__isSmartRef__":true,"id":3348},"source":"function loadAndOpenSelectedPartItem(partMorph) {\n var item = this.selectedPartItem;\n if (!item) return;\n connect(item, 'part', this, 'openPart');\n var selectedVersion = this.get('selectedPartVersions').selection,\n\trev = selectedVersion ? selectedVersion.rev : null;\n item.loadPart(true, null, rev);\n alert('loading ' + item.name + '...');\n}","funcProperties":{"__isSmartRef__":true,"id":3349},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3348":{"this":{"__isSmartRef__":true,"id":360}},"3349":{"timestamp":{"__isSmartRef__":true,"id":3350},"tags":[]},"3350":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3351":{"varMapping":{"__isSmartRef__":true,"id":3352},"source":"function addCategory(categoryName, doNotUpdate) {\n if (!categoryName.startsWith(\"*\")) {\n var url = this.partsBinURL().withFilename(categoryName);\n this.addExternalCategory(categoryName, url, true);\n } else {\n this.categories[categoryName] = {isSpecialCategory: true};\n if (!doNotUpdate) {\n this.updateCategoryList(categoryName);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3353},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3352":{"this":{"__isSmartRef__":true,"id":360}},"3353":{"timestamp":{"__isSmartRef__":true,"id":3354},"tags":[]},"3354":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:58 GMT+0100 (W. Europe Standard Time)"},"3355":{"varMapping":{"__isSmartRef__":true,"id":3356},"source":"function addCategoryInteractively() {\n var partsBin = this, world = this.world();\n world.prompt('Name of new category?', function(categoryName) {\n if (!categoryName || categoryName == '') {\n\t alert('no category created!')\n\t return;\n\t}\n partsBin.addCategory(categoryName)\n });\n}","funcProperties":{"__isSmartRef__":true,"id":3357},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3356":{"this":{"__isSmartRef__":true,"id":360}},"3357":{"timestamp":{"__isSmartRef__":true,"id":3358},"tags":[]},"3358":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3359":{"varMapping":{"__isSmartRef__":true,"id":3360},"source":"function addExternalCategory(categoryName, url, createPath) {\n url = url.asDirectory();\n this.categories[categoryName] = url;\n if (createPath) {\n this.getPartsSpaceForCategory(categoryName).ensureExistance();\n }\n this.updateCategoryList(categoryName)\n}","funcProperties":{"__isSmartRef__":true,"id":3361},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3360":{"this":{"__isSmartRef__":true,"id":360}},"3361":{"timestamp":{"__isSmartRef__":true,"id":3362},"tags":[]},"3362":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3363":{"varMapping":{"__isSmartRef__":true,"id":3364},"source":"function removeCategory(categoryName) {\n var url = this.getURLForCategoryNamed(categoryName);\n if (!url) {\n alert('No category ' + categoryName + ' exists! Doing nothing')\n\treturn;\n }\n var webR = new WebResource(url);\n if (!webR.exists()) {\n alert('Does not exist: ' + url);\n\tdelete this.categories[categoryName];\n\tlively.PartsBin.removePartsSpace(name);\n\tthis.updateCategoryList();\n\treturn\n }\n webR.getSubElements()\n if (!webR.subDocuments || webR.subDocuments.length > 0 ||\n !webR.subCollections || webR.subCollections.length > 0) {\n alert('Will not remove directory ' + url + ' because it is not empty')\n } else {\n webR.del();\n alertOK('Removed ' + categoryName + ' url ' + url);\n }\n delete this.categories[categoryName];\n lively.PartsBin.removePartsSpace(name);\n this.updateCategoryList();\n}","funcProperties":{"__isSmartRef__":true,"id":3365},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3364":{"this":{"__isSmartRef__":true,"id":360}},"3365":{"timestamp":{"__isSmartRef__":true,"id":3366},"tags":[]},"3366":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3367":{"varMapping":{"__isSmartRef__":true,"id":3368},"source":"function removeCategoryInteractively() {\n var partsBin = this, world = this.world();\n world.confirm('Really remove ' + this.categoryName + '?', function(result) {\n\tif (!result) {\n\t alert('no category removed!')\n\t return;\n\t}\n\tpartsBin.removeCategory(partsBin.categoryName)\n });\t\n}","funcProperties":{"__isSmartRef__":true,"id":3369},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3368":{"this":{"__isSmartRef__":true,"id":360}},"3369":{"timestamp":{"__isSmartRef__":true,"id":3370},"tags":[]},"3370":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3371":{"varMapping":{"__isSmartRef__":true,"id":3372},"source":"function interactivelyMoveSelectedPartItem(partMorph) {\n var partItem = this.selectedPartItem, categories = this.categories, self = this;\n if (!partItem) { alert('no item selected'); return }\n var items = Properties.own(categories).sort()\n .reject(function(ea) { return ea.startsWith(\"*\") || ea === self. categoryName})\n .collect(function(catName) {\n return [catName, function() {\n var url = new URL(categories[catName]);\n var partsSpace = lively.PartsBin.partsSpaceWithURL(url)\n partItem.moveToPartsSpace(partsSpace);\n self.reloadEverything();\n alertOK('Moved ' + partItem.name + ' to ' + url);\n }]\n })\n lively.morphic.Menu.openAtHand('Select category', items);\n}","funcProperties":{"__isSmartRef__":true,"id":3373},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3372":{"this":{"__isSmartRef__":true,"id":360}},"3373":{"timestamp":{"__isSmartRef__":true,"id":3374},"user":"robertkrahn","tags":[]},"3374":{"isSerializedDate":true,"string":"Thu Jul 07 2011 16:13:12 GMT+0200 (W. Europe Daylight Time)"},"3375":{"varMapping":{"__isSmartRef__":true,"id":3376},"source":"function setMetaInfoOfSelectedItem(metaInfo) {\n var comment = (metaInfo && metaInfo.getComment()) ||\n 'No comment yet';\n this.get('CommitLog').setTextString(this.commitLogString(metaInfo))\n\n\n this.get('selectedPartComment').textString = comment;\n}","funcProperties":{"__isSmartRef__":true,"id":3377},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3376":{"this":{"__isSmartRef__":true,"id":360}},"3377":{"timestamp":{"__isSmartRef__":true,"id":3378},"user":"jenslincke","tags":[]},"3378":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:15:25 GMT+0100 (W. Europe Standard Time)"},"3379":{"varMapping":{"__isSmartRef__":true,"id":3380},"source":"function saveCommentForSelectedPartItem(comment) {\n if (!this.selectedPartItem) {\n\talert('no part item selected!')\n\treturn;\n }\n var metaInfo = this.selectedPartItem.getMetaInfo();\n metaInfo.setComment(comment);\n this.selectedPartItem.uploadMetaInfoOnly();\n}","funcProperties":{"__isSmartRef__":true,"id":3381},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3380":{"this":{"__isSmartRef__":true,"id":360}},"3381":{"timestamp":{"__isSmartRef__":true,"id":3382},"tags":[]},"3382":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:26:53 GMT+0100 (W. Europe Standard Time)"},"3383":{"varMapping":{"__isSmartRef__":true,"id":3384},"source":"function addPartsOfCategory(categoryName) {\n var partsSpace = this.getPartsSpaceForCategory(categoryName);\n connect(partsSpace, 'partItems', this, 'addMorphsForPartItems', {\n\tconverter: function(partItemObj) { return Properties.ownValues(partItemObj) }})\n partsSpace.load(true);\n}","funcProperties":{"__isSmartRef__":true,"id":3385},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3384":{"this":{"__isSmartRef__":true,"id":360}},"3385":{"timestamp":{"__isSmartRef__":true,"id":3386},"tags":[]},"3386":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3387":{"varMapping":{"__isSmartRef__":true,"id":3388},"source":"function onLoadLatest(propfindXML) {\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n\n var top20 = svnVersionInfos\n .select(function(ea) { return ea.url.endsWith(\".json\")})\n .sortBy(function(ea) { return ea.rev}).reverse().slice(0,20);\n var top20URLs = top20.collect(function(ea) { \n return new URL(\"http://\" + URL.codeBase.hostname + ea.url)})\n \n this.addPartsFromURLs(top20URLs) \n}","funcProperties":{"__isSmartRef__":true,"id":3389},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3388":{"this":{"__isSmartRef__":true,"id":360}},"3389":{"timestamp":{"__isSmartRef__":true,"id":3390},"tags":[]},"3390":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3391":{"varMapping":{"__isSmartRef__":true,"id":3392},"source":"function onLoadAll(subDocuments) {\n // alertOK(\"load all \" + subDocuments.length)\n var all = subDocuments.invoke('getURL')\n .select(function(ea) {return ea.filename().endsWith(\".json\")})\n .sortBy(function(ea) {return ea.filename()});\n \n this.addPartsFromURLs(all) \n}","funcProperties":{"__isSmartRef__":true,"id":3393},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3392":{"this":{"__isSmartRef__":true,"id":360}},"3393":{"timestamp":{"__isSmartRef__":true,"id":3394},"tags":[]},"3394":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:38:18 GMT+0100 (W. Europe Standard Time)"},"3395":{"varMapping":{"__isSmartRef__":true,"id":3396},"source":"function onSearch(allPartURLs) {\n var searchString = this.get('searchText').textString;\n var matchingPartURLs = allPartURLs\n .select(function(ea) {return new RegExp(searchString, 'i').test(ea.filename())})\n .sortBy(function(ea) {return ea.filename()});\n this.addPartsFromURLs(matchingPartURLs) \n if (matchingPartURLs.length == 0)\n this.showMsg(\"nothing found for '\" + searchString + \"'\")\n}","funcProperties":{"__isSmartRef__":true,"id":3397},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3396":{"this":{"__isSmartRef__":true,"id":360}},"3397":{"timestamp":{"__isSmartRef__":true,"id":3398},"user":"lauritz","tags":[]},"3398":{"isSerializedDate":true,"string":"Mon Dec 19 2011 19:59:19 GMT+0100 (W. Europe Standard Time)"},"3399":{"varMapping":{"__isSmartRef__":true,"id":3400},"source":"function addPartsFromURLs(urls) {\n var partsBin = this,\n partItems = [];\n\n urls.forEach(function(ea) {\n var partPath = ea.relativePathFrom(URL.codeBase),\n match = partPath.match(/(.*\\/)(.*).json/);\n if (match)\n partItems.push(lively.PartsBin.getPartItem(match[2], match[1]));\n });\n partsBin.addMorphsForPartItems(partItems, true);\n\n}","funcProperties":{"__isSmartRef__":true,"id":3401},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3400":{"this":{"__isSmartRef__":true,"id":360}},"3401":{"timestamp":{"__isSmartRef__":true,"id":3402},"tags":[]},"3402":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3403":{"varMapping":{"__isSmartRef__":true,"id":3404},"source":"function search(searchString) {\n this.get('categoryList').setSelection(\"*search*\");\n}","funcProperties":{"__isSmartRef__":true,"id":3405},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3404":{"this":{"__isSmartRef__":true,"id":360}},"3405":{"timestamp":{"__isSmartRef__":true,"id":3406},"tags":[]},"3406":{"isSerializedDate":true,"string":"Tue Dec 20 2011 18:46:51 GMT+0100 (W. Europe Standard Time)"},"3407":{"varMapping":{"__isSmartRef__":true,"id":3408},"source":"function showMsg(string) {\n var label = new lively.morphic.Text(new Rectangle(0,0,200,30), string);\n label.applyStyle({fill: null, borderWidth: 0})\n this.get('partsBinContents').addMorph(label)\n}","funcProperties":{"__isSmartRef__":true,"id":3409},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3408":{"this":{"__isSmartRef__":true,"id":360}},"3409":{"timestamp":{"__isSmartRef__":true,"id":3410},"user":"lauritz","tags":[]},"3410":{"isSerializedDate":true,"string":"Mon Dec 19 2011 19:59:19 GMT+0100 (W. Europe Standard Time)"},"3411":{"varMapping":{"__isSmartRef__":true,"id":3412},"source":"function toggleMorePane() {\n var pane = this.get('morePane');\n moveOffset = pane.getExtent().withY(0),\n steps = 5, timePerStep = 10,\n btn = pane.get('moreButton');\n if (pane.isVisible()) {\n var dest = pane.getPosition().addPt(moveOffset.negated());\n pane.animatedInterpolateTo(dest, steps, timePerStep, function() {\n btn.setLabel('more')\n pane.setVisible(false)\n });\n\n } else {\n btn.setLabel('hide')\n pane.setVisible(true)\n this.addMorphBack(pane);\n pane.align(\n pane.bounds().topRight(), \n this.get('partsBinContents').bounds().topRight());\n // move it so that it is completely visible\n var dest = pane.getPosition().addPt(moveOffset);\n pane.animatedInterpolateTo(dest, steps, timePerStep, Functions.Null);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3413},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3412":{"this":{"__isSmartRef__":true,"id":360}},"3413":{"timestamp":{"__isSmartRef__":true,"id":3414},"user":"lauritz","tags":[]},"3414":{"isSerializedDate":true,"string":"Mon Dec 19 2011 19:59:19 GMT+0100 (W. Europe Standard Time)"},"3415":{"varMapping":{"__isSmartRef__":true,"id":3416},"source":"function interactivelyCopySelectedPartItem(partMorph) {\n // FIXME duplication with interactivelyMoveSelectedPartItem\n var partItem = this.selectedPartItem, categories = this.categories, self = this;\n if (!partItem) { alert('no item selected'); return }\n var items = Properties.own(categories).sort()\n .reject(function(ea) { return ea.startsWith(\"*\") || ea === self. categoryName})\n .collect(function(catName) {\n return [catName, function() {\n var url = new URL(categories[catName]);\n var partsSpace = lively.PartsBin.partsSpaceWithURL(url)\n partItem.copyToPartsSpace(partsSpace);\n alertOK('Copied ' + partItem.name + ' to ' + url);\n }]\n })\n lively.morphic.Menu.openAtHand('Select category', items);\n}","funcProperties":{"__isSmartRef__":true,"id":3417},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3416":{"this":{"__isSmartRef__":true,"id":360}},"3417":{"timestamp":{"__isSmartRef__":true,"id":3418},"user":"robertkrahn","tags":[]},"3418":{"isSerializedDate":true,"string":"Thu Jul 07 2011 16:13:17 GMT+0200 (W. Europe Daylight Time)"},"3419":{"varMapping":{"__isSmartRef__":true,"id":3420},"source":"function partsBinUrl() {\n if (this.url) {\n return url;\n }\n return this.partsBinURL();\n}","funcProperties":{"__isSmartRef__":true,"id":3421},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3420":{"this":{"__isSmartRef__":true,"id":360}},"3421":{"timestamp":{"__isSmartRef__":true,"id":3422},"tags":[]},"3422":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:58 GMT+0100 (W. Europe Standard Time)"},"3423":{"varMapping":{"__isSmartRef__":true,"id":3424},"source":"function partsBinURL() {\n if (this.url) {\n return this.url;\n }\n return this.defaultPartsBinURL();\n}","funcProperties":{"__isSmartRef__":true,"id":3425},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3424":{"this":{"__isSmartRef__":true,"id":360}},"3425":{"timestamp":{"__isSmartRef__":true,"id":3426},"tags":[]},"3426":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:03:06 GMT+0100 (W. Europe Standard Time)"},"3427":{"varMapping":{"__isSmartRef__":true,"id":3428},"source":"function commitLogString(metaInfo) {\n if (!metaInfo.changes) return \"\";\n return metaInfo.changes\n .reverse()\n .collect(function(ea) {\n return Strings.format(\"%s %s: \\n %s\\n\",\n ea.date.format(\"yyyy-mm-dd HH:MM\") , \n ea.author, (ea.message || \"no comment\"));\n })\n .join('');\n}","funcProperties":{"__isSmartRef__":true,"id":3429},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3428":{"this":{"__isSmartRef__":true,"id":360}},"3429":{"timestamp":{"__isSmartRef__":true,"id":3430},"user":"jenslincke","tags":[]},"3430":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:19:05 GMT+0100 (W. Europe Standard Time)"},"3431":{"varMapping":{"__isSmartRef__":true,"id":3432},"source":"function showCommits() {\n if (!this.selectedPartItem) {\n alert('nothing selected');\n return;\n }\n var metaInfo = this.selectedPartItem.loadedMetaInfo;\n this.world().addTextWindow({\n title: 'Commits of ' + metaInfo.partName,\n content: this.commitLogString(metaInfo)\n });\n}","funcProperties":{"__isSmartRef__":true,"id":3433},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3432":{"this":{"__isSmartRef__":true,"id":360}},"3433":{"timestamp":{"__isSmartRef__":true,"id":3434},"user":"robertkrahn","tags":[]},"3434":{"isSerializedDate":true,"string":"Mon Jan 23 2012 19:20:49 GMT+0100 (W. Europe Standard Time)"},"3435":{"varMapping":{"__isSmartRef__":true,"id":3436},"source":"function setShareLink(partItem) {\n var linkText = this.get('shareLink');\n linkText.setTextString('Share Link');\n var url = 'http://www.lively-kernel.org/viral?part='\n + partItem.name + '&path=' + partItem.partsSpaceName;\n linkText.emphasizeAll({uri: url});\n}","funcProperties":{"__isSmartRef__":true,"id":3437},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3436":{"this":{"__isSmartRef__":true,"id":360}},"3437":{"timestamp":{"__isSmartRef__":true,"id":3438},"user":"robertkrahn","tags":[]},"3438":{"isSerializedDate":true,"string":"Mon Jan 23 2012 19:45:42 GMT+0100 (W. Europe Standard Time)"},"3439":{"varMapping":{"__isSmartRef__":true,"id":3440},"source":"function setSelectedPartVersions(versions) {\n // alertOK(\"set versions:\" + versions.length)\n var list = versions.collect(function(ea) {\n return { \n string: '' + ea.date.format(\"yyyy-mm-dd HH:MM\") \n + \" \" + ea.author + \" (\" + ea.rev + \")\", \n value: ea, isListItem: true}\n })\n this.get('selectedPartVersions').updateList(list)\n}","funcProperties":{"__isSmartRef__":true,"id":3441},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3440":{"this":{"__isSmartRef__":true,"id":360}},"3441":{"timestamp":{"__isSmartRef__":true,"id":3442},"user":"jenslincke","tags":[]},"3442":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:06:52 GMT+0100 (W. Europe Standard Time)"},"3443":{"renderContextTable":{"__isSmartRef__":true,"id":3444},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3445},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3446},"_Position":{"__isSmartRef__":true,"id":3447},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3444":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3445":{"x":701.1842763684606,"y":492.01402102803513,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3446":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3447":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3449":{"morph":{"__isSmartRef__":true,"id":211},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3450":{"adjustForNewBounds":true},"3451":{"x":701.1842763684606,"y":492.01402102803513,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3452":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3453":{"a":1.008036120330794,"b":0,"c":0,"d":1.008036120330794,"e":2.590461206290911,"f":578.5160475472729,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"3454":{"x":701.1842763684606,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3455":{"a":1.008036120330794,"b":0,"c":0,"d":1.008036120330794,"e":250.5904612062909,"f":44.516047547272905,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"3456":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","requiredModules":["lively.PartsBin"],"migrationLevel":4,"comment":"Browser for a Parts repository.","partName":"PartsBinBrowser","changes":[{"__isSmartRef__":true,"id":3457},{"__isSmartRef__":true,"id":3459},{"__isSmartRef__":true,"id":3461},{"__isSmartRef__":true,"id":3463},{"__isSmartRef__":true,"id":3465},{"__isSmartRef__":true,"id":3467},{"__isSmartRef__":true,"id":3469},{"__isSmartRef__":true,"id":3471},{"__isSmartRef__":true,"id":3473},{"__isSmartRef__":true,"id":3475},{"__isSmartRef__":true,"id":3477},{"__isSmartRef__":true,"id":3479},{"__isSmartRef__":true,"id":3481}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3457":{"date":{"__isSmartRef__":true,"id":3458},"author":"bsiegmund","message":"","id":"23897638-6CB1-4FCD-8498-D7987A453458"},"3458":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:32:38 GMT+0100 (W. Europe Standard Time)"},"3459":{"date":{"__isSmartRef__":true,"id":3460},"author":"markoroeder","message":"Republished with *latest* category being active. Restyled reload button and title bar.","id":"080898B4-760B-4BA9-A549-EA035B465CDD"},"3460":{"isSerializedDate":true,"string":"Thu Jan 05 2012 15:22:46 GMT+0100 (W. Europe Standard Time)"},"3461":{"date":{"__isSmartRef__":true,"id":3462},"author":"markoroeder","message":"Republished with window... :-/","id":"79895F87-5257-42AA-8913-4AE9EBC588FA"},"3462":{"isSerializedDate":true,"string":"Thu Jan 05 2012 15:19:48 GMT+0100 (W. Europe Standard Time)"},"3463":{"date":{"__isSmartRef__":true,"id":3464},"author":"fabian","message":"","id":"A92F5181-02BE-4204-B3B1-4A9E30E30E9C"},"3464":{"isSerializedDate":true,"string":"Sat Dec 31 2011 00:39:42 GMT+0100 (W. Europe Standard Time)"},"3465":{"date":{"__isSmartRef__":true,"id":3466},"author":"magdavisconti","message":"","id":"CCD1296A-0E5E-4643-AD96-D25606FA5D93"},"3466":{"isSerializedDate":true,"string":"Fri Dec 30 2011 11:53:40 GMT+0100 (W. Europe Standard Time)"},"3467":{"date":{"__isSmartRef__":true,"id":3468},"author":"bsiegmund","message":"Disabled more dropping","id":"7E51C414-5946-44F1-8CD8-37EA67653367"},"3468":{"isSerializedDate":true,"string":"Thu Jan 19 2012 12:01:48 GMT+0100 (W. Europe Standard Time)"},"3469":{"date":{"__isSmartRef__":true,"id":3470},"author":"robertkrahn","message":"improved ui of more pane: show log on button click, removed big log screen","id":"58096AA6-D952-4D30-9974-351ED1AC0202"},"3470":{"isSerializedDate":true,"string":"Mon Jan 23 2012 19:42:16 GMT+0100 (W. Europe Standard Time)"},"3471":{"date":{"__isSmartRef__":true,"id":3472},"author":"robertkrahn","message":"bug fix for share link","id":"658E5AC1-0778-4DF7-A98C-D59F8AB32EE4"},"3472":{"isSerializedDate":true,"string":"Mon Jan 23 2012 19:46:20 GMT+0100 (W. Europe Standard Time)"},"3473":{"date":{"__isSmartRef__":true,"id":3474},"author":"robertkrahn","message":"moving buttons","id":"9385A345-0453-4173-87FB-700DF335FF10"},"3474":{"isSerializedDate":true,"string":"Mon Jan 23 2012 19:50:41 GMT+0100 (W. Europe Standard Time)"},"3475":{"date":{"__isSmartRef__":true,"id":3476},"author":"jenslincke","message":"- show commit messages in log","id":"0F4E333B-829C-45AD-961C-6E3DD90F4945"},"3476":{"isSerializedDate":true,"string":"Tue Jan 31 2012 19:28:03 GMT+0100 (W. Europe Standard Time)"},"3477":{"date":{"__isSmartRef__":true,"id":3478},"author":"jenslincke","message":"- better date and author printing in revision field","id":"15B3542D-F7FD-42BD-9904-B2C972D886BF"},"3478":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:08:01 GMT+0100 (W. Europe Standard Time)"},"3479":{"date":{"__isSmartRef__":true,"id":3480},"author":"jenslincke","message":"- integrated log into more pane","id":"DD092C60-4E8B-4EFB-8714-6496DBD9FA33"},"3480":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:22:31 GMT+0100 (W. Europe Standard Time)"},"3481":{"date":{"__isSmartRef__":true,"id":3482},"author":"jenslincke","message":"","id":"BDA0C1B0-8EEC-4E83-9FA7-269B3567A68B"},"3482":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:28:50 GMT+0100 (W. Europe Standard Time)"},"3483":{"x":590,"y":602,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3484":{"x":250.5904612062909,"y":44.516047547272905,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3485":{"x":2.590461206290911,"y":578.5160475472729,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3486":{"x":250.5904612062909,"y":44.516047547272905,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3487":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":3488}},"3488":{"varMapping":{"__isSmartRef__":true,"id":3489},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tthis.targetMorph.reloadEverything();\n}","funcProperties":{"__isSmartRef__":true,"id":3494},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3489":{"this":{"__isSmartRef__":true,"id":211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3490}},"3490":{"$super":{"__isSmartRef__":true,"id":3491}},"3491":{"varMapping":{"__isSmartRef__":true,"id":3492},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3493},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3492":{"obj":{"__isSmartRef__":true,"id":211},"name":"onLoadFromPartsBin"},"3493":{},"3494":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":3495}},"3495":{"isSerializedDate":true,"string":"Mon Jun 27 2011 10:54:32 GMT+0200 (W. Europe Daylight Time)"},"3496":{"submorphs":[{"__isSmartRef__":true,"id":3497},{"__isSmartRef__":true,"id":7744},{"__isSmartRef__":true,"id":7781}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7930},"id":"15724D4B-5628-4771-BE38-25334C27FF71","renderContextTable":{"__isSmartRef__":true,"id":7934},"eventHandler":{"__isSmartRef__":true,"id":7935},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":7936},"LK2":true,"_Position":{"__isSmartRef__":true,"id":7937},"priorExtent":{"__isSmartRef__":true,"id":7938},"targetMorph":{"__isSmartRef__":true,"id":3497},"titleBar":{"__isSmartRef__":true,"id":7781},"contentOffset":{"__isSmartRef__":true,"id":7939},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":7940},"name":"Explorer","prevDragPos":{"__isSmartRef__":true,"id":7985},"isBeingDragged":false,"highlighted":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","explorer":{"__isSmartRef__":true,"id":3497},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"minExtent":{"__isSmartRef__":true,"id":7986},"derivationIds":[369,"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17","8A4661CC-271E-4CA9-9B42-C428E5DCCB01","B002D7D6-4167-4D6A-8981-E569CE5EE4CC","21A298C5-87D3-4C5F-8FB6-34DB19723B44","A077835E-1096-40C4-92FB-6830D29FC989","32525E7F-A548-4001-86AE-BBDE7D2BAD17"],"_Rotation":0,"_Scale":1.0141055623885957,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7987},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"3497":{"submorphs":[{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":6573}],"scripts":[],"id":"A51A6D56-159A-40B7-A22E-081FC2C30058","shape":{"__isSmartRef__":true,"id":6597},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6604},"showsHalos":false,"name":"ExplorerPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":6605},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":6608},"eventHandler":{"__isSmartRef__":true,"id":6609},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":3496},"priorExtent":{"__isSmartRef__":true,"id":6610},"distanceToDragEvent":{"__isSmartRef__":true,"id":6611},"layout":{"__isSmartRef__":true,"id":6612},"workspace":{"__isSmartRef__":true,"id":6573},"treeView":{"__isSmartRef__":true,"id":3498},"focusedNode":{"__isSmartRef__":true,"id":6614},"isInLayoutCycle":false,"prevScroll":[0,0],"derivationIds":[370,"19EB328E-FFB1-41CD-B181-A60FCF27908C","D1C1A399-6222-405C-A922-2ADD2DFBFB56","F7B66347-DB63-470F-8ABC-5C342E31BC5E","7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30","D14B60A2-D449-4E15-8A1B-EADF6D8A988B","9AA7774E-2D58-467B-986D-947454B915CA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7727},"__LivelyClassName__":"lively.morphic.Box"},"3498":{"submorphs":[{"__isSmartRef__":true,"id":3499}],"scripts":[{"__isSmartRef__":true,"id":6491}],"id":"E949423E-61EA-4007-B93E-25CD2322FBF1","shape":{"__isSmartRef__":true,"id":6492},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6498},"showsHalos":false,"name":"TreeView","partsBinMetaInfo":{"__isSmartRef__":true,"id":6499},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":6500},"eventHandler":{"__isSmartRef__":true,"id":6501},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":6502},"layout":{"__isSmartRef__":true,"id":6503},"isInLayoutCycle":false,"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":3497},"distanceToDragEvent":{"__isSmartRef__":true,"id":6505},"colors":{"__isSmartRef__":true,"id":6506},"fonts":{"__isSmartRef__":true,"id":6508},"sizes":{"__isSmartRef__":true,"id":6509},"rootNode":{"__isSmartRef__":true,"id":3501},"prevScroll":[0,0],"derivationIds":[371,"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C","4B46569F-B458-41CF-846F-31DB325C55FE","BC2E4190-4592-4E2C-8644-51CA0FC16963","DBB73829-F82D-45F0-8499-2332C8C0487E","78E2B139-F388-4299-A7CC-0964C21003A4","F124DD76-61DA-471A-A1DA-D01C9F74D5C3"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6514},"__LivelyClassName__":"lively.morphic.Box"},"3499":{"submorphs":[{"__isSmartRef__":true,"id":3500}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6473},"derivationIds":[null],"id":"42397686-3AE4-4937-B835-0331903AECFE","renderContextTable":{"__isSmartRef__":true,"id":6478},"eventHandler":{"__isSmartRef__":true,"id":6479},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6480},"_ClipMode":"scroll","layout":{"__isSmartRef__":true,"id":6481},"grabbingEnabled":false,"draggingEnabled":false,"name":"TreeViewScrollPane","owner":{"__isSmartRef__":true,"id":3498},"priorExtent":{"__isSmartRef__":true,"id":6482},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6483},"__LivelyClassName__":"lively.morphic.Clip","__SourceModuleName__":"Global.lively.morphic.Core"},"3500":{"submorphs":[{"__isSmartRef__":true,"id":3501},{"__isSmartRef__":true,"id":3608}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6455},"derivationIds":[null],"id":"9D5BF50F-4AAF-4166-8951-A2469AF2C391","renderContextTable":{"__isSmartRef__":true,"id":6460},"eventHandler":{"__isSmartRef__":true,"id":6461},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6462},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6464},"owner":{"__isSmartRef__":true,"id":3499},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6465},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3501":{"submorphs":[{"__isSmartRef__":true,"id":3502},{"__isSmartRef__":true,"id":3523}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3542},"derivationIds":[null],"id":"F197B46D-C02C-4EE7-842D-FE2C25C9356C","renderContextTable":{"__isSmartRef__":true,"id":3547},"eventHandler":{"__isSmartRef__":true,"id":3548},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3549},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":91},"propertyList":["submorphs","scripts","id","shape","droppingEnabled","halosEnabled","registeredForMouseEvents","eventHandler","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","derivationIds","_renderContext","attributeConnections","doNotSerialize","doNotCopyProperties","halos","priorExtent","isBeingDragged","magnets","extent","rotation","$$_Position","_Position","$$_Scale","_Scale","$$_Rotation","_Rotation","$$owner","owner"],"level":0,"treeView":{"__isSmartRef__":true,"id":3498},"label":"Properties","children":[{"__isSmartRef__":true,"id":3550},{"__isSmartRef__":true,"id":3610},{"__isSmartRef__":true,"id":3699},{"__isSmartRef__":true,"id":3788},{"__isSmartRef__":true,"id":3877},{"__isSmartRef__":true,"id":3966},{"__isSmartRef__":true,"id":4055},{"__isSmartRef__":true,"id":4144},{"__isSmartRef__":true,"id":4233},{"__isSmartRef__":true,"id":4323},{"__isSmartRef__":true,"id":4411},{"__isSmartRef__":true,"id":4500},{"__isSmartRef__":true,"id":4589},{"__isSmartRef__":true,"id":4678},{"__isSmartRef__":true,"id":4767},{"__isSmartRef__":true,"id":4856},{"__isSmartRef__":true,"id":4945},{"__isSmartRef__":true,"id":5033},{"__isSmartRef__":true,"id":5122},{"__isSmartRef__":true,"id":5211},{"__isSmartRef__":true,"id":5300},{"__isSmartRef__":true,"id":5403},{"__isSmartRef__":true,"id":5492},{"__isSmartRef__":true,"id":5580},{"__isSmartRef__":true,"id":5669},{"__isSmartRef__":true,"id":5758},{"__isSmartRef__":true,"id":5847},{"__isSmartRef__":true,"id":5936},{"__isSmartRef__":true,"id":6025},{"__isSmartRef__":true,"id":6114},{"__isSmartRef__":true,"id":6203},{"__isSmartRef__":true,"id":6292}],"parent":null,"expander":{"__isSmartRef__":true,"id":3502},"text":{"__isSmartRef__":true,"id":3523},"owner":{"__isSmartRef__":true,"id":3500},"_Position":{"__isSmartRef__":true,"id":6433},"priorExtent":{"__isSmartRef__":true,"id":6434},"_Rotation":0,"_Scale":1.0141055623885957,"childrenWrapper":{"__isSmartRef__":true,"id":3608},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6435},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3502":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3503},"derivationIds":[null],"id":"4D2ED18C-A77E-4252-911C-C6AF11F6C8A9","renderContextTable":{"__isSmartRef__":true,"id":3509},"eventHandler":{"__isSmartRef__":true,"id":3510},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3511},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":3501},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3512},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3503":{"_Position":{"__isSmartRef__":true,"id":3504},"renderContextTable":{"__isSmartRef__":true,"id":3505},"_Extent":{"__isSmartRef__":true,"id":3506},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3507},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3504":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3505":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3506":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3507":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3508":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3509":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3510":{"morph":{"__isSmartRef__":true,"id":3502},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3511":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3512":{"toggle":{"__isSmartRef__":true,"id":3513},"toggleExpansion":{"__isSmartRef__":true,"id":3520}},"3513":{"varMapping":{"__isSmartRef__":true,"id":3514},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3519},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3514":{"this":{"__isSmartRef__":true,"id":3502},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3515}},"3515":{"$super":{"__isSmartRef__":true,"id":3516}},"3516":{"varMapping":{"__isSmartRef__":true,"id":3517},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3517":{"obj":{"__isSmartRef__":true,"id":3502},"name":"toggle"},"3518":{},"3519":{},"3520":{"varMapping":{"__isSmartRef__":true,"id":3521},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3521":{"this":{"__isSmartRef__":true,"id":3502}},"3522":{},"3523":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3524},"derivationIds":[null],"id":"626A0C5D-3AB8-44D4-B1CB-9B94175B9778","renderContextTable":{"__isSmartRef__":true,"id":3529},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3530},{"__isSmartRef__":true,"id":3532}],"eventHandler":{"__isSmartRef__":true,"id":3535},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3536},"priorExtent":{"__isSmartRef__":true,"id":3537},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3501},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3538},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3524":{"_Position":{"__isSmartRef__":true,"id":3525},"renderContextTable":{"__isSmartRef__":true,"id":3526},"_Extent":{"__isSmartRef__":true,"id":3527},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3525":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3526":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3527":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3528":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3529":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3530":{"style":{"__isSmartRef__":true,"id":3531},"chunkOwner":{"__isSmartRef__":true,"id":3523},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3531":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3532":{"style":{"__isSmartRef__":true,"id":3533},"chunkOwner":{"__isSmartRef__":true,"id":3523},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3533":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3534":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3535":{"morph":{"__isSmartRef__":true,"id":3523},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3536":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3537":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3538":{"layoutText":{"__isSmartRef__":true,"id":3539}},"3539":{"varMapping":{"__isSmartRef__":true,"id":3540},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3540":{"this":{"__isSmartRef__":true,"id":3523}},"3541":{},"3542":{"_Position":{"__isSmartRef__":true,"id":3543},"renderContextTable":{"__isSmartRef__":true,"id":3544},"_Extent":{"__isSmartRef__":true,"id":3545},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3546},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3543":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3544":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3545":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3546":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3548":{"morph":{"__isSmartRef__":true,"id":3501},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3549":{"resizeWidth":true},"3550":{"submorphs":[{"__isSmartRef__":true,"id":3551},{"__isSmartRef__":true,"id":3572}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3589},"derivationIds":[null],"id":"3C1E28EF-3B96-464E-B0EE-1AC12CBF77D9","renderContextTable":{"__isSmartRef__":true,"id":3594},"eventHandler":{"__isSmartRef__":true,"id":3595},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3596},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":114},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"$$_Position","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3551},"text":{"__isSmartRef__":true,"id":3572},"owner":{"__isSmartRef__":true,"id":3597},"_Position":{"__isSmartRef__":true,"id":6411},"priorExtent":{"__isSmartRef__":true,"id":6412},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6413},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3551":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3552},"derivationIds":[null],"id":"CAA5CBBF-046E-402A-9671-FB9345540FB4","renderContextTable":{"__isSmartRef__":true,"id":3558},"eventHandler":{"__isSmartRef__":true,"id":3559},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3560},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3550},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3561},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3552":{"_Position":{"__isSmartRef__":true,"id":3553},"renderContextTable":{"__isSmartRef__":true,"id":3554},"_Extent":{"__isSmartRef__":true,"id":3555},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3556},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3557},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3553":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3554":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3555":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3556":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3557":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3558":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3559":{"morph":{"__isSmartRef__":true,"id":3551},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3560":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3561":{"toggle":{"__isSmartRef__":true,"id":3562},"toggleExpansion":{"__isSmartRef__":true,"id":3569}},"3562":{"varMapping":{"__isSmartRef__":true,"id":3563},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3568},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3563":{"this":{"__isSmartRef__":true,"id":3551},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3564}},"3564":{"$super":{"__isSmartRef__":true,"id":3565}},"3565":{"varMapping":{"__isSmartRef__":true,"id":3566},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3566":{"obj":{"__isSmartRef__":true,"id":3551},"name":"toggle"},"3567":{},"3568":{},"3569":{"varMapping":{"__isSmartRef__":true,"id":3570},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3571},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3570":{"this":{"__isSmartRef__":true,"id":3551}},"3571":{},"3572":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3573},"derivationIds":[null],"id":"3F2203D2-2BDC-4850-BDE9-99086C864211","renderContextTable":{"__isSmartRef__":true,"id":3577},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3578},{"__isSmartRef__":true,"id":3580}],"eventHandler":{"__isSmartRef__":true,"id":3582},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3583},"priorExtent":{"__isSmartRef__":true,"id":3584},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3550},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3585},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3573":{"_Position":{"__isSmartRef__":true,"id":3574},"renderContextTable":{"__isSmartRef__":true,"id":3575},"_Extent":{"__isSmartRef__":true,"id":3576},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3574":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3575":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3576":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3577":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3578":{"style":{"__isSmartRef__":true,"id":3579},"chunkOwner":{"__isSmartRef__":true,"id":3572},"storedString":"$$_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3579":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3580":{"style":{"__isSmartRef__":true,"id":3581},"chunkOwner":{"__isSmartRef__":true,"id":3572},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3581":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3582":{"morph":{"__isSmartRef__":true,"id":3572},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3583":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3584":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3585":{"layoutText":{"__isSmartRef__":true,"id":3586}},"3586":{"varMapping":{"__isSmartRef__":true,"id":3587},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3587":{"this":{"__isSmartRef__":true,"id":3572}},"3588":{},"3589":{"_Position":{"__isSmartRef__":true,"id":3590},"renderContextTable":{"__isSmartRef__":true,"id":3591},"_Extent":{"__isSmartRef__":true,"id":3592},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3593},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3590":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3591":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3592":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3593":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3595":{"morph":{"__isSmartRef__":true,"id":3550},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3596":{"resizeWidth":true},"3597":{"submorphs":[{"__isSmartRef__":true,"id":3550}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3598},"derivationIds":[null],"id":"311B16C3-268D-4714-9DBA-CCB8D1CC1AEA","renderContextTable":{"__isSmartRef__":true,"id":3603},"eventHandler":{"__isSmartRef__":true,"id":3604},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3605},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3607},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6402},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6403},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3598":{"_Position":{"__isSmartRef__":true,"id":3599},"renderContextTable":{"__isSmartRef__":true,"id":3600},"_Extent":{"__isSmartRef__":true,"id":3601},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3602},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3599":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3600":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3601":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3602":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3603":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3604":{"morph":{"__isSmartRef__":true,"id":3597},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3605":{"layouter":{"__isSmartRef__":true,"id":3606},"resizeWidth":true},"3606":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3597},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3607":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3608":{"submorphs":[{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3609},{"__isSmartRef__":true,"id":3698},{"__isSmartRef__":true,"id":3787},{"__isSmartRef__":true,"id":3876},{"__isSmartRef__":true,"id":3965},{"__isSmartRef__":true,"id":4054},{"__isSmartRef__":true,"id":4143},{"__isSmartRef__":true,"id":4232},{"__isSmartRef__":true,"id":4322},{"__isSmartRef__":true,"id":4410},{"__isSmartRef__":true,"id":4499},{"__isSmartRef__":true,"id":4588},{"__isSmartRef__":true,"id":4677},{"__isSmartRef__":true,"id":4766},{"__isSmartRef__":true,"id":4855},{"__isSmartRef__":true,"id":4944},{"__isSmartRef__":true,"id":5032},{"__isSmartRef__":true,"id":5121},{"__isSmartRef__":true,"id":5210},{"__isSmartRef__":true,"id":5299},{"__isSmartRef__":true,"id":5402},{"__isSmartRef__":true,"id":5491},{"__isSmartRef__":true,"id":5579},{"__isSmartRef__":true,"id":5668},{"__isSmartRef__":true,"id":5757},{"__isSmartRef__":true,"id":5846},{"__isSmartRef__":true,"id":5935},{"__isSmartRef__":true,"id":6024},{"__isSmartRef__":true,"id":6113},{"__isSmartRef__":true,"id":6202},{"__isSmartRef__":true,"id":6291}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6380},"derivationIds":[null],"id":"080B05E6-CCBD-418B-B422-195019AD9E98","renderContextTable":{"__isSmartRef__":true,"id":6385},"eventHandler":{"__isSmartRef__":true,"id":6386},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6387},"owner":{"__isSmartRef__":true,"id":3500},"_Position":{"__isSmartRef__":true,"id":6389},"priorExtent":{"__isSmartRef__":true,"id":6390},"isInLayoutCycle":false,"_Visible":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6391},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3609":{"submorphs":[{"__isSmartRef__":true,"id":3610}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3679},"derivationIds":[null],"id":"71084BF1-2A94-4A9D-BABD-7154F72813DB","renderContextTable":{"__isSmartRef__":true,"id":3684},"eventHandler":{"__isSmartRef__":true,"id":3685},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3686},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3688},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":3689},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3690},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3610":{"submorphs":[{"__isSmartRef__":true,"id":3611},{"__isSmartRef__":true,"id":3632}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3649},"derivationIds":[null],"id":"89481893-5CD0-4B88-93C9-7B796280B539","renderContextTable":{"__isSmartRef__":true,"id":3654},"eventHandler":{"__isSmartRef__":true,"id":3655},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3656},"grabbingEnabled":false,"draggingEnabled":false,"data":-0.7632065069431179,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"$$_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3611},"text":{"__isSmartRef__":true,"id":3632},"owner":{"__isSmartRef__":true,"id":3609},"_Position":{"__isSmartRef__":true,"id":3657},"priorExtent":{"__isSmartRef__":true,"id":3658},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3659},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3611":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3612},"derivationIds":[null],"id":"E5FDB58B-752A-4E6E-ADD1-229271CF7327","renderContextTable":{"__isSmartRef__":true,"id":3618},"eventHandler":{"__isSmartRef__":true,"id":3619},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3620},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3621},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3612":{"_Position":{"__isSmartRef__":true,"id":3613},"renderContextTable":{"__isSmartRef__":true,"id":3614},"_Extent":{"__isSmartRef__":true,"id":3615},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3616},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3617},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3613":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3614":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3615":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3616":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3617":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3618":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3619":{"morph":{"__isSmartRef__":true,"id":3611},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3620":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3621":{"toggle":{"__isSmartRef__":true,"id":3622},"toggleExpansion":{"__isSmartRef__":true,"id":3629}},"3622":{"varMapping":{"__isSmartRef__":true,"id":3623},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3623":{"this":{"__isSmartRef__":true,"id":3611},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3624}},"3624":{"$super":{"__isSmartRef__":true,"id":3625}},"3625":{"varMapping":{"__isSmartRef__":true,"id":3626},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3626":{"obj":{"__isSmartRef__":true,"id":3611},"name":"toggle"},"3627":{},"3628":{},"3629":{"varMapping":{"__isSmartRef__":true,"id":3630},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3630":{"this":{"__isSmartRef__":true,"id":3611}},"3631":{},"3632":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3633},"derivationIds":[null],"id":"695027F3-AC60-48C1-A8FB-E4A6648C566C","renderContextTable":{"__isSmartRef__":true,"id":3637},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3638},{"__isSmartRef__":true,"id":3640}],"eventHandler":{"__isSmartRef__":true,"id":3642},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3643},"priorExtent":{"__isSmartRef__":true,"id":3644},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3645},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3633":{"_Position":{"__isSmartRef__":true,"id":3634},"renderContextTable":{"__isSmartRef__":true,"id":3635},"_Extent":{"__isSmartRef__":true,"id":3636},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3634":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3635":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3636":{"x":248,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3637":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3638":{"style":{"__isSmartRef__":true,"id":3639},"chunkOwner":{"__isSmartRef__":true,"id":3632},"storedString":"$$_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3639":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3640":{"style":{"__isSmartRef__":true,"id":3641},"chunkOwner":{"__isSmartRef__":true,"id":3632},"storedString":": -0.7632065069431179","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3641":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3642":{"morph":{"__isSmartRef__":true,"id":3632},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3643":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3644":{"x":240,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3645":{"layoutText":{"__isSmartRef__":true,"id":3646}},"3646":{"varMapping":{"__isSmartRef__":true,"id":3647},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3647":{"this":{"__isSmartRef__":true,"id":3632}},"3648":{},"3649":{"_Position":{"__isSmartRef__":true,"id":3650},"renderContextTable":{"__isSmartRef__":true,"id":3651},"_Extent":{"__isSmartRef__":true,"id":3652},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3653},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3650":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3651":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3652":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3653":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3655":{"morph":{"__isSmartRef__":true,"id":3610},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3656":{"resizeWidth":true},"3657":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3658":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3659":{"updateExpanderColor":{"__isSmartRef__":true,"id":3660},"onMouseDown":{"__isSmartRef__":true,"id":3663},"isRoot":{"__isSmartRef__":true,"id":3670},"displayValue":{"__isSmartRef__":true,"id":3673},"update":{"__isSmartRef__":true,"id":3676}},"3660":{"varMapping":{"__isSmartRef__":true,"id":3661},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3661":{"this":{"__isSmartRef__":true,"id":3610}},"3662":{},"3663":{"varMapping":{"__isSmartRef__":true,"id":3664},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3664":{"this":{"__isSmartRef__":true,"id":3610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3665}},"3665":{"$super":{"__isSmartRef__":true,"id":3666}},"3666":{"varMapping":{"__isSmartRef__":true,"id":3667},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3667":{"obj":{"__isSmartRef__":true,"id":3610},"name":"onMouseDown"},"3668":{},"3669":{},"3670":{"varMapping":{"__isSmartRef__":true,"id":3671},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3671":{"this":{"__isSmartRef__":true,"id":3610}},"3672":{},"3673":{"varMapping":{"__isSmartRef__":true,"id":3674},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3674":{"this":{"__isSmartRef__":true,"id":3610}},"3675":{},"3676":{"varMapping":{"__isSmartRef__":true,"id":3677},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3677":{"this":{"__isSmartRef__":true,"id":3610}},"3678":{},"3679":{"_Position":{"__isSmartRef__":true,"id":3680},"renderContextTable":{"__isSmartRef__":true,"id":3681},"_Extent":{"__isSmartRef__":true,"id":3682},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3683},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3680":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3681":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3682":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3683":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3684":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3685":{"morph":{"__isSmartRef__":true,"id":3609},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3686":{"layouter":{"__isSmartRef__":true,"id":3687},"resizeWidth":true},"3687":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3609},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3688":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3689":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3690":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3691}},"3691":{"varMapping":{"__isSmartRef__":true,"id":3692},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3692":{"this":{"__isSmartRef__":true,"id":3609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3693}},"3693":{"$super":{"__isSmartRef__":true,"id":3694}},"3694":{"varMapping":{"__isSmartRef__":true,"id":3695},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3695":{"obj":{"__isSmartRef__":true,"id":3609},"name":"getLayoutableSubmorphs"},"3696":{},"3697":{},"3698":{"submorphs":[{"__isSmartRef__":true,"id":3699}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3768},"derivationIds":[null],"id":"5E4E9060-62D5-4A75-BFA2-DAB87A147048","renderContextTable":{"__isSmartRef__":true,"id":3773},"eventHandler":{"__isSmartRef__":true,"id":3774},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3775},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3777},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":3778},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3779},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3699":{"submorphs":[{"__isSmartRef__":true,"id":3700},{"__isSmartRef__":true,"id":3721}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3738},"derivationIds":[null],"id":"592B67BB-469D-4380-B4EE-0891F908AB28","renderContextTable":{"__isSmartRef__":true,"id":3743},"eventHandler":{"__isSmartRef__":true,"id":3744},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3745},"grabbingEnabled":false,"draggingEnabled":false,"data":1.002003004005006,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"$$_Scale","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3700},"text":{"__isSmartRef__":true,"id":3721},"owner":{"__isSmartRef__":true,"id":3698},"_Position":{"__isSmartRef__":true,"id":3746},"priorExtent":{"__isSmartRef__":true,"id":3747},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3748},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3700":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3701},"derivationIds":[null],"id":"D22D270D-E03E-4D34-A886-EA68D0F41924","renderContextTable":{"__isSmartRef__":true,"id":3707},"eventHandler":{"__isSmartRef__":true,"id":3708},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3709},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3710},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3701":{"_Position":{"__isSmartRef__":true,"id":3702},"renderContextTable":{"__isSmartRef__":true,"id":3703},"_Extent":{"__isSmartRef__":true,"id":3704},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3705},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3706},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3702":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3703":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3704":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3705":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3706":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3707":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3708":{"morph":{"__isSmartRef__":true,"id":3700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3709":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3710":{"toggle":{"__isSmartRef__":true,"id":3711},"toggleExpansion":{"__isSmartRef__":true,"id":3718}},"3711":{"varMapping":{"__isSmartRef__":true,"id":3712},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3712":{"this":{"__isSmartRef__":true,"id":3700},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3713}},"3713":{"$super":{"__isSmartRef__":true,"id":3714}},"3714":{"varMapping":{"__isSmartRef__":true,"id":3715},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3715":{"obj":{"__isSmartRef__":true,"id":3700},"name":"toggle"},"3716":{},"3717":{},"3718":{"varMapping":{"__isSmartRef__":true,"id":3719},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3719":{"this":{"__isSmartRef__":true,"id":3700}},"3720":{},"3721":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3722},"derivationIds":[null],"id":"10549DBF-A08D-4C6D-ACD4-C70D6E35C9D9","renderContextTable":{"__isSmartRef__":true,"id":3726},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3727},{"__isSmartRef__":true,"id":3729}],"eventHandler":{"__isSmartRef__":true,"id":3731},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3732},"priorExtent":{"__isSmartRef__":true,"id":3733},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3734},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3722":{"_Position":{"__isSmartRef__":true,"id":3723},"renderContextTable":{"__isSmartRef__":true,"id":3724},"_Extent":{"__isSmartRef__":true,"id":3725},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3723":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3724":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3725":{"x":210.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3726":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3727":{"style":{"__isSmartRef__":true,"id":3728},"chunkOwner":{"__isSmartRef__":true,"id":3721},"storedString":"$$_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3728":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3729":{"style":{"__isSmartRef__":true,"id":3730},"chunkOwner":{"__isSmartRef__":true,"id":3721},"storedString":": 1.002003004005006","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3730":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3731":{"morph":{"__isSmartRef__":true,"id":3721},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3732":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3733":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3734":{"layoutText":{"__isSmartRef__":true,"id":3735}},"3735":{"varMapping":{"__isSmartRef__":true,"id":3736},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3736":{"this":{"__isSmartRef__":true,"id":3721}},"3737":{},"3738":{"_Position":{"__isSmartRef__":true,"id":3739},"renderContextTable":{"__isSmartRef__":true,"id":3740},"_Extent":{"__isSmartRef__":true,"id":3741},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3742},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3739":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3740":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3741":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3742":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3743":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3744":{"morph":{"__isSmartRef__":true,"id":3699},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3745":{"resizeWidth":true},"3746":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3747":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3748":{"updateExpanderColor":{"__isSmartRef__":true,"id":3749},"onMouseDown":{"__isSmartRef__":true,"id":3752},"isRoot":{"__isSmartRef__":true,"id":3759},"displayValue":{"__isSmartRef__":true,"id":3762},"update":{"__isSmartRef__":true,"id":3765}},"3749":{"varMapping":{"__isSmartRef__":true,"id":3750},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3750":{"this":{"__isSmartRef__":true,"id":3699}},"3751":{},"3752":{"varMapping":{"__isSmartRef__":true,"id":3753},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3753":{"this":{"__isSmartRef__":true,"id":3699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3754}},"3754":{"$super":{"__isSmartRef__":true,"id":3755}},"3755":{"varMapping":{"__isSmartRef__":true,"id":3756},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3756":{"obj":{"__isSmartRef__":true,"id":3699},"name":"onMouseDown"},"3757":{},"3758":{},"3759":{"varMapping":{"__isSmartRef__":true,"id":3760},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3760":{"this":{"__isSmartRef__":true,"id":3699}},"3761":{},"3762":{"varMapping":{"__isSmartRef__":true,"id":3763},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3763":{"this":{"__isSmartRef__":true,"id":3699}},"3764":{},"3765":{"varMapping":{"__isSmartRef__":true,"id":3766},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3766":{"this":{"__isSmartRef__":true,"id":3699}},"3767":{},"3768":{"_Position":{"__isSmartRef__":true,"id":3769},"renderContextTable":{"__isSmartRef__":true,"id":3770},"_Extent":{"__isSmartRef__":true,"id":3771},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3772},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3769":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3770":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3771":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3772":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3773":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3774":{"morph":{"__isSmartRef__":true,"id":3698},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3775":{"layouter":{"__isSmartRef__":true,"id":3776},"resizeWidth":true},"3776":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3698},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3777":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3778":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3779":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3780}},"3780":{"varMapping":{"__isSmartRef__":true,"id":3781},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3781":{"this":{"__isSmartRef__":true,"id":3698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3782}},"3782":{"$super":{"__isSmartRef__":true,"id":3783}},"3783":{"varMapping":{"__isSmartRef__":true,"id":3784},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3784":{"obj":{"__isSmartRef__":true,"id":3698},"name":"getLayoutableSubmorphs"},"3785":{},"3786":{},"3787":{"submorphs":[{"__isSmartRef__":true,"id":3788}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3857},"derivationIds":[null],"id":"51FD6BDD-CB42-4350-90CA-5A0F1BC838F4","renderContextTable":{"__isSmartRef__":true,"id":3862},"eventHandler":{"__isSmartRef__":true,"id":3863},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3864},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3866},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":3867},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3868},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3788":{"submorphs":[{"__isSmartRef__":true,"id":3789},{"__isSmartRef__":true,"id":3810}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3827},"derivationIds":[null],"id":"E928124D-A72C-435B-A95C-0D4705A73F17","renderContextTable":{"__isSmartRef__":true,"id":3832},"eventHandler":{"__isSmartRef__":true,"id":3833},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3834},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","id","shape","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","registeredForMouseEvents","_Position","hands","__SourceModuleName__","changeSet","statusMessages","showsHalos","lastAlert","__layered_draggingEnabled__","_Scale","renderContextTable","eventHandler","eventStartPos","worldMenuOpened","prevScroll","attributeConnections","doNotSerialize","doNotCopyProperties","$$savedWorldAsURL","savedWorldAsURL","_renderContext","draggingEnabled","clickedOnMorph","clickedOnMorphTime","draggedMorph","selectionMorph","currentMenu","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"$$owner","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3789},"text":{"__isSmartRef__":true,"id":3810},"owner":{"__isSmartRef__":true,"id":3787},"_Position":{"__isSmartRef__":true,"id":3835},"priorExtent":{"__isSmartRef__":true,"id":3836},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3837},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3789":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3790},"derivationIds":[null],"id":"7502A8C7-8744-430F-A5F4-54456A77D705","renderContextTable":{"__isSmartRef__":true,"id":3796},"eventHandler":{"__isSmartRef__":true,"id":3797},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3798},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3799},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3790":{"_Position":{"__isSmartRef__":true,"id":3791},"renderContextTable":{"__isSmartRef__":true,"id":3792},"_Extent":{"__isSmartRef__":true,"id":3793},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3794},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3791":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3792":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3793":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3794":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3795":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3797":{"morph":{"__isSmartRef__":true,"id":3789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3798":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3799":{"toggle":{"__isSmartRef__":true,"id":3800},"toggleExpansion":{"__isSmartRef__":true,"id":3807}},"3800":{"varMapping":{"__isSmartRef__":true,"id":3801},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3801":{"this":{"__isSmartRef__":true,"id":3789},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3802}},"3802":{"$super":{"__isSmartRef__":true,"id":3803}},"3803":{"varMapping":{"__isSmartRef__":true,"id":3804},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3804":{"obj":{"__isSmartRef__":true,"id":3789},"name":"toggle"},"3805":{},"3806":{},"3807":{"varMapping":{"__isSmartRef__":true,"id":3808},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3808":{"this":{"__isSmartRef__":true,"id":3789}},"3809":{},"3810":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3811},"derivationIds":[null],"id":"87F7873C-4FA4-4AB1-AC60-997CEFA24690","renderContextTable":{"__isSmartRef__":true,"id":3815},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3816},{"__isSmartRef__":true,"id":3818}],"eventHandler":{"__isSmartRef__":true,"id":3820},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3821},"priorExtent":{"__isSmartRef__":true,"id":3822},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3823},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3811":{"_Position":{"__isSmartRef__":true,"id":3812},"renderContextTable":{"__isSmartRef__":true,"id":3813},"_Extent":{"__isSmartRef__":true,"id":3814},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3812":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3813":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3814":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3815":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3816":{"style":{"__isSmartRef__":true,"id":3817},"chunkOwner":{"__isSmartRef__":true,"id":3810},"storedString":"$$owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3817":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3818":{"style":{"__isSmartRef__":true,"id":3819},"chunkOwner":{"__isSmartRef__":true,"id":3810},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3819":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3820":{"morph":{"__isSmartRef__":true,"id":3810},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3821":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3822":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3823":{"layoutText":{"__isSmartRef__":true,"id":3824}},"3824":{"varMapping":{"__isSmartRef__":true,"id":3825},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3825":{"this":{"__isSmartRef__":true,"id":3810}},"3826":{},"3827":{"_Position":{"__isSmartRef__":true,"id":3828},"renderContextTable":{"__isSmartRef__":true,"id":3829},"_Extent":{"__isSmartRef__":true,"id":3830},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3831},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3828":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3829":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3830":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3831":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3832":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3833":{"morph":{"__isSmartRef__":true,"id":3788},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3834":{"resizeWidth":true},"3835":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3836":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3837":{"updateExpanderColor":{"__isSmartRef__":true,"id":3838},"onMouseDown":{"__isSmartRef__":true,"id":3841},"isRoot":{"__isSmartRef__":true,"id":3848},"displayValue":{"__isSmartRef__":true,"id":3851},"update":{"__isSmartRef__":true,"id":3854}},"3838":{"varMapping":{"__isSmartRef__":true,"id":3839},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3839":{"this":{"__isSmartRef__":true,"id":3788}},"3840":{},"3841":{"varMapping":{"__isSmartRef__":true,"id":3842},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3847},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3842":{"this":{"__isSmartRef__":true,"id":3788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3843}},"3843":{"$super":{"__isSmartRef__":true,"id":3844}},"3844":{"varMapping":{"__isSmartRef__":true,"id":3845},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3845":{"obj":{"__isSmartRef__":true,"id":3788},"name":"onMouseDown"},"3846":{},"3847":{},"3848":{"varMapping":{"__isSmartRef__":true,"id":3849},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3849":{"this":{"__isSmartRef__":true,"id":3788}},"3850":{},"3851":{"varMapping":{"__isSmartRef__":true,"id":3852},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3852":{"this":{"__isSmartRef__":true,"id":3788}},"3853":{},"3854":{"varMapping":{"__isSmartRef__":true,"id":3855},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3856},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3855":{"this":{"__isSmartRef__":true,"id":3788}},"3856":{},"3857":{"_Position":{"__isSmartRef__":true,"id":3858},"renderContextTable":{"__isSmartRef__":true,"id":3859},"_Extent":{"__isSmartRef__":true,"id":3860},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3861},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3858":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3859":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3860":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3861":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3862":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3863":{"morph":{"__isSmartRef__":true,"id":3787},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3864":{"layouter":{"__isSmartRef__":true,"id":3865},"resizeWidth":true},"3865":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3787},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3866":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3867":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3868":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3869}},"3869":{"varMapping":{"__isSmartRef__":true,"id":3870},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3875},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3870":{"this":{"__isSmartRef__":true,"id":3787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3871}},"3871":{"$super":{"__isSmartRef__":true,"id":3872}},"3872":{"varMapping":{"__isSmartRef__":true,"id":3873},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3873":{"obj":{"__isSmartRef__":true,"id":3787},"name":"getLayoutableSubmorphs"},"3874":{},"3875":{},"3876":{"submorphs":[{"__isSmartRef__":true,"id":3877}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3946},"derivationIds":[null],"id":"4D9B9158-5B73-4ABD-B43F-8B88AE614460","renderContextTable":{"__isSmartRef__":true,"id":3951},"eventHandler":{"__isSmartRef__":true,"id":3952},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3953},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3955},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":3956},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3957},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3877":{"submorphs":[{"__isSmartRef__":true,"id":3878},{"__isSmartRef__":true,"id":3899}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3916},"derivationIds":[null],"id":"8CC77BF5-A409-4BCF-899B-C41103AE5834","renderContextTable":{"__isSmartRef__":true,"id":3921},"eventHandler":{"__isSmartRef__":true,"id":3922},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3923},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":114},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3878},"text":{"__isSmartRef__":true,"id":3899},"owner":{"__isSmartRef__":true,"id":3876},"_Position":{"__isSmartRef__":true,"id":3924},"priorExtent":{"__isSmartRef__":true,"id":3925},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3926},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3878":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3879},"derivationIds":[null],"id":"40CC476B-B090-4E0B-9A7C-F01C9AA1DDC3","renderContextTable":{"__isSmartRef__":true,"id":3885},"eventHandler":{"__isSmartRef__":true,"id":3886},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3887},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3888},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3879":{"_Position":{"__isSmartRef__":true,"id":3880},"renderContextTable":{"__isSmartRef__":true,"id":3881},"_Extent":{"__isSmartRef__":true,"id":3882},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3883},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3884},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3880":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3881":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3882":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3883":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3884":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3886":{"morph":{"__isSmartRef__":true,"id":3878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3887":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3888":{"toggle":{"__isSmartRef__":true,"id":3889},"toggleExpansion":{"__isSmartRef__":true,"id":3896}},"3889":{"varMapping":{"__isSmartRef__":true,"id":3890},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3890":{"this":{"__isSmartRef__":true,"id":3878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3891}},"3891":{"$super":{"__isSmartRef__":true,"id":3892}},"3892":{"varMapping":{"__isSmartRef__":true,"id":3893},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3893":{"obj":{"__isSmartRef__":true,"id":3878},"name":"toggle"},"3894":{},"3895":{},"3896":{"varMapping":{"__isSmartRef__":true,"id":3897},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3897":{"this":{"__isSmartRef__":true,"id":3878}},"3898":{},"3899":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3900},"derivationIds":[null],"id":"CF8C54D4-2EAB-41B9-968F-9C18FC5850FB","renderContextTable":{"__isSmartRef__":true,"id":3904},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3905},{"__isSmartRef__":true,"id":3907}],"eventHandler":{"__isSmartRef__":true,"id":3909},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3910},"priorExtent":{"__isSmartRef__":true,"id":3911},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3912},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3900":{"_Position":{"__isSmartRef__":true,"id":3901},"renderContextTable":{"__isSmartRef__":true,"id":3902},"_Extent":{"__isSmartRef__":true,"id":3903},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3901":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3902":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3903":{"x":128,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3904":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3905":{"style":{"__isSmartRef__":true,"id":3906},"chunkOwner":{"__isSmartRef__":true,"id":3899},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3906":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3907":{"style":{"__isSmartRef__":true,"id":3908},"chunkOwner":{"__isSmartRef__":true,"id":3899},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3908":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3909":{"morph":{"__isSmartRef__":true,"id":3899},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3910":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3911":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3912":{"layoutText":{"__isSmartRef__":true,"id":3913}},"3913":{"varMapping":{"__isSmartRef__":true,"id":3914},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3914":{"this":{"__isSmartRef__":true,"id":3899}},"3915":{},"3916":{"_Position":{"__isSmartRef__":true,"id":3917},"renderContextTable":{"__isSmartRef__":true,"id":3918},"_Extent":{"__isSmartRef__":true,"id":3919},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3920},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3917":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3918":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3919":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3920":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3921":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3922":{"morph":{"__isSmartRef__":true,"id":3877},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3923":{"resizeWidth":true},"3924":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3925":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3926":{"updateExpanderColor":{"__isSmartRef__":true,"id":3927},"onMouseDown":{"__isSmartRef__":true,"id":3930},"isRoot":{"__isSmartRef__":true,"id":3937},"displayValue":{"__isSmartRef__":true,"id":3940},"update":{"__isSmartRef__":true,"id":3943}},"3927":{"varMapping":{"__isSmartRef__":true,"id":3928},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3929},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3928":{"this":{"__isSmartRef__":true,"id":3877}},"3929":{},"3930":{"varMapping":{"__isSmartRef__":true,"id":3931},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3931":{"this":{"__isSmartRef__":true,"id":3877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3932}},"3932":{"$super":{"__isSmartRef__":true,"id":3933}},"3933":{"varMapping":{"__isSmartRef__":true,"id":3934},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3934":{"obj":{"__isSmartRef__":true,"id":3877},"name":"onMouseDown"},"3935":{},"3936":{},"3937":{"varMapping":{"__isSmartRef__":true,"id":3938},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3939},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3938":{"this":{"__isSmartRef__":true,"id":3877}},"3939":{},"3940":{"varMapping":{"__isSmartRef__":true,"id":3941},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3941":{"this":{"__isSmartRef__":true,"id":3877}},"3942":{},"3943":{"varMapping":{"__isSmartRef__":true,"id":3944},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3945},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3944":{"this":{"__isSmartRef__":true,"id":3877}},"3945":{},"3946":{"_Position":{"__isSmartRef__":true,"id":3947},"renderContextTable":{"__isSmartRef__":true,"id":3948},"_Extent":{"__isSmartRef__":true,"id":3949},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3950},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3947":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3948":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3949":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3950":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3951":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3952":{"morph":{"__isSmartRef__":true,"id":3876},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3953":{"layouter":{"__isSmartRef__":true,"id":3954},"resizeWidth":true},"3954":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3876},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3955":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3956":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3957":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3958}},"3958":{"varMapping":{"__isSmartRef__":true,"id":3959},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3959":{"this":{"__isSmartRef__":true,"id":3876},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3960}},"3960":{"$super":{"__isSmartRef__":true,"id":3961}},"3961":{"varMapping":{"__isSmartRef__":true,"id":3962},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3962":{"obj":{"__isSmartRef__":true,"id":3876},"name":"getLayoutableSubmorphs"},"3963":{},"3964":{},"3965":{"submorphs":[{"__isSmartRef__":true,"id":3966}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4035},"derivationIds":[null],"id":"72DF7A87-1B6D-421D-B6D7-3DC5D5C1D6AB","renderContextTable":{"__isSmartRef__":true,"id":4040},"eventHandler":{"__isSmartRef__":true,"id":4041},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4042},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4044},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4045},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4046},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3966":{"submorphs":[{"__isSmartRef__":true,"id":3967},{"__isSmartRef__":true,"id":3988}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4005},"derivationIds":[null],"id":"82699977-A9D1-4EB9-A3CA-DEA536B9C743","renderContextTable":{"__isSmartRef__":true,"id":4010},"eventHandler":{"__isSmartRef__":true,"id":4011},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4012},"grabbingEnabled":false,"draggingEnabled":false,"data":-0.7632065069431179,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":3967},"text":{"__isSmartRef__":true,"id":3988},"owner":{"__isSmartRef__":true,"id":3965},"_Position":{"__isSmartRef__":true,"id":4013},"priorExtent":{"__isSmartRef__":true,"id":4014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4015},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3967":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3968},"derivationIds":[null],"id":"7113FD1D-C87E-4BBE-9C24-2E5C1DDA7B9C","renderContextTable":{"__isSmartRef__":true,"id":3974},"eventHandler":{"__isSmartRef__":true,"id":3975},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3976},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3966},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3977},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3968":{"_Position":{"__isSmartRef__":true,"id":3969},"renderContextTable":{"__isSmartRef__":true,"id":3970},"_Extent":{"__isSmartRef__":true,"id":3971},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3972},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3973},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3969":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3970":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3971":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3972":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3973":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3974":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3975":{"morph":{"__isSmartRef__":true,"id":3967},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3976":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3977":{"toggle":{"__isSmartRef__":true,"id":3978},"toggleExpansion":{"__isSmartRef__":true,"id":3985}},"3978":{"varMapping":{"__isSmartRef__":true,"id":3979},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3979":{"this":{"__isSmartRef__":true,"id":3967},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3980}},"3980":{"$super":{"__isSmartRef__":true,"id":3981}},"3981":{"varMapping":{"__isSmartRef__":true,"id":3982},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3982":{"obj":{"__isSmartRef__":true,"id":3967},"name":"toggle"},"3983":{},"3984":{},"3985":{"varMapping":{"__isSmartRef__":true,"id":3986},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3986":{"this":{"__isSmartRef__":true,"id":3967}},"3987":{},"3988":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3989},"derivationIds":[null],"id":"3ABF8193-DC6F-4D92-9D25-7C18057873AE","renderContextTable":{"__isSmartRef__":true,"id":3993},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3994},{"__isSmartRef__":true,"id":3996}],"eventHandler":{"__isSmartRef__":true,"id":3998},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3999},"priorExtent":{"__isSmartRef__":true,"id":4000},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3966},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4001},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3989":{"_Position":{"__isSmartRef__":true,"id":3990},"renderContextTable":{"__isSmartRef__":true,"id":3991},"_Extent":{"__isSmartRef__":true,"id":3992},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3990":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3991":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3992":{"x":233,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3993":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3994":{"style":{"__isSmartRef__":true,"id":3995},"chunkOwner":{"__isSmartRef__":true,"id":3988},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3995":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3996":{"style":{"__isSmartRef__":true,"id":3997},"chunkOwner":{"__isSmartRef__":true,"id":3988},"storedString":": -0.7632065069431179","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3997":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3998":{"morph":{"__isSmartRef__":true,"id":3988},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3999":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4000":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4001":{"layoutText":{"__isSmartRef__":true,"id":4002}},"4002":{"varMapping":{"__isSmartRef__":true,"id":4003},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4003":{"this":{"__isSmartRef__":true,"id":3988}},"4004":{},"4005":{"_Position":{"__isSmartRef__":true,"id":4006},"renderContextTable":{"__isSmartRef__":true,"id":4007},"_Extent":{"__isSmartRef__":true,"id":4008},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4006":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4007":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4008":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4009":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4010":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4011":{"morph":{"__isSmartRef__":true,"id":3966},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4012":{"resizeWidth":true},"4013":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4014":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4015":{"updateExpanderColor":{"__isSmartRef__":true,"id":4016},"onMouseDown":{"__isSmartRef__":true,"id":4019},"isRoot":{"__isSmartRef__":true,"id":4026},"displayValue":{"__isSmartRef__":true,"id":4029},"update":{"__isSmartRef__":true,"id":4032}},"4016":{"varMapping":{"__isSmartRef__":true,"id":4017},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4017":{"this":{"__isSmartRef__":true,"id":3966}},"4018":{},"4019":{"varMapping":{"__isSmartRef__":true,"id":4020},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4020":{"this":{"__isSmartRef__":true,"id":3966},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4021}},"4021":{"$super":{"__isSmartRef__":true,"id":4022}},"4022":{"varMapping":{"__isSmartRef__":true,"id":4023},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4023":{"obj":{"__isSmartRef__":true,"id":3966},"name":"onMouseDown"},"4024":{},"4025":{},"4026":{"varMapping":{"__isSmartRef__":true,"id":4027},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4027":{"this":{"__isSmartRef__":true,"id":3966}},"4028":{},"4029":{"varMapping":{"__isSmartRef__":true,"id":4030},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4030":{"this":{"__isSmartRef__":true,"id":3966}},"4031":{},"4032":{"varMapping":{"__isSmartRef__":true,"id":4033},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4034},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4033":{"this":{"__isSmartRef__":true,"id":3966}},"4034":{},"4035":{"_Position":{"__isSmartRef__":true,"id":4036},"renderContextTable":{"__isSmartRef__":true,"id":4037},"_Extent":{"__isSmartRef__":true,"id":4038},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4039},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4036":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4037":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4038":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4039":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4040":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4041":{"morph":{"__isSmartRef__":true,"id":3965},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4042":{"layouter":{"__isSmartRef__":true,"id":4043},"resizeWidth":true},"4043":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3965},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4044":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4045":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4046":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4047}},"4047":{"varMapping":{"__isSmartRef__":true,"id":4048},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4053},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4048":{"this":{"__isSmartRef__":true,"id":3965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4049}},"4049":{"$super":{"__isSmartRef__":true,"id":4050}},"4050":{"varMapping":{"__isSmartRef__":true,"id":4051},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4051":{"obj":{"__isSmartRef__":true,"id":3965},"name":"getLayoutableSubmorphs"},"4052":{},"4053":{},"4054":{"submorphs":[{"__isSmartRef__":true,"id":4055}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4124},"derivationIds":[null],"id":"62A13D13-4AD7-4017-8188-9CA8AB20EE3C","renderContextTable":{"__isSmartRef__":true,"id":4129},"eventHandler":{"__isSmartRef__":true,"id":4130},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4131},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4133},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4134},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4135},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4055":{"submorphs":[{"__isSmartRef__":true,"id":4056},{"__isSmartRef__":true,"id":4077}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4094},"derivationIds":[null],"id":"AAA7A4D7-D2D2-4623-BD84-89C432ED11CA","renderContextTable":{"__isSmartRef__":true,"id":4099},"eventHandler":{"__isSmartRef__":true,"id":4100},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4101},"grabbingEnabled":false,"draggingEnabled":false,"data":1.002003004005006,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4056},"text":{"__isSmartRef__":true,"id":4077},"owner":{"__isSmartRef__":true,"id":4054},"_Position":{"__isSmartRef__":true,"id":4102},"priorExtent":{"__isSmartRef__":true,"id":4103},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4104},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4056":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4057},"derivationIds":[null],"id":"3505D18F-FF68-433B-8A3A-6D069AC26841","renderContextTable":{"__isSmartRef__":true,"id":4063},"eventHandler":{"__isSmartRef__":true,"id":4064},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4065},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4055},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4066},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4057":{"_Position":{"__isSmartRef__":true,"id":4058},"renderContextTable":{"__isSmartRef__":true,"id":4059},"_Extent":{"__isSmartRef__":true,"id":4060},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4061},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4062},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4058":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4059":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4060":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4061":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4062":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4063":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4064":{"morph":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4065":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4066":{"toggle":{"__isSmartRef__":true,"id":4067},"toggleExpansion":{"__isSmartRef__":true,"id":4074}},"4067":{"varMapping":{"__isSmartRef__":true,"id":4068},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4073},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4068":{"this":{"__isSmartRef__":true,"id":4056},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4069}},"4069":{"$super":{"__isSmartRef__":true,"id":4070}},"4070":{"varMapping":{"__isSmartRef__":true,"id":4071},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4071":{"obj":{"__isSmartRef__":true,"id":4056},"name":"toggle"},"4072":{},"4073":{},"4074":{"varMapping":{"__isSmartRef__":true,"id":4075},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4075":{"this":{"__isSmartRef__":true,"id":4056}},"4076":{},"4077":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4078},"derivationIds":[null],"id":"058A9D9D-14D3-45CB-81EB-A1150F8901E1","renderContextTable":{"__isSmartRef__":true,"id":4082},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4083},{"__isSmartRef__":true,"id":4085}],"eventHandler":{"__isSmartRef__":true,"id":4087},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4088},"priorExtent":{"__isSmartRef__":true,"id":4089},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4055},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4090},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4078":{"_Position":{"__isSmartRef__":true,"id":4079},"renderContextTable":{"__isSmartRef__":true,"id":4080},"_Extent":{"__isSmartRef__":true,"id":4081},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4079":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4080":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4081":{"x":195.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4082":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4083":{"style":{"__isSmartRef__":true,"id":4084},"chunkOwner":{"__isSmartRef__":true,"id":4077},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4084":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4085":{"style":{"__isSmartRef__":true,"id":4086},"chunkOwner":{"__isSmartRef__":true,"id":4077},"storedString":": 1.002003004005006","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4086":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4087":{"morph":{"__isSmartRef__":true,"id":4077},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4088":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4089":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4090":{"layoutText":{"__isSmartRef__":true,"id":4091}},"4091":{"varMapping":{"__isSmartRef__":true,"id":4092},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4092":{"this":{"__isSmartRef__":true,"id":4077}},"4093":{},"4094":{"_Position":{"__isSmartRef__":true,"id":4095},"renderContextTable":{"__isSmartRef__":true,"id":4096},"_Extent":{"__isSmartRef__":true,"id":4097},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4098},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4095":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4096":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4097":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4098":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4099":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4100":{"morph":{"__isSmartRef__":true,"id":4055},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4101":{"resizeWidth":true},"4102":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4103":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4104":{"updateExpanderColor":{"__isSmartRef__":true,"id":4105},"onMouseDown":{"__isSmartRef__":true,"id":4108},"isRoot":{"__isSmartRef__":true,"id":4115},"displayValue":{"__isSmartRef__":true,"id":4118},"update":{"__isSmartRef__":true,"id":4121}},"4105":{"varMapping":{"__isSmartRef__":true,"id":4106},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4106":{"this":{"__isSmartRef__":true,"id":4055}},"4107":{},"4108":{"varMapping":{"__isSmartRef__":true,"id":4109},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4109":{"this":{"__isSmartRef__":true,"id":4055},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4110}},"4110":{"$super":{"__isSmartRef__":true,"id":4111}},"4111":{"varMapping":{"__isSmartRef__":true,"id":4112},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4112":{"obj":{"__isSmartRef__":true,"id":4055},"name":"onMouseDown"},"4113":{},"4114":{},"4115":{"varMapping":{"__isSmartRef__":true,"id":4116},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4116":{"this":{"__isSmartRef__":true,"id":4055}},"4117":{},"4118":{"varMapping":{"__isSmartRef__":true,"id":4119},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4119":{"this":{"__isSmartRef__":true,"id":4055}},"4120":{},"4121":{"varMapping":{"__isSmartRef__":true,"id":4122},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4123},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4122":{"this":{"__isSmartRef__":true,"id":4055}},"4123":{},"4124":{"_Position":{"__isSmartRef__":true,"id":4125},"renderContextTable":{"__isSmartRef__":true,"id":4126},"_Extent":{"__isSmartRef__":true,"id":4127},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4128},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4125":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4126":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4127":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4128":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4129":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4130":{"morph":{"__isSmartRef__":true,"id":4054},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4131":{"layouter":{"__isSmartRef__":true,"id":4132},"resizeWidth":true},"4132":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4054},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4133":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4134":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4135":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4136}},"4136":{"varMapping":{"__isSmartRef__":true,"id":4137},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4137":{"this":{"__isSmartRef__":true,"id":4054},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4138}},"4138":{"$super":{"__isSmartRef__":true,"id":4139}},"4139":{"varMapping":{"__isSmartRef__":true,"id":4140},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4140":{"obj":{"__isSmartRef__":true,"id":4054},"name":"getLayoutableSubmorphs"},"4141":{},"4142":{},"4143":{"submorphs":[{"__isSmartRef__":true,"id":4144}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4213},"derivationIds":[null],"id":"DFDCB8E1-2322-454E-9CA6-94622EE8E434","renderContextTable":{"__isSmartRef__":true,"id":4218},"eventHandler":{"__isSmartRef__":true,"id":4219},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4220},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4222},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4223},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4224},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4144":{"submorphs":[{"__isSmartRef__":true,"id":4145},{"__isSmartRef__":true,"id":4166}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4183},"derivationIds":[null],"id":"0DDF6980-8E6B-40C3-AC88-2A6809899C89","renderContextTable":{"__isSmartRef__":true,"id":4188},"eventHandler":{"__isSmartRef__":true,"id":4189},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4190},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Widgets","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4145},"text":{"__isSmartRef__":true,"id":4166},"owner":{"__isSmartRef__":true,"id":4143},"_Position":{"__isSmartRef__":true,"id":4191},"priorExtent":{"__isSmartRef__":true,"id":4192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4193},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4145":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4146},"derivationIds":[null],"id":"028FE9B4-050A-43DD-84DC-5006A6E2AB00","renderContextTable":{"__isSmartRef__":true,"id":4152},"eventHandler":{"__isSmartRef__":true,"id":4153},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4154},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4144},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4155},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4146":{"_Position":{"__isSmartRef__":true,"id":4147},"renderContextTable":{"__isSmartRef__":true,"id":4148},"_Extent":{"__isSmartRef__":true,"id":4149},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4150},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4151},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4147":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4148":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4149":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4150":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4151":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4153":{"morph":{"__isSmartRef__":true,"id":4145},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4154":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4155":{"toggle":{"__isSmartRef__":true,"id":4156},"toggleExpansion":{"__isSmartRef__":true,"id":4163}},"4156":{"varMapping":{"__isSmartRef__":true,"id":4157},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4157":{"this":{"__isSmartRef__":true,"id":4145},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4158}},"4158":{"$super":{"__isSmartRef__":true,"id":4159}},"4159":{"varMapping":{"__isSmartRef__":true,"id":4160},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4160":{"obj":{"__isSmartRef__":true,"id":4145},"name":"toggle"},"4161":{},"4162":{},"4163":{"varMapping":{"__isSmartRef__":true,"id":4164},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4164":{"this":{"__isSmartRef__":true,"id":4145}},"4165":{},"4166":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4167},"derivationIds":[null],"id":"FFA69C98-24A0-4CEA-99FB-99CAD4A56FFF","renderContextTable":{"__isSmartRef__":true,"id":4171},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4172},{"__isSmartRef__":true,"id":4174}],"eventHandler":{"__isSmartRef__":true,"id":4176},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4177},"priorExtent":{"__isSmartRef__":true,"id":4178},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4144},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4179},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4167":{"_Position":{"__isSmartRef__":true,"id":4168},"renderContextTable":{"__isSmartRef__":true,"id":4169},"_Extent":{"__isSmartRef__":true,"id":4170},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4168":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4169":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4170":{"x":390.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4171":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4172":{"style":{"__isSmartRef__":true,"id":4173},"chunkOwner":{"__isSmartRef__":true,"id":4166},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4173":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4174":{"style":{"__isSmartRef__":true,"id":4175},"chunkOwner":{"__isSmartRef__":true,"id":4166},"storedString":": Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4175":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4176":{"morph":{"__isSmartRef__":true,"id":4166},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4177":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4178":{"x":382.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4179":{"layoutText":{"__isSmartRef__":true,"id":4180}},"4180":{"varMapping":{"__isSmartRef__":true,"id":4181},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4181":{"this":{"__isSmartRef__":true,"id":4166}},"4182":{},"4183":{"_Position":{"__isSmartRef__":true,"id":4184},"renderContextTable":{"__isSmartRef__":true,"id":4185},"_Extent":{"__isSmartRef__":true,"id":4186},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4187},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4184":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4185":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4186":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4187":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4189":{"morph":{"__isSmartRef__":true,"id":4144},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4190":{"resizeWidth":true},"4191":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4192":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4193":{"updateExpanderColor":{"__isSmartRef__":true,"id":4194},"onMouseDown":{"__isSmartRef__":true,"id":4197},"isRoot":{"__isSmartRef__":true,"id":4204},"displayValue":{"__isSmartRef__":true,"id":4207},"update":{"__isSmartRef__":true,"id":4210}},"4194":{"varMapping":{"__isSmartRef__":true,"id":4195},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4196},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4195":{"this":{"__isSmartRef__":true,"id":4144}},"4196":{},"4197":{"varMapping":{"__isSmartRef__":true,"id":4198},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4203},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4198":{"this":{"__isSmartRef__":true,"id":4144},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4199}},"4199":{"$super":{"__isSmartRef__":true,"id":4200}},"4200":{"varMapping":{"__isSmartRef__":true,"id":4201},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4201":{"obj":{"__isSmartRef__":true,"id":4144},"name":"onMouseDown"},"4202":{},"4203":{},"4204":{"varMapping":{"__isSmartRef__":true,"id":4205},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4205":{"this":{"__isSmartRef__":true,"id":4144}},"4206":{},"4207":{"varMapping":{"__isSmartRef__":true,"id":4208},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4208":{"this":{"__isSmartRef__":true,"id":4144}},"4209":{},"4210":{"varMapping":{"__isSmartRef__":true,"id":4211},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4211":{"this":{"__isSmartRef__":true,"id":4144}},"4212":{},"4213":{"_Position":{"__isSmartRef__":true,"id":4214},"renderContextTable":{"__isSmartRef__":true,"id":4215},"_Extent":{"__isSmartRef__":true,"id":4216},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4217},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4214":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4215":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4216":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4217":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4218":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4219":{"morph":{"__isSmartRef__":true,"id":4143},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4220":{"layouter":{"__isSmartRef__":true,"id":4221},"resizeWidth":true},"4221":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4143},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4222":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4223":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4224":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4225}},"4225":{"varMapping":{"__isSmartRef__":true,"id":4226},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4226":{"this":{"__isSmartRef__":true,"id":4143},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4227}},"4227":{"$super":{"__isSmartRef__":true,"id":4228}},"4228":{"varMapping":{"__isSmartRef__":true,"id":4229},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4229":{"obj":{"__isSmartRef__":true,"id":4143},"name":"getLayoutableSubmorphs"},"4230":{},"4231":{},"4232":{"submorphs":[{"__isSmartRef__":true,"id":4233}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4303},"derivationIds":[null],"id":"B301E486-2B5B-45AF-B221-22C7A513783D","renderContextTable":{"__isSmartRef__":true,"id":4308},"eventHandler":{"__isSmartRef__":true,"id":4309},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4310},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4312},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4313},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4314},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4233":{"submorphs":[{"__isSmartRef__":true,"id":4234},{"__isSmartRef__":true,"id":4255}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4272},"derivationIds":[null],"id":"AFBF8F18-B79A-4EA9-A0F6-EC7134804DE7","renderContextTable":{"__isSmartRef__":true,"id":4277},"eventHandler":{"__isSmartRef__":true,"id":4278},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4279},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4280},"propertyList":["morphNode","shapeNode","imgNode"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4234},"text":{"__isSmartRef__":true,"id":4255},"owner":{"__isSmartRef__":true,"id":4232},"_Position":{"__isSmartRef__":true,"id":4281},"priorExtent":{"__isSmartRef__":true,"id":4282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4283},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4234":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4235},"derivationIds":[null],"id":"515EE130-FFEF-4B92-AC76-BAE271B10690","renderContextTable":{"__isSmartRef__":true,"id":4241},"eventHandler":{"__isSmartRef__":true,"id":4242},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4243},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4233},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4244},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4235":{"_Position":{"__isSmartRef__":true,"id":4236},"renderContextTable":{"__isSmartRef__":true,"id":4237},"_Extent":{"__isSmartRef__":true,"id":4238},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4239},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4240},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4236":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4238":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4239":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4240":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4241":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4242":{"morph":{"__isSmartRef__":true,"id":4234},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4243":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4244":{"toggle":{"__isSmartRef__":true,"id":4245},"toggleExpansion":{"__isSmartRef__":true,"id":4252}},"4245":{"varMapping":{"__isSmartRef__":true,"id":4246},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4246":{"this":{"__isSmartRef__":true,"id":4234},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4247}},"4247":{"$super":{"__isSmartRef__":true,"id":4248}},"4248":{"varMapping":{"__isSmartRef__":true,"id":4249},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4249":{"obj":{"__isSmartRef__":true,"id":4234},"name":"toggle"},"4250":{},"4251":{},"4252":{"varMapping":{"__isSmartRef__":true,"id":4253},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4253":{"this":{"__isSmartRef__":true,"id":4234}},"4254":{},"4255":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4256},"derivationIds":[null],"id":"78064C60-844A-4B70-8D9B-D69B855944B8","renderContextTable":{"__isSmartRef__":true,"id":4260},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4261},{"__isSmartRef__":true,"id":4263}],"eventHandler":{"__isSmartRef__":true,"id":4265},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4266},"priorExtent":{"__isSmartRef__":true,"id":4267},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4233},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4268},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4256":{"_Position":{"__isSmartRef__":true,"id":4257},"renderContextTable":{"__isSmartRef__":true,"id":4258},"_Extent":{"__isSmartRef__":true,"id":4259},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4257":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4258":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4259":{"x":225.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4260":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4261":{"style":{"__isSmartRef__":true,"id":4262},"chunkOwner":{"__isSmartRef__":true,"id":4255},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4262":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4263":{"style":{"__isSmartRef__":true,"id":4264},"chunkOwner":{"__isSmartRef__":true,"id":4255},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4264":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4265":{"morph":{"__isSmartRef__":true,"id":4255},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4266":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4267":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4268":{"layoutText":{"__isSmartRef__":true,"id":4269}},"4269":{"varMapping":{"__isSmartRef__":true,"id":4270},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4270":{"this":{"__isSmartRef__":true,"id":4255}},"4271":{},"4272":{"_Position":{"__isSmartRef__":true,"id":4273},"renderContextTable":{"__isSmartRef__":true,"id":4274},"_Extent":{"__isSmartRef__":true,"id":4275},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4276},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4274":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4275":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4276":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4278":{"morph":{"__isSmartRef__":true,"id":4233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4279":{"resizeWidth":true},"4280":{"__LivelyClassName__":"lively.morphic.HTML.RenderContext","__SourceModuleName__":"Global.lively.morphic.HTML"},"4281":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4282":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4283":{"updateExpanderColor":{"__isSmartRef__":true,"id":4284},"onMouseDown":{"__isSmartRef__":true,"id":4287},"isRoot":{"__isSmartRef__":true,"id":4294},"displayValue":{"__isSmartRef__":true,"id":4297},"update":{"__isSmartRef__":true,"id":4300}},"4284":{"varMapping":{"__isSmartRef__":true,"id":4285},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4286},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4285":{"this":{"__isSmartRef__":true,"id":4233}},"4286":{},"4287":{"varMapping":{"__isSmartRef__":true,"id":4288},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4288":{"this":{"__isSmartRef__":true,"id":4233},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4289}},"4289":{"$super":{"__isSmartRef__":true,"id":4290}},"4290":{"varMapping":{"__isSmartRef__":true,"id":4291},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4291":{"obj":{"__isSmartRef__":true,"id":4233},"name":"onMouseDown"},"4292":{},"4293":{},"4294":{"varMapping":{"__isSmartRef__":true,"id":4295},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4295":{"this":{"__isSmartRef__":true,"id":4233}},"4296":{},"4297":{"varMapping":{"__isSmartRef__":true,"id":4298},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4298":{"this":{"__isSmartRef__":true,"id":4233}},"4299":{},"4300":{"varMapping":{"__isSmartRef__":true,"id":4301},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4301":{"this":{"__isSmartRef__":true,"id":4233}},"4302":{},"4303":{"_Position":{"__isSmartRef__":true,"id":4304},"renderContextTable":{"__isSmartRef__":true,"id":4305},"_Extent":{"__isSmartRef__":true,"id":4306},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4307},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4304":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4306":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4307":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4308":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4309":{"morph":{"__isSmartRef__":true,"id":4232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4310":{"layouter":{"__isSmartRef__":true,"id":4311},"resizeWidth":true},"4311":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4232},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4312":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4313":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4314":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4315}},"4315":{"varMapping":{"__isSmartRef__":true,"id":4316},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4316":{"this":{"__isSmartRef__":true,"id":4232},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4317}},"4317":{"$super":{"__isSmartRef__":true,"id":4318}},"4318":{"varMapping":{"__isSmartRef__":true,"id":4319},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4319":{"obj":{"__isSmartRef__":true,"id":4232},"name":"getLayoutableSubmorphs"},"4320":{},"4321":{},"4322":{"submorphs":[{"__isSmartRef__":true,"id":4323}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4391},"derivationIds":[null],"id":"1DB2BA2D-AE74-4662-980F-4C5B72B4EA43","renderContextTable":{"__isSmartRef__":true,"id":4396},"eventHandler":{"__isSmartRef__":true,"id":4397},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4398},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4400},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4401},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4402},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4323":{"submorphs":[{"__isSmartRef__":true,"id":4324},{"__isSmartRef__":true,"id":4344}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4361},"derivationIds":[null],"id":"1302769D-A6F9-4A86-AEF0-C46FEF767489","renderContextTable":{"__isSmartRef__":true,"id":4366},"eventHandler":{"__isSmartRef__":true,"id":4367},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4368},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":101},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":111}],"propertyList":["0","1","2","3","4","5","6","7","8","9"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4324},"text":{"__isSmartRef__":true,"id":4344},"owner":{"__isSmartRef__":true,"id":4322},"_Position":{"__isSmartRef__":true,"id":4369},"priorExtent":{"__isSmartRef__":true,"id":4370},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4371},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4324":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4325},"derivationIds":[null],"id":"9643F814-8B3E-4008-BCC5-72364806467B","renderContextTable":{"__isSmartRef__":true,"id":4330},"eventHandler":{"__isSmartRef__":true,"id":4331},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4332},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4333},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4325":{"_Position":{"__isSmartRef__":true,"id":4326},"renderContextTable":{"__isSmartRef__":true,"id":4327},"_Extent":{"__isSmartRef__":true,"id":4328},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4329},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4326":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4327":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4328":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4329":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4330":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4331":{"morph":{"__isSmartRef__":true,"id":4324},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4332":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4333":{"toggle":{"__isSmartRef__":true,"id":4334},"toggleExpansion":{"__isSmartRef__":true,"id":4341}},"4334":{"varMapping":{"__isSmartRef__":true,"id":4335},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4335":{"this":{"__isSmartRef__":true,"id":4324},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4336}},"4336":{"$super":{"__isSmartRef__":true,"id":4337}},"4337":{"varMapping":{"__isSmartRef__":true,"id":4338},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4338":{"obj":{"__isSmartRef__":true,"id":4324},"name":"toggle"},"4339":{},"4340":{},"4341":{"varMapping":{"__isSmartRef__":true,"id":4342},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4343},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4342":{"this":{"__isSmartRef__":true,"id":4324}},"4343":{},"4344":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4345},"derivationIds":[null],"id":"B8270E9A-E397-4A49-9C5A-E72A2E13F92D","renderContextTable":{"__isSmartRef__":true,"id":4349},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4350},{"__isSmartRef__":true,"id":4352}],"eventHandler":{"__isSmartRef__":true,"id":4354},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4355},"priorExtent":{"__isSmartRef__":true,"id":4356},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4357},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4345":{"_Position":{"__isSmartRef__":true,"id":4346},"renderContextTable":{"__isSmartRef__":true,"id":4347},"_Extent":{"__isSmartRef__":true,"id":4348},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4346":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4347":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4348":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4350":{"style":{"__isSmartRef__":true,"id":4351},"chunkOwner":{"__isSmartRef__":true,"id":4344},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4351":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4352":{"style":{"__isSmartRef__":true,"id":4353},"chunkOwner":{"__isSmartRef__":true,"id":4344},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4353":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4354":{"morph":{"__isSmartRef__":true,"id":4344},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4355":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4356":{"x":210.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4357":{"layoutText":{"__isSmartRef__":true,"id":4358}},"4358":{"varMapping":{"__isSmartRef__":true,"id":4359},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4359":{"this":{"__isSmartRef__":true,"id":4344}},"4360":{},"4361":{"_Position":{"__isSmartRef__":true,"id":4362},"renderContextTable":{"__isSmartRef__":true,"id":4363},"_Extent":{"__isSmartRef__":true,"id":4364},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4365},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4362":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4363":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4364":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4365":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4366":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4367":{"morph":{"__isSmartRef__":true,"id":4323},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4368":{"resizeWidth":true},"4369":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4370":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4371":{"updateExpanderColor":{"__isSmartRef__":true,"id":4372},"onMouseDown":{"__isSmartRef__":true,"id":4375},"isRoot":{"__isSmartRef__":true,"id":4382},"displayValue":{"__isSmartRef__":true,"id":4385},"update":{"__isSmartRef__":true,"id":4388}},"4372":{"varMapping":{"__isSmartRef__":true,"id":4373},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4373":{"this":{"__isSmartRef__":true,"id":4323}},"4374":{},"4375":{"varMapping":{"__isSmartRef__":true,"id":4376},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4376":{"this":{"__isSmartRef__":true,"id":4323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4377}},"4377":{"$super":{"__isSmartRef__":true,"id":4378}},"4378":{"varMapping":{"__isSmartRef__":true,"id":4379},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4379":{"obj":{"__isSmartRef__":true,"id":4323},"name":"onMouseDown"},"4380":{},"4381":{},"4382":{"varMapping":{"__isSmartRef__":true,"id":4383},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4383":{"this":{"__isSmartRef__":true,"id":4323}},"4384":{},"4385":{"varMapping":{"__isSmartRef__":true,"id":4386},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4386":{"this":{"__isSmartRef__":true,"id":4323}},"4387":{},"4388":{"varMapping":{"__isSmartRef__":true,"id":4389},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4389":{"this":{"__isSmartRef__":true,"id":4323}},"4390":{},"4391":{"_Position":{"__isSmartRef__":true,"id":4392},"renderContextTable":{"__isSmartRef__":true,"id":4393},"_Extent":{"__isSmartRef__":true,"id":4394},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4395},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4392":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4394":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4395":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4397":{"morph":{"__isSmartRef__":true,"id":4322},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4398":{"layouter":{"__isSmartRef__":true,"id":4399},"resizeWidth":true},"4399":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4322},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4400":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4401":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4402":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4403}},"4403":{"varMapping":{"__isSmartRef__":true,"id":4404},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4404":{"this":{"__isSmartRef__":true,"id":4322},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4405}},"4405":{"$super":{"__isSmartRef__":true,"id":4406}},"4406":{"varMapping":{"__isSmartRef__":true,"id":4407},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4407":{"obj":{"__isSmartRef__":true,"id":4322},"name":"getLayoutableSubmorphs"},"4408":{},"4409":{},"4410":{"submorphs":[{"__isSmartRef__":true,"id":4411}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4480},"derivationIds":[null],"id":"CC228D8E-6D7E-4CF8-BAF2-1780BF0AAB0D","renderContextTable":{"__isSmartRef__":true,"id":4485},"eventHandler":{"__isSmartRef__":true,"id":4486},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4487},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4489},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4490},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4491},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4411":{"submorphs":[{"__isSmartRef__":true,"id":4412},{"__isSmartRef__":true,"id":4433}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4450},"derivationIds":[null],"id":"A710179F-8BD6-40C4-AEE6-D3DC32FFD955","renderContextTable":{"__isSmartRef__":true,"id":4455},"eventHandler":{"__isSmartRef__":true,"id":4456},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4457},"grabbingEnabled":false,"draggingEnabled":false,"data":[707],"propertyList":["0"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4412},"text":{"__isSmartRef__":true,"id":4433},"owner":{"__isSmartRef__":true,"id":4410},"_Position":{"__isSmartRef__":true,"id":4458},"priorExtent":{"__isSmartRef__":true,"id":4459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4460},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4412":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4413},"derivationIds":[null],"id":"998ECE4A-7B11-4697-858B-06743732E069","renderContextTable":{"__isSmartRef__":true,"id":4419},"eventHandler":{"__isSmartRef__":true,"id":4420},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4421},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4411},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4422},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4413":{"_Position":{"__isSmartRef__":true,"id":4414},"renderContextTable":{"__isSmartRef__":true,"id":4415},"_Extent":{"__isSmartRef__":true,"id":4416},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4417},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4418},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4414":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4415":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4416":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4417":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4418":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4419":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4420":{"morph":{"__isSmartRef__":true,"id":4412},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4421":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4422":{"toggle":{"__isSmartRef__":true,"id":4423},"toggleExpansion":{"__isSmartRef__":true,"id":4430}},"4423":{"varMapping":{"__isSmartRef__":true,"id":4424},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4424":{"this":{"__isSmartRef__":true,"id":4412},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4425}},"4425":{"$super":{"__isSmartRef__":true,"id":4426}},"4426":{"varMapping":{"__isSmartRef__":true,"id":4427},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4427":{"obj":{"__isSmartRef__":true,"id":4412},"name":"toggle"},"4428":{},"4429":{},"4430":{"varMapping":{"__isSmartRef__":true,"id":4431},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4431":{"this":{"__isSmartRef__":true,"id":4412}},"4432":{},"4433":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4434},"derivationIds":[null],"id":"9FBA87E8-4BD8-431E-A7D5-C9FA5A6B25B6","renderContextTable":{"__isSmartRef__":true,"id":4438},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4439},{"__isSmartRef__":true,"id":4441}],"eventHandler":{"__isSmartRef__":true,"id":4443},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4444},"priorExtent":{"__isSmartRef__":true,"id":4445},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4411},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4446},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4434":{"_Position":{"__isSmartRef__":true,"id":4435},"renderContextTable":{"__isSmartRef__":true,"id":4436},"_Extent":{"__isSmartRef__":true,"id":4437},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4435":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4436":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4437":{"x":158,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4438":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4439":{"style":{"__isSmartRef__":true,"id":4440},"chunkOwner":{"__isSmartRef__":true,"id":4433},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4440":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4441":{"style":{"__isSmartRef__":true,"id":4442},"chunkOwner":{"__isSmartRef__":true,"id":4433},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4442":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4443":{"morph":{"__isSmartRef__":true,"id":4433},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4444":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4445":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4446":{"layoutText":{"__isSmartRef__":true,"id":4447}},"4447":{"varMapping":{"__isSmartRef__":true,"id":4448},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4448":{"this":{"__isSmartRef__":true,"id":4433}},"4449":{},"4450":{"_Position":{"__isSmartRef__":true,"id":4451},"renderContextTable":{"__isSmartRef__":true,"id":4452},"_Extent":{"__isSmartRef__":true,"id":4453},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4454},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4451":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4452":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4453":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4454":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4455":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4456":{"morph":{"__isSmartRef__":true,"id":4411},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4457":{"resizeWidth":true},"4458":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4459":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4460":{"updateExpanderColor":{"__isSmartRef__":true,"id":4461},"onMouseDown":{"__isSmartRef__":true,"id":4464},"isRoot":{"__isSmartRef__":true,"id":4471},"displayValue":{"__isSmartRef__":true,"id":4474},"update":{"__isSmartRef__":true,"id":4477}},"4461":{"varMapping":{"__isSmartRef__":true,"id":4462},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4463},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4462":{"this":{"__isSmartRef__":true,"id":4411}},"4463":{},"4464":{"varMapping":{"__isSmartRef__":true,"id":4465},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4465":{"this":{"__isSmartRef__":true,"id":4411},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4466}},"4466":{"$super":{"__isSmartRef__":true,"id":4467}},"4467":{"varMapping":{"__isSmartRef__":true,"id":4468},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4468":{"obj":{"__isSmartRef__":true,"id":4411},"name":"onMouseDown"},"4469":{},"4470":{},"4471":{"varMapping":{"__isSmartRef__":true,"id":4472},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4472":{"this":{"__isSmartRef__":true,"id":4411}},"4473":{},"4474":{"varMapping":{"__isSmartRef__":true,"id":4475},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4476},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4475":{"this":{"__isSmartRef__":true,"id":4411}},"4476":{},"4477":{"varMapping":{"__isSmartRef__":true,"id":4478},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4478":{"this":{"__isSmartRef__":true,"id":4411}},"4479":{},"4480":{"_Position":{"__isSmartRef__":true,"id":4481},"renderContextTable":{"__isSmartRef__":true,"id":4482},"_Extent":{"__isSmartRef__":true,"id":4483},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4484},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4481":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4483":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4484":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4485":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4486":{"morph":{"__isSmartRef__":true,"id":4410},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4487":{"layouter":{"__isSmartRef__":true,"id":4488},"resizeWidth":true},"4488":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4410},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4489":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4490":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4491":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4492}},"4492":{"varMapping":{"__isSmartRef__":true,"id":4493},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4493":{"this":{"__isSmartRef__":true,"id":4410},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4494}},"4494":{"$super":{"__isSmartRef__":true,"id":4495}},"4495":{"varMapping":{"__isSmartRef__":true,"id":4496},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4496":{"obj":{"__isSmartRef__":true,"id":4410},"name":"getLayoutableSubmorphs"},"4497":{},"4498":{},"4499":{"submorphs":[{"__isSmartRef__":true,"id":4500}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4569},"derivationIds":[null],"id":"6AB58F7E-F922-4252-92FC-9877BC350F1C","renderContextTable":{"__isSmartRef__":true,"id":4574},"eventHandler":{"__isSmartRef__":true,"id":4575},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4576},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4578},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4580},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4500":{"submorphs":[{"__isSmartRef__":true,"id":4501},{"__isSmartRef__":true,"id":4522}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4539},"derivationIds":[null],"id":"46360779-A6C3-4E65-A706-8D8E4F158059","renderContextTable":{"__isSmartRef__":true,"id":4544},"eventHandler":{"__isSmartRef__":true,"id":4545},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4546},"grabbingEnabled":false,"draggingEnabled":false,"data":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"propertyList":["0","1","2","3"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4501},"text":{"__isSmartRef__":true,"id":4522},"owner":{"__isSmartRef__":true,"id":4499},"_Position":{"__isSmartRef__":true,"id":4547},"priorExtent":{"__isSmartRef__":true,"id":4548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4549},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4501":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4502},"derivationIds":[null],"id":"3F9AC7CC-AE65-4E24-9B48-ADAEC75E8B52","renderContextTable":{"__isSmartRef__":true,"id":4508},"eventHandler":{"__isSmartRef__":true,"id":4509},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4510},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4511},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4502":{"_Position":{"__isSmartRef__":true,"id":4503},"renderContextTable":{"__isSmartRef__":true,"id":4504},"_Extent":{"__isSmartRef__":true,"id":4505},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4506},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4507},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4503":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4504":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4505":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4506":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4507":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4508":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4509":{"morph":{"__isSmartRef__":true,"id":4501},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4510":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4511":{"toggle":{"__isSmartRef__":true,"id":4512},"toggleExpansion":{"__isSmartRef__":true,"id":4519}},"4512":{"varMapping":{"__isSmartRef__":true,"id":4513},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4513":{"this":{"__isSmartRef__":true,"id":4501},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4514}},"4514":{"$super":{"__isSmartRef__":true,"id":4515}},"4515":{"varMapping":{"__isSmartRef__":true,"id":4516},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4516":{"obj":{"__isSmartRef__":true,"id":4501},"name":"toggle"},"4517":{},"4518":{},"4519":{"varMapping":{"__isSmartRef__":true,"id":4520},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4520":{"this":{"__isSmartRef__":true,"id":4501}},"4521":{},"4522":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4523},"derivationIds":[null],"id":"87B3B1D5-07A0-489C-A202-86AECB59DA0F","renderContextTable":{"__isSmartRef__":true,"id":4527},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4528},{"__isSmartRef__":true,"id":4530}],"eventHandler":{"__isSmartRef__":true,"id":4532},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4533},"priorExtent":{"__isSmartRef__":true,"id":4534},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4535},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4523":{"_Position":{"__isSmartRef__":true,"id":4524},"renderContextTable":{"__isSmartRef__":true,"id":4525},"_Extent":{"__isSmartRef__":true,"id":4526},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4524":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4525":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4526":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4527":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4528":{"style":{"__isSmartRef__":true,"id":4529},"chunkOwner":{"__isSmartRef__":true,"id":4522},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4529":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4530":{"style":{"__isSmartRef__":true,"id":4531},"chunkOwner":{"__isSmartRef__":true,"id":4522},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4531":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4532":{"morph":{"__isSmartRef__":true,"id":4522},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4533":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4534":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4535":{"layoutText":{"__isSmartRef__":true,"id":4536}},"4536":{"varMapping":{"__isSmartRef__":true,"id":4537},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4537":{"this":{"__isSmartRef__":true,"id":4522}},"4538":{},"4539":{"_Position":{"__isSmartRef__":true,"id":4540},"renderContextTable":{"__isSmartRef__":true,"id":4541},"_Extent":{"__isSmartRef__":true,"id":4542},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4543},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4540":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4541":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4542":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4543":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4544":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4545":{"morph":{"__isSmartRef__":true,"id":4500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4546":{"resizeWidth":true},"4547":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4548":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4549":{"updateExpanderColor":{"__isSmartRef__":true,"id":4550},"onMouseDown":{"__isSmartRef__":true,"id":4553},"isRoot":{"__isSmartRef__":true,"id":4560},"displayValue":{"__isSmartRef__":true,"id":4563},"update":{"__isSmartRef__":true,"id":4566}},"4550":{"varMapping":{"__isSmartRef__":true,"id":4551},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4551":{"this":{"__isSmartRef__":true,"id":4500}},"4552":{},"4553":{"varMapping":{"__isSmartRef__":true,"id":4554},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4554":{"this":{"__isSmartRef__":true,"id":4500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4555}},"4555":{"$super":{"__isSmartRef__":true,"id":4556}},"4556":{"varMapping":{"__isSmartRef__":true,"id":4557},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4557":{"obj":{"__isSmartRef__":true,"id":4500},"name":"onMouseDown"},"4558":{},"4559":{},"4560":{"varMapping":{"__isSmartRef__":true,"id":4561},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4561":{"this":{"__isSmartRef__":true,"id":4500}},"4562":{},"4563":{"varMapping":{"__isSmartRef__":true,"id":4564},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4564":{"this":{"__isSmartRef__":true,"id":4500}},"4565":{},"4566":{"varMapping":{"__isSmartRef__":true,"id":4567},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4568},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4567":{"this":{"__isSmartRef__":true,"id":4500}},"4568":{},"4569":{"_Position":{"__isSmartRef__":true,"id":4570},"renderContextTable":{"__isSmartRef__":true,"id":4571},"_Extent":{"__isSmartRef__":true,"id":4572},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4573},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4570":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4571":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4572":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4573":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4574":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4575":{"morph":{"__isSmartRef__":true,"id":4499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4576":{"layouter":{"__isSmartRef__":true,"id":4577},"resizeWidth":true},"4577":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4499},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4578":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4579":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4580":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4581}},"4581":{"varMapping":{"__isSmartRef__":true,"id":4582},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4587},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4582":{"this":{"__isSmartRef__":true,"id":4499},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4583}},"4583":{"$super":{"__isSmartRef__":true,"id":4584}},"4584":{"varMapping":{"__isSmartRef__":true,"id":4585},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4586},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4585":{"obj":{"__isSmartRef__":true,"id":4499},"name":"getLayoutableSubmorphs"},"4586":{},"4587":{},"4588":{"submorphs":[{"__isSmartRef__":true,"id":4589}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4658},"derivationIds":[null],"id":"8746E750-1344-4FC8-A5AF-222878D9DA6A","renderContextTable":{"__isSmartRef__":true,"id":4663},"eventHandler":{"__isSmartRef__":true,"id":4664},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4665},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4667},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4669},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4589":{"submorphs":[{"__isSmartRef__":true,"id":4590},{"__isSmartRef__":true,"id":4611}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4628},"derivationIds":[null],"id":"D2F30916-45F4-431A-8B67-2C9485E84026","renderContextTable":{"__isSmartRef__":true,"id":4633},"eventHandler":{"__isSmartRef__":true,"id":4634},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4635},"grabbingEnabled":false,"draggingEnabled":false,"data":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"propertyList":["0","1","2","3"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4590},"text":{"__isSmartRef__":true,"id":4611},"owner":{"__isSmartRef__":true,"id":4588},"_Position":{"__isSmartRef__":true,"id":4636},"priorExtent":{"__isSmartRef__":true,"id":4637},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4638},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4590":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4591},"derivationIds":[null],"id":"B663556C-4C71-46FF-AFA8-2491A590ADBD","renderContextTable":{"__isSmartRef__":true,"id":4597},"eventHandler":{"__isSmartRef__":true,"id":4598},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4599},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4589},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4600},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4591":{"_Position":{"__isSmartRef__":true,"id":4592},"renderContextTable":{"__isSmartRef__":true,"id":4593},"_Extent":{"__isSmartRef__":true,"id":4594},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4595},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4596},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4592":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4593":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4594":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4595":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4596":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4597":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4598":{"morph":{"__isSmartRef__":true,"id":4590},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4599":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4600":{"toggle":{"__isSmartRef__":true,"id":4601},"toggleExpansion":{"__isSmartRef__":true,"id":4608}},"4601":{"varMapping":{"__isSmartRef__":true,"id":4602},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4602":{"this":{"__isSmartRef__":true,"id":4590},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4603}},"4603":{"$super":{"__isSmartRef__":true,"id":4604}},"4604":{"varMapping":{"__isSmartRef__":true,"id":4605},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4605":{"obj":{"__isSmartRef__":true,"id":4590},"name":"toggle"},"4606":{},"4607":{},"4608":{"varMapping":{"__isSmartRef__":true,"id":4609},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4609":{"this":{"__isSmartRef__":true,"id":4590}},"4610":{},"4611":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4612},"derivationIds":[null],"id":"7DEB1F54-800A-438E-A38B-5E50CABCCAD4","renderContextTable":{"__isSmartRef__":true,"id":4616},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4617},{"__isSmartRef__":true,"id":4619}],"eventHandler":{"__isSmartRef__":true,"id":4621},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4622},"priorExtent":{"__isSmartRef__":true,"id":4623},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4589},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4624},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4612":{"_Position":{"__isSmartRef__":true,"id":4613},"renderContextTable":{"__isSmartRef__":true,"id":4614},"_Extent":{"__isSmartRef__":true,"id":4615},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4613":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4614":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4615":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4616":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4617":{"style":{"__isSmartRef__":true,"id":4618},"chunkOwner":{"__isSmartRef__":true,"id":4611},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4618":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4619":{"style":{"__isSmartRef__":true,"id":4620},"chunkOwner":{"__isSmartRef__":true,"id":4611},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4620":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4621":{"morph":{"__isSmartRef__":true,"id":4611},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4622":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4623":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4624":{"layoutText":{"__isSmartRef__":true,"id":4625}},"4625":{"varMapping":{"__isSmartRef__":true,"id":4626},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4626":{"this":{"__isSmartRef__":true,"id":4611}},"4627":{},"4628":{"_Position":{"__isSmartRef__":true,"id":4629},"renderContextTable":{"__isSmartRef__":true,"id":4630},"_Extent":{"__isSmartRef__":true,"id":4631},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4632},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4629":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4630":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4631":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4632":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4633":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4634":{"morph":{"__isSmartRef__":true,"id":4589},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4635":{"resizeWidth":true},"4636":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4637":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4638":{"updateExpanderColor":{"__isSmartRef__":true,"id":4639},"onMouseDown":{"__isSmartRef__":true,"id":4642},"isRoot":{"__isSmartRef__":true,"id":4649},"displayValue":{"__isSmartRef__":true,"id":4652},"update":{"__isSmartRef__":true,"id":4655}},"4639":{"varMapping":{"__isSmartRef__":true,"id":4640},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4640":{"this":{"__isSmartRef__":true,"id":4589}},"4641":{},"4642":{"varMapping":{"__isSmartRef__":true,"id":4643},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4643":{"this":{"__isSmartRef__":true,"id":4589},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4644}},"4644":{"$super":{"__isSmartRef__":true,"id":4645}},"4645":{"varMapping":{"__isSmartRef__":true,"id":4646},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4646":{"obj":{"__isSmartRef__":true,"id":4589},"name":"onMouseDown"},"4647":{},"4648":{},"4649":{"varMapping":{"__isSmartRef__":true,"id":4650},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4650":{"this":{"__isSmartRef__":true,"id":4589}},"4651":{},"4652":{"varMapping":{"__isSmartRef__":true,"id":4653},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4653":{"this":{"__isSmartRef__":true,"id":4589}},"4654":{},"4655":{"varMapping":{"__isSmartRef__":true,"id":4656},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4656":{"this":{"__isSmartRef__":true,"id":4589}},"4657":{},"4658":{"_Position":{"__isSmartRef__":true,"id":4659},"renderContextTable":{"__isSmartRef__":true,"id":4660},"_Extent":{"__isSmartRef__":true,"id":4661},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4662},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4659":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4660":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4661":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4662":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4663":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4664":{"morph":{"__isSmartRef__":true,"id":4588},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4665":{"layouter":{"__isSmartRef__":true,"id":4666},"resizeWidth":true},"4666":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4588},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4667":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4668":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4669":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4670}},"4670":{"varMapping":{"__isSmartRef__":true,"id":4671},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4671":{"this":{"__isSmartRef__":true,"id":4588},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4672}},"4672":{"$super":{"__isSmartRef__":true,"id":4673}},"4673":{"varMapping":{"__isSmartRef__":true,"id":4674},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4674":{"obj":{"__isSmartRef__":true,"id":4588},"name":"getLayoutableSubmorphs"},"4675":{},"4676":{},"4677":{"submorphs":[{"__isSmartRef__":true,"id":4678}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4747},"derivationIds":[null],"id":"26DC839D-3AD4-46E2-8E1F-4AF9FD7C6D50","renderContextTable":{"__isSmartRef__":true,"id":4752},"eventHandler":{"__isSmartRef__":true,"id":4753},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4754},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4756},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4757},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4758},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4678":{"submorphs":[{"__isSmartRef__":true,"id":4679},{"__isSmartRef__":true,"id":4700}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4717},"derivationIds":[null],"id":"C88BC366-7872-4D24-BB7F-CBC6000AFA55","renderContextTable":{"__isSmartRef__":true,"id":4722},"eventHandler":{"__isSmartRef__":true,"id":4723},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4724},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"droppingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4679},"text":{"__isSmartRef__":true,"id":4700},"owner":{"__isSmartRef__":true,"id":4677},"_Position":{"__isSmartRef__":true,"id":4725},"priorExtent":{"__isSmartRef__":true,"id":4726},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4727},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4679":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4680},"derivationIds":[null],"id":"7BF45AAF-5446-4F23-B91C-1032C308EC94","renderContextTable":{"__isSmartRef__":true,"id":4686},"eventHandler":{"__isSmartRef__":true,"id":4687},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4688},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4689},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4680":{"_Position":{"__isSmartRef__":true,"id":4681},"renderContextTable":{"__isSmartRef__":true,"id":4682},"_Extent":{"__isSmartRef__":true,"id":4683},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4684},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4685},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4681":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4682":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4683":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4684":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4685":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4687":{"morph":{"__isSmartRef__":true,"id":4679},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4688":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4689":{"toggle":{"__isSmartRef__":true,"id":4690},"toggleExpansion":{"__isSmartRef__":true,"id":4697}},"4690":{"varMapping":{"__isSmartRef__":true,"id":4691},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4691":{"this":{"__isSmartRef__":true,"id":4679},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4692}},"4692":{"$super":{"__isSmartRef__":true,"id":4693}},"4693":{"varMapping":{"__isSmartRef__":true,"id":4694},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4694":{"obj":{"__isSmartRef__":true,"id":4679},"name":"toggle"},"4695":{},"4696":{},"4697":{"varMapping":{"__isSmartRef__":true,"id":4698},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4698":{"this":{"__isSmartRef__":true,"id":4679}},"4699":{},"4700":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4701},"derivationIds":[null],"id":"A1CDE566-D9BE-4609-8AA9-A34C87CE65E4","renderContextTable":{"__isSmartRef__":true,"id":4705},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4706},{"__isSmartRef__":true,"id":4708}],"eventHandler":{"__isSmartRef__":true,"id":4710},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4711},"priorExtent":{"__isSmartRef__":true,"id":4712},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4713},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4701":{"_Position":{"__isSmartRef__":true,"id":4702},"renderContextTable":{"__isSmartRef__":true,"id":4703},"_Extent":{"__isSmartRef__":true,"id":4704},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4702":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4703":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4704":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4705":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4706":{"style":{"__isSmartRef__":true,"id":4707},"chunkOwner":{"__isSmartRef__":true,"id":4700},"storedString":"droppingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4707":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4708":{"style":{"__isSmartRef__":true,"id":4709},"chunkOwner":{"__isSmartRef__":true,"id":4700},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4709":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4710":{"morph":{"__isSmartRef__":true,"id":4700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4711":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4712":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4713":{"layoutText":{"__isSmartRef__":true,"id":4714}},"4714":{"varMapping":{"__isSmartRef__":true,"id":4715},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4715":{"this":{"__isSmartRef__":true,"id":4700}},"4716":{},"4717":{"_Position":{"__isSmartRef__":true,"id":4718},"renderContextTable":{"__isSmartRef__":true,"id":4719},"_Extent":{"__isSmartRef__":true,"id":4720},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4721},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4718":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4719":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4720":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4721":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4722":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4723":{"morph":{"__isSmartRef__":true,"id":4678},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4724":{"resizeWidth":true},"4725":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4726":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4727":{"updateExpanderColor":{"__isSmartRef__":true,"id":4728},"onMouseDown":{"__isSmartRef__":true,"id":4731},"isRoot":{"__isSmartRef__":true,"id":4738},"displayValue":{"__isSmartRef__":true,"id":4741},"update":{"__isSmartRef__":true,"id":4744}},"4728":{"varMapping":{"__isSmartRef__":true,"id":4729},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4729":{"this":{"__isSmartRef__":true,"id":4678}},"4730":{},"4731":{"varMapping":{"__isSmartRef__":true,"id":4732},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4732":{"this":{"__isSmartRef__":true,"id":4678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4733}},"4733":{"$super":{"__isSmartRef__":true,"id":4734}},"4734":{"varMapping":{"__isSmartRef__":true,"id":4735},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4735":{"obj":{"__isSmartRef__":true,"id":4678},"name":"onMouseDown"},"4736":{},"4737":{},"4738":{"varMapping":{"__isSmartRef__":true,"id":4739},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4739":{"this":{"__isSmartRef__":true,"id":4678}},"4740":{},"4741":{"varMapping":{"__isSmartRef__":true,"id":4742},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4743},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4742":{"this":{"__isSmartRef__":true,"id":4678}},"4743":{},"4744":{"varMapping":{"__isSmartRef__":true,"id":4745},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4746},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4745":{"this":{"__isSmartRef__":true,"id":4678}},"4746":{},"4747":{"_Position":{"__isSmartRef__":true,"id":4748},"renderContextTable":{"__isSmartRef__":true,"id":4749},"_Extent":{"__isSmartRef__":true,"id":4750},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4751},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4748":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4749":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4750":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4751":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4752":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4753":{"morph":{"__isSmartRef__":true,"id":4677},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4754":{"layouter":{"__isSmartRef__":true,"id":4755},"resizeWidth":true},"4755":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4677},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4756":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4757":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4758":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4759}},"4759":{"varMapping":{"__isSmartRef__":true,"id":4760},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4765},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4760":{"this":{"__isSmartRef__":true,"id":4677},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4761}},"4761":{"$super":{"__isSmartRef__":true,"id":4762}},"4762":{"varMapping":{"__isSmartRef__":true,"id":4763},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4763":{"obj":{"__isSmartRef__":true,"id":4677},"name":"getLayoutableSubmorphs"},"4764":{},"4765":{},"4766":{"submorphs":[{"__isSmartRef__":true,"id":4767}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4836},"derivationIds":[null],"id":"5B9E4A5C-876B-4C5B-AA6A-1DB5EDC03BC8","renderContextTable":{"__isSmartRef__":true,"id":4841},"eventHandler":{"__isSmartRef__":true,"id":4842},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4843},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4845},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4847},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4767":{"submorphs":[{"__isSmartRef__":true,"id":4768},{"__isSmartRef__":true,"id":4789}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4806},"derivationIds":[null],"id":"089755DF-2B02-4540-8815-9BCC8DBE5AF0","renderContextTable":{"__isSmartRef__":true,"id":4811},"eventHandler":{"__isSmartRef__":true,"id":4812},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4813},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":97},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4768},"text":{"__isSmartRef__":true,"id":4789},"owner":{"__isSmartRef__":true,"id":4766},"_Position":{"__isSmartRef__":true,"id":4814},"priorExtent":{"__isSmartRef__":true,"id":4815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4816},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4768":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4769},"derivationIds":[null],"id":"AE0612A7-CE3D-49A1-A96B-86219D62D0C2","renderContextTable":{"__isSmartRef__":true,"id":4775},"eventHandler":{"__isSmartRef__":true,"id":4776},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4777},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4767},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4778},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4769":{"_Position":{"__isSmartRef__":true,"id":4770},"renderContextTable":{"__isSmartRef__":true,"id":4771},"_Extent":{"__isSmartRef__":true,"id":4772},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4773},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4774},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4770":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4771":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4772":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4773":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4774":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4775":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4776":{"morph":{"__isSmartRef__":true,"id":4768},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4777":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4778":{"toggle":{"__isSmartRef__":true,"id":4779},"toggleExpansion":{"__isSmartRef__":true,"id":4786}},"4779":{"varMapping":{"__isSmartRef__":true,"id":4780},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4780":{"this":{"__isSmartRef__":true,"id":4768},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4781}},"4781":{"$super":{"__isSmartRef__":true,"id":4782}},"4782":{"varMapping":{"__isSmartRef__":true,"id":4783},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4783":{"obj":{"__isSmartRef__":true,"id":4768},"name":"toggle"},"4784":{},"4785":{},"4786":{"varMapping":{"__isSmartRef__":true,"id":4787},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4787":{"this":{"__isSmartRef__":true,"id":4768}},"4788":{},"4789":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4790},"derivationIds":[null],"id":"395F83F7-2BE2-4713-877E-F0F976EF330D","renderContextTable":{"__isSmartRef__":true,"id":4794},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4795},{"__isSmartRef__":true,"id":4797}],"eventHandler":{"__isSmartRef__":true,"id":4799},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4800},"priorExtent":{"__isSmartRef__":true,"id":4801},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4767},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4802},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4790":{"_Position":{"__isSmartRef__":true,"id":4791},"renderContextTable":{"__isSmartRef__":true,"id":4792},"_Extent":{"__isSmartRef__":true,"id":4793},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4791":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4792":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4793":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4795":{"style":{"__isSmartRef__":true,"id":4796},"chunkOwner":{"__isSmartRef__":true,"id":4789},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4796":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4797":{"style":{"__isSmartRef__":true,"id":4798},"chunkOwner":{"__isSmartRef__":true,"id":4789},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4798":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4799":{"morph":{"__isSmartRef__":true,"id":4789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4800":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4801":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4802":{"layoutText":{"__isSmartRef__":true,"id":4803}},"4803":{"varMapping":{"__isSmartRef__":true,"id":4804},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4804":{"this":{"__isSmartRef__":true,"id":4789}},"4805":{},"4806":{"_Position":{"__isSmartRef__":true,"id":4807},"renderContextTable":{"__isSmartRef__":true,"id":4808},"_Extent":{"__isSmartRef__":true,"id":4809},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4810},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4807":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4808":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4809":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4810":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4811":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4812":{"morph":{"__isSmartRef__":true,"id":4767},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4813":{"resizeWidth":true},"4814":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4815":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4816":{"updateExpanderColor":{"__isSmartRef__":true,"id":4817},"onMouseDown":{"__isSmartRef__":true,"id":4820},"isRoot":{"__isSmartRef__":true,"id":4827},"displayValue":{"__isSmartRef__":true,"id":4830},"update":{"__isSmartRef__":true,"id":4833}},"4817":{"varMapping":{"__isSmartRef__":true,"id":4818},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4818":{"this":{"__isSmartRef__":true,"id":4767}},"4819":{},"4820":{"varMapping":{"__isSmartRef__":true,"id":4821},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4821":{"this":{"__isSmartRef__":true,"id":4767},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4822}},"4822":{"$super":{"__isSmartRef__":true,"id":4823}},"4823":{"varMapping":{"__isSmartRef__":true,"id":4824},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4824":{"obj":{"__isSmartRef__":true,"id":4767},"name":"onMouseDown"},"4825":{},"4826":{},"4827":{"varMapping":{"__isSmartRef__":true,"id":4828},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4828":{"this":{"__isSmartRef__":true,"id":4767}},"4829":{},"4830":{"varMapping":{"__isSmartRef__":true,"id":4831},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4831":{"this":{"__isSmartRef__":true,"id":4767}},"4832":{},"4833":{"varMapping":{"__isSmartRef__":true,"id":4834},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4835},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4834":{"this":{"__isSmartRef__":true,"id":4767}},"4835":{},"4836":{"_Position":{"__isSmartRef__":true,"id":4837},"renderContextTable":{"__isSmartRef__":true,"id":4838},"_Extent":{"__isSmartRef__":true,"id":4839},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4840},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4837":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4838":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4839":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4840":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4841":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4842":{"morph":{"__isSmartRef__":true,"id":4766},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4843":{"layouter":{"__isSmartRef__":true,"id":4844},"resizeWidth":true},"4844":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4766},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4845":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4846":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4847":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4848}},"4848":{"varMapping":{"__isSmartRef__":true,"id":4849},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4849":{"this":{"__isSmartRef__":true,"id":4766},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4850}},"4850":{"$super":{"__isSmartRef__":true,"id":4851}},"4851":{"varMapping":{"__isSmartRef__":true,"id":4852},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4852":{"obj":{"__isSmartRef__":true,"id":4766},"name":"getLayoutableSubmorphs"},"4853":{},"4854":{},"4855":{"submorphs":[{"__isSmartRef__":true,"id":4856}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4925},"derivationIds":[null],"id":"D0DBFE6C-C212-40A7-BC0C-992721F8ECDE","renderContextTable":{"__isSmartRef__":true,"id":4930},"eventHandler":{"__isSmartRef__":true,"id":4931},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4932},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4934},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":4935},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4936},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4856":{"submorphs":[{"__isSmartRef__":true,"id":4857},{"__isSmartRef__":true,"id":4878}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4895},"derivationIds":[null],"id":"E78B3BD4-978F-4694-8458-A036827B5B38","renderContextTable":{"__isSmartRef__":true,"id":4900},"eventHandler":{"__isSmartRef__":true,"id":4901},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4902},"grabbingEnabled":false,"draggingEnabled":false,"data":0.6562,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"extent","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4857},"text":{"__isSmartRef__":true,"id":4878},"owner":{"__isSmartRef__":true,"id":4855},"_Position":{"__isSmartRef__":true,"id":4903},"priorExtent":{"__isSmartRef__":true,"id":4904},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4905},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4857":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4858},"derivationIds":[null],"id":"23F2BDA4-C30B-4ABB-A7AA-D2A6F86B6788","renderContextTable":{"__isSmartRef__":true,"id":4864},"eventHandler":{"__isSmartRef__":true,"id":4865},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4866},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4867},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4858":{"_Position":{"__isSmartRef__":true,"id":4859},"renderContextTable":{"__isSmartRef__":true,"id":4860},"_Extent":{"__isSmartRef__":true,"id":4861},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4862},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":4863},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4860":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4861":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4862":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4863":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4864":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4865":{"morph":{"__isSmartRef__":true,"id":4857},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4866":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4867":{"toggle":{"__isSmartRef__":true,"id":4868},"toggleExpansion":{"__isSmartRef__":true,"id":4875}},"4868":{"varMapping":{"__isSmartRef__":true,"id":4869},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4869":{"this":{"__isSmartRef__":true,"id":4857},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4870}},"4870":{"$super":{"__isSmartRef__":true,"id":4871}},"4871":{"varMapping":{"__isSmartRef__":true,"id":4872},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4872":{"obj":{"__isSmartRef__":true,"id":4857},"name":"toggle"},"4873":{},"4874":{},"4875":{"varMapping":{"__isSmartRef__":true,"id":4876},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4877},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4876":{"this":{"__isSmartRef__":true,"id":4857}},"4877":{},"4878":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4879},"derivationIds":[null],"id":"38781C0A-F5A1-4D49-81AF-F5A23FC68863","renderContextTable":{"__isSmartRef__":true,"id":4883},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4884},{"__isSmartRef__":true,"id":4886}],"eventHandler":{"__isSmartRef__":true,"id":4888},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4889},"priorExtent":{"__isSmartRef__":true,"id":4890},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4891},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4879":{"_Position":{"__isSmartRef__":true,"id":4880},"renderContextTable":{"__isSmartRef__":true,"id":4881},"_Extent":{"__isSmartRef__":true,"id":4882},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4880":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4881":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4882":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4883":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4884":{"style":{"__isSmartRef__":true,"id":4885},"chunkOwner":{"__isSmartRef__":true,"id":4878},"storedString":"extent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4885":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4886":{"style":{"__isSmartRef__":true,"id":4887},"chunkOwner":{"__isSmartRef__":true,"id":4878},"storedString":": 0.6562","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4887":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4888":{"morph":{"__isSmartRef__":true,"id":4878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4889":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4890":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4891":{"layoutText":{"__isSmartRef__":true,"id":4892}},"4892":{"varMapping":{"__isSmartRef__":true,"id":4893},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4893":{"this":{"__isSmartRef__":true,"id":4878}},"4894":{},"4895":{"_Position":{"__isSmartRef__":true,"id":4896},"renderContextTable":{"__isSmartRef__":true,"id":4897},"_Extent":{"__isSmartRef__":true,"id":4898},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4899},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4896":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4897":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4898":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4899":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4900":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4901":{"morph":{"__isSmartRef__":true,"id":4856},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4902":{"resizeWidth":true},"4903":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4904":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4905":{"updateExpanderColor":{"__isSmartRef__":true,"id":4906},"onMouseDown":{"__isSmartRef__":true,"id":4909},"isRoot":{"__isSmartRef__":true,"id":4916},"displayValue":{"__isSmartRef__":true,"id":4919},"update":{"__isSmartRef__":true,"id":4922}},"4906":{"varMapping":{"__isSmartRef__":true,"id":4907},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4907":{"this":{"__isSmartRef__":true,"id":4856}},"4908":{},"4909":{"varMapping":{"__isSmartRef__":true,"id":4910},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4910":{"this":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4911}},"4911":{"$super":{"__isSmartRef__":true,"id":4912}},"4912":{"varMapping":{"__isSmartRef__":true,"id":4913},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4913":{"obj":{"__isSmartRef__":true,"id":4856},"name":"onMouseDown"},"4914":{},"4915":{},"4916":{"varMapping":{"__isSmartRef__":true,"id":4917},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4917":{"this":{"__isSmartRef__":true,"id":4856}},"4918":{},"4919":{"varMapping":{"__isSmartRef__":true,"id":4920},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4920":{"this":{"__isSmartRef__":true,"id":4856}},"4921":{},"4922":{"varMapping":{"__isSmartRef__":true,"id":4923},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4924},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4923":{"this":{"__isSmartRef__":true,"id":4856}},"4924":{},"4925":{"_Position":{"__isSmartRef__":true,"id":4926},"renderContextTable":{"__isSmartRef__":true,"id":4927},"_Extent":{"__isSmartRef__":true,"id":4928},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4929},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4926":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4928":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4929":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4930":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4931":{"morph":{"__isSmartRef__":true,"id":4855},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4932":{"layouter":{"__isSmartRef__":true,"id":4933},"resizeWidth":true},"4933":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4855},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4934":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4935":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4936":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4937}},"4937":{"varMapping":{"__isSmartRef__":true,"id":4938},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4938":{"this":{"__isSmartRef__":true,"id":4855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4939}},"4939":{"$super":{"__isSmartRef__":true,"id":4940}},"4940":{"varMapping":{"__isSmartRef__":true,"id":4941},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4941":{"obj":{"__isSmartRef__":true,"id":4855},"name":"getLayoutableSubmorphs"},"4942":{},"4943":{},"4944":{"submorphs":[{"__isSmartRef__":true,"id":4945}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5013},"derivationIds":[null],"id":"12307C10-E268-4EC0-920F-F0C629DD4A7A","renderContextTable":{"__isSmartRef__":true,"id":5018},"eventHandler":{"__isSmartRef__":true,"id":5019},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5020},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5022},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5023},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5024},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4945":{"submorphs":[{"__isSmartRef__":true,"id":4946},{"__isSmartRef__":true,"id":4966}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4983},"derivationIds":[null],"id":"DEE5655B-FAF8-4E6E-8A58-BCCE7DE7AF16","renderContextTable":{"__isSmartRef__":true,"id":4988},"eventHandler":{"__isSmartRef__":true,"id":4989},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4990},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"halos","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":4946},"text":{"__isSmartRef__":true,"id":4966},"owner":{"__isSmartRef__":true,"id":4944},"_Position":{"__isSmartRef__":true,"id":4991},"priorExtent":{"__isSmartRef__":true,"id":4992},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4993},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4946":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4947},"derivationIds":[null],"id":"5E72B40D-E829-48C7-9AB0-D5DD2A81A946","renderContextTable":{"__isSmartRef__":true,"id":4952},"eventHandler":{"__isSmartRef__":true,"id":4953},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4954},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4955},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4947":{"_Position":{"__isSmartRef__":true,"id":4948},"renderContextTable":{"__isSmartRef__":true,"id":4949},"_Extent":{"__isSmartRef__":true,"id":4950},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4951},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4948":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4949":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4950":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4951":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4952":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4953":{"morph":{"__isSmartRef__":true,"id":4946},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4954":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4955":{"toggle":{"__isSmartRef__":true,"id":4956},"toggleExpansion":{"__isSmartRef__":true,"id":4963}},"4956":{"varMapping":{"__isSmartRef__":true,"id":4957},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4957":{"this":{"__isSmartRef__":true,"id":4946},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4958}},"4958":{"$super":{"__isSmartRef__":true,"id":4959}},"4959":{"varMapping":{"__isSmartRef__":true,"id":4960},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4960":{"obj":{"__isSmartRef__":true,"id":4946},"name":"toggle"},"4961":{},"4962":{},"4963":{"varMapping":{"__isSmartRef__":true,"id":4964},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4964":{"this":{"__isSmartRef__":true,"id":4946}},"4965":{},"4966":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4967},"derivationIds":[null],"id":"C5AB2EA1-EEB2-479E-9569-7EB210789D08","renderContextTable":{"__isSmartRef__":true,"id":4971},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4972},{"__isSmartRef__":true,"id":4974}],"eventHandler":{"__isSmartRef__":true,"id":4976},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4977},"priorExtent":{"__isSmartRef__":true,"id":4978},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4979},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4967":{"_Position":{"__isSmartRef__":true,"id":4968},"renderContextTable":{"__isSmartRef__":true,"id":4969},"_Extent":{"__isSmartRef__":true,"id":4970},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4968":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4969":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4970":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4971":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4972":{"style":{"__isSmartRef__":true,"id":4973},"chunkOwner":{"__isSmartRef__":true,"id":4966},"storedString":"halos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4973":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4974":{"style":{"__isSmartRef__":true,"id":4975},"chunkOwner":{"__isSmartRef__":true,"id":4966},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4975":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4976":{"morph":{"__isSmartRef__":true,"id":4966},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4977":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4978":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4979":{"layoutText":{"__isSmartRef__":true,"id":4980}},"4980":{"varMapping":{"__isSmartRef__":true,"id":4981},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4981":{"this":{"__isSmartRef__":true,"id":4966}},"4982":{},"4983":{"_Position":{"__isSmartRef__":true,"id":4984},"renderContextTable":{"__isSmartRef__":true,"id":4985},"_Extent":{"__isSmartRef__":true,"id":4986},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4987},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4984":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4985":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4986":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4987":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4988":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4989":{"morph":{"__isSmartRef__":true,"id":4945},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4990":{"resizeWidth":true},"4991":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4992":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4993":{"updateExpanderColor":{"__isSmartRef__":true,"id":4994},"onMouseDown":{"__isSmartRef__":true,"id":4997},"isRoot":{"__isSmartRef__":true,"id":5004},"displayValue":{"__isSmartRef__":true,"id":5007},"update":{"__isSmartRef__":true,"id":5010}},"4994":{"varMapping":{"__isSmartRef__":true,"id":4995},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4995":{"this":{"__isSmartRef__":true,"id":4945}},"4996":{},"4997":{"varMapping":{"__isSmartRef__":true,"id":4998},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5003},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4998":{"this":{"__isSmartRef__":true,"id":4945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4999}},"4999":{"$super":{"__isSmartRef__":true,"id":5000}},"5000":{"varMapping":{"__isSmartRef__":true,"id":5001},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5001":{"obj":{"__isSmartRef__":true,"id":4945},"name":"onMouseDown"},"5002":{},"5003":{},"5004":{"varMapping":{"__isSmartRef__":true,"id":5005},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5005":{"this":{"__isSmartRef__":true,"id":4945}},"5006":{},"5007":{"varMapping":{"__isSmartRef__":true,"id":5008},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5009},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5008":{"this":{"__isSmartRef__":true,"id":4945}},"5009":{},"5010":{"varMapping":{"__isSmartRef__":true,"id":5011},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5011":{"this":{"__isSmartRef__":true,"id":4945}},"5012":{},"5013":{"_Position":{"__isSmartRef__":true,"id":5014},"renderContextTable":{"__isSmartRef__":true,"id":5015},"_Extent":{"__isSmartRef__":true,"id":5016},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5017},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5014":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5015":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5016":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5017":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5018":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5019":{"morph":{"__isSmartRef__":true,"id":4944},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5020":{"layouter":{"__isSmartRef__":true,"id":5021},"resizeWidth":true},"5021":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4944},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5022":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5023":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5024":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5025}},"5025":{"varMapping":{"__isSmartRef__":true,"id":5026},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5026":{"this":{"__isSmartRef__":true,"id":4944},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5027}},"5027":{"$super":{"__isSmartRef__":true,"id":5028}},"5028":{"varMapping":{"__isSmartRef__":true,"id":5029},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5029":{"obj":{"__isSmartRef__":true,"id":4944},"name":"getLayoutableSubmorphs"},"5030":{},"5031":{},"5032":{"submorphs":[{"__isSmartRef__":true,"id":5033}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5102},"derivationIds":[null],"id":"C71D8521-EAFC-4CE4-96DC-9219DF9211F2","renderContextTable":{"__isSmartRef__":true,"id":5107},"eventHandler":{"__isSmartRef__":true,"id":5108},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5109},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5111},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5112},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5113},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5033":{"submorphs":[{"__isSmartRef__":true,"id":5034},{"__isSmartRef__":true,"id":5055}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5072},"derivationIds":[null],"id":"E18CB6B7-93BC-48FE-9843-1DC9E5F77CD8","renderContextTable":{"__isSmartRef__":true,"id":5077},"eventHandler":{"__isSmartRef__":true,"id":5078},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5079},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5034},"text":{"__isSmartRef__":true,"id":5055},"owner":{"__isSmartRef__":true,"id":5032},"_Position":{"__isSmartRef__":true,"id":5080},"priorExtent":{"__isSmartRef__":true,"id":5081},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5082},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5034":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5035},"derivationIds":[null],"id":"22E47245-5E5D-4624-A23C-135533D5D077","renderContextTable":{"__isSmartRef__":true,"id":5041},"eventHandler":{"__isSmartRef__":true,"id":5042},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5043},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5033},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5044},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5035":{"_Position":{"__isSmartRef__":true,"id":5036},"renderContextTable":{"__isSmartRef__":true,"id":5037},"_Extent":{"__isSmartRef__":true,"id":5038},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5039},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5040},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5036":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5037":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5038":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5039":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5040":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5041":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5042":{"morph":{"__isSmartRef__":true,"id":5034},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5043":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5044":{"toggle":{"__isSmartRef__":true,"id":5045},"toggleExpansion":{"__isSmartRef__":true,"id":5052}},"5045":{"varMapping":{"__isSmartRef__":true,"id":5046},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5046":{"this":{"__isSmartRef__":true,"id":5034},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5047}},"5047":{"$super":{"__isSmartRef__":true,"id":5048}},"5048":{"varMapping":{"__isSmartRef__":true,"id":5049},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5049":{"obj":{"__isSmartRef__":true,"id":5034},"name":"toggle"},"5050":{},"5051":{},"5052":{"varMapping":{"__isSmartRef__":true,"id":5053},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5053":{"this":{"__isSmartRef__":true,"id":5034}},"5054":{},"5055":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5056},"derivationIds":[null],"id":"A550A421-4574-4F01-986D-DBB86B01110D","renderContextTable":{"__isSmartRef__":true,"id":5060},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5061},{"__isSmartRef__":true,"id":5063}],"eventHandler":{"__isSmartRef__":true,"id":5065},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5066},"priorExtent":{"__isSmartRef__":true,"id":5067},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5033},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5068},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5056":{"_Position":{"__isSmartRef__":true,"id":5057},"renderContextTable":{"__isSmartRef__":true,"id":5058},"_Extent":{"__isSmartRef__":true,"id":5059},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5057":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5058":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5059":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5061":{"style":{"__isSmartRef__":true,"id":5062},"chunkOwner":{"__isSmartRef__":true,"id":5055},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5062":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5063":{"style":{"__isSmartRef__":true,"id":5064},"chunkOwner":{"__isSmartRef__":true,"id":5055},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5064":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5065":{"morph":{"__isSmartRef__":true,"id":5055},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5066":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5067":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5068":{"layoutText":{"__isSmartRef__":true,"id":5069}},"5069":{"varMapping":{"__isSmartRef__":true,"id":5070},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5070":{"this":{"__isSmartRef__":true,"id":5055}},"5071":{},"5072":{"_Position":{"__isSmartRef__":true,"id":5073},"renderContextTable":{"__isSmartRef__":true,"id":5074},"_Extent":{"__isSmartRef__":true,"id":5075},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5076},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5073":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5074":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5075":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5076":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5077":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5078":{"morph":{"__isSmartRef__":true,"id":5033},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5079":{"resizeWidth":true},"5080":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5081":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5082":{"updateExpanderColor":{"__isSmartRef__":true,"id":5083},"onMouseDown":{"__isSmartRef__":true,"id":5086},"isRoot":{"__isSmartRef__":true,"id":5093},"displayValue":{"__isSmartRef__":true,"id":5096},"update":{"__isSmartRef__":true,"id":5099}},"5083":{"varMapping":{"__isSmartRef__":true,"id":5084},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5084":{"this":{"__isSmartRef__":true,"id":5033}},"5085":{},"5086":{"varMapping":{"__isSmartRef__":true,"id":5087},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5087":{"this":{"__isSmartRef__":true,"id":5033},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5088}},"5088":{"$super":{"__isSmartRef__":true,"id":5089}},"5089":{"varMapping":{"__isSmartRef__":true,"id":5090},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5091},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5090":{"obj":{"__isSmartRef__":true,"id":5033},"name":"onMouseDown"},"5091":{},"5092":{},"5093":{"varMapping":{"__isSmartRef__":true,"id":5094},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5094":{"this":{"__isSmartRef__":true,"id":5033}},"5095":{},"5096":{"varMapping":{"__isSmartRef__":true,"id":5097},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5098},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5097":{"this":{"__isSmartRef__":true,"id":5033}},"5098":{},"5099":{"varMapping":{"__isSmartRef__":true,"id":5100},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5101},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5100":{"this":{"__isSmartRef__":true,"id":5033}},"5101":{},"5102":{"_Position":{"__isSmartRef__":true,"id":5103},"renderContextTable":{"__isSmartRef__":true,"id":5104},"_Extent":{"__isSmartRef__":true,"id":5105},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5106},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5103":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5104":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5105":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5106":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5107":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5108":{"morph":{"__isSmartRef__":true,"id":5032},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5109":{"layouter":{"__isSmartRef__":true,"id":5110},"resizeWidth":true},"5110":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5032},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5111":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5112":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5113":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5114}},"5114":{"varMapping":{"__isSmartRef__":true,"id":5115},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5115":{"this":{"__isSmartRef__":true,"id":5032},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5116}},"5116":{"$super":{"__isSmartRef__":true,"id":5117}},"5117":{"varMapping":{"__isSmartRef__":true,"id":5118},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5118":{"obj":{"__isSmartRef__":true,"id":5032},"name":"getLayoutableSubmorphs"},"5119":{},"5120":{},"5121":{"submorphs":[{"__isSmartRef__":true,"id":5122}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5191},"derivationIds":[null],"id":"EDCD453A-4A83-4A8A-9BAC-2431B36BEB0B","renderContextTable":{"__isSmartRef__":true,"id":5196},"eventHandler":{"__isSmartRef__":true,"id":5197},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5198},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5200},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5201},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5202},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5122":{"submorphs":[{"__isSmartRef__":true,"id":5123},{"__isSmartRef__":true,"id":5144}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5161},"derivationIds":[null],"id":"D5B38DB3-B2EB-405A-8AC7-554EA70C178F","renderContextTable":{"__isSmartRef__":true,"id":5166},"eventHandler":{"__isSmartRef__":true,"id":5167},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5168},"grabbingEnabled":false,"draggingEnabled":false,"data":"0AB98F19-A157-4D7B-B9EC-6977AF4556DA","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5123},"text":{"__isSmartRef__":true,"id":5144},"owner":{"__isSmartRef__":true,"id":5121},"_Position":{"__isSmartRef__":true,"id":5169},"priorExtent":{"__isSmartRef__":true,"id":5170},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5171},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5123":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5124},"derivationIds":[null],"id":"4018637A-B203-426D-88B0-A4D1DFBFC525","renderContextTable":{"__isSmartRef__":true,"id":5130},"eventHandler":{"__isSmartRef__":true,"id":5131},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5132},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5122},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5133},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5124":{"_Position":{"__isSmartRef__":true,"id":5125},"renderContextTable":{"__isSmartRef__":true,"id":5126},"_Extent":{"__isSmartRef__":true,"id":5127},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5128},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5129},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5125":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5126":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5127":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5128":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5129":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5130":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5131":{"morph":{"__isSmartRef__":true,"id":5123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5132":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5133":{"toggle":{"__isSmartRef__":true,"id":5134},"toggleExpansion":{"__isSmartRef__":true,"id":5141}},"5134":{"varMapping":{"__isSmartRef__":true,"id":5135},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5135":{"this":{"__isSmartRef__":true,"id":5123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5136}},"5136":{"$super":{"__isSmartRef__":true,"id":5137}},"5137":{"varMapping":{"__isSmartRef__":true,"id":5138},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5138":{"obj":{"__isSmartRef__":true,"id":5123},"name":"toggle"},"5139":{},"5140":{},"5141":{"varMapping":{"__isSmartRef__":true,"id":5142},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5143},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5142":{"this":{"__isSmartRef__":true,"id":5123}},"5143":{},"5144":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5145},"derivationIds":[null],"id":"439BD47D-5AC4-46AD-8168-C240BBECE809","renderContextTable":{"__isSmartRef__":true,"id":5149},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5150},{"__isSmartRef__":true,"id":5152}],"eventHandler":{"__isSmartRef__":true,"id":5154},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5155},"priorExtent":{"__isSmartRef__":true,"id":5156},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5122},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5157},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5145":{"_Position":{"__isSmartRef__":true,"id":5146},"renderContextTable":{"__isSmartRef__":true,"id":5147},"_Extent":{"__isSmartRef__":true,"id":5148},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5146":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5147":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5148":{"x":308,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5149":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5150":{"style":{"__isSmartRef__":true,"id":5151},"chunkOwner":{"__isSmartRef__":true,"id":5144},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5151":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5152":{"style":{"__isSmartRef__":true,"id":5153},"chunkOwner":{"__isSmartRef__":true,"id":5144},"storedString":": 0AB98F19-A157-4D7B-B9EC-6977AF4556DA","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5153":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5154":{"morph":{"__isSmartRef__":true,"id":5144},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5155":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5156":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5157":{"layoutText":{"__isSmartRef__":true,"id":5158}},"5158":{"varMapping":{"__isSmartRef__":true,"id":5159},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5159":{"this":{"__isSmartRef__":true,"id":5144}},"5160":{},"5161":{"_Position":{"__isSmartRef__":true,"id":5162},"renderContextTable":{"__isSmartRef__":true,"id":5163},"_Extent":{"__isSmartRef__":true,"id":5164},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5165},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5162":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5163":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5164":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5165":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5166":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5167":{"morph":{"__isSmartRef__":true,"id":5122},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5168":{"resizeWidth":true},"5169":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5170":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5171":{"updateExpanderColor":{"__isSmartRef__":true,"id":5172},"onMouseDown":{"__isSmartRef__":true,"id":5175},"isRoot":{"__isSmartRef__":true,"id":5182},"displayValue":{"__isSmartRef__":true,"id":5185},"update":{"__isSmartRef__":true,"id":5188}},"5172":{"varMapping":{"__isSmartRef__":true,"id":5173},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5173":{"this":{"__isSmartRef__":true,"id":5122}},"5174":{},"5175":{"varMapping":{"__isSmartRef__":true,"id":5176},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5176":{"this":{"__isSmartRef__":true,"id":5122},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5177}},"5177":{"$super":{"__isSmartRef__":true,"id":5178}},"5178":{"varMapping":{"__isSmartRef__":true,"id":5179},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5179":{"obj":{"__isSmartRef__":true,"id":5122},"name":"onMouseDown"},"5180":{},"5181":{},"5182":{"varMapping":{"__isSmartRef__":true,"id":5183},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5183":{"this":{"__isSmartRef__":true,"id":5122}},"5184":{},"5185":{"varMapping":{"__isSmartRef__":true,"id":5186},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5186":{"this":{"__isSmartRef__":true,"id":5122}},"5187":{},"5188":{"varMapping":{"__isSmartRef__":true,"id":5189},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5189":{"this":{"__isSmartRef__":true,"id":5122}},"5190":{},"5191":{"_Position":{"__isSmartRef__":true,"id":5192},"renderContextTable":{"__isSmartRef__":true,"id":5193},"_Extent":{"__isSmartRef__":true,"id":5194},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5195},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5192":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5193":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5194":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5195":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5196":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5197":{"morph":{"__isSmartRef__":true,"id":5121},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5198":{"layouter":{"__isSmartRef__":true,"id":5199},"resizeWidth":true},"5199":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5121},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5200":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5201":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5202":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5203}},"5203":{"varMapping":{"__isSmartRef__":true,"id":5204},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5204":{"this":{"__isSmartRef__":true,"id":5121},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5205}},"5205":{"$super":{"__isSmartRef__":true,"id":5206}},"5206":{"varMapping":{"__isSmartRef__":true,"id":5207},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5207":{"obj":{"__isSmartRef__":true,"id":5121},"name":"getLayoutableSubmorphs"},"5208":{},"5209":{},"5210":{"submorphs":[{"__isSmartRef__":true,"id":5211}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5280},"derivationIds":[null],"id":"1B8A9500-C389-4D4B-A3D5-0ED35B563EFF","renderContextTable":{"__isSmartRef__":true,"id":5285},"eventHandler":{"__isSmartRef__":true,"id":5286},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5287},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5289},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5290},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5291},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5211":{"submorphs":[{"__isSmartRef__":true,"id":5212},{"__isSmartRef__":true,"id":5233}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5250},"derivationIds":[null],"id":"E49BF144-547A-4E4F-A98E-608695A2ED78","renderContextTable":{"__isSmartRef__":true,"id":5255},"eventHandler":{"__isSmartRef__":true,"id":5256},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5257},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"isBeingDragged","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5212},"text":{"__isSmartRef__":true,"id":5233},"owner":{"__isSmartRef__":true,"id":5210},"_Position":{"__isSmartRef__":true,"id":5258},"priorExtent":{"__isSmartRef__":true,"id":5259},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5260},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5212":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5213},"derivationIds":[null],"id":"A9D668CC-4EE6-431D-8700-1BA1D225375A","renderContextTable":{"__isSmartRef__":true,"id":5219},"eventHandler":{"__isSmartRef__":true,"id":5220},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5221},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5222},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5213":{"_Position":{"__isSmartRef__":true,"id":5214},"renderContextTable":{"__isSmartRef__":true,"id":5215},"_Extent":{"__isSmartRef__":true,"id":5216},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5217},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5218},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5214":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5215":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5216":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5217":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5218":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5219":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5220":{"morph":{"__isSmartRef__":true,"id":5212},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5221":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5222":{"toggle":{"__isSmartRef__":true,"id":5223},"toggleExpansion":{"__isSmartRef__":true,"id":5230}},"5223":{"varMapping":{"__isSmartRef__":true,"id":5224},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5224":{"this":{"__isSmartRef__":true,"id":5212},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5225}},"5225":{"$super":{"__isSmartRef__":true,"id":5226}},"5226":{"varMapping":{"__isSmartRef__":true,"id":5227},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5227":{"obj":{"__isSmartRef__":true,"id":5212},"name":"toggle"},"5228":{},"5229":{},"5230":{"varMapping":{"__isSmartRef__":true,"id":5231},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5231":{"this":{"__isSmartRef__":true,"id":5212}},"5232":{},"5233":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5234},"derivationIds":[null],"id":"302E52F1-5D4C-472C-8788-1835CC930F0D","renderContextTable":{"__isSmartRef__":true,"id":5238},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5239},{"__isSmartRef__":true,"id":5241}],"eventHandler":{"__isSmartRef__":true,"id":5243},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5244},"priorExtent":{"__isSmartRef__":true,"id":5245},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5246},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5234":{"_Position":{"__isSmartRef__":true,"id":5235},"renderContextTable":{"__isSmartRef__":true,"id":5236},"_Extent":{"__isSmartRef__":true,"id":5237},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5235":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5236":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5237":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5238":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5239":{"style":{"__isSmartRef__":true,"id":5240},"chunkOwner":{"__isSmartRef__":true,"id":5233},"storedString":"isBeingDragged","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5240":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5241":{"style":{"__isSmartRef__":true,"id":5242},"chunkOwner":{"__isSmartRef__":true,"id":5233},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5242":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5243":{"morph":{"__isSmartRef__":true,"id":5233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5244":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5245":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5246":{"layoutText":{"__isSmartRef__":true,"id":5247}},"5247":{"varMapping":{"__isSmartRef__":true,"id":5248},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5248":{"this":{"__isSmartRef__":true,"id":5233}},"5249":{},"5250":{"_Position":{"__isSmartRef__":true,"id":5251},"renderContextTable":{"__isSmartRef__":true,"id":5252},"_Extent":{"__isSmartRef__":true,"id":5253},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5254},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5251":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5252":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5253":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5254":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5255":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5256":{"morph":{"__isSmartRef__":true,"id":5211},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5257":{"resizeWidth":true},"5258":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5259":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5260":{"updateExpanderColor":{"__isSmartRef__":true,"id":5261},"onMouseDown":{"__isSmartRef__":true,"id":5264},"isRoot":{"__isSmartRef__":true,"id":5271},"displayValue":{"__isSmartRef__":true,"id":5274},"update":{"__isSmartRef__":true,"id":5277}},"5261":{"varMapping":{"__isSmartRef__":true,"id":5262},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5262":{"this":{"__isSmartRef__":true,"id":5211}},"5263":{},"5264":{"varMapping":{"__isSmartRef__":true,"id":5265},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5265":{"this":{"__isSmartRef__":true,"id":5211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5266}},"5266":{"$super":{"__isSmartRef__":true,"id":5267}},"5267":{"varMapping":{"__isSmartRef__":true,"id":5268},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5268":{"obj":{"__isSmartRef__":true,"id":5211},"name":"onMouseDown"},"5269":{},"5270":{},"5271":{"varMapping":{"__isSmartRef__":true,"id":5272},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5273},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5272":{"this":{"__isSmartRef__":true,"id":5211}},"5273":{},"5274":{"varMapping":{"__isSmartRef__":true,"id":5275},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5275":{"this":{"__isSmartRef__":true,"id":5211}},"5276":{},"5277":{"varMapping":{"__isSmartRef__":true,"id":5278},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5278":{"this":{"__isSmartRef__":true,"id":5211}},"5279":{},"5280":{"_Position":{"__isSmartRef__":true,"id":5281},"renderContextTable":{"__isSmartRef__":true,"id":5282},"_Extent":{"__isSmartRef__":true,"id":5283},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5284},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5281":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5282":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5283":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5284":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5285":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5286":{"morph":{"__isSmartRef__":true,"id":5210},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5287":{"layouter":{"__isSmartRef__":true,"id":5288},"resizeWidth":true},"5288":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5210},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5289":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5290":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5291":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5292}},"5292":{"varMapping":{"__isSmartRef__":true,"id":5293},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5293":{"this":{"__isSmartRef__":true,"id":5210},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5294}},"5294":{"$super":{"__isSmartRef__":true,"id":5295}},"5295":{"varMapping":{"__isSmartRef__":true,"id":5296},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5296":{"obj":{"__isSmartRef__":true,"id":5210},"name":"getLayoutableSubmorphs"},"5297":{},"5298":{},"5299":{"submorphs":[{"__isSmartRef__":true,"id":5300}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5383},"derivationIds":[null],"id":"DACF5A36-4440-4876-A184-DC94A6D4F8EF","renderContextTable":{"__isSmartRef__":true,"id":5388},"eventHandler":{"__isSmartRef__":true,"id":5389},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5390},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5392},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5393},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5394},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5300":{"submorphs":[{"__isSmartRef__":true,"id":5301},{"__isSmartRef__":true,"id":5322}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5339},"derivationIds":[null],"id":"60E97E6C-9ADD-4398-90F7-18220A704AB7","renderContextTable":{"__isSmartRef__":true,"id":5344},"eventHandler":{"__isSmartRef__":true,"id":5345},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5346},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":5347},{"__isSmartRef__":true,"id":5349},{"__isSmartRef__":true,"id":5351},{"__isSmartRef__":true,"id":5353},{"__isSmartRef__":true,"id":5355},{"__isSmartRef__":true,"id":5357},{"__isSmartRef__":true,"id":5359}],"propertyList":["0","1","2","3","4","5","6","7"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"magnets","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5301},"text":{"__isSmartRef__":true,"id":5322},"owner":{"__isSmartRef__":true,"id":5299},"_Position":{"__isSmartRef__":true,"id":5361},"priorExtent":{"__isSmartRef__":true,"id":5362},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5363},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5301":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5302},"derivationIds":[null],"id":"B9EABFF2-9318-4A6A-B926-2238AE09BF95","renderContextTable":{"__isSmartRef__":true,"id":5308},"eventHandler":{"__isSmartRef__":true,"id":5309},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5310},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5300},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5311},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5302":{"_Position":{"__isSmartRef__":true,"id":5303},"renderContextTable":{"__isSmartRef__":true,"id":5304},"_Extent":{"__isSmartRef__":true,"id":5305},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5306},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5307},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5303":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5304":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5305":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5306":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5307":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5308":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5309":{"morph":{"__isSmartRef__":true,"id":5301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5310":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5311":{"toggle":{"__isSmartRef__":true,"id":5312},"toggleExpansion":{"__isSmartRef__":true,"id":5319}},"5312":{"varMapping":{"__isSmartRef__":true,"id":5313},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5313":{"this":{"__isSmartRef__":true,"id":5301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5314}},"5314":{"$super":{"__isSmartRef__":true,"id":5315}},"5315":{"varMapping":{"__isSmartRef__":true,"id":5316},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5316":{"obj":{"__isSmartRef__":true,"id":5301},"name":"toggle"},"5317":{},"5318":{},"5319":{"varMapping":{"__isSmartRef__":true,"id":5320},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5320":{"this":{"__isSmartRef__":true,"id":5301}},"5321":{},"5322":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5323},"derivationIds":[null],"id":"4AE6D416-309E-4C52-A157-312317C01728","renderContextTable":{"__isSmartRef__":true,"id":5327},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5328},{"__isSmartRef__":true,"id":5330}],"eventHandler":{"__isSmartRef__":true,"id":5332},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5333},"priorExtent":{"__isSmartRef__":true,"id":5334},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5300},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5335},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5323":{"_Position":{"__isSmartRef__":true,"id":5324},"renderContextTable":{"__isSmartRef__":true,"id":5325},"_Extent":{"__isSmartRef__":true,"id":5326},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5324":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5325":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5326":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5328":{"style":{"__isSmartRef__":true,"id":5329},"chunkOwner":{"__isSmartRef__":true,"id":5322},"storedString":"magnets","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5329":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5330":{"style":{"__isSmartRef__":true,"id":5331},"chunkOwner":{"__isSmartRef__":true,"id":5322},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5331":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5332":{"morph":{"__isSmartRef__":true,"id":5322},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5333":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5334":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5335":{"layoutText":{"__isSmartRef__":true,"id":5336}},"5336":{"varMapping":{"__isSmartRef__":true,"id":5337},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5337":{"this":{"__isSmartRef__":true,"id":5322}},"5338":{},"5339":{"_Position":{"__isSmartRef__":true,"id":5340},"renderContextTable":{"__isSmartRef__":true,"id":5341},"_Extent":{"__isSmartRef__":true,"id":5342},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5343},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5340":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5341":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5342":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5343":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5344":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5345":{"morph":{"__isSmartRef__":true,"id":5300},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5346":{"resizeWidth":true},"5347":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5348},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5348":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5349":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5350},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5350":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5351":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5352},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5352":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5353":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5354},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5354":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5355":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5356},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5356":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5357":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5358},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5358":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5359":{"morph":{"__isSmartRef__":true,"id":91},"position":{"__isSmartRef__":true,"id":5360},"connectedControlPoints":[],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"5360":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5361":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5362":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5363":{"updateExpanderColor":{"__isSmartRef__":true,"id":5364},"onMouseDown":{"__isSmartRef__":true,"id":5367},"isRoot":{"__isSmartRef__":true,"id":5374},"displayValue":{"__isSmartRef__":true,"id":5377},"update":{"__isSmartRef__":true,"id":5380}},"5364":{"varMapping":{"__isSmartRef__":true,"id":5365},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5365":{"this":{"__isSmartRef__":true,"id":5300}},"5366":{},"5367":{"varMapping":{"__isSmartRef__":true,"id":5368},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5368":{"this":{"__isSmartRef__":true,"id":5300},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5369}},"5369":{"$super":{"__isSmartRef__":true,"id":5370}},"5370":{"varMapping":{"__isSmartRef__":true,"id":5371},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5371":{"obj":{"__isSmartRef__":true,"id":5300},"name":"onMouseDown"},"5372":{},"5373":{},"5374":{"varMapping":{"__isSmartRef__":true,"id":5375},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5375":{"this":{"__isSmartRef__":true,"id":5300}},"5376":{},"5377":{"varMapping":{"__isSmartRef__":true,"id":5378},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5378":{"this":{"__isSmartRef__":true,"id":5300}},"5379":{},"5380":{"varMapping":{"__isSmartRef__":true,"id":5381},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5381":{"this":{"__isSmartRef__":true,"id":5300}},"5382":{},"5383":{"_Position":{"__isSmartRef__":true,"id":5384},"renderContextTable":{"__isSmartRef__":true,"id":5385},"_Extent":{"__isSmartRef__":true,"id":5386},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5387},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5384":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5385":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5386":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5387":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5389":{"morph":{"__isSmartRef__":true,"id":5299},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5390":{"layouter":{"__isSmartRef__":true,"id":5391},"resizeWidth":true},"5391":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5299},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5392":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5393":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5394":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5395}},"5395":{"varMapping":{"__isSmartRef__":true,"id":5396},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5396":{"this":{"__isSmartRef__":true,"id":5299},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5397}},"5397":{"$super":{"__isSmartRef__":true,"id":5398}},"5398":{"varMapping":{"__isSmartRef__":true,"id":5399},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5399":{"obj":{"__isSmartRef__":true,"id":5299},"name":"getLayoutableSubmorphs"},"5400":{},"5401":{},"5402":{"submorphs":[{"__isSmartRef__":true,"id":5403}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5472},"derivationIds":[null],"id":"1BCAAE8A-C8A2-4023-B329-56705F9D1494","renderContextTable":{"__isSmartRef__":true,"id":5477},"eventHandler":{"__isSmartRef__":true,"id":5478},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5479},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5481},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5482},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5483},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5403":{"submorphs":[{"__isSmartRef__":true,"id":5404},{"__isSmartRef__":true,"id":5425}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5442},"derivationIds":[null],"id":"45CC5A32-BC6B-4F7C-9A6C-79A49EC4343F","renderContextTable":{"__isSmartRef__":true,"id":5447},"eventHandler":{"__isSmartRef__":true,"id":5448},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5449},"grabbingEnabled":false,"draggingEnabled":false,"data":"Image","propertyList":["0","1","2","3","4"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5404},"text":{"__isSmartRef__":true,"id":5425},"owner":{"__isSmartRef__":true,"id":5402},"_Position":{"__isSmartRef__":true,"id":5450},"priorExtent":{"__isSmartRef__":true,"id":5451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5452},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5405},"derivationIds":[null],"id":"8DBCFC90-7F89-4BC8-9556-36166E242D20","renderContextTable":{"__isSmartRef__":true,"id":5411},"eventHandler":{"__isSmartRef__":true,"id":5412},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5413},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5403},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5414},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5405":{"_Position":{"__isSmartRef__":true,"id":5406},"renderContextTable":{"__isSmartRef__":true,"id":5407},"_Extent":{"__isSmartRef__":true,"id":5408},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5409},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5410},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5406":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5407":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5408":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5409":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5410":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5412":{"morph":{"__isSmartRef__":true,"id":5404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5413":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5414":{"toggle":{"__isSmartRef__":true,"id":5415},"toggleExpansion":{"__isSmartRef__":true,"id":5422}},"5415":{"varMapping":{"__isSmartRef__":true,"id":5416},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5416":{"this":{"__isSmartRef__":true,"id":5404},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5417}},"5417":{"$super":{"__isSmartRef__":true,"id":5418}},"5418":{"varMapping":{"__isSmartRef__":true,"id":5419},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5419":{"obj":{"__isSmartRef__":true,"id":5404},"name":"toggle"},"5420":{},"5421":{},"5422":{"varMapping":{"__isSmartRef__":true,"id":5423},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5423":{"this":{"__isSmartRef__":true,"id":5404}},"5424":{},"5425":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5426},"derivationIds":[null],"id":"8269CCDA-A19D-439E-B25C-AF0A99C4147A","renderContextTable":{"__isSmartRef__":true,"id":5430},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5431},{"__isSmartRef__":true,"id":5433}],"eventHandler":{"__isSmartRef__":true,"id":5435},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5436},"priorExtent":{"__isSmartRef__":true,"id":5437},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5403},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5438},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5426":{"_Position":{"__isSmartRef__":true,"id":5427},"renderContextTable":{"__isSmartRef__":true,"id":5428},"_Extent":{"__isSmartRef__":true,"id":5429},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5427":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5428":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5429":{"x":90.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5430":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5431":{"style":{"__isSmartRef__":true,"id":5432},"chunkOwner":{"__isSmartRef__":true,"id":5425},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5432":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5433":{"style":{"__isSmartRef__":true,"id":5434},"chunkOwner":{"__isSmartRef__":true,"id":5425},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5434":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5435":{"morph":{"__isSmartRef__":true,"id":5425},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5436":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5437":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5438":{"layoutText":{"__isSmartRef__":true,"id":5439}},"5439":{"varMapping":{"__isSmartRef__":true,"id":5440},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5440":{"this":{"__isSmartRef__":true,"id":5425}},"5441":{},"5442":{"_Position":{"__isSmartRef__":true,"id":5443},"renderContextTable":{"__isSmartRef__":true,"id":5444},"_Extent":{"__isSmartRef__":true,"id":5445},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5446},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5443":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5444":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5445":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5446":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5447":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5448":{"morph":{"__isSmartRef__":true,"id":5403},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5449":{"resizeWidth":true},"5450":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5451":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5452":{"updateExpanderColor":{"__isSmartRef__":true,"id":5453},"onMouseDown":{"__isSmartRef__":true,"id":5456},"isRoot":{"__isSmartRef__":true,"id":5463},"displayValue":{"__isSmartRef__":true,"id":5466},"update":{"__isSmartRef__":true,"id":5469}},"5453":{"varMapping":{"__isSmartRef__":true,"id":5454},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5454":{"this":{"__isSmartRef__":true,"id":5403}},"5455":{},"5456":{"varMapping":{"__isSmartRef__":true,"id":5457},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5457":{"this":{"__isSmartRef__":true,"id":5403},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5458}},"5458":{"$super":{"__isSmartRef__":true,"id":5459}},"5459":{"varMapping":{"__isSmartRef__":true,"id":5460},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5460":{"obj":{"__isSmartRef__":true,"id":5403},"name":"onMouseDown"},"5461":{},"5462":{},"5463":{"varMapping":{"__isSmartRef__":true,"id":5464},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5465},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5464":{"this":{"__isSmartRef__":true,"id":5403}},"5465":{},"5466":{"varMapping":{"__isSmartRef__":true,"id":5467},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5468},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5467":{"this":{"__isSmartRef__":true,"id":5403}},"5468":{},"5469":{"varMapping":{"__isSmartRef__":true,"id":5470},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5470":{"this":{"__isSmartRef__":true,"id":5403}},"5471":{},"5472":{"_Position":{"__isSmartRef__":true,"id":5473},"renderContextTable":{"__isSmartRef__":true,"id":5474},"_Extent":{"__isSmartRef__":true,"id":5475},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5476},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5473":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5474":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5475":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5476":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5477":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5478":{"morph":{"__isSmartRef__":true,"id":5402},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5479":{"layouter":{"__isSmartRef__":true,"id":5480},"resizeWidth":true},"5480":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5402},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5481":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5482":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5483":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5484}},"5484":{"varMapping":{"__isSmartRef__":true,"id":5485},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5485":{"this":{"__isSmartRef__":true,"id":5402},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5486}},"5486":{"$super":{"__isSmartRef__":true,"id":5487}},"5487":{"varMapping":{"__isSmartRef__":true,"id":5488},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5488":{"obj":{"__isSmartRef__":true,"id":5402},"name":"getLayoutableSubmorphs"},"5489":{},"5490":{},"5491":{"submorphs":[{"__isSmartRef__":true,"id":5492}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5560},"derivationIds":[null],"id":"ADB80898-7C7E-4B75-AD37-2B2B671B1CD1","renderContextTable":{"__isSmartRef__":true,"id":5565},"eventHandler":{"__isSmartRef__":true,"id":5566},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5567},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5569},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5570},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5571},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5492":{"submorphs":[{"__isSmartRef__":true,"id":5493},{"__isSmartRef__":true,"id":5513}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5530},"derivationIds":[null],"id":"6475B0E5-CD9F-41F3-A3CB-22CDDB7761CB","renderContextTable":{"__isSmartRef__":true,"id":5535},"eventHandler":{"__isSmartRef__":true,"id":5536},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5537},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","id","shape","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","registeredForMouseEvents","_Position","hands","__SourceModuleName__","changeSet","statusMessages","showsHalos","lastAlert","__layered_draggingEnabled__","_Scale","renderContextTable","eventHandler","eventStartPos","worldMenuOpened","prevScroll","attributeConnections","doNotSerialize","doNotCopyProperties","$$savedWorldAsURL","savedWorldAsURL","_renderContext","draggingEnabled","clickedOnMorph","clickedOnMorphTime","draggedMorph","selectionMorph","currentMenu","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5493},"text":{"__isSmartRef__":true,"id":5513},"owner":{"__isSmartRef__":true,"id":5491},"_Position":{"__isSmartRef__":true,"id":5538},"priorExtent":{"__isSmartRef__":true,"id":5539},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5540},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5493":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5494},"derivationIds":[null],"id":"257AFBA0-67EF-4067-A6AE-627460889AD3","renderContextTable":{"__isSmartRef__":true,"id":5499},"eventHandler":{"__isSmartRef__":true,"id":5500},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5501},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5492},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5502},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5494":{"_Position":{"__isSmartRef__":true,"id":5495},"renderContextTable":{"__isSmartRef__":true,"id":5496},"_Extent":{"__isSmartRef__":true,"id":5497},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5498},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":3795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5495":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5497":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5498":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5499":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5500":{"morph":{"__isSmartRef__":true,"id":5493},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5501":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5502":{"toggle":{"__isSmartRef__":true,"id":5503},"toggleExpansion":{"__isSmartRef__":true,"id":5510}},"5503":{"varMapping":{"__isSmartRef__":true,"id":5504},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5504":{"this":{"__isSmartRef__":true,"id":5493},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5505}},"5505":{"$super":{"__isSmartRef__":true,"id":5506}},"5506":{"varMapping":{"__isSmartRef__":true,"id":5507},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5507":{"obj":{"__isSmartRef__":true,"id":5493},"name":"toggle"},"5508":{},"5509":{},"5510":{"varMapping":{"__isSmartRef__":true,"id":5511},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5511":{"this":{"__isSmartRef__":true,"id":5493}},"5512":{},"5513":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5514},"derivationIds":[null],"id":"46F4E0D1-B8B9-4F0D-94F3-6C5E9D1FF2C7","renderContextTable":{"__isSmartRef__":true,"id":5518},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5519},{"__isSmartRef__":true,"id":5521}],"eventHandler":{"__isSmartRef__":true,"id":5523},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5524},"priorExtent":{"__isSmartRef__":true,"id":5525},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5492},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5526},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5514":{"_Position":{"__isSmartRef__":true,"id":5515},"renderContextTable":{"__isSmartRef__":true,"id":5516},"_Extent":{"__isSmartRef__":true,"id":5517},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5515":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5517":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5518":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5519":{"style":{"__isSmartRef__":true,"id":5520},"chunkOwner":{"__isSmartRef__":true,"id":5513},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5520":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5521":{"style":{"__isSmartRef__":true,"id":5522},"chunkOwner":{"__isSmartRef__":true,"id":5513},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5522":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5523":{"morph":{"__isSmartRef__":true,"id":5513},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5524":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5525":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5526":{"layoutText":{"__isSmartRef__":true,"id":5527}},"5527":{"varMapping":{"__isSmartRef__":true,"id":5528},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5528":{"this":{"__isSmartRef__":true,"id":5513}},"5529":{},"5530":{"_Position":{"__isSmartRef__":true,"id":5531},"renderContextTable":{"__isSmartRef__":true,"id":5532},"_Extent":{"__isSmartRef__":true,"id":5533},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5534},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5531":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5532":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5533":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5534":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5535":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5536":{"morph":{"__isSmartRef__":true,"id":5492},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5537":{"resizeWidth":true},"5538":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5539":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5540":{"updateExpanderColor":{"__isSmartRef__":true,"id":5541},"onMouseDown":{"__isSmartRef__":true,"id":5544},"isRoot":{"__isSmartRef__":true,"id":5551},"displayValue":{"__isSmartRef__":true,"id":5554},"update":{"__isSmartRef__":true,"id":5557}},"5541":{"varMapping":{"__isSmartRef__":true,"id":5542},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5542":{"this":{"__isSmartRef__":true,"id":5492}},"5543":{},"5544":{"varMapping":{"__isSmartRef__":true,"id":5545},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5545":{"this":{"__isSmartRef__":true,"id":5492},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5546}},"5546":{"$super":{"__isSmartRef__":true,"id":5547}},"5547":{"varMapping":{"__isSmartRef__":true,"id":5548},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5548":{"obj":{"__isSmartRef__":true,"id":5492},"name":"onMouseDown"},"5549":{},"5550":{},"5551":{"varMapping":{"__isSmartRef__":true,"id":5552},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5552":{"this":{"__isSmartRef__":true,"id":5492}},"5553":{},"5554":{"varMapping":{"__isSmartRef__":true,"id":5555},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5556},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5555":{"this":{"__isSmartRef__":true,"id":5492}},"5556":{},"5557":{"varMapping":{"__isSmartRef__":true,"id":5558},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5558":{"this":{"__isSmartRef__":true,"id":5492}},"5559":{},"5560":{"_Position":{"__isSmartRef__":true,"id":5561},"renderContextTable":{"__isSmartRef__":true,"id":5562},"_Extent":{"__isSmartRef__":true,"id":5563},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5564},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5561":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5562":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5563":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5564":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5565":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5566":{"morph":{"__isSmartRef__":true,"id":5491},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5567":{"layouter":{"__isSmartRef__":true,"id":5568},"resizeWidth":true},"5568":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5491},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5569":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5570":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5571":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5572}},"5572":{"varMapping":{"__isSmartRef__":true,"id":5573},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5573":{"this":{"__isSmartRef__":true,"id":5491},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5574}},"5574":{"$super":{"__isSmartRef__":true,"id":5575}},"5575":{"varMapping":{"__isSmartRef__":true,"id":5576},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5577},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5576":{"obj":{"__isSmartRef__":true,"id":5491},"name":"getLayoutableSubmorphs"},"5577":{},"5578":{},"5579":{"submorphs":[{"__isSmartRef__":true,"id":5580}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5649},"derivationIds":[null],"id":"F55CC429-3128-4A5B-9E7F-960227050343","renderContextTable":{"__isSmartRef__":true,"id":5654},"eventHandler":{"__isSmartRef__":true,"id":5655},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5656},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5658},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5659},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5660},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5580":{"submorphs":[{"__isSmartRef__":true,"id":5581},{"__isSmartRef__":true,"id":5602}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5619},"derivationIds":[null],"id":"4AA650D5-4FCA-4D59-B5B9-FDA51D9977F0","renderContextTable":{"__isSmartRef__":true,"id":5624},"eventHandler":{"__isSmartRef__":true,"id":5625},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5626},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":98},"propertyList":["partsSpaceName","__SourceModuleName__","partName","migrationLevel","comment","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5581},"text":{"__isSmartRef__":true,"id":5602},"owner":{"__isSmartRef__":true,"id":5579},"_Position":{"__isSmartRef__":true,"id":5627},"priorExtent":{"__isSmartRef__":true,"id":5628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5629},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5581":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5582},"derivationIds":[null],"id":"59F28B9E-486B-4E5F-A7E3-F9243556022D","renderContextTable":{"__isSmartRef__":true,"id":5588},"eventHandler":{"__isSmartRef__":true,"id":5589},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5590},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5580},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5591},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5582":{"_Position":{"__isSmartRef__":true,"id":5583},"renderContextTable":{"__isSmartRef__":true,"id":5584},"_Extent":{"__isSmartRef__":true,"id":5585},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5586},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5587},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5583":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5584":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5585":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5586":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5587":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5588":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5589":{"morph":{"__isSmartRef__":true,"id":5581},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5590":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5591":{"toggle":{"__isSmartRef__":true,"id":5592},"toggleExpansion":{"__isSmartRef__":true,"id":5599}},"5592":{"varMapping":{"__isSmartRef__":true,"id":5593},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5593":{"this":{"__isSmartRef__":true,"id":5581},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5594}},"5594":{"$super":{"__isSmartRef__":true,"id":5595}},"5595":{"varMapping":{"__isSmartRef__":true,"id":5596},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5596":{"obj":{"__isSmartRef__":true,"id":5581},"name":"toggle"},"5597":{},"5598":{},"5599":{"varMapping":{"__isSmartRef__":true,"id":5600},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5601},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5600":{"this":{"__isSmartRef__":true,"id":5581}},"5601":{},"5602":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5603},"derivationIds":[null],"id":"B57DA8E4-734A-43A7-BAE9-947053B170B7","renderContextTable":{"__isSmartRef__":true,"id":5607},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5608},{"__isSmartRef__":true,"id":5610}],"eventHandler":{"__isSmartRef__":true,"id":5612},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5613},"priorExtent":{"__isSmartRef__":true,"id":5614},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5580},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5615},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5603":{"_Position":{"__isSmartRef__":true,"id":5604},"renderContextTable":{"__isSmartRef__":true,"id":5605},"_Extent":{"__isSmartRef__":true,"id":5606},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5604":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5605":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5606":{"x":263,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5607":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5608":{"style":{"__isSmartRef__":true,"id":5609},"chunkOwner":{"__isSmartRef__":true,"id":5602},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5609":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5610":{"style":{"__isSmartRef__":true,"id":5611},"chunkOwner":{"__isSmartRef__":true,"id":5602},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5611":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5612":{"morph":{"__isSmartRef__":true,"id":5602},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5613":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5614":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5615":{"layoutText":{"__isSmartRef__":true,"id":5616}},"5616":{"varMapping":{"__isSmartRef__":true,"id":5617},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5617":{"this":{"__isSmartRef__":true,"id":5602}},"5618":{},"5619":{"_Position":{"__isSmartRef__":true,"id":5620},"renderContextTable":{"__isSmartRef__":true,"id":5621},"_Extent":{"__isSmartRef__":true,"id":5622},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5623},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5620":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5621":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5622":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5623":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5624":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5625":{"morph":{"__isSmartRef__":true,"id":5580},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5626":{"resizeWidth":true},"5627":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5628":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5629":{"updateExpanderColor":{"__isSmartRef__":true,"id":5630},"onMouseDown":{"__isSmartRef__":true,"id":5633},"isRoot":{"__isSmartRef__":true,"id":5640},"displayValue":{"__isSmartRef__":true,"id":5643},"update":{"__isSmartRef__":true,"id":5646}},"5630":{"varMapping":{"__isSmartRef__":true,"id":5631},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5631":{"this":{"__isSmartRef__":true,"id":5580}},"5632":{},"5633":{"varMapping":{"__isSmartRef__":true,"id":5634},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5634":{"this":{"__isSmartRef__":true,"id":5580},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5635}},"5635":{"$super":{"__isSmartRef__":true,"id":5636}},"5636":{"varMapping":{"__isSmartRef__":true,"id":5637},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5637":{"obj":{"__isSmartRef__":true,"id":5580},"name":"onMouseDown"},"5638":{},"5639":{},"5640":{"varMapping":{"__isSmartRef__":true,"id":5641},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5641":{"this":{"__isSmartRef__":true,"id":5580}},"5642":{},"5643":{"varMapping":{"__isSmartRef__":true,"id":5644},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5644":{"this":{"__isSmartRef__":true,"id":5580}},"5645":{},"5646":{"varMapping":{"__isSmartRef__":true,"id":5647},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5647":{"this":{"__isSmartRef__":true,"id":5580}},"5648":{},"5649":{"_Position":{"__isSmartRef__":true,"id":5650},"renderContextTable":{"__isSmartRef__":true,"id":5651},"_Extent":{"__isSmartRef__":true,"id":5652},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5653},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5650":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5651":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5652":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5653":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5655":{"morph":{"__isSmartRef__":true,"id":5579},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5656":{"layouter":{"__isSmartRef__":true,"id":5657},"resizeWidth":true},"5657":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5579},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5658":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5659":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5660":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5661}},"5661":{"varMapping":{"__isSmartRef__":true,"id":5662},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5662":{"this":{"__isSmartRef__":true,"id":5579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5663}},"5663":{"$super":{"__isSmartRef__":true,"id":5664}},"5664":{"varMapping":{"__isSmartRef__":true,"id":5665},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5665":{"obj":{"__isSmartRef__":true,"id":5579},"name":"getLayoutableSubmorphs"},"5666":{},"5667":{},"5668":{"submorphs":[{"__isSmartRef__":true,"id":5669}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5738},"derivationIds":[null],"id":"33A91972-9523-431A-817A-F28C5D70A74C","renderContextTable":{"__isSmartRef__":true,"id":5743},"eventHandler":{"__isSmartRef__":true,"id":5744},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5745},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5747},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5748},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5749},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5669":{"submorphs":[{"__isSmartRef__":true,"id":5670},{"__isSmartRef__":true,"id":5691}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5708},"derivationIds":[null],"id":"0F78CEB8-5E95-4415-8CB1-D1828E765BCC","renderContextTable":{"__isSmartRef__":true,"id":5713},"eventHandler":{"__isSmartRef__":true,"id":5714},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5715},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":113},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"priorExtent","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5670},"text":{"__isSmartRef__":true,"id":5691},"owner":{"__isSmartRef__":true,"id":5668},"_Position":{"__isSmartRef__":true,"id":5716},"priorExtent":{"__isSmartRef__":true,"id":5717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5718},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5670":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5671},"derivationIds":[null],"id":"657E8148-0F80-4E00-9188-5D6D2770B0B1","renderContextTable":{"__isSmartRef__":true,"id":5677},"eventHandler":{"__isSmartRef__":true,"id":5678},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5679},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5669},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5680},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5671":{"_Position":{"__isSmartRef__":true,"id":5672},"renderContextTable":{"__isSmartRef__":true,"id":5673},"_Extent":{"__isSmartRef__":true,"id":5674},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5675},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5676},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5672":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5673":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5674":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5675":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5676":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5677":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5678":{"morph":{"__isSmartRef__":true,"id":5670},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5679":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5680":{"toggle":{"__isSmartRef__":true,"id":5681},"toggleExpansion":{"__isSmartRef__":true,"id":5688}},"5681":{"varMapping":{"__isSmartRef__":true,"id":5682},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5682":{"this":{"__isSmartRef__":true,"id":5670},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5683}},"5683":{"$super":{"__isSmartRef__":true,"id":5684}},"5684":{"varMapping":{"__isSmartRef__":true,"id":5685},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5685":{"obj":{"__isSmartRef__":true,"id":5670},"name":"toggle"},"5686":{},"5687":{},"5688":{"varMapping":{"__isSmartRef__":true,"id":5689},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5689":{"this":{"__isSmartRef__":true,"id":5670}},"5690":{},"5691":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5692},"derivationIds":[null],"id":"E71A77DB-7F72-4222-8AA1-2DBE38865898","renderContextTable":{"__isSmartRef__":true,"id":5696},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5697},{"__isSmartRef__":true,"id":5699}],"eventHandler":{"__isSmartRef__":true,"id":5701},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5702},"priorExtent":{"__isSmartRef__":true,"id":5703},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5669},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5704},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5692":{"_Position":{"__isSmartRef__":true,"id":5693},"renderContextTable":{"__isSmartRef__":true,"id":5694},"_Extent":{"__isSmartRef__":true,"id":5695},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5693":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5694":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5695":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5696":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5697":{"style":{"__isSmartRef__":true,"id":5698},"chunkOwner":{"__isSmartRef__":true,"id":5691},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5698":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5699":{"style":{"__isSmartRef__":true,"id":5700},"chunkOwner":{"__isSmartRef__":true,"id":5691},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5700":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5701":{"morph":{"__isSmartRef__":true,"id":5691},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5702":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5703":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5704":{"layoutText":{"__isSmartRef__":true,"id":5705}},"5705":{"varMapping":{"__isSmartRef__":true,"id":5706},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5706":{"this":{"__isSmartRef__":true,"id":5691}},"5707":{},"5708":{"_Position":{"__isSmartRef__":true,"id":5709},"renderContextTable":{"__isSmartRef__":true,"id":5710},"_Extent":{"__isSmartRef__":true,"id":5711},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5712},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5709":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5710":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5711":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5712":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5713":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5714":{"morph":{"__isSmartRef__":true,"id":5669},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5715":{"resizeWidth":true},"5716":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5717":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5718":{"updateExpanderColor":{"__isSmartRef__":true,"id":5719},"onMouseDown":{"__isSmartRef__":true,"id":5722},"isRoot":{"__isSmartRef__":true,"id":5729},"displayValue":{"__isSmartRef__":true,"id":5732},"update":{"__isSmartRef__":true,"id":5735}},"5719":{"varMapping":{"__isSmartRef__":true,"id":5720},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5721},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5720":{"this":{"__isSmartRef__":true,"id":5669}},"5721":{},"5722":{"varMapping":{"__isSmartRef__":true,"id":5723},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5728},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5723":{"this":{"__isSmartRef__":true,"id":5669},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5724}},"5724":{"$super":{"__isSmartRef__":true,"id":5725}},"5725":{"varMapping":{"__isSmartRef__":true,"id":5726},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5726":{"obj":{"__isSmartRef__":true,"id":5669},"name":"onMouseDown"},"5727":{},"5728":{},"5729":{"varMapping":{"__isSmartRef__":true,"id":5730},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5730":{"this":{"__isSmartRef__":true,"id":5669}},"5731":{},"5732":{"varMapping":{"__isSmartRef__":true,"id":5733},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5733":{"this":{"__isSmartRef__":true,"id":5669}},"5734":{},"5735":{"varMapping":{"__isSmartRef__":true,"id":5736},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5736":{"this":{"__isSmartRef__":true,"id":5669}},"5737":{},"5738":{"_Position":{"__isSmartRef__":true,"id":5739},"renderContextTable":{"__isSmartRef__":true,"id":5740},"_Extent":{"__isSmartRef__":true,"id":5741},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5742},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5739":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5740":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5741":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5742":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5743":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5744":{"morph":{"__isSmartRef__":true,"id":5668},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5745":{"layouter":{"__isSmartRef__":true,"id":5746},"resizeWidth":true},"5746":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5668},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5747":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5748":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5749":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5750}},"5750":{"varMapping":{"__isSmartRef__":true,"id":5751},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5751":{"this":{"__isSmartRef__":true,"id":5668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5752}},"5752":{"$super":{"__isSmartRef__":true,"id":5753}},"5753":{"varMapping":{"__isSmartRef__":true,"id":5754},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5754":{"obj":{"__isSmartRef__":true,"id":5668},"name":"getLayoutableSubmorphs"},"5755":{},"5756":{},"5757":{"submorphs":[{"__isSmartRef__":true,"id":5758}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5827},"derivationIds":[null],"id":"BED27776-4AF1-4A8A-A01F-24A39211E80E","renderContextTable":{"__isSmartRef__":true,"id":5832},"eventHandler":{"__isSmartRef__":true,"id":5833},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5834},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5836},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5837},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5838},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5758":{"submorphs":[{"__isSmartRef__":true,"id":5759},{"__isSmartRef__":true,"id":5780}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5797},"derivationIds":[null],"id":"16FA0EEA-F950-4A4F-951A-BA2E6334E55A","renderContextTable":{"__isSmartRef__":true,"id":5802},"eventHandler":{"__isSmartRef__":true,"id":5803},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5804},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5759},"text":{"__isSmartRef__":true,"id":5780},"owner":{"__isSmartRef__":true,"id":5757},"_Position":{"__isSmartRef__":true,"id":5805},"priorExtent":{"__isSmartRef__":true,"id":5806},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5807},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5759":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5760},"derivationIds":[null],"id":"A1F60551-BF19-4FB8-816F-D144670BE2D9","renderContextTable":{"__isSmartRef__":true,"id":5766},"eventHandler":{"__isSmartRef__":true,"id":5767},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5768},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5758},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5769},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5760":{"_Position":{"__isSmartRef__":true,"id":5761},"renderContextTable":{"__isSmartRef__":true,"id":5762},"_Extent":{"__isSmartRef__":true,"id":5763},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5764},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5765},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5761":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5762":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5763":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5764":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5765":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5766":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5767":{"morph":{"__isSmartRef__":true,"id":5759},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5768":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5769":{"toggle":{"__isSmartRef__":true,"id":5770},"toggleExpansion":{"__isSmartRef__":true,"id":5777}},"5770":{"varMapping":{"__isSmartRef__":true,"id":5771},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5771":{"this":{"__isSmartRef__":true,"id":5759},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5772}},"5772":{"$super":{"__isSmartRef__":true,"id":5773}},"5773":{"varMapping":{"__isSmartRef__":true,"id":5774},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5774":{"obj":{"__isSmartRef__":true,"id":5759},"name":"toggle"},"5775":{},"5776":{},"5777":{"varMapping":{"__isSmartRef__":true,"id":5778},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5778":{"this":{"__isSmartRef__":true,"id":5759}},"5779":{},"5780":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5781},"derivationIds":[null],"id":"1E3B0897-86AA-467D-B82B-D2DD701B051B","renderContextTable":{"__isSmartRef__":true,"id":5785},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5786},{"__isSmartRef__":true,"id":5788}],"eventHandler":{"__isSmartRef__":true,"id":5790},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5791},"priorExtent":{"__isSmartRef__":true,"id":5792},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5758},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5793},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5781":{"_Position":{"__isSmartRef__":true,"id":5782},"renderContextTable":{"__isSmartRef__":true,"id":5783},"_Extent":{"__isSmartRef__":true,"id":5784},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5782":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5783":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5784":{"x":233,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5785":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5786":{"style":{"__isSmartRef__":true,"id":5787},"chunkOwner":{"__isSmartRef__":true,"id":5780},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5787":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5788":{"style":{"__isSmartRef__":true,"id":5789},"chunkOwner":{"__isSmartRef__":true,"id":5780},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5789":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5790":{"morph":{"__isSmartRef__":true,"id":5780},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5791":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5792":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5793":{"layoutText":{"__isSmartRef__":true,"id":5794}},"5794":{"varMapping":{"__isSmartRef__":true,"id":5795},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5795":{"this":{"__isSmartRef__":true,"id":5780}},"5796":{},"5797":{"_Position":{"__isSmartRef__":true,"id":5798},"renderContextTable":{"__isSmartRef__":true,"id":5799},"_Extent":{"__isSmartRef__":true,"id":5800},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5801},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5798":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5799":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5800":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5801":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5802":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5803":{"morph":{"__isSmartRef__":true,"id":5758},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5804":{"resizeWidth":true},"5805":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5806":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5807":{"updateExpanderColor":{"__isSmartRef__":true,"id":5808},"onMouseDown":{"__isSmartRef__":true,"id":5811},"isRoot":{"__isSmartRef__":true,"id":5818},"displayValue":{"__isSmartRef__":true,"id":5821},"update":{"__isSmartRef__":true,"id":5824}},"5808":{"varMapping":{"__isSmartRef__":true,"id":5809},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5809":{"this":{"__isSmartRef__":true,"id":5758}},"5810":{},"5811":{"varMapping":{"__isSmartRef__":true,"id":5812},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5817},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5812":{"this":{"__isSmartRef__":true,"id":5758},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5813}},"5813":{"$super":{"__isSmartRef__":true,"id":5814}},"5814":{"varMapping":{"__isSmartRef__":true,"id":5815},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5815":{"obj":{"__isSmartRef__":true,"id":5758},"name":"onMouseDown"},"5816":{},"5817":{},"5818":{"varMapping":{"__isSmartRef__":true,"id":5819},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5820},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5819":{"this":{"__isSmartRef__":true,"id":5758}},"5820":{},"5821":{"varMapping":{"__isSmartRef__":true,"id":5822},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5823},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5822":{"this":{"__isSmartRef__":true,"id":5758}},"5823":{},"5824":{"varMapping":{"__isSmartRef__":true,"id":5825},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5825":{"this":{"__isSmartRef__":true,"id":5758}},"5826":{},"5827":{"_Position":{"__isSmartRef__":true,"id":5828},"renderContextTable":{"__isSmartRef__":true,"id":5829},"_Extent":{"__isSmartRef__":true,"id":5830},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5831},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5828":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5829":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5830":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5831":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5832":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5833":{"morph":{"__isSmartRef__":true,"id":5757},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5834":{"layouter":{"__isSmartRef__":true,"id":5835},"resizeWidth":true},"5835":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5757},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5836":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5837":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5838":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5839}},"5839":{"varMapping":{"__isSmartRef__":true,"id":5840},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5840":{"this":{"__isSmartRef__":true,"id":5757},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5841}},"5841":{"$super":{"__isSmartRef__":true,"id":5842}},"5842":{"varMapping":{"__isSmartRef__":true,"id":5843},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5843":{"obj":{"__isSmartRef__":true,"id":5757},"name":"getLayoutableSubmorphs"},"5844":{},"5845":{},"5846":{"submorphs":[{"__isSmartRef__":true,"id":5847}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5916},"derivationIds":[null],"id":"03E509CD-2B7F-4C12-B6EF-8B9335CC28FA","renderContextTable":{"__isSmartRef__":true,"id":5921},"eventHandler":{"__isSmartRef__":true,"id":5922},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5923},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5925},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":5926},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5927},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5847":{"submorphs":[{"__isSmartRef__":true,"id":5848},{"__isSmartRef__":true,"id":5869}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5886},"derivationIds":[null],"id":"03ED4CEB-1A15-4A42-9BA3-3CA6BC449385","renderContextTable":{"__isSmartRef__":true,"id":5891},"eventHandler":{"__isSmartRef__":true,"id":5892},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5893},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":99},"propertyList":["replaceRenderContext","init","append","remove","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5848},"text":{"__isSmartRef__":true,"id":5869},"owner":{"__isSmartRef__":true,"id":5846},"_Position":{"__isSmartRef__":true,"id":5894},"priorExtent":{"__isSmartRef__":true,"id":5895},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5896},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5848":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5849},"derivationIds":[null],"id":"D5537303-D09B-43E0-B90F-2195A620CE24","renderContextTable":{"__isSmartRef__":true,"id":5855},"eventHandler":{"__isSmartRef__":true,"id":5856},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5857},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5847},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5858},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5849":{"_Position":{"__isSmartRef__":true,"id":5850},"renderContextTable":{"__isSmartRef__":true,"id":5851},"_Extent":{"__isSmartRef__":true,"id":5852},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5853},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5854},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5850":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5851":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5852":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5853":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5854":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5855":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5856":{"morph":{"__isSmartRef__":true,"id":5848},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5857":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5858":{"toggle":{"__isSmartRef__":true,"id":5859},"toggleExpansion":{"__isSmartRef__":true,"id":5866}},"5859":{"varMapping":{"__isSmartRef__":true,"id":5860},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5860":{"this":{"__isSmartRef__":true,"id":5848},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5861}},"5861":{"$super":{"__isSmartRef__":true,"id":5862}},"5862":{"varMapping":{"__isSmartRef__":true,"id":5863},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5863":{"obj":{"__isSmartRef__":true,"id":5848},"name":"toggle"},"5864":{},"5865":{},"5866":{"varMapping":{"__isSmartRef__":true,"id":5867},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5867":{"this":{"__isSmartRef__":true,"id":5848}},"5868":{},"5869":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5870},"derivationIds":[null],"id":"4F6F2E90-EF4F-4D82-A3B3-90804525C1D5","renderContextTable":{"__isSmartRef__":true,"id":5874},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5875},{"__isSmartRef__":true,"id":5877}],"eventHandler":{"__isSmartRef__":true,"id":5879},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5880},"priorExtent":{"__isSmartRef__":true,"id":5881},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5847},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5882},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5870":{"_Position":{"__isSmartRef__":true,"id":5871},"renderContextTable":{"__isSmartRef__":true,"id":5872},"_Extent":{"__isSmartRef__":true,"id":5873},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5871":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5872":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5873":{"x":195.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5874":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5875":{"style":{"__isSmartRef__":true,"id":5876},"chunkOwner":{"__isSmartRef__":true,"id":5869},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5876":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5877":{"style":{"__isSmartRef__":true,"id":5878},"chunkOwner":{"__isSmartRef__":true,"id":5869},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5878":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5879":{"morph":{"__isSmartRef__":true,"id":5869},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5880":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5881":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5882":{"layoutText":{"__isSmartRef__":true,"id":5883}},"5883":{"varMapping":{"__isSmartRef__":true,"id":5884},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5885},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5884":{"this":{"__isSmartRef__":true,"id":5869}},"5885":{},"5886":{"_Position":{"__isSmartRef__":true,"id":5887},"renderContextTable":{"__isSmartRef__":true,"id":5888},"_Extent":{"__isSmartRef__":true,"id":5889},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5890},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5887":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5888":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5889":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5890":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5891":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5892":{"morph":{"__isSmartRef__":true,"id":5847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5893":{"resizeWidth":true},"5894":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5895":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5896":{"updateExpanderColor":{"__isSmartRef__":true,"id":5897},"onMouseDown":{"__isSmartRef__":true,"id":5900},"isRoot":{"__isSmartRef__":true,"id":5907},"displayValue":{"__isSmartRef__":true,"id":5910},"update":{"__isSmartRef__":true,"id":5913}},"5897":{"varMapping":{"__isSmartRef__":true,"id":5898},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5899},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5898":{"this":{"__isSmartRef__":true,"id":5847}},"5899":{},"5900":{"varMapping":{"__isSmartRef__":true,"id":5901},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5901":{"this":{"__isSmartRef__":true,"id":5847},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5902}},"5902":{"$super":{"__isSmartRef__":true,"id":5903}},"5903":{"varMapping":{"__isSmartRef__":true,"id":5904},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5905},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5904":{"obj":{"__isSmartRef__":true,"id":5847},"name":"onMouseDown"},"5905":{},"5906":{},"5907":{"varMapping":{"__isSmartRef__":true,"id":5908},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5909},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5908":{"this":{"__isSmartRef__":true,"id":5847}},"5909":{},"5910":{"varMapping":{"__isSmartRef__":true,"id":5911},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5912},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5911":{"this":{"__isSmartRef__":true,"id":5847}},"5912":{},"5913":{"varMapping":{"__isSmartRef__":true,"id":5914},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5914":{"this":{"__isSmartRef__":true,"id":5847}},"5915":{},"5916":{"_Position":{"__isSmartRef__":true,"id":5917},"renderContextTable":{"__isSmartRef__":true,"id":5918},"_Extent":{"__isSmartRef__":true,"id":5919},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5920},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5917":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5918":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5919":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5920":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5921":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5922":{"morph":{"__isSmartRef__":true,"id":5846},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5923":{"layouter":{"__isSmartRef__":true,"id":5924},"resizeWidth":true},"5924":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5846},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5925":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5926":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5927":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5928}},"5928":{"varMapping":{"__isSmartRef__":true,"id":5929},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5929":{"this":{"__isSmartRef__":true,"id":5846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5930}},"5930":{"$super":{"__isSmartRef__":true,"id":5931}},"5931":{"varMapping":{"__isSmartRef__":true,"id":5932},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5933},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5932":{"obj":{"__isSmartRef__":true,"id":5846},"name":"getLayoutableSubmorphs"},"5933":{},"5934":{},"5935":{"submorphs":[{"__isSmartRef__":true,"id":5936}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6005},"derivationIds":[null],"id":"7BA191D9-FBE0-49AC-8813-778B7E3D0B5D","renderContextTable":{"__isSmartRef__":true,"id":6010},"eventHandler":{"__isSmartRef__":true,"id":6011},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6012},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6014},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6015},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6016},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5936":{"submorphs":[{"__isSmartRef__":true,"id":5937},{"__isSmartRef__":true,"id":5958}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5975},"derivationIds":[null],"id":"D8EF49DE-90C0-43FF-BA67-37DD73D34D44","renderContextTable":{"__isSmartRef__":true,"id":5980},"eventHandler":{"__isSmartRef__":true,"id":5981},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5982},"grabbingEnabled":false,"draggingEnabled":false,"data":282.672,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"rotation","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":5937},"text":{"__isSmartRef__":true,"id":5958},"owner":{"__isSmartRef__":true,"id":5935},"_Position":{"__isSmartRef__":true,"id":5983},"priorExtent":{"__isSmartRef__":true,"id":5984},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5985},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5937":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5938},"derivationIds":[null],"id":"E6B2767B-7D1E-419A-930E-1FEDA8659D0A","renderContextTable":{"__isSmartRef__":true,"id":5944},"eventHandler":{"__isSmartRef__":true,"id":5945},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5946},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5936},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5947},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5938":{"_Position":{"__isSmartRef__":true,"id":5939},"renderContextTable":{"__isSmartRef__":true,"id":5940},"_Extent":{"__isSmartRef__":true,"id":5941},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5942},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":5943},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5939":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5940":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5941":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5942":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5943":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"5944":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5945":{"morph":{"__isSmartRef__":true,"id":5937},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5946":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5947":{"toggle":{"__isSmartRef__":true,"id":5948},"toggleExpansion":{"__isSmartRef__":true,"id":5955}},"5948":{"varMapping":{"__isSmartRef__":true,"id":5949},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5949":{"this":{"__isSmartRef__":true,"id":5937},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5950}},"5950":{"$super":{"__isSmartRef__":true,"id":5951}},"5951":{"varMapping":{"__isSmartRef__":true,"id":5952},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5953},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5952":{"obj":{"__isSmartRef__":true,"id":5937},"name":"toggle"},"5953":{},"5954":{},"5955":{"varMapping":{"__isSmartRef__":true,"id":5956},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5956":{"this":{"__isSmartRef__":true,"id":5937}},"5957":{},"5958":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5959},"derivationIds":[null],"id":"A54911E1-CEB3-4606-9E42-1F75ACF75A3F","renderContextTable":{"__isSmartRef__":true,"id":5963},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5964},{"__isSmartRef__":true,"id":5966}],"eventHandler":{"__isSmartRef__":true,"id":5968},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":5969},"priorExtent":{"__isSmartRef__":true,"id":5970},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5936},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5971},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5959":{"_Position":{"__isSmartRef__":true,"id":5960},"renderContextTable":{"__isSmartRef__":true,"id":5961},"_Extent":{"__isSmartRef__":true,"id":5962},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5960":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5961":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5962":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5963":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"5964":{"style":{"__isSmartRef__":true,"id":5965},"chunkOwner":{"__isSmartRef__":true,"id":5958},"storedString":"rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5965":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5966":{"style":{"__isSmartRef__":true,"id":5967},"chunkOwner":{"__isSmartRef__":true,"id":5958},"storedString":": 282.672","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5967":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5968":{"morph":{"__isSmartRef__":true,"id":5958},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5969":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5970":{"x":210,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5971":{"layoutText":{"__isSmartRef__":true,"id":5972}},"5972":{"varMapping":{"__isSmartRef__":true,"id":5973},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5974},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5973":{"this":{"__isSmartRef__":true,"id":5958}},"5974":{},"5975":{"_Position":{"__isSmartRef__":true,"id":5976},"renderContextTable":{"__isSmartRef__":true,"id":5977},"_Extent":{"__isSmartRef__":true,"id":5978},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5979},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5976":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5977":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5978":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5979":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"5980":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5981":{"morph":{"__isSmartRef__":true,"id":5936},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5982":{"resizeWidth":true},"5983":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5984":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5985":{"updateExpanderColor":{"__isSmartRef__":true,"id":5986},"onMouseDown":{"__isSmartRef__":true,"id":5989},"isRoot":{"__isSmartRef__":true,"id":5996},"displayValue":{"__isSmartRef__":true,"id":5999},"update":{"__isSmartRef__":true,"id":6002}},"5986":{"varMapping":{"__isSmartRef__":true,"id":5987},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5987":{"this":{"__isSmartRef__":true,"id":5936}},"5988":{},"5989":{"varMapping":{"__isSmartRef__":true,"id":5990},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5990":{"this":{"__isSmartRef__":true,"id":5936},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5991}},"5991":{"$super":{"__isSmartRef__":true,"id":5992}},"5992":{"varMapping":{"__isSmartRef__":true,"id":5993},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5993":{"obj":{"__isSmartRef__":true,"id":5936},"name":"onMouseDown"},"5994":{},"5995":{},"5996":{"varMapping":{"__isSmartRef__":true,"id":5997},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"5997":{"this":{"__isSmartRef__":true,"id":5936}},"5998":{},"5999":{"varMapping":{"__isSmartRef__":true,"id":6000},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6000":{"this":{"__isSmartRef__":true,"id":5936}},"6001":{},"6002":{"varMapping":{"__isSmartRef__":true,"id":6003},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6003":{"this":{"__isSmartRef__":true,"id":5936}},"6004":{},"6005":{"_Position":{"__isSmartRef__":true,"id":6006},"renderContextTable":{"__isSmartRef__":true,"id":6007},"_Extent":{"__isSmartRef__":true,"id":6008},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6009},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6006":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6007":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6008":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6009":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6010":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6011":{"morph":{"__isSmartRef__":true,"id":5935},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6012":{"layouter":{"__isSmartRef__":true,"id":6013},"resizeWidth":true},"6013":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5935},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6014":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6015":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6016":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6017}},"6017":{"varMapping":{"__isSmartRef__":true,"id":6018},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6018":{"this":{"__isSmartRef__":true,"id":5935},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6019}},"6019":{"$super":{"__isSmartRef__":true,"id":6020}},"6020":{"varMapping":{"__isSmartRef__":true,"id":6021},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6021":{"obj":{"__isSmartRef__":true,"id":5935},"name":"getLayoutableSubmorphs"},"6022":{},"6023":{},"6024":{"submorphs":[{"__isSmartRef__":true,"id":6025}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6094},"derivationIds":[null],"id":"80AE55F9-A108-4919-A631-57A758A3129A","renderContextTable":{"__isSmartRef__":true,"id":6099},"eventHandler":{"__isSmartRef__":true,"id":6100},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6101},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6103},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6104},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6105},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6025":{"submorphs":[{"__isSmartRef__":true,"id":6026},{"__isSmartRef__":true,"id":6047}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6064},"derivationIds":[null],"id":"53AE210B-8240-4E60-9690-44935B17FF82","renderContextTable":{"__isSmartRef__":true,"id":6069},"eventHandler":{"__isSmartRef__":true,"id":6070},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6071},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":6026},"text":{"__isSmartRef__":true,"id":6047},"owner":{"__isSmartRef__":true,"id":6024},"_Position":{"__isSmartRef__":true,"id":6072},"priorExtent":{"__isSmartRef__":true,"id":6073},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6074},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6026":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6027},"derivationIds":[null],"id":"6D1ED857-4264-462D-BF70-9E94C51AE588","renderContextTable":{"__isSmartRef__":true,"id":6033},"eventHandler":{"__isSmartRef__":true,"id":6034},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6035},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6025},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6036},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6027":{"_Position":{"__isSmartRef__":true,"id":6028},"renderContextTable":{"__isSmartRef__":true,"id":6029},"_Extent":{"__isSmartRef__":true,"id":6030},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6031},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6032},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6028":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6029":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6030":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6031":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6032":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6033":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6034":{"morph":{"__isSmartRef__":true,"id":6026},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6035":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6036":{"toggle":{"__isSmartRef__":true,"id":6037},"toggleExpansion":{"__isSmartRef__":true,"id":6044}},"6037":{"varMapping":{"__isSmartRef__":true,"id":6038},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6043},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6038":{"this":{"__isSmartRef__":true,"id":6026},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6039}},"6039":{"$super":{"__isSmartRef__":true,"id":6040}},"6040":{"varMapping":{"__isSmartRef__":true,"id":6041},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6042},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6041":{"obj":{"__isSmartRef__":true,"id":6026},"name":"toggle"},"6042":{},"6043":{},"6044":{"varMapping":{"__isSmartRef__":true,"id":6045},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6045":{"this":{"__isSmartRef__":true,"id":6026}},"6046":{},"6047":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6048},"derivationIds":[null],"id":"183D936A-CA6A-4696-9368-0FA75C302E24","renderContextTable":{"__isSmartRef__":true,"id":6052},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6053},{"__isSmartRef__":true,"id":6055}],"eventHandler":{"__isSmartRef__":true,"id":6057},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6058},"priorExtent":{"__isSmartRef__":true,"id":6059},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6025},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6060},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6048":{"_Position":{"__isSmartRef__":true,"id":6049},"renderContextTable":{"__isSmartRef__":true,"id":6050},"_Extent":{"__isSmartRef__":true,"id":6051},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6049":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6050":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6051":{"x":90.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6053":{"style":{"__isSmartRef__":true,"id":6054},"chunkOwner":{"__isSmartRef__":true,"id":6047},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6054":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6055":{"style":{"__isSmartRef__":true,"id":6056},"chunkOwner":{"__isSmartRef__":true,"id":6047},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6056":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6057":{"morph":{"__isSmartRef__":true,"id":6047},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6058":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6059":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6060":{"layoutText":{"__isSmartRef__":true,"id":6061}},"6061":{"varMapping":{"__isSmartRef__":true,"id":6062},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6062":{"this":{"__isSmartRef__":true,"id":6047}},"6063":{},"6064":{"_Position":{"__isSmartRef__":true,"id":6065},"renderContextTable":{"__isSmartRef__":true,"id":6066},"_Extent":{"__isSmartRef__":true,"id":6067},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6068},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6065":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6066":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6067":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6068":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6069":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6070":{"morph":{"__isSmartRef__":true,"id":6025},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6071":{"resizeWidth":true},"6072":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6073":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6074":{"updateExpanderColor":{"__isSmartRef__":true,"id":6075},"onMouseDown":{"__isSmartRef__":true,"id":6078},"isRoot":{"__isSmartRef__":true,"id":6085},"displayValue":{"__isSmartRef__":true,"id":6088},"update":{"__isSmartRef__":true,"id":6091}},"6075":{"varMapping":{"__isSmartRef__":true,"id":6076},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6077},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6076":{"this":{"__isSmartRef__":true,"id":6025}},"6077":{},"6078":{"varMapping":{"__isSmartRef__":true,"id":6079},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6079":{"this":{"__isSmartRef__":true,"id":6025},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6080}},"6080":{"$super":{"__isSmartRef__":true,"id":6081}},"6081":{"varMapping":{"__isSmartRef__":true,"id":6082},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6083},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6082":{"obj":{"__isSmartRef__":true,"id":6025},"name":"onMouseDown"},"6083":{},"6084":{},"6085":{"varMapping":{"__isSmartRef__":true,"id":6086},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6086":{"this":{"__isSmartRef__":true,"id":6025}},"6087":{},"6088":{"varMapping":{"__isSmartRef__":true,"id":6089},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6089":{"this":{"__isSmartRef__":true,"id":6025}},"6090":{},"6091":{"varMapping":{"__isSmartRef__":true,"id":6092},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6092":{"this":{"__isSmartRef__":true,"id":6025}},"6093":{},"6094":{"_Position":{"__isSmartRef__":true,"id":6095},"renderContextTable":{"__isSmartRef__":true,"id":6096},"_Extent":{"__isSmartRef__":true,"id":6097},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6098},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6095":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6096":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6097":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6098":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6099":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6100":{"morph":{"__isSmartRef__":true,"id":6024},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6101":{"layouter":{"__isSmartRef__":true,"id":6102},"resizeWidth":true},"6102":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6024},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6103":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6104":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6105":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6106}},"6106":{"varMapping":{"__isSmartRef__":true,"id":6107},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6107":{"this":{"__isSmartRef__":true,"id":6024},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6108}},"6108":{"$super":{"__isSmartRef__":true,"id":6109}},"6109":{"varMapping":{"__isSmartRef__":true,"id":6110},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6110":{"obj":{"__isSmartRef__":true,"id":6024},"name":"getLayoutableSubmorphs"},"6111":{},"6112":{},"6113":{"submorphs":[{"__isSmartRef__":true,"id":6114}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6183},"derivationIds":[null],"id":"F55EB17D-D1E1-43DF-B49C-BCE7A5B536D6","renderContextTable":{"__isSmartRef__":true,"id":6188},"eventHandler":{"__isSmartRef__":true,"id":6189},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6190},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6192},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6194},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6114":{"submorphs":[{"__isSmartRef__":true,"id":6115},{"__isSmartRef__":true,"id":6136}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6153},"derivationIds":[null],"id":"49140029-3947-411A-B92F-1F7FF9FA240D","renderContextTable":{"__isSmartRef__":true,"id":6158},"eventHandler":{"__isSmartRef__":true,"id":6159},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6160},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":92},"propertyList":["position","_Extent","_ImageURL","__SourceModuleName__","renderContextTable","isLoaded","_renderContext","_ClipMode","_Padding"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":6115},"text":{"__isSmartRef__":true,"id":6136},"owner":{"__isSmartRef__":true,"id":6113},"_Position":{"__isSmartRef__":true,"id":6161},"priorExtent":{"__isSmartRef__":true,"id":6162},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6163},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6115":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6116},"derivationIds":[null],"id":"2539EA2D-559B-414D-AB2B-14376D3012E2","renderContextTable":{"__isSmartRef__":true,"id":6122},"eventHandler":{"__isSmartRef__":true,"id":6123},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6124},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6125},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6116":{"_Position":{"__isSmartRef__":true,"id":6117},"renderContextTable":{"__isSmartRef__":true,"id":6118},"_Extent":{"__isSmartRef__":true,"id":6119},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6120},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6121},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6117":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6118":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6119":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6120":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6121":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6122":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6123":{"morph":{"__isSmartRef__":true,"id":6115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6124":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6125":{"toggle":{"__isSmartRef__":true,"id":6126},"toggleExpansion":{"__isSmartRef__":true,"id":6133}},"6126":{"varMapping":{"__isSmartRef__":true,"id":6127},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6127":{"this":{"__isSmartRef__":true,"id":6115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6128}},"6128":{"$super":{"__isSmartRef__":true,"id":6129}},"6129":{"varMapping":{"__isSmartRef__":true,"id":6130},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6130":{"obj":{"__isSmartRef__":true,"id":6115},"name":"toggle"},"6131":{},"6132":{},"6133":{"varMapping":{"__isSmartRef__":true,"id":6134},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6134":{"this":{"__isSmartRef__":true,"id":6115}},"6135":{},"6136":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6137},"derivationIds":[null],"id":"0FDCE6F2-3EEF-4CE5-87AA-655D8947AAF4","renderContextTable":{"__isSmartRef__":true,"id":6141},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6142},{"__isSmartRef__":true,"id":6144}],"eventHandler":{"__isSmartRef__":true,"id":6146},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6147},"priorExtent":{"__isSmartRef__":true,"id":6148},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6149},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6137":{"_Position":{"__isSmartRef__":true,"id":6138},"renderContextTable":{"__isSmartRef__":true,"id":6139},"_Extent":{"__isSmartRef__":true,"id":6140},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6138":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6139":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6140":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6141":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6142":{"style":{"__isSmartRef__":true,"id":6143},"chunkOwner":{"__isSmartRef__":true,"id":6136},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6143":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6144":{"style":{"__isSmartRef__":true,"id":6145},"chunkOwner":{"__isSmartRef__":true,"id":6136},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6145":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6146":{"morph":{"__isSmartRef__":true,"id":6136},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6147":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6148":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6149":{"layoutText":{"__isSmartRef__":true,"id":6150}},"6150":{"varMapping":{"__isSmartRef__":true,"id":6151},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6151":{"this":{"__isSmartRef__":true,"id":6136}},"6152":{},"6153":{"_Position":{"__isSmartRef__":true,"id":6154},"renderContextTable":{"__isSmartRef__":true,"id":6155},"_Extent":{"__isSmartRef__":true,"id":6156},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6157},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6154":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6155":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6156":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6157":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6158":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6159":{"morph":{"__isSmartRef__":true,"id":6114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6160":{"resizeWidth":true},"6161":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6162":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6163":{"updateExpanderColor":{"__isSmartRef__":true,"id":6164},"onMouseDown":{"__isSmartRef__":true,"id":6167},"isRoot":{"__isSmartRef__":true,"id":6174},"displayValue":{"__isSmartRef__":true,"id":6177},"update":{"__isSmartRef__":true,"id":6180}},"6164":{"varMapping":{"__isSmartRef__":true,"id":6165},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6165":{"this":{"__isSmartRef__":true,"id":6114}},"6166":{},"6167":{"varMapping":{"__isSmartRef__":true,"id":6168},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6168":{"this":{"__isSmartRef__":true,"id":6114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6169}},"6169":{"$super":{"__isSmartRef__":true,"id":6170}},"6170":{"varMapping":{"__isSmartRef__":true,"id":6171},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6171":{"obj":{"__isSmartRef__":true,"id":6114},"name":"onMouseDown"},"6172":{},"6173":{},"6174":{"varMapping":{"__isSmartRef__":true,"id":6175},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6175":{"this":{"__isSmartRef__":true,"id":6114}},"6176":{},"6177":{"varMapping":{"__isSmartRef__":true,"id":6178},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6178":{"this":{"__isSmartRef__":true,"id":6114}},"6179":{},"6180":{"varMapping":{"__isSmartRef__":true,"id":6181},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6181":{"this":{"__isSmartRef__":true,"id":6114}},"6182":{},"6183":{"_Position":{"__isSmartRef__":true,"id":6184},"renderContextTable":{"__isSmartRef__":true,"id":6185},"_Extent":{"__isSmartRef__":true,"id":6186},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6187},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6184":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6185":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6186":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6187":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6189":{"morph":{"__isSmartRef__":true,"id":6113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6190":{"layouter":{"__isSmartRef__":true,"id":6191},"resizeWidth":true},"6191":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6113},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6192":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6193":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6194":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6195}},"6195":{"varMapping":{"__isSmartRef__":true,"id":6196},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6196":{"this":{"__isSmartRef__":true,"id":6113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6197}},"6197":{"$super":{"__isSmartRef__":true,"id":6198}},"6198":{"varMapping":{"__isSmartRef__":true,"id":6199},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6200},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6199":{"obj":{"__isSmartRef__":true,"id":6113},"name":"getLayoutableSubmorphs"},"6200":{},"6201":{},"6202":{"submorphs":[{"__isSmartRef__":true,"id":6203}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6272},"derivationIds":[null],"id":"F479F11A-97DD-4896-80B5-3AE27AA4E2F1","renderContextTable":{"__isSmartRef__":true,"id":6277},"eventHandler":{"__isSmartRef__":true,"id":6278},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6279},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6281},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6283},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6203":{"submorphs":[{"__isSmartRef__":true,"id":6204},{"__isSmartRef__":true,"id":6225}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6242},"derivationIds":[null],"id":"868585BF-DF6C-487E-B050-68B15A817DE8","renderContextTable":{"__isSmartRef__":true,"id":6247},"eventHandler":{"__isSmartRef__":true,"id":6248},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6249},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":6204},"text":{"__isSmartRef__":true,"id":6225},"owner":{"__isSmartRef__":true,"id":6202},"_Position":{"__isSmartRef__":true,"id":6250},"priorExtent":{"__isSmartRef__":true,"id":6251},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6252},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6204":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6205},"derivationIds":[null],"id":"20EA709D-ED6A-48EA-AD10-1B02CAC7299F","renderContextTable":{"__isSmartRef__":true,"id":6211},"eventHandler":{"__isSmartRef__":true,"id":6212},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6213},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6203},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6214},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6205":{"_Position":{"__isSmartRef__":true,"id":6206},"renderContextTable":{"__isSmartRef__":true,"id":6207},"_Extent":{"__isSmartRef__":true,"id":6208},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6209},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6210},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6206":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6207":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6208":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6209":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6210":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6211":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6212":{"morph":{"__isSmartRef__":true,"id":6204},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6213":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6214":{"toggle":{"__isSmartRef__":true,"id":6215},"toggleExpansion":{"__isSmartRef__":true,"id":6222}},"6215":{"varMapping":{"__isSmartRef__":true,"id":6216},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6216":{"this":{"__isSmartRef__":true,"id":6204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6217}},"6217":{"$super":{"__isSmartRef__":true,"id":6218}},"6218":{"varMapping":{"__isSmartRef__":true,"id":6219},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6219":{"obj":{"__isSmartRef__":true,"id":6204},"name":"toggle"},"6220":{},"6221":{},"6222":{"varMapping":{"__isSmartRef__":true,"id":6223},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6223":{"this":{"__isSmartRef__":true,"id":6204}},"6224":{},"6225":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6226},"derivationIds":[null],"id":"995E0912-1716-4718-8947-13FB90D91074","renderContextTable":{"__isSmartRef__":true,"id":6230},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6231},{"__isSmartRef__":true,"id":6233}],"eventHandler":{"__isSmartRef__":true,"id":6235},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6236},"priorExtent":{"__isSmartRef__":true,"id":6237},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6203},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6238},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6226":{"_Position":{"__isSmartRef__":true,"id":6227},"renderContextTable":{"__isSmartRef__":true,"id":6228},"_Extent":{"__isSmartRef__":true,"id":6229},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6227":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6228":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6229":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6231":{"style":{"__isSmartRef__":true,"id":6232},"chunkOwner":{"__isSmartRef__":true,"id":6225},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6232":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6233":{"style":{"__isSmartRef__":true,"id":6234},"chunkOwner":{"__isSmartRef__":true,"id":6225},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6234":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6235":{"morph":{"__isSmartRef__":true,"id":6225},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6236":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6237":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6238":{"layoutText":{"__isSmartRef__":true,"id":6239}},"6239":{"varMapping":{"__isSmartRef__":true,"id":6240},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6240":{"this":{"__isSmartRef__":true,"id":6225}},"6241":{},"6242":{"_Position":{"__isSmartRef__":true,"id":6243},"renderContextTable":{"__isSmartRef__":true,"id":6244},"_Extent":{"__isSmartRef__":true,"id":6245},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6246},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6243":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6244":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6245":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6246":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6247":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6248":{"morph":{"__isSmartRef__":true,"id":6203},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6249":{"resizeWidth":true},"6250":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6251":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6252":{"updateExpanderColor":{"__isSmartRef__":true,"id":6253},"onMouseDown":{"__isSmartRef__":true,"id":6256},"isRoot":{"__isSmartRef__":true,"id":6263},"displayValue":{"__isSmartRef__":true,"id":6266},"update":{"__isSmartRef__":true,"id":6269}},"6253":{"varMapping":{"__isSmartRef__":true,"id":6254},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6254":{"this":{"__isSmartRef__":true,"id":6203}},"6255":{},"6256":{"varMapping":{"__isSmartRef__":true,"id":6257},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6257":{"this":{"__isSmartRef__":true,"id":6203},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6258}},"6258":{"$super":{"__isSmartRef__":true,"id":6259}},"6259":{"varMapping":{"__isSmartRef__":true,"id":6260},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6261},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6260":{"obj":{"__isSmartRef__":true,"id":6203},"name":"onMouseDown"},"6261":{},"6262":{},"6263":{"varMapping":{"__isSmartRef__":true,"id":6264},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6264":{"this":{"__isSmartRef__":true,"id":6203}},"6265":{},"6266":{"varMapping":{"__isSmartRef__":true,"id":6267},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6267":{"this":{"__isSmartRef__":true,"id":6203}},"6268":{},"6269":{"varMapping":{"__isSmartRef__":true,"id":6270},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6270":{"this":{"__isSmartRef__":true,"id":6203}},"6271":{},"6272":{"_Position":{"__isSmartRef__":true,"id":6273},"renderContextTable":{"__isSmartRef__":true,"id":6274},"_Extent":{"__isSmartRef__":true,"id":6275},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6276},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6274":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6275":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6276":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6278":{"morph":{"__isSmartRef__":true,"id":6202},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6279":{"layouter":{"__isSmartRef__":true,"id":6280},"resizeWidth":true},"6280":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6202},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6281":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6282":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6283":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6284}},"6284":{"varMapping":{"__isSmartRef__":true,"id":6285},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6285":{"this":{"__isSmartRef__":true,"id":6202},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6286}},"6286":{"$super":{"__isSmartRef__":true,"id":6287}},"6287":{"varMapping":{"__isSmartRef__":true,"id":6288},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6288":{"obj":{"__isSmartRef__":true,"id":6202},"name":"getLayoutableSubmorphs"},"6289":{},"6290":{},"6291":{"submorphs":[{"__isSmartRef__":true,"id":6292}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6361},"derivationIds":[null],"id":"718293CD-23B1-4563-A957-A9AC7A0665C6","renderContextTable":{"__isSmartRef__":true,"id":6366},"eventHandler":{"__isSmartRef__":true,"id":6367},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6368},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6370},"owner":{"__isSmartRef__":true,"id":3608},"_Position":{"__isSmartRef__":true,"id":6371},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6372},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6292":{"submorphs":[{"__isSmartRef__":true,"id":6293},{"__isSmartRef__":true,"id":6314}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6331},"derivationIds":[null],"id":"270F71C9-C135-4F83-845E-DA2142EFA8D2","renderContextTable":{"__isSmartRef__":true,"id":6336},"eventHandler":{"__isSmartRef__":true,"id":6337},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6338},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"submorphs","children":[],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":6293},"text":{"__isSmartRef__":true,"id":6314},"owner":{"__isSmartRef__":true,"id":6291},"_Position":{"__isSmartRef__":true,"id":6339},"priorExtent":{"__isSmartRef__":true,"id":6340},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6341},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6293":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6294},"derivationIds":[null],"id":"7834497A-C2E1-498B-BE99-2BE7D841136F","renderContextTable":{"__isSmartRef__":true,"id":6300},"eventHandler":{"__isSmartRef__":true,"id":6301},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6302},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6303},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6294":{"_Position":{"__isSmartRef__":true,"id":6295},"renderContextTable":{"__isSmartRef__":true,"id":6296},"_Extent":{"__isSmartRef__":true,"id":6297},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6298},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6299},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6295":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6296":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6297":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6298":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6299":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6300":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6301":{"morph":{"__isSmartRef__":true,"id":6293},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6302":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6303":{"toggle":{"__isSmartRef__":true,"id":6304},"toggleExpansion":{"__isSmartRef__":true,"id":6311}},"6304":{"varMapping":{"__isSmartRef__":true,"id":6305},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6305":{"this":{"__isSmartRef__":true,"id":6293},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6306}},"6306":{"$super":{"__isSmartRef__":true,"id":6307}},"6307":{"varMapping":{"__isSmartRef__":true,"id":6308},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6308":{"obj":{"__isSmartRef__":true,"id":6293},"name":"toggle"},"6309":{},"6310":{},"6311":{"varMapping":{"__isSmartRef__":true,"id":6312},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6312":{"this":{"__isSmartRef__":true,"id":6293}},"6313":{},"6314":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6315},"derivationIds":[null],"id":"C53F4AD6-BEA0-4525-A4A0-443755BE854C","renderContextTable":{"__isSmartRef__":true,"id":6319},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6320},{"__isSmartRef__":true,"id":6322}],"eventHandler":{"__isSmartRef__":true,"id":6324},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6325},"priorExtent":{"__isSmartRef__":true,"id":6326},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6327},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6315":{"_Position":{"__isSmartRef__":true,"id":6316},"renderContextTable":{"__isSmartRef__":true,"id":6317},"_Extent":{"__isSmartRef__":true,"id":6318},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6316":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6317":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6318":{"x":105.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6319":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6320":{"style":{"__isSmartRef__":true,"id":6321},"chunkOwner":{"__isSmartRef__":true,"id":6314},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6321":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6322":{"style":{"__isSmartRef__":true,"id":6323},"chunkOwner":{"__isSmartRef__":true,"id":6314},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6323":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6324":{"morph":{"__isSmartRef__":true,"id":6314},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6325":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6326":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6327":{"layoutText":{"__isSmartRef__":true,"id":6328}},"6328":{"varMapping":{"__isSmartRef__":true,"id":6329},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6329":{"this":{"__isSmartRef__":true,"id":6314}},"6330":{},"6331":{"_Position":{"__isSmartRef__":true,"id":6332},"renderContextTable":{"__isSmartRef__":true,"id":6333},"_Extent":{"__isSmartRef__":true,"id":6334},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6335},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6332":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6333":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6334":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6335":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6336":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6337":{"morph":{"__isSmartRef__":true,"id":6292},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6338":{"resizeWidth":true},"6339":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6340":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6341":{"updateExpanderColor":{"__isSmartRef__":true,"id":6342},"onMouseDown":{"__isSmartRef__":true,"id":6345},"isRoot":{"__isSmartRef__":true,"id":6352},"displayValue":{"__isSmartRef__":true,"id":6355},"update":{"__isSmartRef__":true,"id":6358}},"6342":{"varMapping":{"__isSmartRef__":true,"id":6343},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6343":{"this":{"__isSmartRef__":true,"id":6292}},"6344":{},"6345":{"varMapping":{"__isSmartRef__":true,"id":6346},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6346":{"this":{"__isSmartRef__":true,"id":6292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6347}},"6347":{"$super":{"__isSmartRef__":true,"id":6348}},"6348":{"varMapping":{"__isSmartRef__":true,"id":6349},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6349":{"obj":{"__isSmartRef__":true,"id":6292},"name":"onMouseDown"},"6350":{},"6351":{},"6352":{"varMapping":{"__isSmartRef__":true,"id":6353},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6353":{"this":{"__isSmartRef__":true,"id":6292}},"6354":{},"6355":{"varMapping":{"__isSmartRef__":true,"id":6356},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6356":{"this":{"__isSmartRef__":true,"id":6292}},"6357":{},"6358":{"varMapping":{"__isSmartRef__":true,"id":6359},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6359":{"this":{"__isSmartRef__":true,"id":6292}},"6360":{},"6361":{"_Position":{"__isSmartRef__":true,"id":6362},"renderContextTable":{"__isSmartRef__":true,"id":6363},"_Extent":{"__isSmartRef__":true,"id":6364},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6365},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6362":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6363":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6364":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6365":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6366":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6367":{"morph":{"__isSmartRef__":true,"id":6291},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6368":{"layouter":{"__isSmartRef__":true,"id":6369},"resizeWidth":true},"6369":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6291},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6370":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6371":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6372":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6373}},"6373":{"varMapping":{"__isSmartRef__":true,"id":6374},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6374":{"this":{"__isSmartRef__":true,"id":6291},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6375}},"6375":{"$super":{"__isSmartRef__":true,"id":6376}},"6376":{"varMapping":{"__isSmartRef__":true,"id":6377},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6378},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6377":{"obj":{"__isSmartRef__":true,"id":6291},"name":"getLayoutableSubmorphs"},"6378":{},"6379":{},"6380":{"_Position":{"__isSmartRef__":true,"id":6381},"renderContextTable":{"__isSmartRef__":true,"id":6382},"_Extent":{"__isSmartRef__":true,"id":6383},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6384},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6381":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6382":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6383":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6384":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6385":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6386":{"morph":{"__isSmartRef__":true,"id":3608},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6387":{"layouter":{"__isSmartRef__":true,"id":6388},"resizeWidth":true},"6388":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3608},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6389":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6390":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6391":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6392},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":6399}},"6392":{"varMapping":{"__isSmartRef__":true,"id":6393},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6393":{"this":{"__isSmartRef__":true,"id":3608},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6394}},"6394":{"$super":{"__isSmartRef__":true,"id":6395}},"6395":{"varMapping":{"__isSmartRef__":true,"id":6396},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6396":{"obj":{"__isSmartRef__":true,"id":3608},"name":"getLayoutableSubmorphs"},"6397":{},"6398":{},"6399":{"varMapping":{"__isSmartRef__":true,"id":6400},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6400":{"this":{"__isSmartRef__":true,"id":3608}},"6401":{},"6402":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6403":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6404}},"6404":{"varMapping":{"__isSmartRef__":true,"id":6405},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6405":{"this":{"__isSmartRef__":true,"id":3597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6406}},"6406":{"$super":{"__isSmartRef__":true,"id":6407}},"6407":{"varMapping":{"__isSmartRef__":true,"id":6408},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6408":{"obj":{"__isSmartRef__":true,"id":3597},"name":"getLayoutableSubmorphs"},"6409":{},"6410":{},"6411":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6412":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6413":{"updateExpanderColor":{"__isSmartRef__":true,"id":6414},"onMouseDown":{"__isSmartRef__":true,"id":6417},"isRoot":{"__isSmartRef__":true,"id":6424},"displayValue":{"__isSmartRef__":true,"id":6427},"update":{"__isSmartRef__":true,"id":6430}},"6414":{"varMapping":{"__isSmartRef__":true,"id":6415},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6415":{"this":{"__isSmartRef__":true,"id":3550}},"6416":{},"6417":{"varMapping":{"__isSmartRef__":true,"id":6418},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6418":{"this":{"__isSmartRef__":true,"id":3550},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6419}},"6419":{"$super":{"__isSmartRef__":true,"id":6420}},"6420":{"varMapping":{"__isSmartRef__":true,"id":6421},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6421":{"obj":{"__isSmartRef__":true,"id":3550},"name":"onMouseDown"},"6422":{},"6423":{},"6424":{"varMapping":{"__isSmartRef__":true,"id":6425},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6425":{"this":{"__isSmartRef__":true,"id":3550}},"6426":{},"6427":{"varMapping":{"__isSmartRef__":true,"id":6428},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6428":{"this":{"__isSmartRef__":true,"id":3550}},"6429":{},"6430":{"varMapping":{"__isSmartRef__":true,"id":6431},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6431":{"this":{"__isSmartRef__":true,"id":3550}},"6432":{},"6433":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6434":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6435":{"updateExpanderColor":{"__isSmartRef__":true,"id":6436},"onMouseDown":{"__isSmartRef__":true,"id":6439},"isRoot":{"__isSmartRef__":true,"id":6446},"displayValue":{"__isSmartRef__":true,"id":6449},"update":{"__isSmartRef__":true,"id":6452}},"6436":{"varMapping":{"__isSmartRef__":true,"id":6437},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6437":{"this":{"__isSmartRef__":true,"id":3501}},"6438":{},"6439":{"varMapping":{"__isSmartRef__":true,"id":6440},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6440":{"this":{"__isSmartRef__":true,"id":3501},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6441}},"6441":{"$super":{"__isSmartRef__":true,"id":6442}},"6442":{"varMapping":{"__isSmartRef__":true,"id":6443},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6443":{"obj":{"__isSmartRef__":true,"id":3501},"name":"onMouseDown"},"6444":{},"6445":{},"6446":{"varMapping":{"__isSmartRef__":true,"id":6447},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6447":{"this":{"__isSmartRef__":true,"id":3501}},"6448":{},"6449":{"varMapping":{"__isSmartRef__":true,"id":6450},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6451},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6450":{"this":{"__isSmartRef__":true,"id":3501}},"6451":{},"6452":{"varMapping":{"__isSmartRef__":true,"id":6453},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6453":{"this":{"__isSmartRef__":true,"id":3501}},"6454":{},"6455":{"_Position":{"__isSmartRef__":true,"id":6456},"renderContextTable":{"__isSmartRef__":true,"id":6457},"_Extent":{"__isSmartRef__":true,"id":6458},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6456":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6458":{"x":100,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6459":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6460":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6461":{"morph":{"__isSmartRef__":true,"id":3500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6462":{"layouter":{"__isSmartRef__":true,"id":6463},"resizeWidth":true},"6463":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3500},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6464":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6465":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6466}},"6466":{"varMapping":{"__isSmartRef__":true,"id":6467},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6472},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6467":{"this":{"__isSmartRef__":true,"id":3500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6468}},"6468":{"$super":{"__isSmartRef__":true,"id":6469}},"6469":{"varMapping":{"__isSmartRef__":true,"id":6470},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6470":{"obj":{"__isSmartRef__":true,"id":3500},"name":"getLayoutableSubmorphs"},"6471":{},"6472":{},"6473":{"_Position":{"__isSmartRef__":true,"id":6474},"renderContextTable":{"__isSmartRef__":true,"id":6475},"_Extent":{"__isSmartRef__":true,"id":6476},"_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":6477},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6474":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6475":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6476":{"x":270.8398611920343,"y":263.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6477":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6478":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6479":{"morph":{"__isSmartRef__":true,"id":3499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6480":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6481":{"resizeWidth":true,"resizeHeight":true},"6482":{"x":290.8398611920343,"y":283.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6483":{"setClipModeHTML":{"__isSmartRef__":true,"id":6484}},"6484":{"varMapping":{"__isSmartRef__":true,"id":6485},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":6490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6485":{"this":{"__isSmartRef__":true,"id":3499},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6486}},"6486":{"$super":{"__isSmartRef__":true,"id":6487}},"6487":{"varMapping":{"__isSmartRef__":true,"id":6488},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6488":{"obj":{"__isSmartRef__":true,"id":3499},"name":"setClipModeHTML"},"6489":{},"6490":{},"6491":{"target":{"__isSmartRef__":true,"id":3498},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":10983,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"6492":{"position":{"__isSmartRef__":true,"id":6493},"_Extent":{"__isSmartRef__":true,"id":6494},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6495},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6496},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6494":{"x":290.8398611920343,"y":283.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6495":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"6498":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6499":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6500":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6501":{"morph":{"__isSmartRef__":true,"id":3498},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6502":{"x":286.8398611920343,"y":281.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6503":{"layouter":{"__isSmartRef__":true,"id":6504},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"6504":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":3498},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"6505":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6506":{"border":{"__isSmartRef__":true,"id":3508},"contractedExpander":{"__isSmartRef__":true,"id":3795},"expandedExpander":{"__isSmartRef__":true,"id":351},"focusedText":{"__isSmartRef__":true,"id":6507},"emphasizedText":{"__isSmartRef__":true,"id":3534}},"6507":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6508":{"size":10},"6509":{"wrapperExtent":{"__isSmartRef__":true,"id":6510},"expanderExtent":{"__isSmartRef__":true,"id":6511},"expanderOffset":{"__isSmartRef__":true,"id":6512},"textOffset":{"__isSmartRef__":true,"id":6513},"levelIndent":10,"maxTextWidth":500},"6510":{"x":0,"y":0,"width":100,"height":18,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6511":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6512":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6513":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6514":{"renderTree":{"__isSmartRef__":true,"id":6515},"createTreeNode":{"__isSmartRef__":true,"id":6519},"createTreeWrapper":{"__isSmartRef__":true,"id":6523},"reset":{"__isSmartRef__":true,"id":6527},"createTreeNodeMorph":{"__isSmartRef__":true,"id":6531},"createExpanderButton":{"__isSmartRef__":true,"id":6535},"createPropertyText":{"__isSmartRef__":true,"id":6539},"createScrollClip":{"__isSmartRef__":true,"id":6543},"resetDefaults":{"__isSmartRef__":true,"id":6547},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":6551},"addScriptsToExpander":{"__isSmartRef__":true,"id":6554},"getDisplayStringFor":{"__isSmartRef__":true,"id":6557},"update":{"__isSmartRef__":true,"id":6561},"addScriptsToText":{"__isSmartRef__":true,"id":6565},"toggleAll":{"__isSmartRef__":true,"id":6569}},"6515":{"varMapping":{"__isSmartRef__":true,"id":6516},"source":"function renderTree(data) {\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n \n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n\n this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":6517},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6516":{"this":{"__isSmartRef__":true,"id":3498}},"6517":{"timestamp":{"__isSmartRef__":true,"id":6518},"user":"lauritz","tags":[]},"6518":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:23:33 GMT+0100 (W. Europe Standard Time)"},"6519":{"varMapping":{"__isSmartRef__":true,"id":6520},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n treeNode.addMorph(expander);\n\n var text = this.createPropertyText(treeNode);\n treeNode.addMorph(text);\n\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":6521},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6520":{"this":{"__isSmartRef__":true,"id":3498}},"6521":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6522}},"6522":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:43:34 GMT+0200 (W. Europe Daylight Time)"},"6523":{"varMapping":{"__isSmartRef__":true,"id":6524},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":6525},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6524":{"this":{"__isSmartRef__":true,"id":3498}},"6525":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6526}},"6526":{"isSerializedDate":true,"string":"Tue Sep 20 2011 17:05:52 GMT+0200 (W. Europe Daylight Time)"},"6527":{"varMapping":{"__isSmartRef__":true,"id":6528},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.rootNode = null; \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":6529},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6528":{"this":{"__isSmartRef__":true,"id":3498}},"6529":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6530}},"6530":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:41:57 GMT+0200 (W. Europe Daylight Time)"},"6531":{"varMapping":{"__isSmartRef__":true,"id":6532},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n treeNode.disableDragging();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":6533},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6532":{"this":{"__isSmartRef__":true,"id":3498}},"6533":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6534}},"6534":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:24:35 GMT+0200 (W. Europe Daylight Time)"},"6535":{"varMapping":{"__isSmartRef__":true,"id":6536},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n expander.disableDragging();\n treeNode.expander = expander;\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor();\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":6537},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6536":{"this":{"__isSmartRef__":true,"id":3498}},"6537":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6538}},"6538":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:32:58 GMT+0200 (W. Europe Daylight Time)"},"6539":{"varMapping":{"__isSmartRef__":true,"id":6540},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \"\"); \n this.addScriptsToText(textMorph);\n textMorph.layoutText(this.fonts);\n\n treeNode.text = textMorph;\n treeNode.displayValue();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":6541},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6540":{"this":{"__isSmartRef__":true,"id":3498}},"6541":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6542}},"6542":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:18:07 GMT+0200 (W. Europe Daylight Time)"},"6543":{"varMapping":{"__isSmartRef__":true,"id":6544},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.disableDragging();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":6545},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6544":{"this":{"__isSmartRef__":true,"id":3498}},"6545":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6546}},"6546":{"isSerializedDate":true,"string":"Mon Sep 19 2011 19:54:00 GMT+0200 (W. Europe Daylight Time)"},"6547":{"varMapping":{"__isSmartRef__":true,"id":6548},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6549},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6548":{"this":{"__isSmartRef__":true,"id":3498}},"6549":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6550}},"6550":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:38:04 GMT+0200 (W. Europe Daylight Time)"},"6551":{"varMapping":{"__isSmartRef__":true,"id":6552},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n });\n\n treeNode.addScript(function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n });\n \n treeNode.addScript(function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":6553},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6552":{"this":{"__isSmartRef__":true,"id":3498}},"6553":{},"6554":{"varMapping":{"__isSmartRef__":true,"id":6555},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n });\n\n expander.addScript(function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":6556},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6555":{"this":{"__isSmartRef__":true,"id":3498}},"6556":{},"6557":{"varMapping":{"__isSmartRef__":true,"id":6558},"source":"function getDisplayStringFor(treeNode) {\n var typeInfo = '';\n if (treeNode.data && treeNode.data.name) {\n typeInfo = treeNode.data.name;\n } else {\n typeInfo = (Objects.isMutableType(treeNode.data) ? \n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\n }\n return treeNode.label + \": \" + typeInfo;\n}","funcProperties":{"__isSmartRef__":true,"id":6559},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6558":{"this":{"__isSmartRef__":true,"id":3498}},"6559":{"timestamp":{"__isSmartRef__":true,"id":6560},"user":"lauritz","tags":[]},"6560":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:06 GMT+0100 (W. Europe Standard Time)"},"6561":{"varMapping":{"__isSmartRef__":true,"id":6562},"source":"function update() {\n this.rootNode.update();\n}","funcProperties":{"__isSmartRef__":true,"id":6563},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6562":{"this":{"__isSmartRef__":true,"id":3498}},"6563":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6564}},"6564":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:42:27 GMT+0200 (W. Europe Daylight Time)"},"6565":{"varMapping":{"__isSmartRef__":true,"id":6566},"source":"function addScriptsToText(textMorph) {\n\n textMorph.addScript(function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":6567},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6566":{"this":{"__isSmartRef__":true,"id":3498}},"6567":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":6568}},"6568":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:16:48 GMT+0200 (W. Europe Daylight Time)"},"6569":{"varMapping":{"__isSmartRef__":true,"id":6570},"source":"function toggleAll() {\n\n if (!this.rootNode) return;\n\n try {\n JSON.stringify(this.rootNode.data);\n } catch (e) {\n // probably a circular structure\n return;\n }\n\n var toggleChildren = function (node) {\n\n if (!node.children) return;\n\n (function() {\n node.children.forEach(function (each) {\n each.expander.toggleExpansion();\n toggleChildren(each);\n });\n }).bind(this).delay(0); // asynchronous\n }\n\n toggleChildren(this.rootNode);\n \n}","funcProperties":{"__isSmartRef__":true,"id":6571},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6570":{"this":{"__isSmartRef__":true,"id":3498}},"6571":{"timestamp":{"__isSmartRef__":true,"id":6572},"user":"lauritz","tags":[]},"6572":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:11 GMT+0100 (W. Europe Standard Time)"},"6573":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6574},"id":"442EB833-59A3-4851-B7B9-4A8F77473C7E","renderContextTable":{"__isSmartRef__":true,"id":6581},"textChunks":[{"__isSmartRef__":true,"id":6582}],"eventHandler":{"__isSmartRef__":true,"id":6584},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6585},"priorExtent":{"__isSmartRef__":true,"id":6586},"_MaxTextWidth":285.8398611920343,"_MinTextWidth":285.8398611920343,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":6587},"doitContext":{"__isSmartRef__":true,"id":6588},"previousSelection":[20,0],"priorSelectionRange":[0,0],"charsReplaced":"typeof(this)","lastFindLoc":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":3497},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":6589},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":6590},"lastDragTime":1317079672221,"derivationIds":[372,"3BBD270B-A828-436A-915C-D23688CF2067","D0890AA7-6E65-4B35-9600-1AD66DF96797","243534E4-AE49-45EC-9DB9-384D7DE4B994","251CC01A-7FDF-4357-9313-99DE732BDF7B","49FB5C89-127F-411D-9E7D-74274AFC6322","4BCE87D8-39F3-4B7F-A78F-10398B72A854"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6593},"__LivelyClassName__":"lively.morphic.Text"},"6574":{"_Position":{"__isSmartRef__":true,"id":6575},"renderContextTable":{"__isSmartRef__":true,"id":6576},"_Extent":{"__isSmartRef__":true,"id":6577},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":6578},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6579},"_Fill":{"__isSmartRef__":true,"id":6580},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":4,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6575":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6576":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6577":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6578":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"6579":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6580":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6581":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6582":{"style":{"__isSmartRef__":true,"id":6583},"chunkOwner":{"__isSmartRef__":true,"id":6573},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6583":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6584":{"morph":{"__isSmartRef__":true,"id":6573},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6585":{"x":10,"y":308.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6586":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6587":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"6588":{"x":160,"y":172,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6589":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6590":{"reset":{"__isSmartRef__":true,"id":6591}},"6591":{"time":{"__isSmartRef__":true,"id":6592},"user":"lauritz"},"6592":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:03:51 GMT+0100 (W. Europe Standard Time)"},"6593":{"reset":{"__isSmartRef__":true,"id":6594}},"6594":{"varMapping":{"__isSmartRef__":true,"id":6595},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":6596},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"6595":{"this":{"__isSmartRef__":true,"id":6573}},"6596":{},"6597":{"position":{"__isSmartRef__":true,"id":6598},"_Extent":{"__isSmartRef__":true,"id":6599},"_BorderWidth":1.4500000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6600},"_Fill":{"__isSmartRef__":true,"id":6601},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6602},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6603},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6598":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6599":{"x":310.8398611920343,"y":399.4718889536274,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6600":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6601":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6602":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6603":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"6604":{"x":0,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6605":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"ExplorerPane","changes":[{"__isSmartRef__":true,"id":6606}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6606":{"date":{"__isSmartRef__":true,"id":6607},"author":"lauritz","message":"Disabled grabbing and dragging on other submorphs as well..."},"6607":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:21:08 GMT+0200 (W. Europe Daylight Time)"},"6608":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6609":{"morph":{"__isSmartRef__":true,"id":3497},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6610":{"x":306.8398611920343,"y":397.4718889536274,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6611":{"x":212.32023310549857,"y":-12.472093186624761,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"6612":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":6613}},"6613":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":3497},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"6614":{"submorphs":[{"__isSmartRef__":true,"id":6615},{"__isSmartRef__":true,"id":6635}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6652},"derivationIds":[null],"id":"4AF45161-6A8C-4207-A164-20911D049193","renderContextTable":{"__isSmartRef__":true,"id":6657},"eventHandler":{"__isSmartRef__":true,"id":6658},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6659},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":94},"propertyList":["x","y"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_Extent","children":[{"__isSmartRef__":true,"id":6660},{"__isSmartRef__":true,"id":6720}],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":6615},"text":{"__isSmartRef__":true,"id":6635},"owner":{"__isSmartRef__":true,"id":6817},"_Position":{"__isSmartRef__":true,"id":7705},"priorExtent":{"__isSmartRef__":true,"id":7706},"childrenWrapper":{"__isSmartRef__":true,"id":6718},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7707},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6615":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6616},"derivationIds":[null],"id":"F6FDC10E-6E12-4809-AC05-6734C6AFB540","renderContextTable":{"__isSmartRef__":true,"id":6621},"eventHandler":{"__isSmartRef__":true,"id":6622},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6623},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":6614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6624},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6616":{"_Position":{"__isSmartRef__":true,"id":6617},"renderContextTable":{"__isSmartRef__":true,"id":6618},"_Extent":{"__isSmartRef__":true,"id":6619},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6620},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6617":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6618":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6619":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6620":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6621":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6622":{"morph":{"__isSmartRef__":true,"id":6615},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6623":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6624":{"toggle":{"__isSmartRef__":true,"id":6625},"toggleExpansion":{"__isSmartRef__":true,"id":6632}},"6625":{"varMapping":{"__isSmartRef__":true,"id":6626},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6626":{"this":{"__isSmartRef__":true,"id":6615},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6627}},"6627":{"$super":{"__isSmartRef__":true,"id":6628}},"6628":{"varMapping":{"__isSmartRef__":true,"id":6629},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6629":{"obj":{"__isSmartRef__":true,"id":6615},"name":"toggle"},"6630":{},"6631":{},"6632":{"varMapping":{"__isSmartRef__":true,"id":6633},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6633":{"this":{"__isSmartRef__":true,"id":6615}},"6634":{},"6635":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6636},"derivationIds":[null],"id":"65C9C8C7-0F66-4281-B506-A39D70C7DD75","renderContextTable":{"__isSmartRef__":true,"id":6640},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6641},{"__isSmartRef__":true,"id":6643}],"eventHandler":{"__isSmartRef__":true,"id":6645},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6646},"priorExtent":{"__isSmartRef__":true,"id":6647},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6648},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6636":{"_Position":{"__isSmartRef__":true,"id":6637},"renderContextTable":{"__isSmartRef__":true,"id":6638},"_Extent":{"__isSmartRef__":true,"id":6639},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":6507},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6637":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6638":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6639":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6640":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6641":{"style":{"__isSmartRef__":true,"id":6642},"chunkOwner":{"__isSmartRef__":true,"id":6635},"storedString":"_Extent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6642":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6643":{"style":{"__isSmartRef__":true,"id":6644},"chunkOwner":{"__isSmartRef__":true,"id":6635},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6644":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6645":{"morph":{"__isSmartRef__":true,"id":6635},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6646":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6647":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6648":{"layoutText":{"__isSmartRef__":true,"id":6649}},"6649":{"varMapping":{"__isSmartRef__":true,"id":6650},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6650":{"this":{"__isSmartRef__":true,"id":6635}},"6651":{},"6652":{"_Position":{"__isSmartRef__":true,"id":6653},"renderContextTable":{"__isSmartRef__":true,"id":6654},"_Extent":{"__isSmartRef__":true,"id":6655},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6656},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6653":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6654":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6655":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6656":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6657":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6658":{"morph":{"__isSmartRef__":true,"id":6614},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6659":{"resizeWidth":true},"6660":{"submorphs":[{"__isSmartRef__":true,"id":6661},{"__isSmartRef__":true,"id":6682}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6699},"derivationIds":[null],"id":"F9FF9E53-218B-45BB-A34A-20729CA9431E","renderContextTable":{"__isSmartRef__":true,"id":6704},"eventHandler":{"__isSmartRef__":true,"id":6705},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6706},"grabbingEnabled":false,"draggingEnabled":false,"data":196,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":3498},"label":"x","children":[],"parent":{"__isSmartRef__":true,"id":6614},"expander":{"__isSmartRef__":true,"id":6661},"text":{"__isSmartRef__":true,"id":6682},"owner":{"__isSmartRef__":true,"id":6707},"_Position":{"__isSmartRef__":true,"id":7683},"priorExtent":{"__isSmartRef__":true,"id":7684},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7685},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6661":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6662},"derivationIds":[null],"id":"A417CFD5-D908-4F7A-B667-8F00EE4B16C9","renderContextTable":{"__isSmartRef__":true,"id":6668},"eventHandler":{"__isSmartRef__":true,"id":6669},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6670},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6671},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6662":{"_Position":{"__isSmartRef__":true,"id":6663},"renderContextTable":{"__isSmartRef__":true,"id":6664},"_Extent":{"__isSmartRef__":true,"id":6665},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6666},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6667},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6663":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6664":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6665":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6666":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6667":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6668":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6669":{"morph":{"__isSmartRef__":true,"id":6661},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6670":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6671":{"toggle":{"__isSmartRef__":true,"id":6672},"toggleExpansion":{"__isSmartRef__":true,"id":6679}},"6672":{"varMapping":{"__isSmartRef__":true,"id":6673},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6673":{"this":{"__isSmartRef__":true,"id":6661},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6674}},"6674":{"$super":{"__isSmartRef__":true,"id":6675}},"6675":{"varMapping":{"__isSmartRef__":true,"id":6676},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6676":{"obj":{"__isSmartRef__":true,"id":6661},"name":"toggle"},"6677":{},"6678":{},"6679":{"varMapping":{"__isSmartRef__":true,"id":6680},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6680":{"this":{"__isSmartRef__":true,"id":6661}},"6681":{},"6682":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6683},"derivationIds":[null],"id":"88251388-9F2E-4715-8CC6-AF21B999904D","renderContextTable":{"__isSmartRef__":true,"id":6687},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6688},{"__isSmartRef__":true,"id":6690}],"eventHandler":{"__isSmartRef__":true,"id":6692},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6693},"priorExtent":{"__isSmartRef__":true,"id":6694},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6695},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6683":{"_Position":{"__isSmartRef__":true,"id":6684},"renderContextTable":{"__isSmartRef__":true,"id":6685},"_Extent":{"__isSmartRef__":true,"id":6686},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6684":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6685":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6686":{"x":45,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6687":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6688":{"style":{"__isSmartRef__":true,"id":6689},"chunkOwner":{"__isSmartRef__":true,"id":6682},"storedString":"x","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6689":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6690":{"style":{"__isSmartRef__":true,"id":6691},"chunkOwner":{"__isSmartRef__":true,"id":6682},"storedString":": 196","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6691":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6692":{"morph":{"__isSmartRef__":true,"id":6682},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6693":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6694":{"x":45,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6695":{"layoutText":{"__isSmartRef__":true,"id":6696}},"6696":{"varMapping":{"__isSmartRef__":true,"id":6697},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6697":{"this":{"__isSmartRef__":true,"id":6682}},"6698":{},"6699":{"_Position":{"__isSmartRef__":true,"id":6700},"renderContextTable":{"__isSmartRef__":true,"id":6701},"_Extent":{"__isSmartRef__":true,"id":6702},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6703},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6700":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6701":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6702":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6703":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6704":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6705":{"morph":{"__isSmartRef__":true,"id":6660},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6706":{"resizeWidth":true},"6707":{"submorphs":[{"__isSmartRef__":true,"id":6660}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6708},"derivationIds":[null],"id":"7A74BB6A-B325-4437-9C13-A9CCB019EF42","renderContextTable":{"__isSmartRef__":true,"id":6713},"eventHandler":{"__isSmartRef__":true,"id":6714},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6715},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6717},"owner":{"__isSmartRef__":true,"id":6718},"_Position":{"__isSmartRef__":true,"id":7674},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7675},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6708":{"_Position":{"__isSmartRef__":true,"id":6709},"renderContextTable":{"__isSmartRef__":true,"id":6710},"_Extent":{"__isSmartRef__":true,"id":6711},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6712},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6709":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6710":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6711":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6712":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6713":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6714":{"morph":{"__isSmartRef__":true,"id":6707},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6715":{"layouter":{"__isSmartRef__":true,"id":6716},"resizeWidth":true},"6716":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6707},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6717":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6718":{"submorphs":[{"__isSmartRef__":true,"id":6707},{"__isSmartRef__":true,"id":6719}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6808},"derivationIds":[null],"id":"E92CAC29-4ED2-4EBB-A8B9-1AC1617D3872","renderContextTable":{"__isSmartRef__":true,"id":6813},"eventHandler":{"__isSmartRef__":true,"id":6814},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6815},"owner":{"__isSmartRef__":true,"id":6817},"_Position":{"__isSmartRef__":true,"id":7661},"priorExtent":{"__isSmartRef__":true,"id":7662},"isInLayoutCycle":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7663},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6719":{"submorphs":[{"__isSmartRef__":true,"id":6720}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6789},"derivationIds":[null],"id":"98E90172-5382-4987-86B8-5F025A688766","renderContextTable":{"__isSmartRef__":true,"id":6794},"eventHandler":{"__isSmartRef__":true,"id":6795},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6796},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6798},"owner":{"__isSmartRef__":true,"id":6718},"_Position":{"__isSmartRef__":true,"id":6799},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6800},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6720":{"submorphs":[{"__isSmartRef__":true,"id":6721},{"__isSmartRef__":true,"id":6742}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6759},"derivationIds":[null],"id":"F0740095-8B01-402A-A31B-049EE2D426ED","renderContextTable":{"__isSmartRef__":true,"id":6764},"eventHandler":{"__isSmartRef__":true,"id":6765},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6766},"grabbingEnabled":false,"draggingEnabled":false,"data":147,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":3498},"label":"y","children":[],"parent":{"__isSmartRef__":true,"id":6614},"expander":{"__isSmartRef__":true,"id":6721},"text":{"__isSmartRef__":true,"id":6742},"owner":{"__isSmartRef__":true,"id":6719},"_Position":{"__isSmartRef__":true,"id":6767},"priorExtent":{"__isSmartRef__":true,"id":6768},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6769},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6721":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6722},"derivationIds":[null],"id":"0B737A9D-9BD8-4885-9B66-503D84CF3BF2","renderContextTable":{"__isSmartRef__":true,"id":6728},"eventHandler":{"__isSmartRef__":true,"id":6729},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6730},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6731},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6722":{"_Position":{"__isSmartRef__":true,"id":6723},"renderContextTable":{"__isSmartRef__":true,"id":6724},"_Extent":{"__isSmartRef__":true,"id":6725},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6726},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6727},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6723":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6724":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6725":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6726":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6727":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6728":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6729":{"morph":{"__isSmartRef__":true,"id":6721},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6730":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6731":{"toggle":{"__isSmartRef__":true,"id":6732},"toggleExpansion":{"__isSmartRef__":true,"id":6739}},"6732":{"varMapping":{"__isSmartRef__":true,"id":6733},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6733":{"this":{"__isSmartRef__":true,"id":6721},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6734}},"6734":{"$super":{"__isSmartRef__":true,"id":6735}},"6735":{"varMapping":{"__isSmartRef__":true,"id":6736},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6736":{"obj":{"__isSmartRef__":true,"id":6721},"name":"toggle"},"6737":{},"6738":{},"6739":{"varMapping":{"__isSmartRef__":true,"id":6740},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6741},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6740":{"this":{"__isSmartRef__":true,"id":6721}},"6741":{},"6742":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6743},"derivationIds":[null],"id":"1F5C775D-E10A-40E4-940E-4F24B48497DF","renderContextTable":{"__isSmartRef__":true,"id":6747},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6748},{"__isSmartRef__":true,"id":6750}],"eventHandler":{"__isSmartRef__":true,"id":6752},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6753},"priorExtent":{"__isSmartRef__":true,"id":6754},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6755},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6743":{"_Position":{"__isSmartRef__":true,"id":6744},"renderContextTable":{"__isSmartRef__":true,"id":6745},"_Extent":{"__isSmartRef__":true,"id":6746},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6744":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6745":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6746":{"x":45,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6747":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6748":{"style":{"__isSmartRef__":true,"id":6749},"chunkOwner":{"__isSmartRef__":true,"id":6742},"storedString":"y","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6749":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6750":{"style":{"__isSmartRef__":true,"id":6751},"chunkOwner":{"__isSmartRef__":true,"id":6742},"storedString":": 147","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6751":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6752":{"morph":{"__isSmartRef__":true,"id":6742},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6753":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6754":{"x":45,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6755":{"layoutText":{"__isSmartRef__":true,"id":6756}},"6756":{"varMapping":{"__isSmartRef__":true,"id":6757},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6757":{"this":{"__isSmartRef__":true,"id":6742}},"6758":{},"6759":{"_Position":{"__isSmartRef__":true,"id":6760},"renderContextTable":{"__isSmartRef__":true,"id":6761},"_Extent":{"__isSmartRef__":true,"id":6762},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6763},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6760":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6761":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6762":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6763":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6764":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6765":{"morph":{"__isSmartRef__":true,"id":6720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6766":{"resizeWidth":true},"6767":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6768":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6769":{"updateExpanderColor":{"__isSmartRef__":true,"id":6770},"onMouseDown":{"__isSmartRef__":true,"id":6773},"isRoot":{"__isSmartRef__":true,"id":6780},"displayValue":{"__isSmartRef__":true,"id":6783},"update":{"__isSmartRef__":true,"id":6786}},"6770":{"varMapping":{"__isSmartRef__":true,"id":6771},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6772},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6771":{"this":{"__isSmartRef__":true,"id":6720}},"6772":{},"6773":{"varMapping":{"__isSmartRef__":true,"id":6774},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6774":{"this":{"__isSmartRef__":true,"id":6720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6775}},"6775":{"$super":{"__isSmartRef__":true,"id":6776}},"6776":{"varMapping":{"__isSmartRef__":true,"id":6777},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6777":{"obj":{"__isSmartRef__":true,"id":6720},"name":"onMouseDown"},"6778":{},"6779":{},"6780":{"varMapping":{"__isSmartRef__":true,"id":6781},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6781":{"this":{"__isSmartRef__":true,"id":6720}},"6782":{},"6783":{"varMapping":{"__isSmartRef__":true,"id":6784},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6784":{"this":{"__isSmartRef__":true,"id":6720}},"6785":{},"6786":{"varMapping":{"__isSmartRef__":true,"id":6787},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6787":{"this":{"__isSmartRef__":true,"id":6720}},"6788":{},"6789":{"_Position":{"__isSmartRef__":true,"id":6790},"renderContextTable":{"__isSmartRef__":true,"id":6791},"_Extent":{"__isSmartRef__":true,"id":6792},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6793},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6790":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6791":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6792":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6793":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6795":{"morph":{"__isSmartRef__":true,"id":6719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6796":{"layouter":{"__isSmartRef__":true,"id":6797},"resizeWidth":true},"6797":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6719},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6798":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6799":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6800":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6801}},"6801":{"varMapping":{"__isSmartRef__":true,"id":6802},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6802":{"this":{"__isSmartRef__":true,"id":6719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6803}},"6803":{"$super":{"__isSmartRef__":true,"id":6804}},"6804":{"varMapping":{"__isSmartRef__":true,"id":6805},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6805":{"obj":{"__isSmartRef__":true,"id":6719},"name":"getLayoutableSubmorphs"},"6806":{},"6807":{},"6808":{"_Position":{"__isSmartRef__":true,"id":6809},"renderContextTable":{"__isSmartRef__":true,"id":6810},"_Extent":{"__isSmartRef__":true,"id":6811},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6812},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6809":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6810":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6811":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6812":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6813":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6814":{"morph":{"__isSmartRef__":true,"id":6718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6815":{"layouter":{"__isSmartRef__":true,"id":6816},"resizeWidth":true},"6816":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6718},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6817":{"submorphs":[{"__isSmartRef__":true,"id":6614},{"__isSmartRef__":true,"id":6718}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6818},"derivationIds":[null],"id":"919526D3-DC50-4872-BF61-7BB01F5DC5D9","renderContextTable":{"__isSmartRef__":true,"id":6823},"eventHandler":{"__isSmartRef__":true,"id":6824},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6825},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6827},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7652},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7653},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6818":{"_Position":{"__isSmartRef__":true,"id":6819},"renderContextTable":{"__isSmartRef__":true,"id":6820},"_Extent":{"__isSmartRef__":true,"id":6821},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6822},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6819":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6820":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6821":{"x":100,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6822":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6823":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6824":{"morph":{"__isSmartRef__":true,"id":6817},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6825":{"layouter":{"__isSmartRef__":true,"id":6826},"resizeWidth":true},"6826":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6817},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6827":{"x":100,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6828":{"submorphs":[{"__isSmartRef__":true,"id":6829},{"__isSmartRef__":true,"id":6817},{"__isSmartRef__":true,"id":6970},{"__isSmartRef__":true,"id":7059},{"__isSmartRef__":true,"id":7148},{"__isSmartRef__":true,"id":7237},{"__isSmartRef__":true,"id":7326},{"__isSmartRef__":true,"id":7415},{"__isSmartRef__":true,"id":7505}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7630},"derivationIds":[null],"id":"8E79F991-6583-4D67-A2D0-9DD350DA37A9","renderContextTable":{"__isSmartRef__":true,"id":7635},"eventHandler":{"__isSmartRef__":true,"id":7636},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7637},"owner":{"__isSmartRef__":true,"id":7547},"_Position":{"__isSmartRef__":true,"id":7639},"priorExtent":{"__isSmartRef__":true,"id":7640},"isInLayoutCycle":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7641},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6829":{"submorphs":[{"__isSmartRef__":true,"id":6830}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7611},"derivationIds":[null],"id":"C988136F-1628-4D75-B27E-FF832DC527CD","renderContextTable":{"__isSmartRef__":true,"id":7616},"eventHandler":{"__isSmartRef__":true,"id":7617},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7618},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7620},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7621},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7622},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6830":{"submorphs":[{"__isSmartRef__":true,"id":6831},{"__isSmartRef__":true,"id":6852}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6869},"derivationIds":[null],"id":"58752099-618E-4B4C-A9D5-BFA2FBCDC5B6","renderContextTable":{"__isSmartRef__":true,"id":6874},"eventHandler":{"__isSmartRef__":true,"id":6875},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6876},"grabbingEnabled":false,"draggingEnabled":false,"data":"visible","propertyList":["0","1","2","3","4","5","6"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_ClipMode","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":6831},"text":{"__isSmartRef__":true,"id":6852},"owner":{"__isSmartRef__":true,"id":6829},"_Position":{"__isSmartRef__":true,"id":7589},"priorExtent":{"__isSmartRef__":true,"id":7590},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7591},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6831":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6832},"derivationIds":[null],"id":"C465A43D-6D91-46D2-8A5C-F988E3A4A9FA","renderContextTable":{"__isSmartRef__":true,"id":6838},"eventHandler":{"__isSmartRef__":true,"id":6839},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6840},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6841},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6832":{"_Position":{"__isSmartRef__":true,"id":6833},"renderContextTable":{"__isSmartRef__":true,"id":6834},"_Extent":{"__isSmartRef__":true,"id":6835},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6836},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6837},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6833":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6834":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6835":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6836":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6837":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6838":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6839":{"morph":{"__isSmartRef__":true,"id":6831},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6840":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6841":{"toggle":{"__isSmartRef__":true,"id":6842},"toggleExpansion":{"__isSmartRef__":true,"id":6849}},"6842":{"varMapping":{"__isSmartRef__":true,"id":6843},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6843":{"this":{"__isSmartRef__":true,"id":6831},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6844}},"6844":{"$super":{"__isSmartRef__":true,"id":6845}},"6845":{"varMapping":{"__isSmartRef__":true,"id":6846},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6847},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6846":{"obj":{"__isSmartRef__":true,"id":6831},"name":"toggle"},"6847":{},"6848":{},"6849":{"varMapping":{"__isSmartRef__":true,"id":6850},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6850":{"this":{"__isSmartRef__":true,"id":6831}},"6851":{},"6852":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6853},"derivationIds":[null],"id":"360FFB5C-E4E3-42B6-8EE0-CC4CB03BC71B","renderContextTable":{"__isSmartRef__":true,"id":6857},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6858},{"__isSmartRef__":true,"id":6860}],"eventHandler":{"__isSmartRef__":true,"id":6862},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6863},"priorExtent":{"__isSmartRef__":true,"id":6864},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6865},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6853":{"_Position":{"__isSmartRef__":true,"id":6854},"renderContextTable":{"__isSmartRef__":true,"id":6855},"_Extent":{"__isSmartRef__":true,"id":6856},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6854":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6855":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6856":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6857":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6858":{"style":{"__isSmartRef__":true,"id":6859},"chunkOwner":{"__isSmartRef__":true,"id":6852},"storedString":"_ClipMode","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6859":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6860":{"style":{"__isSmartRef__":true,"id":6861},"chunkOwner":{"__isSmartRef__":true,"id":6852},"storedString":": visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6861":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6862":{"morph":{"__isSmartRef__":true,"id":6852},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6863":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6864":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6865":{"layoutText":{"__isSmartRef__":true,"id":6866}},"6866":{"varMapping":{"__isSmartRef__":true,"id":6867},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6867":{"this":{"__isSmartRef__":true,"id":6852}},"6868":{},"6869":{"_Position":{"__isSmartRef__":true,"id":6870},"renderContextTable":{"__isSmartRef__":true,"id":6871},"_Extent":{"__isSmartRef__":true,"id":6872},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6873},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6870":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6871":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6872":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6873":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6874":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6875":{"morph":{"__isSmartRef__":true,"id":6830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6876":{"resizeWidth":true},"6877":{"submorphs":[{"__isSmartRef__":true,"id":6878},{"__isSmartRef__":true,"id":6898}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6915},"derivationIds":[null],"id":"32029EFA-EC87-430C-9826-71705F7EA9D3","renderContextTable":{"__isSmartRef__":true,"id":6920},"eventHandler":{"__isSmartRef__":true,"id":6921},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6922},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":92},"propertyList":["position","_Extent","_ImageURL","__SourceModuleName__","renderContextTable","isLoaded","_renderContext","_ClipMode","_Padding"],"level":1,"treeView":{"__isSmartRef__":true,"id":3498},"label":"shape","children":[{"__isSmartRef__":true,"id":6830},{"__isSmartRef__":true,"id":6614},{"__isSmartRef__":true,"id":6923},{"__isSmartRef__":true,"id":7012},{"__isSmartRef__":true,"id":7101},{"__isSmartRef__":true,"id":7190},{"__isSmartRef__":true,"id":7279},{"__isSmartRef__":true,"id":7368},{"__isSmartRef__":true,"id":7457}],"parent":{"__isSmartRef__":true,"id":3501},"expander":{"__isSmartRef__":true,"id":6878},"text":{"__isSmartRef__":true,"id":6898},"owner":{"__isSmartRef__":true,"id":7547},"_Position":{"__isSmartRef__":true,"id":7567},"priorExtent":{"__isSmartRef__":true,"id":7568},"childrenWrapper":{"__isSmartRef__":true,"id":6828},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7569},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6878":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6879},"derivationIds":[null],"id":"4BEA2417-D0DB-49F7-99E7-BC0AF4FD4252","renderContextTable":{"__isSmartRef__":true,"id":6884},"eventHandler":{"__isSmartRef__":true,"id":6885},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6886},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":6877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6887},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6879":{"_Position":{"__isSmartRef__":true,"id":6880},"renderContextTable":{"__isSmartRef__":true,"id":6881},"_Extent":{"__isSmartRef__":true,"id":6882},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6883},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6880":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6881":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6882":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6883":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6884":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6885":{"morph":{"__isSmartRef__":true,"id":6878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6886":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6887":{"toggle":{"__isSmartRef__":true,"id":6888},"toggleExpansion":{"__isSmartRef__":true,"id":6895}},"6888":{"varMapping":{"__isSmartRef__":true,"id":6889},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6889":{"this":{"__isSmartRef__":true,"id":6878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6890}},"6890":{"$super":{"__isSmartRef__":true,"id":6891}},"6891":{"varMapping":{"__isSmartRef__":true,"id":6892},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6892":{"obj":{"__isSmartRef__":true,"id":6878},"name":"toggle"},"6893":{},"6894":{},"6895":{"varMapping":{"__isSmartRef__":true,"id":6896},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6896":{"this":{"__isSmartRef__":true,"id":6878}},"6897":{},"6898":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6899},"derivationIds":[null],"id":"D76A2537-4D92-47B6-BEC3-55427ECAC031","renderContextTable":{"__isSmartRef__":true,"id":6903},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6904},{"__isSmartRef__":true,"id":6906}],"eventHandler":{"__isSmartRef__":true,"id":6908},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6909},"priorExtent":{"__isSmartRef__":true,"id":6910},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6911},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6899":{"_Position":{"__isSmartRef__":true,"id":6900},"renderContextTable":{"__isSmartRef__":true,"id":6901},"_Extent":{"__isSmartRef__":true,"id":6902},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6900":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6901":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6902":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6903":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6904":{"style":{"__isSmartRef__":true,"id":6905},"chunkOwner":{"__isSmartRef__":true,"id":6898},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6905":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6906":{"style":{"__isSmartRef__":true,"id":6907},"chunkOwner":{"__isSmartRef__":true,"id":6898},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6907":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6908":{"morph":{"__isSmartRef__":true,"id":6898},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6909":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6910":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6911":{"layoutText":{"__isSmartRef__":true,"id":6912}},"6912":{"varMapping":{"__isSmartRef__":true,"id":6913},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6913":{"this":{"__isSmartRef__":true,"id":6898}},"6914":{},"6915":{"_Position":{"__isSmartRef__":true,"id":6916},"renderContextTable":{"__isSmartRef__":true,"id":6917},"_Extent":{"__isSmartRef__":true,"id":6918},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6919},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6916":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6917":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6918":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6919":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6920":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6921":{"morph":{"__isSmartRef__":true,"id":6877},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6922":{"resizeWidth":true},"6923":{"submorphs":[{"__isSmartRef__":true,"id":6924},{"__isSmartRef__":true,"id":6945}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6962},"derivationIds":[null],"id":"A287FE5C-9581-408B-827F-AD43DAAEAC4A","renderContextTable":{"__isSmartRef__":true,"id":6967},"eventHandler":{"__isSmartRef__":true,"id":6968},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6969},"grabbingEnabled":false,"draggingEnabled":false,"data":"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_ImageURL","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":6924},"text":{"__isSmartRef__":true,"id":6945},"owner":{"__isSmartRef__":true,"id":6970},"_Position":{"__isSmartRef__":true,"id":6990},"priorExtent":{"__isSmartRef__":true,"id":6991},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6992},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6924":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6925},"derivationIds":[null],"id":"7C91A4FC-29F1-4BA6-8917-0EE7BCC8C797","renderContextTable":{"__isSmartRef__":true,"id":6931},"eventHandler":{"__isSmartRef__":true,"id":6932},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6933},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6923},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6934},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6925":{"_Position":{"__isSmartRef__":true,"id":6926},"renderContextTable":{"__isSmartRef__":true,"id":6927},"_Extent":{"__isSmartRef__":true,"id":6928},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6929},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":6930},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6926":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6928":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6929":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6930":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"6931":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6932":{"morph":{"__isSmartRef__":true,"id":6924},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6933":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6934":{"toggle":{"__isSmartRef__":true,"id":6935},"toggleExpansion":{"__isSmartRef__":true,"id":6942}},"6935":{"varMapping":{"__isSmartRef__":true,"id":6936},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6936":{"this":{"__isSmartRef__":true,"id":6924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6937}},"6937":{"$super":{"__isSmartRef__":true,"id":6938}},"6938":{"varMapping":{"__isSmartRef__":true,"id":6939},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6940},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6939":{"obj":{"__isSmartRef__":true,"id":6924},"name":"toggle"},"6940":{},"6941":{},"6942":{"varMapping":{"__isSmartRef__":true,"id":6943},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6944},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6943":{"this":{"__isSmartRef__":true,"id":6924}},"6944":{},"6945":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6946},"derivationIds":[null],"id":"F6DDBD18-5DF6-45DD-AA3E-B0659691BE6E","renderContextTable":{"__isSmartRef__":true,"id":6950},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6951},{"__isSmartRef__":true,"id":6953}],"eventHandler":{"__isSmartRef__":true,"id":6955},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":6956},"priorExtent":{"__isSmartRef__":true,"id":6957},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6923},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6958},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6946":{"_Position":{"__isSmartRef__":true,"id":6947},"renderContextTable":{"__isSmartRef__":true,"id":6948},"_Extent":{"__isSmartRef__":true,"id":6949},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6947":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6948":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6949":{"x":593,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6950":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6951":{"style":{"__isSmartRef__":true,"id":6952},"chunkOwner":{"__isSmartRef__":true,"id":6945},"storedString":"_ImageURL","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6952":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6953":{"style":{"__isSmartRef__":true,"id":6954},"chunkOwner":{"__isSmartRef__":true,"id":6945},"storedString":": http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6954":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6955":{"morph":{"__isSmartRef__":true,"id":6945},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6956":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6957":{"x":585,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6958":{"layoutText":{"__isSmartRef__":true,"id":6959}},"6959":{"varMapping":{"__isSmartRef__":true,"id":6960},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6960":{"this":{"__isSmartRef__":true,"id":6945}},"6961":{},"6962":{"_Position":{"__isSmartRef__":true,"id":6963},"renderContextTable":{"__isSmartRef__":true,"id":6964},"_Extent":{"__isSmartRef__":true,"id":6965},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6966},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6963":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6964":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6965":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6966":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6967":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6968":{"morph":{"__isSmartRef__":true,"id":6923},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6969":{"resizeWidth":true},"6970":{"submorphs":[{"__isSmartRef__":true,"id":6923}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6971},"derivationIds":[null],"id":"07AF5EA8-C042-44FD-A100-CEF0A0509351","renderContextTable":{"__isSmartRef__":true,"id":6976},"eventHandler":{"__isSmartRef__":true,"id":6977},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6978},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6980},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":6981},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6982},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6971":{"_Position":{"__isSmartRef__":true,"id":6972},"renderContextTable":{"__isSmartRef__":true,"id":6973},"_Extent":{"__isSmartRef__":true,"id":6974},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6975},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6972":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6973":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6974":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6975":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"6976":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6977":{"morph":{"__isSmartRef__":true,"id":6970},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6978":{"layouter":{"__isSmartRef__":true,"id":6979},"resizeWidth":true},"6979":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6970},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6980":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6981":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6982":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6983}},"6983":{"varMapping":{"__isSmartRef__":true,"id":6984},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6984":{"this":{"__isSmartRef__":true,"id":6970},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6985}},"6985":{"$super":{"__isSmartRef__":true,"id":6986}},"6986":{"varMapping":{"__isSmartRef__":true,"id":6987},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6987":{"obj":{"__isSmartRef__":true,"id":6970},"name":"getLayoutableSubmorphs"},"6988":{},"6989":{},"6990":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6991":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"6992":{"updateExpanderColor":{"__isSmartRef__":true,"id":6993},"onMouseDown":{"__isSmartRef__":true,"id":6996},"isRoot":{"__isSmartRef__":true,"id":7003},"displayValue":{"__isSmartRef__":true,"id":7006},"update":{"__isSmartRef__":true,"id":7009}},"6993":{"varMapping":{"__isSmartRef__":true,"id":6994},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6994":{"this":{"__isSmartRef__":true,"id":6923}},"6995":{},"6996":{"varMapping":{"__isSmartRef__":true,"id":6997},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"6997":{"this":{"__isSmartRef__":true,"id":6923},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6998}},"6998":{"$super":{"__isSmartRef__":true,"id":6999}},"6999":{"varMapping":{"__isSmartRef__":true,"id":7000},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7000":{"obj":{"__isSmartRef__":true,"id":6923},"name":"onMouseDown"},"7001":{},"7002":{},"7003":{"varMapping":{"__isSmartRef__":true,"id":7004},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7004":{"this":{"__isSmartRef__":true,"id":6923}},"7005":{},"7006":{"varMapping":{"__isSmartRef__":true,"id":7007},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7007":{"this":{"__isSmartRef__":true,"id":6923}},"7008":{},"7009":{"varMapping":{"__isSmartRef__":true,"id":7010},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7011},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7010":{"this":{"__isSmartRef__":true,"id":6923}},"7011":{},"7012":{"submorphs":[{"__isSmartRef__":true,"id":7013},{"__isSmartRef__":true,"id":7034}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7051},"derivationIds":[null],"id":"857F9C3F-D9BA-4282-BBF6-21998B2B66EF","renderContextTable":{"__isSmartRef__":true,"id":7056},"eventHandler":{"__isSmartRef__":true,"id":7057},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7058},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":96},"propertyList":["x","y","width","height"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_Padding","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7013},"text":{"__isSmartRef__":true,"id":7034},"owner":{"__isSmartRef__":true,"id":7059},"_Position":{"__isSmartRef__":true,"id":7079},"priorExtent":{"__isSmartRef__":true,"id":7080},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7081},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7013":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7014},"derivationIds":[null],"id":"5E55AA1E-DB70-44E3-BA01-4D0CF4DA2133","renderContextTable":{"__isSmartRef__":true,"id":7020},"eventHandler":{"__isSmartRef__":true,"id":7021},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7022},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7012},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7023},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7014":{"_Position":{"__isSmartRef__":true,"id":7015},"renderContextTable":{"__isSmartRef__":true,"id":7016},"_Extent":{"__isSmartRef__":true,"id":7017},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7018},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7019},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7015":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7016":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7017":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7018":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7019":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7020":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7021":{"morph":{"__isSmartRef__":true,"id":7013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7022":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7023":{"toggle":{"__isSmartRef__":true,"id":7024},"toggleExpansion":{"__isSmartRef__":true,"id":7031}},"7024":{"varMapping":{"__isSmartRef__":true,"id":7025},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7025":{"this":{"__isSmartRef__":true,"id":7013},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7026}},"7026":{"$super":{"__isSmartRef__":true,"id":7027}},"7027":{"varMapping":{"__isSmartRef__":true,"id":7028},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7028":{"obj":{"__isSmartRef__":true,"id":7013},"name":"toggle"},"7029":{},"7030":{},"7031":{"varMapping":{"__isSmartRef__":true,"id":7032},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7032":{"this":{"__isSmartRef__":true,"id":7013}},"7033":{},"7034":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7035},"derivationIds":[null],"id":"18AD273F-2746-4F14-B8A8-B40BAF82362F","renderContextTable":{"__isSmartRef__":true,"id":7039},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7040},{"__isSmartRef__":true,"id":7042}],"eventHandler":{"__isSmartRef__":true,"id":7044},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7045},"priorExtent":{"__isSmartRef__":true,"id":7046},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7012},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7047},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7035":{"_Position":{"__isSmartRef__":true,"id":7036},"renderContextTable":{"__isSmartRef__":true,"id":7037},"_Extent":{"__isSmartRef__":true,"id":7038},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7036":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7037":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7038":{"x":150.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7039":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7040":{"style":{"__isSmartRef__":true,"id":7041},"chunkOwner":{"__isSmartRef__":true,"id":7034},"storedString":"_Padding","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7041":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7042":{"style":{"__isSmartRef__":true,"id":7043},"chunkOwner":{"__isSmartRef__":true,"id":7034},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7043":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7044":{"morph":{"__isSmartRef__":true,"id":7034},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7045":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7046":{"x":142.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7047":{"layoutText":{"__isSmartRef__":true,"id":7048}},"7048":{"varMapping":{"__isSmartRef__":true,"id":7049},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7049":{"this":{"__isSmartRef__":true,"id":7034}},"7050":{},"7051":{"_Position":{"__isSmartRef__":true,"id":7052},"renderContextTable":{"__isSmartRef__":true,"id":7053},"_Extent":{"__isSmartRef__":true,"id":7054},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7055},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7052":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7053":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7054":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7055":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7056":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7057":{"morph":{"__isSmartRef__":true,"id":7012},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7058":{"resizeWidth":true},"7059":{"submorphs":[{"__isSmartRef__":true,"id":7012}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7060},"derivationIds":[null],"id":"696B7F8D-18C7-4661-AAD2-278CB5A364D9","renderContextTable":{"__isSmartRef__":true,"id":7065},"eventHandler":{"__isSmartRef__":true,"id":7066},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7067},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7069},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7070},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7071},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7060":{"_Position":{"__isSmartRef__":true,"id":7061},"renderContextTable":{"__isSmartRef__":true,"id":7062},"_Extent":{"__isSmartRef__":true,"id":7063},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7064},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7061":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7062":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7063":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7064":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7066":{"morph":{"__isSmartRef__":true,"id":7059},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7067":{"layouter":{"__isSmartRef__":true,"id":7068},"resizeWidth":true},"7068":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7059},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7069":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7070":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7071":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7072}},"7072":{"varMapping":{"__isSmartRef__":true,"id":7073},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7073":{"this":{"__isSmartRef__":true,"id":7059},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7074}},"7074":{"$super":{"__isSmartRef__":true,"id":7075}},"7075":{"varMapping":{"__isSmartRef__":true,"id":7076},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7077},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7076":{"obj":{"__isSmartRef__":true,"id":7059},"name":"getLayoutableSubmorphs"},"7077":{},"7078":{},"7079":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7080":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7081":{"updateExpanderColor":{"__isSmartRef__":true,"id":7082},"onMouseDown":{"__isSmartRef__":true,"id":7085},"isRoot":{"__isSmartRef__":true,"id":7092},"displayValue":{"__isSmartRef__":true,"id":7095},"update":{"__isSmartRef__":true,"id":7098}},"7082":{"varMapping":{"__isSmartRef__":true,"id":7083},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7083":{"this":{"__isSmartRef__":true,"id":7012}},"7084":{},"7085":{"varMapping":{"__isSmartRef__":true,"id":7086},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7091},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7086":{"this":{"__isSmartRef__":true,"id":7012},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7087}},"7087":{"$super":{"__isSmartRef__":true,"id":7088}},"7088":{"varMapping":{"__isSmartRef__":true,"id":7089},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7089":{"obj":{"__isSmartRef__":true,"id":7012},"name":"onMouseDown"},"7090":{},"7091":{},"7092":{"varMapping":{"__isSmartRef__":true,"id":7093},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7094},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7093":{"this":{"__isSmartRef__":true,"id":7012}},"7094":{},"7095":{"varMapping":{"__isSmartRef__":true,"id":7096},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7096":{"this":{"__isSmartRef__":true,"id":7012}},"7097":{},"7098":{"varMapping":{"__isSmartRef__":true,"id":7099},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7099":{"this":{"__isSmartRef__":true,"id":7012}},"7100":{},"7101":{"submorphs":[{"__isSmartRef__":true,"id":7102},{"__isSmartRef__":true,"id":7123}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7140},"derivationIds":[null],"id":"6225D827-700E-4635-B675-5C4836B4DC99","renderContextTable":{"__isSmartRef__":true,"id":7145},"eventHandler":{"__isSmartRef__":true,"id":7146},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7147},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Shapes","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7102},"text":{"__isSmartRef__":true,"id":7123},"owner":{"__isSmartRef__":true,"id":7148},"_Position":{"__isSmartRef__":true,"id":7168},"priorExtent":{"__isSmartRef__":true,"id":7169},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7170},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7102":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7103},"derivationIds":[null],"id":"FC1D6A07-B6B0-46E3-8A23-E298E6950B72","renderContextTable":{"__isSmartRef__":true,"id":7109},"eventHandler":{"__isSmartRef__":true,"id":7110},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7111},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7101},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7112},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7103":{"_Position":{"__isSmartRef__":true,"id":7104},"renderContextTable":{"__isSmartRef__":true,"id":7105},"_Extent":{"__isSmartRef__":true,"id":7106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7107},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7108},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7104":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7105":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7106":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7107":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7108":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7109":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7110":{"morph":{"__isSmartRef__":true,"id":7102},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7111":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7112":{"toggle":{"__isSmartRef__":true,"id":7113},"toggleExpansion":{"__isSmartRef__":true,"id":7120}},"7113":{"varMapping":{"__isSmartRef__":true,"id":7114},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7114":{"this":{"__isSmartRef__":true,"id":7102},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7115}},"7115":{"$super":{"__isSmartRef__":true,"id":7116}},"7116":{"varMapping":{"__isSmartRef__":true,"id":7117},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7118},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7117":{"obj":{"__isSmartRef__":true,"id":7102},"name":"toggle"},"7118":{},"7119":{},"7120":{"varMapping":{"__isSmartRef__":true,"id":7121},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7121":{"this":{"__isSmartRef__":true,"id":7102}},"7122":{},"7123":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7124},"derivationIds":[null],"id":"9E47B31F-D8DC-4FBA-991B-7DA776A07CB3","renderContextTable":{"__isSmartRef__":true,"id":7128},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7129},{"__isSmartRef__":true,"id":7131}],"eventHandler":{"__isSmartRef__":true,"id":7133},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7134},"priorExtent":{"__isSmartRef__":true,"id":7135},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7101},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7136},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7124":{"_Position":{"__isSmartRef__":true,"id":7125},"renderContextTable":{"__isSmartRef__":true,"id":7126},"_Extent":{"__isSmartRef__":true,"id":7127},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7125":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7126":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7127":{"x":383,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7129":{"style":{"__isSmartRef__":true,"id":7130},"chunkOwner":{"__isSmartRef__":true,"id":7123},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7130":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7131":{"style":{"__isSmartRef__":true,"id":7132},"chunkOwner":{"__isSmartRef__":true,"id":7123},"storedString":": Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7132":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7133":{"morph":{"__isSmartRef__":true,"id":7123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7134":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7135":{"x":375,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7136":{"layoutText":{"__isSmartRef__":true,"id":7137}},"7137":{"varMapping":{"__isSmartRef__":true,"id":7138},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7138":{"this":{"__isSmartRef__":true,"id":7123}},"7139":{},"7140":{"_Position":{"__isSmartRef__":true,"id":7141},"renderContextTable":{"__isSmartRef__":true,"id":7142},"_Extent":{"__isSmartRef__":true,"id":7143},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7144},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7141":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7142":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7143":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7144":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7145":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7146":{"morph":{"__isSmartRef__":true,"id":7101},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7147":{"resizeWidth":true},"7148":{"submorphs":[{"__isSmartRef__":true,"id":7101}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7149},"derivationIds":[null],"id":"E9744CFB-0526-44B6-8292-34BF944D1A3A","renderContextTable":{"__isSmartRef__":true,"id":7154},"eventHandler":{"__isSmartRef__":true,"id":7155},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7156},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7158},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7159},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7160},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7149":{"_Position":{"__isSmartRef__":true,"id":7150},"renderContextTable":{"__isSmartRef__":true,"id":7151},"_Extent":{"__isSmartRef__":true,"id":7152},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7153},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7150":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7151":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7152":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7153":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7154":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7155":{"morph":{"__isSmartRef__":true,"id":7148},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7156":{"layouter":{"__isSmartRef__":true,"id":7157},"resizeWidth":true},"7157":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7148},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7158":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7159":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7160":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7161}},"7161":{"varMapping":{"__isSmartRef__":true,"id":7162},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7167},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7162":{"this":{"__isSmartRef__":true,"id":7148},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7163}},"7163":{"$super":{"__isSmartRef__":true,"id":7164}},"7164":{"varMapping":{"__isSmartRef__":true,"id":7165},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7165":{"obj":{"__isSmartRef__":true,"id":7148},"name":"getLayoutableSubmorphs"},"7166":{},"7167":{},"7168":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7169":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7170":{"updateExpanderColor":{"__isSmartRef__":true,"id":7171},"onMouseDown":{"__isSmartRef__":true,"id":7174},"isRoot":{"__isSmartRef__":true,"id":7181},"displayValue":{"__isSmartRef__":true,"id":7184},"update":{"__isSmartRef__":true,"id":7187}},"7171":{"varMapping":{"__isSmartRef__":true,"id":7172},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7172":{"this":{"__isSmartRef__":true,"id":7101}},"7173":{},"7174":{"varMapping":{"__isSmartRef__":true,"id":7175},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7175":{"this":{"__isSmartRef__":true,"id":7101},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7176}},"7176":{"$super":{"__isSmartRef__":true,"id":7177}},"7177":{"varMapping":{"__isSmartRef__":true,"id":7178},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7178":{"obj":{"__isSmartRef__":true,"id":7101},"name":"onMouseDown"},"7179":{},"7180":{},"7181":{"varMapping":{"__isSmartRef__":true,"id":7182},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7182":{"this":{"__isSmartRef__":true,"id":7101}},"7183":{},"7184":{"varMapping":{"__isSmartRef__":true,"id":7185},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7185":{"this":{"__isSmartRef__":true,"id":7101}},"7186":{},"7187":{"varMapping":{"__isSmartRef__":true,"id":7188},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7188":{"this":{"__isSmartRef__":true,"id":7101}},"7189":{},"7190":{"submorphs":[{"__isSmartRef__":true,"id":7191},{"__isSmartRef__":true,"id":7212}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7229},"derivationIds":[null],"id":"2563E0D1-05B2-4332-A8B3-5731673F72B7","renderContextTable":{"__isSmartRef__":true,"id":7234},"eventHandler":{"__isSmartRef__":true,"id":7235},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7236},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4280},"propertyList":["morphNode","shapeNode","imgNode"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7191},"text":{"__isSmartRef__":true,"id":7212},"owner":{"__isSmartRef__":true,"id":7237},"_Position":{"__isSmartRef__":true,"id":7257},"priorExtent":{"__isSmartRef__":true,"id":7258},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7259},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7191":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7192},"derivationIds":[null],"id":"16479D35-6356-491D-A74D-562EFAF92CBE","renderContextTable":{"__isSmartRef__":true,"id":7198},"eventHandler":{"__isSmartRef__":true,"id":7199},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7200},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7201},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7192":{"_Position":{"__isSmartRef__":true,"id":7193},"renderContextTable":{"__isSmartRef__":true,"id":7194},"_Extent":{"__isSmartRef__":true,"id":7195},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7196},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7197},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7193":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7194":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7195":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7196":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7197":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7198":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7199":{"morph":{"__isSmartRef__":true,"id":7191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7200":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7201":{"toggle":{"__isSmartRef__":true,"id":7202},"toggleExpansion":{"__isSmartRef__":true,"id":7209}},"7202":{"varMapping":{"__isSmartRef__":true,"id":7203},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7203":{"this":{"__isSmartRef__":true,"id":7191},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7204}},"7204":{"$super":{"__isSmartRef__":true,"id":7205}},"7205":{"varMapping":{"__isSmartRef__":true,"id":7206},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7207},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7206":{"obj":{"__isSmartRef__":true,"id":7191},"name":"toggle"},"7207":{},"7208":{},"7209":{"varMapping":{"__isSmartRef__":true,"id":7210},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7210":{"this":{"__isSmartRef__":true,"id":7191}},"7211":{},"7212":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7213},"derivationIds":[null],"id":"C9D40DD0-9C6D-48CE-9A03-0C63E0EEC641","renderContextTable":{"__isSmartRef__":true,"id":7217},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7218},{"__isSmartRef__":true,"id":7220}],"eventHandler":{"__isSmartRef__":true,"id":7222},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7223},"priorExtent":{"__isSmartRef__":true,"id":7224},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7225},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7213":{"_Position":{"__isSmartRef__":true,"id":7214},"renderContextTable":{"__isSmartRef__":true,"id":7215},"_Extent":{"__isSmartRef__":true,"id":7216},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7214":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7215":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7216":{"x":225.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7217":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7218":{"style":{"__isSmartRef__":true,"id":7219},"chunkOwner":{"__isSmartRef__":true,"id":7212},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7219":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7220":{"style":{"__isSmartRef__":true,"id":7221},"chunkOwner":{"__isSmartRef__":true,"id":7212},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7221":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7222":{"morph":{"__isSmartRef__":true,"id":7212},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7223":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7224":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7225":{"layoutText":{"__isSmartRef__":true,"id":7226}},"7226":{"varMapping":{"__isSmartRef__":true,"id":7227},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7227":{"this":{"__isSmartRef__":true,"id":7212}},"7228":{},"7229":{"_Position":{"__isSmartRef__":true,"id":7230},"renderContextTable":{"__isSmartRef__":true,"id":7231},"_Extent":{"__isSmartRef__":true,"id":7232},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7233},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7230":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7231":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7232":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7233":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7234":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7235":{"morph":{"__isSmartRef__":true,"id":7190},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7236":{"resizeWidth":true},"7237":{"submorphs":[{"__isSmartRef__":true,"id":7190}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7238},"derivationIds":[null],"id":"D7D69437-7093-49FE-8530-0858CAB55752","renderContextTable":{"__isSmartRef__":true,"id":7243},"eventHandler":{"__isSmartRef__":true,"id":7244},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7245},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7247},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7248},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7249},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7238":{"_Position":{"__isSmartRef__":true,"id":7239},"renderContextTable":{"__isSmartRef__":true,"id":7240},"_Extent":{"__isSmartRef__":true,"id":7241},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7242},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7239":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7240":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7241":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7242":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7243":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7244":{"morph":{"__isSmartRef__":true,"id":7237},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7245":{"layouter":{"__isSmartRef__":true,"id":7246},"resizeWidth":true},"7246":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7237},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7247":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7248":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7249":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7250}},"7250":{"varMapping":{"__isSmartRef__":true,"id":7251},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7251":{"this":{"__isSmartRef__":true,"id":7237},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7252}},"7252":{"$super":{"__isSmartRef__":true,"id":7253}},"7253":{"varMapping":{"__isSmartRef__":true,"id":7254},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7254":{"obj":{"__isSmartRef__":true,"id":7237},"name":"getLayoutableSubmorphs"},"7255":{},"7256":{},"7257":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7258":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7259":{"updateExpanderColor":{"__isSmartRef__":true,"id":7260},"onMouseDown":{"__isSmartRef__":true,"id":7263},"isRoot":{"__isSmartRef__":true,"id":7270},"displayValue":{"__isSmartRef__":true,"id":7273},"update":{"__isSmartRef__":true,"id":7276}},"7260":{"varMapping":{"__isSmartRef__":true,"id":7261},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7261":{"this":{"__isSmartRef__":true,"id":7190}},"7262":{},"7263":{"varMapping":{"__isSmartRef__":true,"id":7264},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7264":{"this":{"__isSmartRef__":true,"id":7190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7265}},"7265":{"$super":{"__isSmartRef__":true,"id":7266}},"7266":{"varMapping":{"__isSmartRef__":true,"id":7267},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7267":{"obj":{"__isSmartRef__":true,"id":7190},"name":"onMouseDown"},"7268":{},"7269":{},"7270":{"varMapping":{"__isSmartRef__":true,"id":7271},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7271":{"this":{"__isSmartRef__":true,"id":7190}},"7272":{},"7273":{"varMapping":{"__isSmartRef__":true,"id":7274},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7274":{"this":{"__isSmartRef__":true,"id":7190}},"7275":{},"7276":{"varMapping":{"__isSmartRef__":true,"id":7277},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7277":{"this":{"__isSmartRef__":true,"id":7190}},"7278":{},"7279":{"submorphs":[{"__isSmartRef__":true,"id":7280},{"__isSmartRef__":true,"id":7301}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7318},"derivationIds":[null],"id":"1B8867CB-A17B-470B-AFF9-8251BC35DF2A","renderContextTable":{"__isSmartRef__":true,"id":7323},"eventHandler":{"__isSmartRef__":true,"id":7324},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7325},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"isLoaded","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7280},"text":{"__isSmartRef__":true,"id":7301},"owner":{"__isSmartRef__":true,"id":7326},"_Position":{"__isSmartRef__":true,"id":7346},"priorExtent":{"__isSmartRef__":true,"id":7347},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7348},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7280":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7281},"derivationIds":[null],"id":"0B9370E4-8B4F-48AF-9492-D7C4DA8078CE","renderContextTable":{"__isSmartRef__":true,"id":7287},"eventHandler":{"__isSmartRef__":true,"id":7288},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7289},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7279},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7290},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7281":{"_Position":{"__isSmartRef__":true,"id":7282},"renderContextTable":{"__isSmartRef__":true,"id":7283},"_Extent":{"__isSmartRef__":true,"id":7284},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7285},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7286},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7282":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7283":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7284":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7285":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7286":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7287":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7288":{"morph":{"__isSmartRef__":true,"id":7280},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7289":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7290":{"toggle":{"__isSmartRef__":true,"id":7291},"toggleExpansion":{"__isSmartRef__":true,"id":7298}},"7291":{"varMapping":{"__isSmartRef__":true,"id":7292},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7292":{"this":{"__isSmartRef__":true,"id":7280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7293}},"7293":{"$super":{"__isSmartRef__":true,"id":7294}},"7294":{"varMapping":{"__isSmartRef__":true,"id":7295},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7295":{"obj":{"__isSmartRef__":true,"id":7280},"name":"toggle"},"7296":{},"7297":{},"7298":{"varMapping":{"__isSmartRef__":true,"id":7299},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7299":{"this":{"__isSmartRef__":true,"id":7280}},"7300":{},"7301":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7302},"derivationIds":[null],"id":"BE6420CB-459D-4CFC-8E62-B52CDB75A2EA","renderContextTable":{"__isSmartRef__":true,"id":7306},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7307},{"__isSmartRef__":true,"id":7309}],"eventHandler":{"__isSmartRef__":true,"id":7311},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7312},"priorExtent":{"__isSmartRef__":true,"id":7313},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7279},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7314},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7302":{"_Position":{"__isSmartRef__":true,"id":7303},"renderContextTable":{"__isSmartRef__":true,"id":7304},"_Extent":{"__isSmartRef__":true,"id":7305},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7303":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7304":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7305":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7307":{"style":{"__isSmartRef__":true,"id":7308},"chunkOwner":{"__isSmartRef__":true,"id":7301},"storedString":"isLoaded","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7308":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7309":{"style":{"__isSmartRef__":true,"id":7310},"chunkOwner":{"__isSmartRef__":true,"id":7301},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7310":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7311":{"morph":{"__isSmartRef__":true,"id":7301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7312":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7313":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7314":{"layoutText":{"__isSmartRef__":true,"id":7315}},"7315":{"varMapping":{"__isSmartRef__":true,"id":7316},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7316":{"this":{"__isSmartRef__":true,"id":7301}},"7317":{},"7318":{"_Position":{"__isSmartRef__":true,"id":7319},"renderContextTable":{"__isSmartRef__":true,"id":7320},"_Extent":{"__isSmartRef__":true,"id":7321},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7322},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7319":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7320":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7321":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7322":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7323":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7324":{"morph":{"__isSmartRef__":true,"id":7279},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7325":{"resizeWidth":true},"7326":{"submorphs":[{"__isSmartRef__":true,"id":7279}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7327},"derivationIds":[null],"id":"AD54CC76-905D-418A-8DB8-1AD5F8BA20C6","renderContextTable":{"__isSmartRef__":true,"id":7332},"eventHandler":{"__isSmartRef__":true,"id":7333},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7334},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7336},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7337},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7338},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7327":{"_Position":{"__isSmartRef__":true,"id":7328},"renderContextTable":{"__isSmartRef__":true,"id":7329},"_Extent":{"__isSmartRef__":true,"id":7330},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7331},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7328":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7329":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7330":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7331":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7332":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7333":{"morph":{"__isSmartRef__":true,"id":7326},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7334":{"layouter":{"__isSmartRef__":true,"id":7335},"resizeWidth":true},"7335":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7326},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7336":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7337":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7338":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7339}},"7339":{"varMapping":{"__isSmartRef__":true,"id":7340},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7340":{"this":{"__isSmartRef__":true,"id":7326},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7341}},"7341":{"$super":{"__isSmartRef__":true,"id":7342}},"7342":{"varMapping":{"__isSmartRef__":true,"id":7343},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7343":{"obj":{"__isSmartRef__":true,"id":7326},"name":"getLayoutableSubmorphs"},"7344":{},"7345":{},"7346":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7347":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7348":{"updateExpanderColor":{"__isSmartRef__":true,"id":7349},"onMouseDown":{"__isSmartRef__":true,"id":7352},"isRoot":{"__isSmartRef__":true,"id":7359},"displayValue":{"__isSmartRef__":true,"id":7362},"update":{"__isSmartRef__":true,"id":7365}},"7349":{"varMapping":{"__isSmartRef__":true,"id":7350},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7350":{"this":{"__isSmartRef__":true,"id":7279}},"7351":{},"7352":{"varMapping":{"__isSmartRef__":true,"id":7353},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7353":{"this":{"__isSmartRef__":true,"id":7279},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7354}},"7354":{"$super":{"__isSmartRef__":true,"id":7355}},"7355":{"varMapping":{"__isSmartRef__":true,"id":7356},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7356":{"obj":{"__isSmartRef__":true,"id":7279},"name":"onMouseDown"},"7357":{},"7358":{},"7359":{"varMapping":{"__isSmartRef__":true,"id":7360},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7360":{"this":{"__isSmartRef__":true,"id":7279}},"7361":{},"7362":{"varMapping":{"__isSmartRef__":true,"id":7363},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7363":{"this":{"__isSmartRef__":true,"id":7279}},"7364":{},"7365":{"varMapping":{"__isSmartRef__":true,"id":7366},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7367},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7366":{"this":{"__isSmartRef__":true,"id":7279}},"7367":{},"7368":{"submorphs":[{"__isSmartRef__":true,"id":7369},{"__isSmartRef__":true,"id":7390}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7407},"derivationIds":[null],"id":"0CF3B1E9-9FE0-4EBC-944E-524902877201","renderContextTable":{"__isSmartRef__":true,"id":7412},"eventHandler":{"__isSmartRef__":true,"id":7413},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7414},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":93},"propertyList":["x","y","__SourceModuleName__"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"position","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7369},"text":{"__isSmartRef__":true,"id":7390},"owner":{"__isSmartRef__":true,"id":7415},"_Position":{"__isSmartRef__":true,"id":7435},"priorExtent":{"__isSmartRef__":true,"id":7436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7437},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7369":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7370},"derivationIds":[null],"id":"C4059950-E836-4AAD-9569-E3733BBF6478","renderContextTable":{"__isSmartRef__":true,"id":7376},"eventHandler":{"__isSmartRef__":true,"id":7377},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7378},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7379},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7370":{"_Position":{"__isSmartRef__":true,"id":7371},"renderContextTable":{"__isSmartRef__":true,"id":7372},"_Extent":{"__isSmartRef__":true,"id":7373},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7374},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7375},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7371":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7373":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7374":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7375":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7376":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7377":{"morph":{"__isSmartRef__":true,"id":7369},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7378":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7379":{"toggle":{"__isSmartRef__":true,"id":7380},"toggleExpansion":{"__isSmartRef__":true,"id":7387}},"7380":{"varMapping":{"__isSmartRef__":true,"id":7381},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7386},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7381":{"this":{"__isSmartRef__":true,"id":7369},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7382}},"7382":{"$super":{"__isSmartRef__":true,"id":7383}},"7383":{"varMapping":{"__isSmartRef__":true,"id":7384},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7384":{"obj":{"__isSmartRef__":true,"id":7369},"name":"toggle"},"7385":{},"7386":{},"7387":{"varMapping":{"__isSmartRef__":true,"id":7388},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7389},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7388":{"this":{"__isSmartRef__":true,"id":7369}},"7389":{},"7390":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7391},"derivationIds":[null],"id":"BAC9C2D0-4BCB-4F59-AED2-3D9545D4521B","renderContextTable":{"__isSmartRef__":true,"id":7395},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7396},{"__isSmartRef__":true,"id":7398}],"eventHandler":{"__isSmartRef__":true,"id":7400},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7401},"priorExtent":{"__isSmartRef__":true,"id":7402},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7403},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7391":{"_Position":{"__isSmartRef__":true,"id":7392},"renderContextTable":{"__isSmartRef__":true,"id":7393},"_Extent":{"__isSmartRef__":true,"id":7394},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7392":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7394":{"x":120.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7395":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7396":{"style":{"__isSmartRef__":true,"id":7397},"chunkOwner":{"__isSmartRef__":true,"id":7390},"storedString":"position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7397":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7398":{"style":{"__isSmartRef__":true,"id":7399},"chunkOwner":{"__isSmartRef__":true,"id":7390},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7399":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7400":{"morph":{"__isSmartRef__":true,"id":7390},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7401":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7402":{"x":112.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7403":{"layoutText":{"__isSmartRef__":true,"id":7404}},"7404":{"varMapping":{"__isSmartRef__":true,"id":7405},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7405":{"this":{"__isSmartRef__":true,"id":7390}},"7406":{},"7407":{"_Position":{"__isSmartRef__":true,"id":7408},"renderContextTable":{"__isSmartRef__":true,"id":7409},"_Extent":{"__isSmartRef__":true,"id":7410},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7411},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7408":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7409":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7410":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7411":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7413":{"morph":{"__isSmartRef__":true,"id":7368},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7414":{"resizeWidth":true},"7415":{"submorphs":[{"__isSmartRef__":true,"id":7368}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7416},"derivationIds":[null],"id":"1681CC45-C7E7-4852-8674-401505CD63BF","renderContextTable":{"__isSmartRef__":true,"id":7421},"eventHandler":{"__isSmartRef__":true,"id":7422},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7423},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7425},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7426},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7427},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7416":{"_Position":{"__isSmartRef__":true,"id":7417},"renderContextTable":{"__isSmartRef__":true,"id":7418},"_Extent":{"__isSmartRef__":true,"id":7419},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7420},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7417":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7418":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7419":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7420":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7421":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7422":{"morph":{"__isSmartRef__":true,"id":7415},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7423":{"layouter":{"__isSmartRef__":true,"id":7424},"resizeWidth":true},"7424":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7415},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7425":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7426":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7427":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7428}},"7428":{"varMapping":{"__isSmartRef__":true,"id":7429},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7429":{"this":{"__isSmartRef__":true,"id":7415},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7430}},"7430":{"$super":{"__isSmartRef__":true,"id":7431}},"7431":{"varMapping":{"__isSmartRef__":true,"id":7432},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7432":{"obj":{"__isSmartRef__":true,"id":7415},"name":"getLayoutableSubmorphs"},"7433":{},"7434":{},"7435":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7436":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7437":{"updateExpanderColor":{"__isSmartRef__":true,"id":7438},"onMouseDown":{"__isSmartRef__":true,"id":7441},"isRoot":{"__isSmartRef__":true,"id":7448},"displayValue":{"__isSmartRef__":true,"id":7451},"update":{"__isSmartRef__":true,"id":7454}},"7438":{"varMapping":{"__isSmartRef__":true,"id":7439},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7439":{"this":{"__isSmartRef__":true,"id":7368}},"7440":{},"7441":{"varMapping":{"__isSmartRef__":true,"id":7442},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7442":{"this":{"__isSmartRef__":true,"id":7368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7443}},"7443":{"$super":{"__isSmartRef__":true,"id":7444}},"7444":{"varMapping":{"__isSmartRef__":true,"id":7445},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7445":{"obj":{"__isSmartRef__":true,"id":7368},"name":"onMouseDown"},"7446":{},"7447":{},"7448":{"varMapping":{"__isSmartRef__":true,"id":7449},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7449":{"this":{"__isSmartRef__":true,"id":7368}},"7450":{},"7451":{"varMapping":{"__isSmartRef__":true,"id":7452},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7452":{"this":{"__isSmartRef__":true,"id":7368}},"7453":{},"7454":{"varMapping":{"__isSmartRef__":true,"id":7455},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7455":{"this":{"__isSmartRef__":true,"id":7368}},"7456":{},"7457":{"submorphs":[{"__isSmartRef__":true,"id":7458},{"__isSmartRef__":true,"id":7479}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7496},"derivationIds":[null],"id":"1322FDE0-D546-44C5-B63B-52CFDE9EC41B","renderContextTable":{"__isSmartRef__":true,"id":7501},"eventHandler":{"__isSmartRef__":true,"id":7502},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7503},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":7504},"propertyList":["init","appendShape","setPosition","setExtent","setPadding","setFill","setBorderColor","setBorderWidth","setStrokeOpacity","setBorderRadius","setBorderStyle","setOpacity","setClipMode","setImageURL","getNativeExtent"],"level":2,"treeView":{"__isSmartRef__":true,"id":3498},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":6877},"expander":{"__isSmartRef__":true,"id":7458},"text":{"__isSmartRef__":true,"id":7479},"owner":{"__isSmartRef__":true,"id":7505},"_Position":{"__isSmartRef__":true,"id":7525},"priorExtent":{"__isSmartRef__":true,"id":7526},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7527},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7458":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7459},"derivationIds":[null],"id":"BD76E99F-CBFB-4EC8-8116-88AA8D7E4C84","renderContextTable":{"__isSmartRef__":true,"id":7465},"eventHandler":{"__isSmartRef__":true,"id":7466},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7467},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7468},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7459":{"_Position":{"__isSmartRef__":true,"id":7460},"renderContextTable":{"__isSmartRef__":true,"id":7461},"_Extent":{"__isSmartRef__":true,"id":7462},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7463},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3508},"_Fill":{"__isSmartRef__":true,"id":7464},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7460":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7461":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7462":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7463":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7464":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7465":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7466":{"morph":{"__isSmartRef__":true,"id":7458},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7467":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7468":{"toggle":{"__isSmartRef__":true,"id":7469},"toggleExpansion":{"__isSmartRef__":true,"id":7476}},"7469":{"varMapping":{"__isSmartRef__":true,"id":7470},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7470":{"this":{"__isSmartRef__":true,"id":7458},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7471}},"7471":{"$super":{"__isSmartRef__":true,"id":7472}},"7472":{"varMapping":{"__isSmartRef__":true,"id":7473},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7473":{"obj":{"__isSmartRef__":true,"id":7458},"name":"toggle"},"7474":{},"7475":{},"7476":{"varMapping":{"__isSmartRef__":true,"id":7477},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7477":{"this":{"__isSmartRef__":true,"id":7458}},"7478":{},"7479":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7480},"derivationIds":[null],"id":"EDDB06FA-7289-4786-965C-E5138829F62C","renderContextTable":{"__isSmartRef__":true,"id":7484},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":7485},{"__isSmartRef__":true,"id":7487}],"eventHandler":{"__isSmartRef__":true,"id":7489},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7490},"priorExtent":{"__isSmartRef__":true,"id":7491},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7492},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7480":{"_Position":{"__isSmartRef__":true,"id":7481},"renderContextTable":{"__isSmartRef__":true,"id":7482},"_Extent":{"__isSmartRef__":true,"id":7483},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7481":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7483":{"x":195.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7484":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7485":{"style":{"__isSmartRef__":true,"id":7486},"chunkOwner":{"__isSmartRef__":true,"id":7479},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7486":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7487":{"style":{"__isSmartRef__":true,"id":7488},"chunkOwner":{"__isSmartRef__":true,"id":7479},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7488":{"color":{"__isSmartRef__":true,"id":3534},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7489":{"morph":{"__isSmartRef__":true,"id":7479},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7490":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7491":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7492":{"layoutText":{"__isSmartRef__":true,"id":7493}},"7493":{"varMapping":{"__isSmartRef__":true,"id":7494},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7494":{"this":{"__isSmartRef__":true,"id":7479}},"7495":{},"7496":{"_Position":{"__isSmartRef__":true,"id":7497},"renderContextTable":{"__isSmartRef__":true,"id":7498},"_Extent":{"__isSmartRef__":true,"id":7499},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7500},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7497":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7498":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7499":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7500":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7501":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7502":{"morph":{"__isSmartRef__":true,"id":7457},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7503":{"resizeWidth":true},"7504":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"7505":{"submorphs":[{"__isSmartRef__":true,"id":7457}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7506},"derivationIds":[null],"id":"50E845E3-1674-4585-B105-E0546F26278D","renderContextTable":{"__isSmartRef__":true,"id":7511},"eventHandler":{"__isSmartRef__":true,"id":7512},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7513},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7515},"owner":{"__isSmartRef__":true,"id":6828},"_Position":{"__isSmartRef__":true,"id":7516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7517},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7506":{"_Position":{"__isSmartRef__":true,"id":7507},"renderContextTable":{"__isSmartRef__":true,"id":7508},"_Extent":{"__isSmartRef__":true,"id":7509},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7510},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7507":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7508":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7509":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7510":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7511":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7512":{"morph":{"__isSmartRef__":true,"id":7505},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7513":{"layouter":{"__isSmartRef__":true,"id":7514},"resizeWidth":true},"7514":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7505},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7515":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7516":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7517":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7518}},"7518":{"varMapping":{"__isSmartRef__":true,"id":7519},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7519":{"this":{"__isSmartRef__":true,"id":7505},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7520}},"7520":{"$super":{"__isSmartRef__":true,"id":7521}},"7521":{"varMapping":{"__isSmartRef__":true,"id":7522},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7522":{"obj":{"__isSmartRef__":true,"id":7505},"name":"getLayoutableSubmorphs"},"7523":{},"7524":{},"7525":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7526":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7527":{"updateExpanderColor":{"__isSmartRef__":true,"id":7528},"onMouseDown":{"__isSmartRef__":true,"id":7531},"isRoot":{"__isSmartRef__":true,"id":7538},"displayValue":{"__isSmartRef__":true,"id":7541},"update":{"__isSmartRef__":true,"id":7544}},"7528":{"varMapping":{"__isSmartRef__":true,"id":7529},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7529":{"this":{"__isSmartRef__":true,"id":7457}},"7530":{},"7531":{"varMapping":{"__isSmartRef__":true,"id":7532},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7532":{"this":{"__isSmartRef__":true,"id":7457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7533}},"7533":{"$super":{"__isSmartRef__":true,"id":7534}},"7534":{"varMapping":{"__isSmartRef__":true,"id":7535},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7535":{"obj":{"__isSmartRef__":true,"id":7457},"name":"onMouseDown"},"7536":{},"7537":{},"7538":{"varMapping":{"__isSmartRef__":true,"id":7539},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7539":{"this":{"__isSmartRef__":true,"id":7457}},"7540":{},"7541":{"varMapping":{"__isSmartRef__":true,"id":7542},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7542":{"this":{"__isSmartRef__":true,"id":7457}},"7543":{},"7544":{"varMapping":{"__isSmartRef__":true,"id":7545},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7545":{"this":{"__isSmartRef__":true,"id":7457}},"7546":{},"7547":{"submorphs":[{"__isSmartRef__":true,"id":6877},{"__isSmartRef__":true,"id":6828}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7548},"derivationIds":[null],"id":"F700AE55-2E57-453C-89CC-A22D191F87EF","renderContextTable":{"__isSmartRef__":true,"id":7553},"eventHandler":{"__isSmartRef__":true,"id":7554},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7555},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7557},"owner":null,"_Position":{"__isSmartRef__":true,"id":7558},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7559},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7548":{"_Position":{"__isSmartRef__":true,"id":7549},"renderContextTable":{"__isSmartRef__":true,"id":7550},"_Extent":{"__isSmartRef__":true,"id":7551},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7552},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7549":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7550":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7551":{"x":100,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7552":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7553":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7554":{"morph":{"__isSmartRef__":true,"id":7547},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7555":{"layouter":{"__isSmartRef__":true,"id":7556},"resizeWidth":true},"7556":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7547},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7557":{"x":100,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7558":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7559":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7560}},"7560":{"varMapping":{"__isSmartRef__":true,"id":7561},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7561":{"this":{"__isSmartRef__":true,"id":7547},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7562}},"7562":{"$super":{"__isSmartRef__":true,"id":7563}},"7563":{"varMapping":{"__isSmartRef__":true,"id":7564},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7564":{"obj":{"__isSmartRef__":true,"id":7547},"name":"getLayoutableSubmorphs"},"7565":{},"7566":{},"7567":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7568":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7569":{"updateExpanderColor":{"__isSmartRef__":true,"id":7570},"onMouseDown":{"__isSmartRef__":true,"id":7573},"isRoot":{"__isSmartRef__":true,"id":7580},"displayValue":{"__isSmartRef__":true,"id":7583},"update":{"__isSmartRef__":true,"id":7586}},"7570":{"varMapping":{"__isSmartRef__":true,"id":7571},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7571":{"this":{"__isSmartRef__":true,"id":6877}},"7572":{},"7573":{"varMapping":{"__isSmartRef__":true,"id":7574},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7574":{"this":{"__isSmartRef__":true,"id":6877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7575}},"7575":{"$super":{"__isSmartRef__":true,"id":7576}},"7576":{"varMapping":{"__isSmartRef__":true,"id":7577},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7577":{"obj":{"__isSmartRef__":true,"id":6877},"name":"onMouseDown"},"7578":{},"7579":{},"7580":{"varMapping":{"__isSmartRef__":true,"id":7581},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7581":{"this":{"__isSmartRef__":true,"id":6877}},"7582":{},"7583":{"varMapping":{"__isSmartRef__":true,"id":7584},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7584":{"this":{"__isSmartRef__":true,"id":6877}},"7585":{},"7586":{"varMapping":{"__isSmartRef__":true,"id":7587},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7587":{"this":{"__isSmartRef__":true,"id":6877}},"7588":{},"7589":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7590":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7591":{"updateExpanderColor":{"__isSmartRef__":true,"id":7592},"onMouseDown":{"__isSmartRef__":true,"id":7595},"isRoot":{"__isSmartRef__":true,"id":7602},"displayValue":{"__isSmartRef__":true,"id":7605},"update":{"__isSmartRef__":true,"id":7608}},"7592":{"varMapping":{"__isSmartRef__":true,"id":7593},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7593":{"this":{"__isSmartRef__":true,"id":6830}},"7594":{},"7595":{"varMapping":{"__isSmartRef__":true,"id":7596},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7601},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7596":{"this":{"__isSmartRef__":true,"id":6830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7597}},"7597":{"$super":{"__isSmartRef__":true,"id":7598}},"7598":{"varMapping":{"__isSmartRef__":true,"id":7599},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7599":{"obj":{"__isSmartRef__":true,"id":6830},"name":"onMouseDown"},"7600":{},"7601":{},"7602":{"varMapping":{"__isSmartRef__":true,"id":7603},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7603":{"this":{"__isSmartRef__":true,"id":6830}},"7604":{},"7605":{"varMapping":{"__isSmartRef__":true,"id":7606},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7606":{"this":{"__isSmartRef__":true,"id":6830}},"7607":{},"7608":{"varMapping":{"__isSmartRef__":true,"id":7609},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7609":{"this":{"__isSmartRef__":true,"id":6830}},"7610":{},"7611":{"_Position":{"__isSmartRef__":true,"id":7612},"renderContextTable":{"__isSmartRef__":true,"id":7613},"_Extent":{"__isSmartRef__":true,"id":7614},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7615},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7612":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7613":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7614":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7615":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7616":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7617":{"morph":{"__isSmartRef__":true,"id":6829},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7618":{"layouter":{"__isSmartRef__":true,"id":7619},"resizeWidth":true},"7619":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6829},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7620":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7621":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7622":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7623}},"7623":{"varMapping":{"__isSmartRef__":true,"id":7624},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7629},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7624":{"this":{"__isSmartRef__":true,"id":6829},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7625}},"7625":{"$super":{"__isSmartRef__":true,"id":7626}},"7626":{"varMapping":{"__isSmartRef__":true,"id":7627},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7627":{"obj":{"__isSmartRef__":true,"id":6829},"name":"getLayoutableSubmorphs"},"7628":{},"7629":{},"7630":{"_Position":{"__isSmartRef__":true,"id":7631},"renderContextTable":{"__isSmartRef__":true,"id":7632},"_Extent":{"__isSmartRef__":true,"id":7633},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7634},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7631":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7632":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7633":{"x":100,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7634":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"7635":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7636":{"morph":{"__isSmartRef__":true,"id":6828},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7637":{"layouter":{"__isSmartRef__":true,"id":7638},"resizeWidth":true},"7638":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6828},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7639":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7640":{"x":100,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7641":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7642},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":7649}},"7642":{"varMapping":{"__isSmartRef__":true,"id":7643},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7643":{"this":{"__isSmartRef__":true,"id":6828},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7644}},"7644":{"$super":{"__isSmartRef__":true,"id":7645}},"7645":{"varMapping":{"__isSmartRef__":true,"id":7646},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7646":{"obj":{"__isSmartRef__":true,"id":6828},"name":"getLayoutableSubmorphs"},"7647":{},"7648":{},"7649":{"varMapping":{"__isSmartRef__":true,"id":7650},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7650":{"this":{"__isSmartRef__":true,"id":6828}},"7651":{},"7652":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7653":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7654}},"7654":{"varMapping":{"__isSmartRef__":true,"id":7655},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7655":{"this":{"__isSmartRef__":true,"id":6817},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7656}},"7656":{"$super":{"__isSmartRef__":true,"id":7657}},"7657":{"varMapping":{"__isSmartRef__":true,"id":7658},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7658":{"obj":{"__isSmartRef__":true,"id":6817},"name":"getLayoutableSubmorphs"},"7659":{},"7660":{},"7661":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7662":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7663":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7664},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":7671}},"7664":{"varMapping":{"__isSmartRef__":true,"id":7665},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7665":{"this":{"__isSmartRef__":true,"id":6718},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7666}},"7666":{"$super":{"__isSmartRef__":true,"id":7667}},"7667":{"varMapping":{"__isSmartRef__":true,"id":7668},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7668":{"obj":{"__isSmartRef__":true,"id":6718},"name":"getLayoutableSubmorphs"},"7669":{},"7670":{},"7671":{"varMapping":{"__isSmartRef__":true,"id":7672},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7672":{"this":{"__isSmartRef__":true,"id":6718}},"7673":{},"7674":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7675":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7676}},"7676":{"varMapping":{"__isSmartRef__":true,"id":7677},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7677":{"this":{"__isSmartRef__":true,"id":6707},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7678}},"7678":{"$super":{"__isSmartRef__":true,"id":7679}},"7679":{"varMapping":{"__isSmartRef__":true,"id":7680},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7680":{"obj":{"__isSmartRef__":true,"id":6707},"name":"getLayoutableSubmorphs"},"7681":{},"7682":{},"7683":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7684":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7685":{"updateExpanderColor":{"__isSmartRef__":true,"id":7686},"onMouseDown":{"__isSmartRef__":true,"id":7689},"isRoot":{"__isSmartRef__":true,"id":7696},"displayValue":{"__isSmartRef__":true,"id":7699},"update":{"__isSmartRef__":true,"id":7702}},"7686":{"varMapping":{"__isSmartRef__":true,"id":7687},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7687":{"this":{"__isSmartRef__":true,"id":6660}},"7688":{},"7689":{"varMapping":{"__isSmartRef__":true,"id":7690},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7690":{"this":{"__isSmartRef__":true,"id":6660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7691}},"7691":{"$super":{"__isSmartRef__":true,"id":7692}},"7692":{"varMapping":{"__isSmartRef__":true,"id":7693},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7693":{"obj":{"__isSmartRef__":true,"id":6660},"name":"onMouseDown"},"7694":{},"7695":{},"7696":{"varMapping":{"__isSmartRef__":true,"id":7697},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7697":{"this":{"__isSmartRef__":true,"id":6660}},"7698":{},"7699":{"varMapping":{"__isSmartRef__":true,"id":7700},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7701},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7700":{"this":{"__isSmartRef__":true,"id":6660}},"7701":{},"7702":{"varMapping":{"__isSmartRef__":true,"id":7703},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7704},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7703":{"this":{"__isSmartRef__":true,"id":6660}},"7704":{},"7705":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7706":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7707":{"updateExpanderColor":{"__isSmartRef__":true,"id":7708},"onMouseDown":{"__isSmartRef__":true,"id":7711},"isRoot":{"__isSmartRef__":true,"id":7718},"displayValue":{"__isSmartRef__":true,"id":7721},"update":{"__isSmartRef__":true,"id":7724}},"7708":{"varMapping":{"__isSmartRef__":true,"id":7709},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7709":{"this":{"__isSmartRef__":true,"id":6614}},"7710":{},"7711":{"varMapping":{"__isSmartRef__":true,"id":7712},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7712":{"this":{"__isSmartRef__":true,"id":6614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7713}},"7713":{"$super":{"__isSmartRef__":true,"id":7714}},"7714":{"varMapping":{"__isSmartRef__":true,"id":7715},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7715":{"obj":{"__isSmartRef__":true,"id":6614},"name":"onMouseDown"},"7716":{},"7717":{},"7718":{"varMapping":{"__isSmartRef__":true,"id":7719},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7719":{"this":{"__isSmartRef__":true,"id":6614}},"7720":{},"7721":{"varMapping":{"__isSmartRef__":true,"id":7722},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7722":{"this":{"__isSmartRef__":true,"id":6614}},"7723":{},"7724":{"varMapping":{"__isSmartRef__":true,"id":7725},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"7725":{"this":{"__isSmartRef__":true,"id":6614}},"7726":{},"7727":{"reset":{"__isSmartRef__":true,"id":7728},"moveFocusTo":{"__isSmartRef__":true,"id":7732},"explore":{"__isSmartRef__":true,"id":7736},"toggleAll":{"__isSmartRef__":true,"id":7740}},"7728":{"varMapping":{"__isSmartRef__":true,"id":7729},"source":"function reset() {\n this.workspace.reset();\n this.treeView.reset();\n this.focusedNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":7730},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7729":{"this":{"__isSmartRef__":true,"id":3497}},"7730":{"timestamp":{"__isSmartRef__":true,"id":7731},"user":"lauritz","tags":[]},"7731":{"isSerializedDate":true,"string":"Wed Sep 21 2011 01:48:08 GMT+0200 (W. Europe Daylight Time)"},"7732":{"varMapping":{"__isSmartRef__":true,"id":7733},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n this.focusedNode.expander.toggle();\n}","funcProperties":{"__isSmartRef__":true,"id":7734},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7733":{"this":{"__isSmartRef__":true,"id":3497}},"7734":{"timestamp":{"__isSmartRef__":true,"id":7735},"user":"lauritz","tags":[]},"7735":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:02 GMT+0100 (W. Europe Standard Time)"},"7736":{"varMapping":{"__isSmartRef__":true,"id":7737},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n\n this.moveFocusTo(this.treeView.rootNode);\n this.workspace.setTextString(\"this\");\n}","funcProperties":{"__isSmartRef__":true,"id":7738},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7737":{"this":{"__isSmartRef__":true,"id":3497}},"7738":{"timestamp":{"__isSmartRef__":true,"id":7739},"user":"lauritz","tags":[]},"7739":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:07 GMT+0100 (W. Europe Standard Time)"},"7740":{"varMapping":{"__isSmartRef__":true,"id":7741},"source":"function toggleAll() {\n this.treeView.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":7742},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7741":{"this":{"__isSmartRef__":true,"id":3497}},"7742":{"timestamp":{"__isSmartRef__":true,"id":7743},"user":"lauritz","tags":[]},"7743":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:54 GMT+0100 (W. Europe Standard Time)"},"7744":{"submorphs":[],"scripts":[],"id":"84F0A4AA-ED1F-4166-B3DD-4016479DB45D","shape":{"__isSmartRef__":true,"id":7745},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7752},"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":7753},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":7754},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":7755},"eventHandler":{"__isSmartRef__":true,"id":7756},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":3496},"priorExtent":{"__isSmartRef__":true,"id":7757},"distanceToDragEvent":{"__isSmartRef__":true,"id":7758},"derivationIds":[373,"EE44AF79-9BA3-4128-9A82-23CA02A35CBA","2DF62558-574F-4341-A678-C082E7B62474","0B40BDFA-37E3-4097-9157-BE8CCF94B0A1","3600D2AA-3070-493B-839E-BF41427E5A08","B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE","4C05283E-F381-40A9-9AEF-6D6D233F85FF"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7759},"__LivelyClassName__":"lively.morphic.Box"},"7745":{"position":{"__isSmartRef__":true,"id":7746},"_Extent":{"__isSmartRef__":true,"id":7747},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7748},"_Fill":{"__isSmartRef__":true,"id":7749},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7750},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7751},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7746":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7747":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7748":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7749":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7750":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7751":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7752":{"x":300.49672894514134,"y":409.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7753":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"7754":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7756":{"morph":{"__isSmartRef__":true,"id":7744},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7757":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7758":{"x":33.337083585580785,"y":-5.721794364406264,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7759":{"onDrag":{"__isSmartRef__":true,"id":7760},"onDragEnd":{"__isSmartRef__":true,"id":7767},"onDragStart":{"__isSmartRef__":true,"id":7774}},"7760":{"varMapping":{"__isSmartRef__":true,"id":7761},"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":7766},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7761":{"this":{"__isSmartRef__":true,"id":7744},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7762}},"7762":{"$super":{"__isSmartRef__":true,"id":7763}},"7763":{"varMapping":{"__isSmartRef__":true,"id":7764},"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":7765},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7764":{"obj":{"__isSmartRef__":true,"id":7744},"name":"onDrag"},"7765":{},"7766":{},"7767":{"varMapping":{"__isSmartRef__":true,"id":7768},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":7773},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7768":{"this":{"__isSmartRef__":true,"id":7744},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7769}},"7769":{"$super":{"__isSmartRef__":true,"id":7770}},"7770":{"varMapping":{"__isSmartRef__":true,"id":7771},"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":7772},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7771":{"obj":{"__isSmartRef__":true,"id":7744},"name":"onDragEnd"},"7772":{},"7773":{},"7774":{"varMapping":{"__isSmartRef__":true,"id":7775},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":7780},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7775":{"this":{"__isSmartRef__":true,"id":7744},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7776}},"7776":{"$super":{"__isSmartRef__":true,"id":7777}},"7777":{"varMapping":{"__isSmartRef__":true,"id":7778},"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":7779},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7778":{"obj":{"__isSmartRef__":true,"id":7744},"name":"onDragStart"},"7779":{},"7780":{},"7781":{"submorphs":[{"__isSmartRef__":true,"id":7782},{"__isSmartRef__":true,"id":7796},{"__isSmartRef__":true,"id":7843},{"__isSmartRef__":true,"id":7878}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7914},"id":"E6A869C9-2CE1-4763-9DDA-8DD923642C5E","renderContextTable":{"__isSmartRef__":true,"id":7925},"eventHandler":{"__isSmartRef__":true,"id":7926},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7927},"_Position":{"__isSmartRef__":true,"id":7928},"windowMorph":{"__isSmartRef__":true,"id":3496},"label":{"__isSmartRef__":true,"id":7782},"closeButton":{"__isSmartRef__":true,"id":7796},"menuButton":{"__isSmartRef__":true,"id":7843},"collapseButton":{"__isSmartRef__":true,"id":7878},"priorExtent":{"__isSmartRef__":true,"id":7929},"owner":{"__isSmartRef__":true,"id":3496},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[374,"CFE848EF-BE01-4E69-BBD0-796826FDBA2C","27B1F973-A4A1-49ED-8194-15A2125092E5","1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC","AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07","AA057279-ADDD-4D59-9A0A-E86FD7D21BE6","8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA"],"__LivelyClassName__":"lively.morphic.TitleBar"},"7782":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7783},"id":"EF40E877-05A9-44BE-A2D6-4857E3973565","renderContextTable":{"__isSmartRef__":true,"id":7789},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":7790}],"eventHandler":{"__isSmartRef__":true,"id":7792},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":7793},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":7781},"priorExtent":{"__isSmartRef__":true,"id":7794},"_MaxTextWidth":251.49672894514134,"_MinTextWidth":251.49672894514134,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":7795},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[375,"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3","2EE1A4B9-842D-4C63-ABEA-21DC74163CEE","3F973521-D5D9-4B44-BCF8-822B923644E8","F50BD739-1DA1-4EB3-9653-7B3145EA8817","A7AE88A1-BD5C-4F03-9E65-373F047B2C25","F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB"],"__LivelyClassName__":"lively.morphic.Text"},"7783":{"_Position":{"__isSmartRef__":true,"id":7784},"renderContextTable":{"__isSmartRef__":true,"id":7785},"_Extent":{"__isSmartRef__":true,"id":7786},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":7787},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7788},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7784":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7785":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7786":{"x":251.49672894514134,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7787":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7788":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7789":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7790":{"style":{"__isSmartRef__":true,"id":7791},"chunkOwner":{"__isSmartRef__":true,"id":7782},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Explorer","__LivelyClassName__":"lively.morphic.TextChunk"},"7791":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"7792":{"morph":{"__isSmartRef__":true,"id":7782},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7793":{"resizeWidth":true},"7794":{"x":251.49672894514134,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7795":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7796":{"submorphs":[{"__isSmartRef__":true,"id":7797}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7809},"id":"29FA2D7B-56E1-431B-A204-CD91E22568E9","renderContextTable":{"__isSmartRef__":true,"id":7825},"eventHandler":{"__isSmartRef__":true,"id":7826},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":7827},"priorExtent":{"__isSmartRef__":true,"id":7828},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":7815},"lighterFill":{"__isSmartRef__":true,"id":7829},"label":{"__isSmartRef__":true,"id":7797},"owner":{"__isSmartRef__":true,"id":7781},"layout":{"__isSmartRef__":true,"id":7838},"attributeConnections":[{"__isSmartRef__":true,"id":7839},{"__isSmartRef__":true,"id":7841}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E","A9533421-3987-49B1-B8FE-11D3B48B77B3","EC79C6DC-0809-4378-8061-032B4DD2D496","4DB70E9E-760D-401A-9BAD-25367B78CF72","1DC03620-BC8A-47EC-978A-2036FF929A8A","B048691C-3D91-4A6E-B21D-2AF0EB3E85C7"],"__LivelyClassName__":"lively.morphic.WindowControl"},"7797":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7798},"id":"C88D2BF8-E17A-43D3-94D1-C50166971C64","renderContextTable":{"__isSmartRef__":true,"id":7803},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":7804}],"eventHandler":{"__isSmartRef__":true,"id":7806},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":7807},"priorExtent":{"__isSmartRef__":true,"id":7808},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":7796},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[377,"C621D837-4DB4-4C83-A8C9-1C995944A45D","BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C","9AA4F44C-9D66-4990-B0E2-2998FC750C65","E136552C-1013-430B-8229-122AA2720D75","D343D9D5-BB6B-471C-89FD-977D04A54C18","198CEAEE-A3BF-4CED-8D10-C86583D458D7"],"__LivelyClassName__":"lively.morphic.Text"},"7798":{"_Position":{"__isSmartRef__":true,"id":7799},"renderContextTable":{"__isSmartRef__":true,"id":7800},"_Extent":{"__isSmartRef__":true,"id":7801},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":7802},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7788},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7799":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7801":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7802":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7803":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7804":{"style":{"__isSmartRef__":true,"id":7805},"chunkOwner":{"__isSmartRef__":true,"id":7797},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"7805":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"7806":{"morph":{"__isSmartRef__":true,"id":7797},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7807":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7808":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7809":{"_Position":{"__isSmartRef__":true,"id":7810},"renderContextTable":{"__isSmartRef__":true,"id":7811},"_Extent":{"__isSmartRef__":true,"id":7812},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7813},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7814},"_Fill":{"__isSmartRef__":true,"id":7815},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7810":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7811":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7812":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7813":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7814":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7815":{"stops":[{"__isSmartRef__":true,"id":7816},{"__isSmartRef__":true,"id":7818},{"__isSmartRef__":true,"id":7820},{"__isSmartRef__":true,"id":7822}],"vector":{"__isSmartRef__":true,"id":7824},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7816":{"offset":0,"color":{"__isSmartRef__":true,"id":7817}},"7817":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7818":{"offset":0.4,"color":{"__isSmartRef__":true,"id":7819}},"7819":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7820":{"offset":0.6,"color":{"__isSmartRef__":true,"id":7821}},"7821":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7822":{"offset":1,"color":{"__isSmartRef__":true,"id":7823}},"7823":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7824":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7825":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7826":{"morph":{"__isSmartRef__":true,"id":7796},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7827":{"x":290.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7828":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7829":{"stops":[{"__isSmartRef__":true,"id":7830},{"__isSmartRef__":true,"id":7832},{"__isSmartRef__":true,"id":7834},{"__isSmartRef__":true,"id":7836}],"vector":{"__isSmartRef__":true,"id":7824},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7830":{"offset":0,"color":{"__isSmartRef__":true,"id":7831}},"7831":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7832":{"offset":0.4,"color":{"__isSmartRef__":true,"id":7833}},"7833":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7834":{"offset":0.6,"color":{"__isSmartRef__":true,"id":7835}},"7835":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7836":{"offset":1,"color":{"__isSmartRef__":true,"id":7837}},"7837":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7838":{"moveHorizontal":true},"7839":{"sourceObj":{"__isSmartRef__":true,"id":7796},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7840},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7840":{"source":{"__isSmartRef__":true,"id":7796},"target":{"__isSmartRef__":true,"id":3496}},"7841":{"sourceObj":{"__isSmartRef__":true,"id":7796},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7842},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7842":{"source":{"__isSmartRef__":true,"id":7796},"target":{"__isSmartRef__":true,"id":3496}},"7843":{"submorphs":[{"__isSmartRef__":true,"id":7844}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7856},"id":"7C846E37-B40B-485F-9923-6360C0C54825","renderContextTable":{"__isSmartRef__":true,"id":7861},"eventHandler":{"__isSmartRef__":true,"id":7862},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":7863},"priorExtent":{"__isSmartRef__":true,"id":7864},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":7815},"lighterFill":{"__isSmartRef__":true,"id":7865},"label":{"__isSmartRef__":true,"id":7844},"owner":{"__isSmartRef__":true,"id":7781},"attributeConnections":[{"__isSmartRef__":true,"id":7874},{"__isSmartRef__":true,"id":7876}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[378,"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC","A8A6A338-D618-4672-AFA8-914FD7C2A19E","85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C","535E0653-E19D-4F22-952A-34C8EDED44E9","977A1381-981C-4500-B887-78143DE21406","62DA4EDF-FBE4-4D01-834D-C3E763CF55DE"],"__LivelyClassName__":"lively.morphic.WindowControl"},"7844":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7845},"id":"8F01D6B3-2C99-429B-9A39-25FAEBB2B209","renderContextTable":{"__isSmartRef__":true,"id":7850},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":7851}],"eventHandler":{"__isSmartRef__":true,"id":7853},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":7854},"priorExtent":{"__isSmartRef__":true,"id":7855},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":7843},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[379,"9C08820E-6B60-44C2-9150-BD546391671F","36F5662C-375A-4549-B94E-F150DCBCE3F8","030ACD5E-7567-45E7-928D-24821846DBD3","B1DB7B8C-99F5-44D9-8312-ADD58545154E","9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0","353D5A24-E404-457D-93C4-BC195B094724"],"__LivelyClassName__":"lively.morphic.Text"},"7845":{"_Position":{"__isSmartRef__":true,"id":7846},"renderContextTable":{"__isSmartRef__":true,"id":7847},"_Extent":{"__isSmartRef__":true,"id":7848},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":7849},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7788},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7846":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7847":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7848":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7849":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7850":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7851":{"style":{"__isSmartRef__":true,"id":7852},"chunkOwner":{"__isSmartRef__":true,"id":7844},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"7852":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"7853":{"morph":{"__isSmartRef__":true,"id":7844},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7854":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7855":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7856":{"_Position":{"__isSmartRef__":true,"id":7857},"renderContextTable":{"__isSmartRef__":true,"id":7858},"_Extent":{"__isSmartRef__":true,"id":7859},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7860},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7814},"_Fill":{"__isSmartRef__":true,"id":7815},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7857":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7858":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7859":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7860":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7861":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7862":{"morph":{"__isSmartRef__":true,"id":7843},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7863":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7864":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7865":{"stops":[{"__isSmartRef__":true,"id":7866},{"__isSmartRef__":true,"id":7868},{"__isSmartRef__":true,"id":7870},{"__isSmartRef__":true,"id":7872}],"vector":{"__isSmartRef__":true,"id":7824},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7866":{"offset":0,"color":{"__isSmartRef__":true,"id":7867}},"7867":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7868":{"offset":0.4,"color":{"__isSmartRef__":true,"id":7869}},"7869":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7870":{"offset":0.6,"color":{"__isSmartRef__":true,"id":7871}},"7871":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7872":{"offset":1,"color":{"__isSmartRef__":true,"id":7873}},"7873":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7874":{"sourceObj":{"__isSmartRef__":true,"id":7843},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7875},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7875":{"source":{"__isSmartRef__":true,"id":7843},"target":{"__isSmartRef__":true,"id":3496}},"7876":{"sourceObj":{"__isSmartRef__":true,"id":7843},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7877},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7877":{"source":{"__isSmartRef__":true,"id":7843},"target":{"__isSmartRef__":true,"id":3496}},"7878":{"submorphs":[{"__isSmartRef__":true,"id":7879}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7891},"id":"E6834F96-0538-4AB5-8DA3-82146FD510A2","renderContextTable":{"__isSmartRef__":true,"id":7896},"eventHandler":{"__isSmartRef__":true,"id":7897},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":7898},"priorExtent":{"__isSmartRef__":true,"id":7899},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":7815},"lighterFill":{"__isSmartRef__":true,"id":7900},"label":{"__isSmartRef__":true,"id":7879},"owner":{"__isSmartRef__":true,"id":7781},"layout":{"__isSmartRef__":true,"id":7909},"attributeConnections":[{"__isSmartRef__":true,"id":7910},{"__isSmartRef__":true,"id":7912}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[380,"B603C6F6-E6E9-4618-BF46-1521ADDE21FE","7D67707D-A36A-46C7-AF4E-DBA063259CD8","0CE8DB38-9500-4B3D-BA30-191E72ABDE7C","9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC","27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744","B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C"],"__LivelyClassName__":"lively.morphic.WindowControl"},"7879":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7880},"id":"22C29B5D-C9E5-4A61-8A5B-B8F502E763EC","renderContextTable":{"__isSmartRef__":true,"id":7885},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":7886}],"eventHandler":{"__isSmartRef__":true,"id":7888},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":7889},"priorExtent":{"__isSmartRef__":true,"id":7890},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":7878},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[381,"B48F0AA9-A9AE-4316-865F-D969FFFD4C87","3CE2E949-41E5-4680-ADB0-8AF865F87CA7","C865C749-7005-416E-B5A2-0FB224AB308E","CAED6589-594E-438B-ADB7-264F9B9D92B0","A391E593-03B1-4FDA-B6B3-978336437357","40913CEC-D4ED-4CA1-97B2-858D96CDC1F3"],"__LivelyClassName__":"lively.morphic.Text"},"7880":{"_Position":{"__isSmartRef__":true,"id":7881},"renderContextTable":{"__isSmartRef__":true,"id":7882},"_Extent":{"__isSmartRef__":true,"id":7883},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":7884},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7788},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7881":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7882":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7883":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7884":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"7886":{"style":{"__isSmartRef__":true,"id":7887},"chunkOwner":{"__isSmartRef__":true,"id":7879},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"7887":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"7888":{"morph":{"__isSmartRef__":true,"id":7879},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7889":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7890":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7891":{"_Position":{"__isSmartRef__":true,"id":7892},"renderContextTable":{"__isSmartRef__":true,"id":7893},"_Extent":{"__isSmartRef__":true,"id":7894},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7895},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7814},"_Fill":{"__isSmartRef__":true,"id":7815},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7892":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7893":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7894":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7895":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7896":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7897":{"morph":{"__isSmartRef__":true,"id":7878},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7898":{"x":271.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7899":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7900":{"stops":[{"__isSmartRef__":true,"id":7901},{"__isSmartRef__":true,"id":7903},{"__isSmartRef__":true,"id":7905},{"__isSmartRef__":true,"id":7907}],"vector":{"__isSmartRef__":true,"id":7824},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7901":{"offset":0,"color":{"__isSmartRef__":true,"id":7902}},"7902":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7903":{"offset":0.4,"color":{"__isSmartRef__":true,"id":7904}},"7904":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7905":{"offset":0.6,"color":{"__isSmartRef__":true,"id":7906}},"7906":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7907":{"offset":1,"color":{"__isSmartRef__":true,"id":7908}},"7908":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7909":{"moveHorizontal":true},"7910":{"sourceObj":{"__isSmartRef__":true,"id":7878},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7911},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7911":{"source":{"__isSmartRef__":true,"id":7878},"target":{"__isSmartRef__":true,"id":3496}},"7912":{"sourceObj":{"__isSmartRef__":true,"id":7878},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3496},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7913},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7913":{"source":{"__isSmartRef__":true,"id":7878},"target":{"__isSmartRef__":true,"id":3496}},"7914":{"_Position":{"__isSmartRef__":true,"id":7915},"renderContextTable":{"__isSmartRef__":true,"id":7916},"_Extent":{"__isSmartRef__":true,"id":7917},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7918},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":7919},"_Fill":{"__isSmartRef__":true,"id":7920},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7915":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7916":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7917":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7918":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7919":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7920":{"stops":[{"__isSmartRef__":true,"id":7921},{"__isSmartRef__":true,"id":7923}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7921":{"offset":0,"color":{"__isSmartRef__":true,"id":7922}},"7922":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7923":{"offset":1,"color":{"__isSmartRef__":true,"id":7924}},"7924":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"7925":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7926":{"morph":{"__isSmartRef__":true,"id":7781},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7927":{"resizeWidth":true,"adjustForNewBounds":true},"7928":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7929":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7930":{"renderContextTable":{"__isSmartRef__":true,"id":7931},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7932},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":7933},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7931":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7932":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"7933":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7934":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7935":{"morph":{"__isSmartRef__":true,"id":3496},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7936":{"adjustForNewBounds":true},"7937":{"x":614.3877838765295,"y":138.07769545390755,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"7938":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7939":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7940":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.","migrationLevel":4,"partName":"Explorer","changes":[{"__isSmartRef__":true,"id":7941},{"__isSmartRef__":true,"id":7943},{"__isSmartRef__":true,"id":7945},{"__isSmartRef__":true,"id":7947},{"__isSmartRef__":true,"id":7949},{"__isSmartRef__":true,"id":7951},{"__isSmartRef__":true,"id":7953},{"__isSmartRef__":true,"id":7955},{"__isSmartRef__":true,"id":7957},{"__isSmartRef__":true,"id":7959},{"__isSmartRef__":true,"id":7961},{"__isSmartRef__":true,"id":7963},{"__isSmartRef__":true,"id":7965},{"__isSmartRef__":true,"id":7967},{"__isSmartRef__":true,"id":7969},{"__isSmartRef__":true,"id":7971},{"__isSmartRef__":true,"id":7973},{"__isSmartRef__":true,"id":7975},{"__isSmartRef__":true,"id":7977},{"__isSmartRef__":true,"id":7979},{"__isSmartRef__":true,"id":7981},{"__isSmartRef__":true,"id":7983}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"7941":{"date":{"__isSmartRef__":true,"id":7942},"author":"lauritz","message":"","id":"41FC1B0F-23FC-4454-A424-F141A1C09663"},"7942":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:46:05 GMT+0100 (W. Europe Standard Time)"},"7943":{"date":{"__isSmartRef__":true,"id":7944},"author":"lauritz","message":"added >>expandAllNodes() which can expand complete trees, but not graphs.","id":"60178F3F-BA87-45A8-BD26-CF776AC017A7"},"7944":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:33:39 GMT+0100 (W. Europe Standard Time)"},"7945":{"date":{"__isSmartRef__":true,"id":7946},"author":"lauritz","message":"decreased width a bit","id":"837B2170-C0B8-4FA1-99D3-D6A1EB465519"},"7946":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:36:19 GMT+0100 (W. Europe Standard Time)"},"7947":{"date":{"__isSmartRef__":true,"id":7948},"author":"lauritz","message":"made expanding loop asynchronous","id":"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19"},"7948":{"isSerializedDate":true,"string":"Wed Nov 30 2011 23:23:19 GMT+0100 (W. Europe Standard Time)"},"7949":{"date":{"__isSmartRef__":true,"id":7950},"author":"lauritz","message":"corrected toggling","id":"BFC57057-2596-42D0-89A1-811C34FCF5E1"},"7950":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:25 GMT+0100 (W. Europe Standard Time)"},"7951":{"date":{"__isSmartRef__":true,"id":7952},"author":"lauritz","message":"set a minimal extent","id":"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30"},"7952":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:39:16 GMT+0100 (W. Europe Standard Time)"},"7953":{"date":{"__isSmartRef__":true,"id":7954},"author":"lauritz","message":"convenience preset by default: tree is expanded, workspace says \"this\"","id":"D364A417-6014-4266-8DF3-CEA313F15793"},"7954":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:18:29 GMT+0100 (W. Europe Standard Time)"},"7955":{"date":{"__isSmartRef__":true,"id":7956},"author":"lauritz","message":"Disabled grabbing and dragging on other morphs as well."},"7956":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:23:10 GMT+0200 (W. Europe Daylight Time)"},"7957":{"date":{"__isSmartRef__":true,"id":7958},"author":"lauritz","message":"Disabled dragging and grabbing on tree nodes. Those should only be clickable."},"7958":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:25:14 GMT+0200 (W. Europe Daylight Time)"},"7959":{"date":{"__isSmartRef__":true,"id":7960},"author":"lauritz","message":"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor."},"7960":{"isSerializedDate":true,"string":"Tue Oct 25 2011 22:37:11 GMT+0200 (W. Europe Daylight Time)"},"7961":{"date":{"__isSmartRef__":true,"id":7962},"author":"jenslincke","message":"reset scales","id":"5E64592A-C360-44DD-BDAE-AD956FBA7675"},"7962":{"isSerializedDate":true,"string":"Fri Oct 28 2011 16:11:21 GMT+0200 (W. Europe Daylight Time)"},"7963":{"date":{"__isSmartRef__":true,"id":7964},"author":"jenslincke","message":"bring resize corner to front","id":"765AA8A1-AA38-433A-B800-FFF743B3B9EF"},"7964":{"isSerializedDate":true,"string":"Thu Nov 03 2011 16:10:26 GMT+0100 (W. Europe Standard Time)"},"7965":{"date":{"__isSmartRef__":true,"id":7966},"author":"lauritz","message":"layout changes","id":"F09F5196-5203-405A-8EC3-1648A100FFF5"},"7966":{"isSerializedDate":true,"string":"Fri Nov 18 2011 23:54:38 GMT+0100 (W. Europe Standard Time)"},"7967":{"date":{"__isSmartRef__":true,"id":7968},"author":"lauritz","message":"corrected the order of array elements","id":"B41E19A0-DDED-40DC-BD23-6AB94F76D76D"},"7968":{"isSerializedDate":true,"string":"Tue Nov 22 2011 23:44:29 GMT+0100 (W. Europe Standard Time)"},"7969":{"date":{"__isSmartRef__":true,"id":7970},"author":"fbo","message":"fix Date bug","id":"64EDCB63-EB39-477E-A73D-E066101A8B21"},"7970":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:07:10 GMT+0100 (W. Europe Standard Time)"},"7971":{"date":{"__isSmartRef__":true,"id":7972},"author":"lauritz","message":"significantly reduced a performance problem regarding \"long\" string properties, doesnt freeze anymore.","id":"EA85DB22-3FD3-4D13-B769-763C4483C445"},"7972":{"isSerializedDate":true,"string":"Tue Dec 06 2011 00:55:19 GMT+0100 (W. Europe Standard Time)"},"7973":{"date":{"__isSmartRef__":true,"id":7974},"author":"lauritz","message":"clicking a node no longer resets the workspace content","id":"C8AE0678-08F5-4FFB-9662-77D7120DA285"},"7974":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:22:10 GMT+0100 (W. Europe Standard Time)"},"7975":{"date":{"__isSmartRef__":true,"id":7976},"author":"lauritz","message":"renamed >>#expandAllNodes to >>#toggleAll","id":"D9931ABA-396B-4C81-9C7E-7C2712405803"},"7976":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:41:44 GMT+0100 (W. Europe Standard Time)"},"7977":{"date":{"__isSmartRef__":true,"id":7978},"author":"lauritz","message":"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...","id":"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D"},"7978":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:54 GMT+0100 (W. Europe Standard Time)"},"7979":{"date":{"__isSmartRef__":true,"id":7980},"author":"lauritz","message":"cleaned up how all typeof stuff","id":"98CD54B3-3527-4C4C-8577-A0B7476D8718"},"7980":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:31:53 GMT+0100 (W. Europe Standard Time)"},"7981":{"date":{"__isSmartRef__":true,"id":7982},"author":"lauritz","message":"","id":"183BD443-7A32-4E3B-8F6B-96473B0C4CB7"},"7982":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:42 GMT+0100 (W. Europe Standard Time)"},"7983":{"date":{"__isSmartRef__":true,"id":7984},"author":"jenslincke","message":"style tweak","id":"C366B53C-40DC-445D-B882-F5F147CD349F"},"7984":{"isSerializedDate":true,"string":"Mon Jan 30 2012 14:04:58 GMT+0100 (W. Europe Standard Time)"},"7985":{"x":706,"y":245,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7986":{"x":178,"y":269,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"7987":{"explore":{"__isSmartRef__":true,"id":7988},"reset":{"__isSmartRef__":true,"id":7992},"inspect":{"__isSmartRef__":true,"id":7996},"toggleAll":{"__isSmartRef__":true,"id":8000}},"7988":{"varMapping":{"__isSmartRef__":true,"id":7989},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":7990},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7989":{"this":{"__isSmartRef__":true,"id":3496}},"7990":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7991}},"7991":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (W. Europe Daylight Time)"},"7992":{"varMapping":{"__isSmartRef__":true,"id":7993},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":7994},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7993":{"this":{"__isSmartRef__":true,"id":3496}},"7994":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7995}},"7995":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (W. Europe Daylight Time)"},"7996":{"varMapping":{"__isSmartRef__":true,"id":7997},"source":"function inspect(object) {\n // alias for explore\n this.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":7998},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"7997":{"this":{"__isSmartRef__":true,"id":3496}},"7998":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7999}},"7999":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:04:54 GMT+0100 (W. Europe Standard Time)"},"8000":{"varMapping":{"__isSmartRef__":true,"id":8001},"source":"function toggleAll() {\n this.explorer.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":8002},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"8001":{"this":{"__isSmartRef__":true,"id":3496}},"8002":{"timestamp":{"__isSmartRef__":true,"id":8003},"user":"lauritz","tags":[]},"8003":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:45 GMT+0100 (W. Europe Standard Time)"},"8004":{"submorphs":[{"__isSmartRef__":true,"id":8005},{"__isSmartRef__":true,"id":11125},{"__isSmartRef__":true,"id":11162}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11311},"id":"84C3DE46-A782-4B41-A9A5-62EC963C8B9A","renderContextTable":{"__isSmartRef__":true,"id":11315},"eventHandler":{"__isSmartRef__":true,"id":11316},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":11317},"LK2":true,"_Position":{"__isSmartRef__":true,"id":11318},"priorExtent":{"__isSmartRef__":true,"id":11319},"targetMorph":{"__isSmartRef__":true,"id":8005},"titleBar":{"__isSmartRef__":true,"id":11162},"contentOffset":{"__isSmartRef__":true,"id":11320},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":7940},"name":"Explorer1","prevDragPos":{"__isSmartRef__":true,"id":11321},"isBeingDragged":false,"highlighted":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","explorer":{"__isSmartRef__":true,"id":8005},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"minExtent":{"__isSmartRef__":true,"id":11322},"derivationIds":[369,"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17","8A4661CC-271E-4CA9-9B42-C428E5DCCB01","B002D7D6-4167-4D6A-8981-E569CE5EE4CC","21A298C5-87D3-4C5F-8FB6-34DB19723B44","A077835E-1096-40C4-92FB-6830D29FC989","32525E7F-A548-4001-86AE-BBDE7D2BAD17"],"_Rotation":0,"_Scale":1.0141055623885957,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11323},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"8005":{"submorphs":[{"__isSmartRef__":true,"id":8006},{"__isSmartRef__":true,"id":11068}],"scripts":[],"id":"83EEBA62-1672-4C31-897C-EDCDA07F43FC","shape":{"__isSmartRef__":true,"id":11091},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":11098},"showsHalos":false,"name":"ExplorerPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":11099},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":11102},"eventHandler":{"__isSmartRef__":true,"id":11103},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":8004},"priorExtent":{"__isSmartRef__":true,"id":11104},"distanceToDragEvent":{"__isSmartRef__":true,"id":11105},"layout":{"__isSmartRef__":true,"id":11106},"workspace":{"__isSmartRef__":true,"id":11068},"treeView":{"__isSmartRef__":true,"id":8006},"focusedNode":{"__isSmartRef__":true,"id":10431},"isInLayoutCycle":false,"prevScroll":[0,0],"derivationIds":[370,"19EB328E-FFB1-41CD-B181-A60FCF27908C","D1C1A399-6222-405C-A922-2ADD2DFBFB56","F7B66347-DB63-470F-8ABC-5C342E31BC5E","7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30","D14B60A2-D449-4E15-8A1B-EADF6D8A988B","9AA7774E-2D58-467B-986D-947454B915CA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11108},"__LivelyClassName__":"lively.morphic.Box"},"8006":{"submorphs":[{"__isSmartRef__":true,"id":8007}],"scripts":[{"__isSmartRef__":true,"id":10986}],"id":"0840F3D6-2773-4B0C-B57C-AAFCA99A99ED","shape":{"__isSmartRef__":true,"id":10987},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":10993},"showsHalos":false,"name":"TreeView","partsBinMetaInfo":{"__isSmartRef__":true,"id":10994},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":10995},"eventHandler":{"__isSmartRef__":true,"id":10996},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":10997},"layout":{"__isSmartRef__":true,"id":10998},"isInLayoutCycle":false,"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":8005},"distanceToDragEvent":{"__isSmartRef__":true,"id":11000},"colors":{"__isSmartRef__":true,"id":11001},"fonts":{"__isSmartRef__":true,"id":11003},"sizes":{"__isSmartRef__":true,"id":11004},"rootNode":{"__isSmartRef__":true,"id":8009},"prevScroll":[0,0],"derivationIds":[371,"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C","4B46569F-B458-41CF-846F-31DB325C55FE","BC2E4190-4592-4E2C-8644-51CA0FC16963","DBB73829-F82D-45F0-8499-2332C8C0487E","78E2B139-F388-4299-A7CC-0964C21003A4","F124DD76-61DA-471A-A1DA-D01C9F74D5C3"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11009},"__LivelyClassName__":"lively.morphic.Box"},"8007":{"submorphs":[{"__isSmartRef__":true,"id":8008}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10968},"derivationIds":[null],"id":"23BB9AD1-9219-45F2-A2D0-38DCDE69D593","renderContextTable":{"__isSmartRef__":true,"id":10973},"eventHandler":{"__isSmartRef__":true,"id":10974},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10975},"_ClipMode":"scroll","layout":{"__isSmartRef__":true,"id":10976},"grabbingEnabled":false,"draggingEnabled":false,"name":"TreeViewScrollPane","owner":{"__isSmartRef__":true,"id":8006},"priorExtent":{"__isSmartRef__":true,"id":10977},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10978},"__LivelyClassName__":"lively.morphic.Clip","__SourceModuleName__":"Global.lively.morphic.Core"},"8008":{"submorphs":[{"__isSmartRef__":true,"id":8009},{"__isSmartRef__":true,"id":8115}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10950},"derivationIds":[null],"id":"16B96A3D-0835-497D-AC31-0B583F3A1C81","renderContextTable":{"__isSmartRef__":true,"id":10955},"eventHandler":{"__isSmartRef__":true,"id":10956},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10957},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10959},"owner":{"__isSmartRef__":true,"id":8007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10960},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8009":{"submorphs":[{"__isSmartRef__":true,"id":8010},{"__isSmartRef__":true,"id":8031}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8049},"derivationIds":[null],"id":"13F4DC0B-320B-4048-A343-446E6AAA6819","renderContextTable":{"__isSmartRef__":true,"id":8054},"eventHandler":{"__isSmartRef__":true,"id":8055},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8056},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":91},"propertyList":["submorphs","scripts","id","shape","droppingEnabled","halosEnabled","registeredForMouseEvents","eventHandler","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","derivationIds","_renderContext","attributeConnections","doNotSerialize","doNotCopyProperties","halos","priorExtent","isBeingDragged","magnets","extent","rotation","$$_Position","_Position","$$_Scale","_Scale","$$_Rotation","_Rotation","$$owner","owner"],"level":0,"treeView":{"__isSmartRef__":true,"id":8006},"label":"Properties","children":[{"__isSmartRef__":true,"id":8057},{"__isSmartRef__":true,"id":8117},{"__isSmartRef__":true,"id":8206},{"__isSmartRef__":true,"id":8295},{"__isSmartRef__":true,"id":8384},{"__isSmartRef__":true,"id":8473},{"__isSmartRef__":true,"id":8562},{"__isSmartRef__":true,"id":8651},{"__isSmartRef__":true,"id":8740},{"__isSmartRef__":true,"id":8829},{"__isSmartRef__":true,"id":8918},{"__isSmartRef__":true,"id":9007},{"__isSmartRef__":true,"id":9096},{"__isSmartRef__":true,"id":9185},{"__isSmartRef__":true,"id":9274},{"__isSmartRef__":true,"id":9363},{"__isSmartRef__":true,"id":9452},{"__isSmartRef__":true,"id":9541},{"__isSmartRef__":true,"id":9630},{"__isSmartRef__":true,"id":9719},{"__isSmartRef__":true,"id":9808},{"__isSmartRef__":true,"id":9897},{"__isSmartRef__":true,"id":9986},{"__isSmartRef__":true,"id":10075},{"__isSmartRef__":true,"id":10164},{"__isSmartRef__":true,"id":10253},{"__isSmartRef__":true,"id":10342},{"__isSmartRef__":true,"id":10431},{"__isSmartRef__":true,"id":10520},{"__isSmartRef__":true,"id":10609},{"__isSmartRef__":true,"id":10698},{"__isSmartRef__":true,"id":10787}],"parent":null,"expander":{"__isSmartRef__":true,"id":8010},"text":{"__isSmartRef__":true,"id":8031},"owner":{"__isSmartRef__":true,"id":8008},"_Position":{"__isSmartRef__":true,"id":10928},"priorExtent":{"__isSmartRef__":true,"id":10929},"_Rotation":0,"_Scale":1.0141055623885957,"childrenWrapper":{"__isSmartRef__":true,"id":8115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10930},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8010":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8011},"derivationIds":[null],"id":"397AAE75-AF0A-4309-A340-196D75BE12F9","renderContextTable":{"__isSmartRef__":true,"id":8017},"eventHandler":{"__isSmartRef__":true,"id":8018},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8019},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":8009},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8020},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8011":{"_Position":{"__isSmartRef__":true,"id":8012},"renderContextTable":{"__isSmartRef__":true,"id":8013},"_Extent":{"__isSmartRef__":true,"id":8014},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8015},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8012":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8013":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8014":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8015":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8016":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8017":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8018":{"morph":{"__isSmartRef__":true,"id":8010},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8019":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8020":{"toggle":{"__isSmartRef__":true,"id":8021},"toggleExpansion":{"__isSmartRef__":true,"id":8028}},"8021":{"varMapping":{"__isSmartRef__":true,"id":8022},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8022":{"this":{"__isSmartRef__":true,"id":8010},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8023}},"8023":{"$super":{"__isSmartRef__":true,"id":8024}},"8024":{"varMapping":{"__isSmartRef__":true,"id":8025},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8025":{"obj":{"__isSmartRef__":true,"id":8010},"name":"toggle"},"8026":{},"8027":{},"8028":{"varMapping":{"__isSmartRef__":true,"id":8029},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8029":{"this":{"__isSmartRef__":true,"id":8010}},"8030":{},"8031":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8032},"derivationIds":[null],"id":"9DA885A0-1123-4B52-BBB0-4C8FE599EBF7","renderContextTable":{"__isSmartRef__":true,"id":8036},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8037},{"__isSmartRef__":true,"id":8039}],"eventHandler":{"__isSmartRef__":true,"id":8042},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8043},"priorExtent":{"__isSmartRef__":true,"id":8044},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8009},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8045},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8032":{"_Position":{"__isSmartRef__":true,"id":8033},"renderContextTable":{"__isSmartRef__":true,"id":8034},"_Extent":{"__isSmartRef__":true,"id":8035},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8033":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8034":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8035":{"x":135.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8036":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8037":{"style":{"__isSmartRef__":true,"id":8038},"chunkOwner":{"__isSmartRef__":true,"id":8031},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8038":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8039":{"style":{"__isSmartRef__":true,"id":8040},"chunkOwner":{"__isSmartRef__":true,"id":8031},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8040":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8041":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8042":{"morph":{"__isSmartRef__":true,"id":8031},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8043":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8044":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8045":{"layoutText":{"__isSmartRef__":true,"id":8046}},"8046":{"varMapping":{"__isSmartRef__":true,"id":8047},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8047":{"this":{"__isSmartRef__":true,"id":8031}},"8048":{},"8049":{"_Position":{"__isSmartRef__":true,"id":8050},"renderContextTable":{"__isSmartRef__":true,"id":8051},"_Extent":{"__isSmartRef__":true,"id":8052},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8053},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8050":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8051":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8052":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8053":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8054":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8055":{"morph":{"__isSmartRef__":true,"id":8009},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8056":{"resizeWidth":true},"8057":{"submorphs":[{"__isSmartRef__":true,"id":8058},{"__isSmartRef__":true,"id":8079}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8096},"derivationIds":[null],"id":"617BFB76-3C4A-495B-82F9-857CFE15C807","renderContextTable":{"__isSmartRef__":true,"id":8101},"eventHandler":{"__isSmartRef__":true,"id":8102},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8103},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":114},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"$$_Position","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8058},"text":{"__isSmartRef__":true,"id":8079},"owner":{"__isSmartRef__":true,"id":8104},"_Position":{"__isSmartRef__":true,"id":10906},"priorExtent":{"__isSmartRef__":true,"id":10907},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10908},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8058":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8059},"derivationIds":[null],"id":"59C25D99-E294-4C21-BE5A-FE12A20F0AD7","renderContextTable":{"__isSmartRef__":true,"id":8065},"eventHandler":{"__isSmartRef__":true,"id":8066},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8067},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8068},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8059":{"_Position":{"__isSmartRef__":true,"id":8060},"renderContextTable":{"__isSmartRef__":true,"id":8061},"_Extent":{"__isSmartRef__":true,"id":8062},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8063},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8064},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8060":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8062":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8063":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8064":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8066":{"morph":{"__isSmartRef__":true,"id":8058},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8067":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8068":{"toggle":{"__isSmartRef__":true,"id":8069},"toggleExpansion":{"__isSmartRef__":true,"id":8076}},"8069":{"varMapping":{"__isSmartRef__":true,"id":8070},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8075},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8070":{"this":{"__isSmartRef__":true,"id":8058},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8071}},"8071":{"$super":{"__isSmartRef__":true,"id":8072}},"8072":{"varMapping":{"__isSmartRef__":true,"id":8073},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8073":{"obj":{"__isSmartRef__":true,"id":8058},"name":"toggle"},"8074":{},"8075":{},"8076":{"varMapping":{"__isSmartRef__":true,"id":8077},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8077":{"this":{"__isSmartRef__":true,"id":8058}},"8078":{},"8079":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8080},"derivationIds":[null],"id":"4130CD25-2E63-4E77-B1F4-EA1C1C4E6E0B","renderContextTable":{"__isSmartRef__":true,"id":8084},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8085},{"__isSmartRef__":true,"id":8087}],"eventHandler":{"__isSmartRef__":true,"id":8089},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8090},"priorExtent":{"__isSmartRef__":true,"id":8091},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8092},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8080":{"_Position":{"__isSmartRef__":true,"id":8081},"renderContextTable":{"__isSmartRef__":true,"id":8082},"_Extent":{"__isSmartRef__":true,"id":8083},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8081":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8082":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8083":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8084":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8085":{"style":{"__isSmartRef__":true,"id":8086},"chunkOwner":{"__isSmartRef__":true,"id":8079},"storedString":"$$_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8086":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8087":{"style":{"__isSmartRef__":true,"id":8088},"chunkOwner":{"__isSmartRef__":true,"id":8079},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8088":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8089":{"morph":{"__isSmartRef__":true,"id":8079},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8090":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8091":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8092":{"layoutText":{"__isSmartRef__":true,"id":8093}},"8093":{"varMapping":{"__isSmartRef__":true,"id":8094},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8094":{"this":{"__isSmartRef__":true,"id":8079}},"8095":{},"8096":{"_Position":{"__isSmartRef__":true,"id":8097},"renderContextTable":{"__isSmartRef__":true,"id":8098},"_Extent":{"__isSmartRef__":true,"id":8099},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8100},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8097":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8098":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8099":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8100":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8101":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8102":{"morph":{"__isSmartRef__":true,"id":8057},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8103":{"resizeWidth":true},"8104":{"submorphs":[{"__isSmartRef__":true,"id":8057}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8105},"derivationIds":[null],"id":"F40762B1-EEED-40FE-910B-F0BBB9E88BD1","renderContextTable":{"__isSmartRef__":true,"id":8110},"eventHandler":{"__isSmartRef__":true,"id":8111},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8112},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8114},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10898},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8105":{"_Position":{"__isSmartRef__":true,"id":8106},"renderContextTable":{"__isSmartRef__":true,"id":8107},"_Extent":{"__isSmartRef__":true,"id":8108},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8109},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8106":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8107":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8108":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8109":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8111":{"morph":{"__isSmartRef__":true,"id":8104},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8112":{"layouter":{"__isSmartRef__":true,"id":8113},"resizeWidth":true},"8113":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8104},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8114":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8115":{"submorphs":[{"__isSmartRef__":true,"id":8104},{"__isSmartRef__":true,"id":8116},{"__isSmartRef__":true,"id":8205},{"__isSmartRef__":true,"id":8294},{"__isSmartRef__":true,"id":8383},{"__isSmartRef__":true,"id":8472},{"__isSmartRef__":true,"id":8561},{"__isSmartRef__":true,"id":8650},{"__isSmartRef__":true,"id":8739},{"__isSmartRef__":true,"id":8828},{"__isSmartRef__":true,"id":8917},{"__isSmartRef__":true,"id":9006},{"__isSmartRef__":true,"id":9095},{"__isSmartRef__":true,"id":9184},{"__isSmartRef__":true,"id":9273},{"__isSmartRef__":true,"id":9362},{"__isSmartRef__":true,"id":9451},{"__isSmartRef__":true,"id":9540},{"__isSmartRef__":true,"id":9629},{"__isSmartRef__":true,"id":9718},{"__isSmartRef__":true,"id":9807},{"__isSmartRef__":true,"id":9896},{"__isSmartRef__":true,"id":9985},{"__isSmartRef__":true,"id":10074},{"__isSmartRef__":true,"id":10163},{"__isSmartRef__":true,"id":10252},{"__isSmartRef__":true,"id":10341},{"__isSmartRef__":true,"id":10430},{"__isSmartRef__":true,"id":10519},{"__isSmartRef__":true,"id":10608},{"__isSmartRef__":true,"id":10697},{"__isSmartRef__":true,"id":10786}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10875},"derivationIds":[null],"id":"A7AC33B4-E722-4827-85B6-20539EA3AAC7","renderContextTable":{"__isSmartRef__":true,"id":10880},"eventHandler":{"__isSmartRef__":true,"id":10881},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10882},"owner":{"__isSmartRef__":true,"id":8008},"_Position":{"__isSmartRef__":true,"id":10884},"priorExtent":{"__isSmartRef__":true,"id":10885},"isInLayoutCycle":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10886},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8116":{"submorphs":[{"__isSmartRef__":true,"id":8117}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8186},"derivationIds":[null],"id":"8A11B337-07AC-4CBC-8123-C5AC9DF3E654","renderContextTable":{"__isSmartRef__":true,"id":8191},"eventHandler":{"__isSmartRef__":true,"id":8192},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8193},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8195},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8196},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8197},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8117":{"submorphs":[{"__isSmartRef__":true,"id":8118},{"__isSmartRef__":true,"id":8139}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8156},"derivationIds":[null],"id":"9823C1AC-35F8-4A58-B753-DF674A4D7CB5","renderContextTable":{"__isSmartRef__":true,"id":8161},"eventHandler":{"__isSmartRef__":true,"id":8162},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8163},"grabbingEnabled":false,"draggingEnabled":false,"data":-0.7632065069431179,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"$$_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8118},"text":{"__isSmartRef__":true,"id":8139},"owner":{"__isSmartRef__":true,"id":8116},"_Position":{"__isSmartRef__":true,"id":8164},"priorExtent":{"__isSmartRef__":true,"id":8165},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8166},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8118":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8119},"derivationIds":[null],"id":"3E85A6BE-5842-42F7-BFBB-87DA6159A5DC","renderContextTable":{"__isSmartRef__":true,"id":8125},"eventHandler":{"__isSmartRef__":true,"id":8126},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8127},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8128},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8119":{"_Position":{"__isSmartRef__":true,"id":8120},"renderContextTable":{"__isSmartRef__":true,"id":8121},"_Extent":{"__isSmartRef__":true,"id":8122},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8123},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8124},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8120":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8122":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8123":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8124":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8125":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8126":{"morph":{"__isSmartRef__":true,"id":8118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8127":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8128":{"toggle":{"__isSmartRef__":true,"id":8129},"toggleExpansion":{"__isSmartRef__":true,"id":8136}},"8129":{"varMapping":{"__isSmartRef__":true,"id":8130},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8130":{"this":{"__isSmartRef__":true,"id":8118},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8131}},"8131":{"$super":{"__isSmartRef__":true,"id":8132}},"8132":{"varMapping":{"__isSmartRef__":true,"id":8133},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8133":{"obj":{"__isSmartRef__":true,"id":8118},"name":"toggle"},"8134":{},"8135":{},"8136":{"varMapping":{"__isSmartRef__":true,"id":8137},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8137":{"this":{"__isSmartRef__":true,"id":8118}},"8138":{},"8139":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8140},"derivationIds":[null],"id":"61E84CDE-AA5C-46C1-AA1F-5B6CB58F4B1E","renderContextTable":{"__isSmartRef__":true,"id":8144},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8145},{"__isSmartRef__":true,"id":8147}],"eventHandler":{"__isSmartRef__":true,"id":8149},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8150},"priorExtent":{"__isSmartRef__":true,"id":8151},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8152},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8140":{"_Position":{"__isSmartRef__":true,"id":8141},"renderContextTable":{"__isSmartRef__":true,"id":8142},"_Extent":{"__isSmartRef__":true,"id":8143},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8141":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8142":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8143":{"x":248,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8144":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8145":{"style":{"__isSmartRef__":true,"id":8146},"chunkOwner":{"__isSmartRef__":true,"id":8139},"storedString":"$$_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8146":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8147":{"style":{"__isSmartRef__":true,"id":8148},"chunkOwner":{"__isSmartRef__":true,"id":8139},"storedString":": -0.7632065069431179","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8148":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8149":{"morph":{"__isSmartRef__":true,"id":8139},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8150":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8151":{"x":240,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8152":{"layoutText":{"__isSmartRef__":true,"id":8153}},"8153":{"varMapping":{"__isSmartRef__":true,"id":8154},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8154":{"this":{"__isSmartRef__":true,"id":8139}},"8155":{},"8156":{"_Position":{"__isSmartRef__":true,"id":8157},"renderContextTable":{"__isSmartRef__":true,"id":8158},"_Extent":{"__isSmartRef__":true,"id":8159},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8160},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8157":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8158":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8159":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8160":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8161":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8162":{"morph":{"__isSmartRef__":true,"id":8117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8163":{"resizeWidth":true},"8164":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8165":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8166":{"updateExpanderColor":{"__isSmartRef__":true,"id":8167},"onMouseDown":{"__isSmartRef__":true,"id":8170},"isRoot":{"__isSmartRef__":true,"id":8177},"displayValue":{"__isSmartRef__":true,"id":8180},"update":{"__isSmartRef__":true,"id":8183}},"8167":{"varMapping":{"__isSmartRef__":true,"id":8168},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8169},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8168":{"this":{"__isSmartRef__":true,"id":8117}},"8169":{},"8170":{"varMapping":{"__isSmartRef__":true,"id":8171},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8171":{"this":{"__isSmartRef__":true,"id":8117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8172}},"8172":{"$super":{"__isSmartRef__":true,"id":8173}},"8173":{"varMapping":{"__isSmartRef__":true,"id":8174},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8175},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8174":{"obj":{"__isSmartRef__":true,"id":8117},"name":"onMouseDown"},"8175":{},"8176":{},"8177":{"varMapping":{"__isSmartRef__":true,"id":8178},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8178":{"this":{"__isSmartRef__":true,"id":8117}},"8179":{},"8180":{"varMapping":{"__isSmartRef__":true,"id":8181},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8181":{"this":{"__isSmartRef__":true,"id":8117}},"8182":{},"8183":{"varMapping":{"__isSmartRef__":true,"id":8184},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8184":{"this":{"__isSmartRef__":true,"id":8117}},"8185":{},"8186":{"_Position":{"__isSmartRef__":true,"id":8187},"renderContextTable":{"__isSmartRef__":true,"id":8188},"_Extent":{"__isSmartRef__":true,"id":8189},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8190},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8187":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8188":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8189":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8190":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8192":{"morph":{"__isSmartRef__":true,"id":8116},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8193":{"layouter":{"__isSmartRef__":true,"id":8194},"resizeWidth":true},"8194":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8116},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8195":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8196":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8197":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8198}},"8198":{"varMapping":{"__isSmartRef__":true,"id":8199},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8199":{"this":{"__isSmartRef__":true,"id":8116},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8200}},"8200":{"$super":{"__isSmartRef__":true,"id":8201}},"8201":{"varMapping":{"__isSmartRef__":true,"id":8202},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8203},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8202":{"obj":{"__isSmartRef__":true,"id":8116},"name":"getLayoutableSubmorphs"},"8203":{},"8204":{},"8205":{"submorphs":[{"__isSmartRef__":true,"id":8206}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8275},"derivationIds":[null],"id":"D2AEAF2E-35D2-4798-880A-6AA797C80DC8","renderContextTable":{"__isSmartRef__":true,"id":8280},"eventHandler":{"__isSmartRef__":true,"id":8281},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8282},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8284},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8285},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8286},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8206":{"submorphs":[{"__isSmartRef__":true,"id":8207},{"__isSmartRef__":true,"id":8228}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8245},"derivationIds":[null],"id":"B8EF7B11-7113-4F1E-B583-A3C085BE8346","renderContextTable":{"__isSmartRef__":true,"id":8250},"eventHandler":{"__isSmartRef__":true,"id":8251},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8252},"grabbingEnabled":false,"draggingEnabled":false,"data":1.002003004005006,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"$$_Scale","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8207},"text":{"__isSmartRef__":true,"id":8228},"owner":{"__isSmartRef__":true,"id":8205},"_Position":{"__isSmartRef__":true,"id":8253},"priorExtent":{"__isSmartRef__":true,"id":8254},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8255},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8207":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8208},"derivationIds":[null],"id":"B18D7E90-2CB4-401A-B0BA-E6C8D91EB959","renderContextTable":{"__isSmartRef__":true,"id":8214},"eventHandler":{"__isSmartRef__":true,"id":8215},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8216},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8217},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8208":{"_Position":{"__isSmartRef__":true,"id":8209},"renderContextTable":{"__isSmartRef__":true,"id":8210},"_Extent":{"__isSmartRef__":true,"id":8211},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8212},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8213},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8209":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8210":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8211":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8212":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8213":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8214":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8215":{"morph":{"__isSmartRef__":true,"id":8207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8216":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8217":{"toggle":{"__isSmartRef__":true,"id":8218},"toggleExpansion":{"__isSmartRef__":true,"id":8225}},"8218":{"varMapping":{"__isSmartRef__":true,"id":8219},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8219":{"this":{"__isSmartRef__":true,"id":8207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8220}},"8220":{"$super":{"__isSmartRef__":true,"id":8221}},"8221":{"varMapping":{"__isSmartRef__":true,"id":8222},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8222":{"obj":{"__isSmartRef__":true,"id":8207},"name":"toggle"},"8223":{},"8224":{},"8225":{"varMapping":{"__isSmartRef__":true,"id":8226},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8227},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8226":{"this":{"__isSmartRef__":true,"id":8207}},"8227":{},"8228":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8229},"derivationIds":[null],"id":"D1DD840F-C4C7-4851-AD77-BFE447D778A5","renderContextTable":{"__isSmartRef__":true,"id":8233},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8234},{"__isSmartRef__":true,"id":8236}],"eventHandler":{"__isSmartRef__":true,"id":8238},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8239},"priorExtent":{"__isSmartRef__":true,"id":8240},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8241},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8229":{"_Position":{"__isSmartRef__":true,"id":8230},"renderContextTable":{"__isSmartRef__":true,"id":8231},"_Extent":{"__isSmartRef__":true,"id":8232},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8230":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8231":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8232":{"x":210.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8233":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8234":{"style":{"__isSmartRef__":true,"id":8235},"chunkOwner":{"__isSmartRef__":true,"id":8228},"storedString":"$$_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8235":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8236":{"style":{"__isSmartRef__":true,"id":8237},"chunkOwner":{"__isSmartRef__":true,"id":8228},"storedString":": 1.002003004005006","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8237":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8238":{"morph":{"__isSmartRef__":true,"id":8228},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8239":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8240":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8241":{"layoutText":{"__isSmartRef__":true,"id":8242}},"8242":{"varMapping":{"__isSmartRef__":true,"id":8243},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8243":{"this":{"__isSmartRef__":true,"id":8228}},"8244":{},"8245":{"_Position":{"__isSmartRef__":true,"id":8246},"renderContextTable":{"__isSmartRef__":true,"id":8247},"_Extent":{"__isSmartRef__":true,"id":8248},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8249},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8246":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8247":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8248":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8249":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8250":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8251":{"morph":{"__isSmartRef__":true,"id":8206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8252":{"resizeWidth":true},"8253":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8254":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8255":{"updateExpanderColor":{"__isSmartRef__":true,"id":8256},"onMouseDown":{"__isSmartRef__":true,"id":8259},"isRoot":{"__isSmartRef__":true,"id":8266},"displayValue":{"__isSmartRef__":true,"id":8269},"update":{"__isSmartRef__":true,"id":8272}},"8256":{"varMapping":{"__isSmartRef__":true,"id":8257},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8257":{"this":{"__isSmartRef__":true,"id":8206}},"8258":{},"8259":{"varMapping":{"__isSmartRef__":true,"id":8260},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8260":{"this":{"__isSmartRef__":true,"id":8206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8261}},"8261":{"$super":{"__isSmartRef__":true,"id":8262}},"8262":{"varMapping":{"__isSmartRef__":true,"id":8263},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8263":{"obj":{"__isSmartRef__":true,"id":8206},"name":"onMouseDown"},"8264":{},"8265":{},"8266":{"varMapping":{"__isSmartRef__":true,"id":8267},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8267":{"this":{"__isSmartRef__":true,"id":8206}},"8268":{},"8269":{"varMapping":{"__isSmartRef__":true,"id":8270},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8270":{"this":{"__isSmartRef__":true,"id":8206}},"8271":{},"8272":{"varMapping":{"__isSmartRef__":true,"id":8273},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8273":{"this":{"__isSmartRef__":true,"id":8206}},"8274":{},"8275":{"_Position":{"__isSmartRef__":true,"id":8276},"renderContextTable":{"__isSmartRef__":true,"id":8277},"_Extent":{"__isSmartRef__":true,"id":8278},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8279},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8276":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8277":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8278":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8279":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8280":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8281":{"morph":{"__isSmartRef__":true,"id":8205},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8282":{"layouter":{"__isSmartRef__":true,"id":8283},"resizeWidth":true},"8283":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8205},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8284":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8285":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8286":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8287}},"8287":{"varMapping":{"__isSmartRef__":true,"id":8288},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8288":{"this":{"__isSmartRef__":true,"id":8205},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8289}},"8289":{"$super":{"__isSmartRef__":true,"id":8290}},"8290":{"varMapping":{"__isSmartRef__":true,"id":8291},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8291":{"obj":{"__isSmartRef__":true,"id":8205},"name":"getLayoutableSubmorphs"},"8292":{},"8293":{},"8294":{"submorphs":[{"__isSmartRef__":true,"id":8295}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8364},"derivationIds":[null],"id":"3C825A97-1EC8-43F0-8C09-D21B27058B8B","renderContextTable":{"__isSmartRef__":true,"id":8369},"eventHandler":{"__isSmartRef__":true,"id":8370},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8371},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8373},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8374},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8375},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8295":{"submorphs":[{"__isSmartRef__":true,"id":8296},{"__isSmartRef__":true,"id":8317}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8334},"derivationIds":[null],"id":"8270432B-6853-4C53-AF5A-D8270E103E98","renderContextTable":{"__isSmartRef__":true,"id":8339},"eventHandler":{"__isSmartRef__":true,"id":8340},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8341},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","id","shape","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","registeredForMouseEvents","_Position","hands","__SourceModuleName__","changeSet","statusMessages","showsHalos","lastAlert","__layered_draggingEnabled__","_Scale","renderContextTable","eventHandler","eventStartPos","worldMenuOpened","prevScroll","attributeConnections","doNotSerialize","doNotCopyProperties","$$savedWorldAsURL","savedWorldAsURL","_renderContext","draggingEnabled","clickedOnMorph","clickedOnMorphTime","draggedMorph","selectionMorph","currentMenu","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"$$owner","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8296},"text":{"__isSmartRef__":true,"id":8317},"owner":{"__isSmartRef__":true,"id":8294},"_Position":{"__isSmartRef__":true,"id":8342},"priorExtent":{"__isSmartRef__":true,"id":8343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8344},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8296":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8297},"derivationIds":[null],"id":"1A3F7DB2-E6E4-481B-AEFD-323B86765DB6","renderContextTable":{"__isSmartRef__":true,"id":8303},"eventHandler":{"__isSmartRef__":true,"id":8304},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8305},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8306},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8297":{"_Position":{"__isSmartRef__":true,"id":8298},"renderContextTable":{"__isSmartRef__":true,"id":8299},"_Extent":{"__isSmartRef__":true,"id":8300},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8301},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8302},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8298":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8299":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8300":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8301":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8302":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8303":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8304":{"morph":{"__isSmartRef__":true,"id":8296},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8305":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8306":{"toggle":{"__isSmartRef__":true,"id":8307},"toggleExpansion":{"__isSmartRef__":true,"id":8314}},"8307":{"varMapping":{"__isSmartRef__":true,"id":8308},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8308":{"this":{"__isSmartRef__":true,"id":8296},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8309}},"8309":{"$super":{"__isSmartRef__":true,"id":8310}},"8310":{"varMapping":{"__isSmartRef__":true,"id":8311},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8311":{"obj":{"__isSmartRef__":true,"id":8296},"name":"toggle"},"8312":{},"8313":{},"8314":{"varMapping":{"__isSmartRef__":true,"id":8315},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8315":{"this":{"__isSmartRef__":true,"id":8296}},"8316":{},"8317":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8318},"derivationIds":[null],"id":"E6A98A4E-E949-4F5D-8C28-EDC7BF8D09E5","renderContextTable":{"__isSmartRef__":true,"id":8322},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8323},{"__isSmartRef__":true,"id":8325}],"eventHandler":{"__isSmartRef__":true,"id":8327},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8328},"priorExtent":{"__isSmartRef__":true,"id":8329},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8330},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8318":{"_Position":{"__isSmartRef__":true,"id":8319},"renderContextTable":{"__isSmartRef__":true,"id":8320},"_Extent":{"__isSmartRef__":true,"id":8321},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8319":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8320":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8321":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8322":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8323":{"style":{"__isSmartRef__":true,"id":8324},"chunkOwner":{"__isSmartRef__":true,"id":8317},"storedString":"$$owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8324":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8325":{"style":{"__isSmartRef__":true,"id":8326},"chunkOwner":{"__isSmartRef__":true,"id":8317},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8326":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8327":{"morph":{"__isSmartRef__":true,"id":8317},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8328":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8329":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8330":{"layoutText":{"__isSmartRef__":true,"id":8331}},"8331":{"varMapping":{"__isSmartRef__":true,"id":8332},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8332":{"this":{"__isSmartRef__":true,"id":8317}},"8333":{},"8334":{"_Position":{"__isSmartRef__":true,"id":8335},"renderContextTable":{"__isSmartRef__":true,"id":8336},"_Extent":{"__isSmartRef__":true,"id":8337},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8338},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8335":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8336":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8337":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8338":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8339":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8340":{"morph":{"__isSmartRef__":true,"id":8295},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8341":{"resizeWidth":true},"8342":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8343":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8344":{"updateExpanderColor":{"__isSmartRef__":true,"id":8345},"onMouseDown":{"__isSmartRef__":true,"id":8348},"isRoot":{"__isSmartRef__":true,"id":8355},"displayValue":{"__isSmartRef__":true,"id":8358},"update":{"__isSmartRef__":true,"id":8361}},"8345":{"varMapping":{"__isSmartRef__":true,"id":8346},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8346":{"this":{"__isSmartRef__":true,"id":8295}},"8347":{},"8348":{"varMapping":{"__isSmartRef__":true,"id":8349},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8349":{"this":{"__isSmartRef__":true,"id":8295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8350}},"8350":{"$super":{"__isSmartRef__":true,"id":8351}},"8351":{"varMapping":{"__isSmartRef__":true,"id":8352},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8352":{"obj":{"__isSmartRef__":true,"id":8295},"name":"onMouseDown"},"8353":{},"8354":{},"8355":{"varMapping":{"__isSmartRef__":true,"id":8356},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8356":{"this":{"__isSmartRef__":true,"id":8295}},"8357":{},"8358":{"varMapping":{"__isSmartRef__":true,"id":8359},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8359":{"this":{"__isSmartRef__":true,"id":8295}},"8360":{},"8361":{"varMapping":{"__isSmartRef__":true,"id":8362},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8362":{"this":{"__isSmartRef__":true,"id":8295}},"8363":{},"8364":{"_Position":{"__isSmartRef__":true,"id":8365},"renderContextTable":{"__isSmartRef__":true,"id":8366},"_Extent":{"__isSmartRef__":true,"id":8367},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8368},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8365":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8366":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8367":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8368":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8369":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8370":{"morph":{"__isSmartRef__":true,"id":8294},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8371":{"layouter":{"__isSmartRef__":true,"id":8372},"resizeWidth":true},"8372":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8294},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8373":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8374":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8375":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8376}},"8376":{"varMapping":{"__isSmartRef__":true,"id":8377},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8377":{"this":{"__isSmartRef__":true,"id":8294},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8378}},"8378":{"$super":{"__isSmartRef__":true,"id":8379}},"8379":{"varMapping":{"__isSmartRef__":true,"id":8380},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8380":{"obj":{"__isSmartRef__":true,"id":8294},"name":"getLayoutableSubmorphs"},"8381":{},"8382":{},"8383":{"submorphs":[{"__isSmartRef__":true,"id":8384}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8453},"derivationIds":[null],"id":"904F2FB5-48DA-437E-BFAD-D6E3F8690987","renderContextTable":{"__isSmartRef__":true,"id":8458},"eventHandler":{"__isSmartRef__":true,"id":8459},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8460},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8462},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8464},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8384":{"submorphs":[{"__isSmartRef__":true,"id":8385},{"__isSmartRef__":true,"id":8406}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8423},"derivationIds":[null],"id":"9087AD92-14A0-44A1-8B19-F2705736DFC4","renderContextTable":{"__isSmartRef__":true,"id":8428},"eventHandler":{"__isSmartRef__":true,"id":8429},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8430},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":114},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8385},"text":{"__isSmartRef__":true,"id":8406},"owner":{"__isSmartRef__":true,"id":8383},"_Position":{"__isSmartRef__":true,"id":8431},"priorExtent":{"__isSmartRef__":true,"id":8432},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8433},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8385":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8386},"derivationIds":[null],"id":"90FBAC41-3E5E-4306-858F-DA9012E306E4","renderContextTable":{"__isSmartRef__":true,"id":8392},"eventHandler":{"__isSmartRef__":true,"id":8393},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8394},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8395},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8386":{"_Position":{"__isSmartRef__":true,"id":8387},"renderContextTable":{"__isSmartRef__":true,"id":8388},"_Extent":{"__isSmartRef__":true,"id":8389},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8390},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8391},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8387":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8388":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8389":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8390":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8391":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8392":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8393":{"morph":{"__isSmartRef__":true,"id":8385},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8394":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8395":{"toggle":{"__isSmartRef__":true,"id":8396},"toggleExpansion":{"__isSmartRef__":true,"id":8403}},"8396":{"varMapping":{"__isSmartRef__":true,"id":8397},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8397":{"this":{"__isSmartRef__":true,"id":8385},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8398}},"8398":{"$super":{"__isSmartRef__":true,"id":8399}},"8399":{"varMapping":{"__isSmartRef__":true,"id":8400},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8400":{"obj":{"__isSmartRef__":true,"id":8385},"name":"toggle"},"8401":{},"8402":{},"8403":{"varMapping":{"__isSmartRef__":true,"id":8404},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8404":{"this":{"__isSmartRef__":true,"id":8385}},"8405":{},"8406":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8407},"derivationIds":[null],"id":"BA69DC97-687F-49DF-ADF8-40563D86FF39","renderContextTable":{"__isSmartRef__":true,"id":8411},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8412},{"__isSmartRef__":true,"id":8414}],"eventHandler":{"__isSmartRef__":true,"id":8416},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8417},"priorExtent":{"__isSmartRef__":true,"id":8418},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8419},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8407":{"_Position":{"__isSmartRef__":true,"id":8408},"renderContextTable":{"__isSmartRef__":true,"id":8409},"_Extent":{"__isSmartRef__":true,"id":8410},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8408":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8409":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8410":{"x":128,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8412":{"style":{"__isSmartRef__":true,"id":8413},"chunkOwner":{"__isSmartRef__":true,"id":8406},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8413":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8414":{"style":{"__isSmartRef__":true,"id":8415},"chunkOwner":{"__isSmartRef__":true,"id":8406},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8415":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8416":{"morph":{"__isSmartRef__":true,"id":8406},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8417":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8418":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8419":{"layoutText":{"__isSmartRef__":true,"id":8420}},"8420":{"varMapping":{"__isSmartRef__":true,"id":8421},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8421":{"this":{"__isSmartRef__":true,"id":8406}},"8422":{},"8423":{"_Position":{"__isSmartRef__":true,"id":8424},"renderContextTable":{"__isSmartRef__":true,"id":8425},"_Extent":{"__isSmartRef__":true,"id":8426},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8427},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8424":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8425":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8426":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8427":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8428":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8429":{"morph":{"__isSmartRef__":true,"id":8384},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8430":{"resizeWidth":true},"8431":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8432":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8433":{"updateExpanderColor":{"__isSmartRef__":true,"id":8434},"onMouseDown":{"__isSmartRef__":true,"id":8437},"isRoot":{"__isSmartRef__":true,"id":8444},"displayValue":{"__isSmartRef__":true,"id":8447},"update":{"__isSmartRef__":true,"id":8450}},"8434":{"varMapping":{"__isSmartRef__":true,"id":8435},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8435":{"this":{"__isSmartRef__":true,"id":8384}},"8436":{},"8437":{"varMapping":{"__isSmartRef__":true,"id":8438},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8443},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8438":{"this":{"__isSmartRef__":true,"id":8384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8439}},"8439":{"$super":{"__isSmartRef__":true,"id":8440}},"8440":{"varMapping":{"__isSmartRef__":true,"id":8441},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8441":{"obj":{"__isSmartRef__":true,"id":8384},"name":"onMouseDown"},"8442":{},"8443":{},"8444":{"varMapping":{"__isSmartRef__":true,"id":8445},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8445":{"this":{"__isSmartRef__":true,"id":8384}},"8446":{},"8447":{"varMapping":{"__isSmartRef__":true,"id":8448},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8448":{"this":{"__isSmartRef__":true,"id":8384}},"8449":{},"8450":{"varMapping":{"__isSmartRef__":true,"id":8451},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8451":{"this":{"__isSmartRef__":true,"id":8384}},"8452":{},"8453":{"_Position":{"__isSmartRef__":true,"id":8454},"renderContextTable":{"__isSmartRef__":true,"id":8455},"_Extent":{"__isSmartRef__":true,"id":8456},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8457},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8454":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8455":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8456":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8457":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8458":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8459":{"morph":{"__isSmartRef__":true,"id":8383},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8460":{"layouter":{"__isSmartRef__":true,"id":8461},"resizeWidth":true},"8461":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8383},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8462":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8463":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8464":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8465}},"8465":{"varMapping":{"__isSmartRef__":true,"id":8466},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8466":{"this":{"__isSmartRef__":true,"id":8383},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8467}},"8467":{"$super":{"__isSmartRef__":true,"id":8468}},"8468":{"varMapping":{"__isSmartRef__":true,"id":8469},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8469":{"obj":{"__isSmartRef__":true,"id":8383},"name":"getLayoutableSubmorphs"},"8470":{},"8471":{},"8472":{"submorphs":[{"__isSmartRef__":true,"id":8473}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8542},"derivationIds":[null],"id":"C87184AB-74B7-432A-80DE-4447E3A59598","renderContextTable":{"__isSmartRef__":true,"id":8547},"eventHandler":{"__isSmartRef__":true,"id":8548},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8549},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8551},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8552},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8553},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8473":{"submorphs":[{"__isSmartRef__":true,"id":8474},{"__isSmartRef__":true,"id":8495}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8512},"derivationIds":[null],"id":"EF721945-24D2-4E1F-8339-CA49FE10F46C","renderContextTable":{"__isSmartRef__":true,"id":8517},"eventHandler":{"__isSmartRef__":true,"id":8518},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8519},"grabbingEnabled":false,"draggingEnabled":false,"data":-0.7632065069431179,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8474},"text":{"__isSmartRef__":true,"id":8495},"owner":{"__isSmartRef__":true,"id":8472},"_Position":{"__isSmartRef__":true,"id":8520},"priorExtent":{"__isSmartRef__":true,"id":8521},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8522},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8474":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8475},"derivationIds":[null],"id":"7C6A620B-A969-430D-BE93-55270EE68FF2","renderContextTable":{"__isSmartRef__":true,"id":8481},"eventHandler":{"__isSmartRef__":true,"id":8482},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8483},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8484},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8475":{"_Position":{"__isSmartRef__":true,"id":8476},"renderContextTable":{"__isSmartRef__":true,"id":8477},"_Extent":{"__isSmartRef__":true,"id":8478},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8479},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8480},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8476":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8478":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8479":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8480":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8481":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8482":{"morph":{"__isSmartRef__":true,"id":8474},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8483":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8484":{"toggle":{"__isSmartRef__":true,"id":8485},"toggleExpansion":{"__isSmartRef__":true,"id":8492}},"8485":{"varMapping":{"__isSmartRef__":true,"id":8486},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8486":{"this":{"__isSmartRef__":true,"id":8474},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8487}},"8487":{"$super":{"__isSmartRef__":true,"id":8488}},"8488":{"varMapping":{"__isSmartRef__":true,"id":8489},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8489":{"obj":{"__isSmartRef__":true,"id":8474},"name":"toggle"},"8490":{},"8491":{},"8492":{"varMapping":{"__isSmartRef__":true,"id":8493},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8493":{"this":{"__isSmartRef__":true,"id":8474}},"8494":{},"8495":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8496},"derivationIds":[null],"id":"B55E99AA-F576-4518-BD5A-4AAFBD53ED74","renderContextTable":{"__isSmartRef__":true,"id":8500},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8501},{"__isSmartRef__":true,"id":8503}],"eventHandler":{"__isSmartRef__":true,"id":8505},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8506},"priorExtent":{"__isSmartRef__":true,"id":8507},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8508},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8496":{"_Position":{"__isSmartRef__":true,"id":8497},"renderContextTable":{"__isSmartRef__":true,"id":8498},"_Extent":{"__isSmartRef__":true,"id":8499},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8497":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8498":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8499":{"x":233,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8500":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8501":{"style":{"__isSmartRef__":true,"id":8502},"chunkOwner":{"__isSmartRef__":true,"id":8495},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8502":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8503":{"style":{"__isSmartRef__":true,"id":8504},"chunkOwner":{"__isSmartRef__":true,"id":8495},"storedString":": -0.7632065069431179","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8504":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8505":{"morph":{"__isSmartRef__":true,"id":8495},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8506":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8507":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8508":{"layoutText":{"__isSmartRef__":true,"id":8509}},"8509":{"varMapping":{"__isSmartRef__":true,"id":8510},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8511},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8510":{"this":{"__isSmartRef__":true,"id":8495}},"8511":{},"8512":{"_Position":{"__isSmartRef__":true,"id":8513},"renderContextTable":{"__isSmartRef__":true,"id":8514},"_Extent":{"__isSmartRef__":true,"id":8515},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8516},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8513":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8514":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8515":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8516":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8517":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8518":{"morph":{"__isSmartRef__":true,"id":8473},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8519":{"resizeWidth":true},"8520":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8521":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8522":{"updateExpanderColor":{"__isSmartRef__":true,"id":8523},"onMouseDown":{"__isSmartRef__":true,"id":8526},"isRoot":{"__isSmartRef__":true,"id":8533},"displayValue":{"__isSmartRef__":true,"id":8536},"update":{"__isSmartRef__":true,"id":8539}},"8523":{"varMapping":{"__isSmartRef__":true,"id":8524},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8525},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8524":{"this":{"__isSmartRef__":true,"id":8473}},"8525":{},"8526":{"varMapping":{"__isSmartRef__":true,"id":8527},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8527":{"this":{"__isSmartRef__":true,"id":8473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8528}},"8528":{"$super":{"__isSmartRef__":true,"id":8529}},"8529":{"varMapping":{"__isSmartRef__":true,"id":8530},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8531},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8530":{"obj":{"__isSmartRef__":true,"id":8473},"name":"onMouseDown"},"8531":{},"8532":{},"8533":{"varMapping":{"__isSmartRef__":true,"id":8534},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8535},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8534":{"this":{"__isSmartRef__":true,"id":8473}},"8535":{},"8536":{"varMapping":{"__isSmartRef__":true,"id":8537},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8537":{"this":{"__isSmartRef__":true,"id":8473}},"8538":{},"8539":{"varMapping":{"__isSmartRef__":true,"id":8540},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8540":{"this":{"__isSmartRef__":true,"id":8473}},"8541":{},"8542":{"_Position":{"__isSmartRef__":true,"id":8543},"renderContextTable":{"__isSmartRef__":true,"id":8544},"_Extent":{"__isSmartRef__":true,"id":8545},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8546},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8543":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8544":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8545":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8546":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8548":{"morph":{"__isSmartRef__":true,"id":8472},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8549":{"layouter":{"__isSmartRef__":true,"id":8550},"resizeWidth":true},"8550":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8472},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8551":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8552":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8553":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8554}},"8554":{"varMapping":{"__isSmartRef__":true,"id":8555},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8560},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8555":{"this":{"__isSmartRef__":true,"id":8472},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8556}},"8556":{"$super":{"__isSmartRef__":true,"id":8557}},"8557":{"varMapping":{"__isSmartRef__":true,"id":8558},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8558":{"obj":{"__isSmartRef__":true,"id":8472},"name":"getLayoutableSubmorphs"},"8559":{},"8560":{},"8561":{"submorphs":[{"__isSmartRef__":true,"id":8562}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8631},"derivationIds":[null],"id":"197C381B-8E69-475E-8388-EBFFCB4068E1","renderContextTable":{"__isSmartRef__":true,"id":8636},"eventHandler":{"__isSmartRef__":true,"id":8637},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8638},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8640},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8641},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8642},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8562":{"submorphs":[{"__isSmartRef__":true,"id":8563},{"__isSmartRef__":true,"id":8584}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8601},"derivationIds":[null],"id":"61DDAE2C-084A-4005-98AB-53778FF8A482","renderContextTable":{"__isSmartRef__":true,"id":8606},"eventHandler":{"__isSmartRef__":true,"id":8607},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8608},"grabbingEnabled":false,"draggingEnabled":false,"data":1.002003004005006,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8563},"text":{"__isSmartRef__":true,"id":8584},"owner":{"__isSmartRef__":true,"id":8561},"_Position":{"__isSmartRef__":true,"id":8609},"priorExtent":{"__isSmartRef__":true,"id":8610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8611},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8563":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8564},"derivationIds":[null],"id":"6BDB348A-F11D-46C2-93D6-497C510F26BA","renderContextTable":{"__isSmartRef__":true,"id":8570},"eventHandler":{"__isSmartRef__":true,"id":8571},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8572},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8573},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8564":{"_Position":{"__isSmartRef__":true,"id":8565},"renderContextTable":{"__isSmartRef__":true,"id":8566},"_Extent":{"__isSmartRef__":true,"id":8567},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8568},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8569},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8565":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8567":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8568":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8569":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8570":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8571":{"morph":{"__isSmartRef__":true,"id":8563},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8572":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8573":{"toggle":{"__isSmartRef__":true,"id":8574},"toggleExpansion":{"__isSmartRef__":true,"id":8581}},"8574":{"varMapping":{"__isSmartRef__":true,"id":8575},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8575":{"this":{"__isSmartRef__":true,"id":8563},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8576}},"8576":{"$super":{"__isSmartRef__":true,"id":8577}},"8577":{"varMapping":{"__isSmartRef__":true,"id":8578},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8578":{"obj":{"__isSmartRef__":true,"id":8563},"name":"toggle"},"8579":{},"8580":{},"8581":{"varMapping":{"__isSmartRef__":true,"id":8582},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8583},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8582":{"this":{"__isSmartRef__":true,"id":8563}},"8583":{},"8584":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8585},"derivationIds":[null],"id":"10FF4CCD-6536-4320-BD45-EA6FC3085CAC","renderContextTable":{"__isSmartRef__":true,"id":8589},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8590},{"__isSmartRef__":true,"id":8592}],"eventHandler":{"__isSmartRef__":true,"id":8594},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8595},"priorExtent":{"__isSmartRef__":true,"id":8596},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8597},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8585":{"_Position":{"__isSmartRef__":true,"id":8586},"renderContextTable":{"__isSmartRef__":true,"id":8587},"_Extent":{"__isSmartRef__":true,"id":8588},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8586":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8587":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8588":{"x":195.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8589":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8590":{"style":{"__isSmartRef__":true,"id":8591},"chunkOwner":{"__isSmartRef__":true,"id":8584},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8591":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8592":{"style":{"__isSmartRef__":true,"id":8593},"chunkOwner":{"__isSmartRef__":true,"id":8584},"storedString":": 1.002003004005006","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8593":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8594":{"morph":{"__isSmartRef__":true,"id":8584},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8595":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8596":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8597":{"layoutText":{"__isSmartRef__":true,"id":8598}},"8598":{"varMapping":{"__isSmartRef__":true,"id":8599},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8599":{"this":{"__isSmartRef__":true,"id":8584}},"8600":{},"8601":{"_Position":{"__isSmartRef__":true,"id":8602},"renderContextTable":{"__isSmartRef__":true,"id":8603},"_Extent":{"__isSmartRef__":true,"id":8604},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8605},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8602":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8604":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8605":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8606":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8607":{"morph":{"__isSmartRef__":true,"id":8562},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8608":{"resizeWidth":true},"8609":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8610":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8611":{"updateExpanderColor":{"__isSmartRef__":true,"id":8612},"onMouseDown":{"__isSmartRef__":true,"id":8615},"isRoot":{"__isSmartRef__":true,"id":8622},"displayValue":{"__isSmartRef__":true,"id":8625},"update":{"__isSmartRef__":true,"id":8628}},"8612":{"varMapping":{"__isSmartRef__":true,"id":8613},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8614},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8613":{"this":{"__isSmartRef__":true,"id":8562}},"8614":{},"8615":{"varMapping":{"__isSmartRef__":true,"id":8616},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8621},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8616":{"this":{"__isSmartRef__":true,"id":8562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8617}},"8617":{"$super":{"__isSmartRef__":true,"id":8618}},"8618":{"varMapping":{"__isSmartRef__":true,"id":8619},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8619":{"obj":{"__isSmartRef__":true,"id":8562},"name":"onMouseDown"},"8620":{},"8621":{},"8622":{"varMapping":{"__isSmartRef__":true,"id":8623},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8623":{"this":{"__isSmartRef__":true,"id":8562}},"8624":{},"8625":{"varMapping":{"__isSmartRef__":true,"id":8626},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8626":{"this":{"__isSmartRef__":true,"id":8562}},"8627":{},"8628":{"varMapping":{"__isSmartRef__":true,"id":8629},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8629":{"this":{"__isSmartRef__":true,"id":8562}},"8630":{},"8631":{"_Position":{"__isSmartRef__":true,"id":8632},"renderContextTable":{"__isSmartRef__":true,"id":8633},"_Extent":{"__isSmartRef__":true,"id":8634},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8635},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8632":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8633":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8634":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8635":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8636":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8637":{"morph":{"__isSmartRef__":true,"id":8561},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8638":{"layouter":{"__isSmartRef__":true,"id":8639},"resizeWidth":true},"8639":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8561},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8640":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8641":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8642":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8643}},"8643":{"varMapping":{"__isSmartRef__":true,"id":8644},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8644":{"this":{"__isSmartRef__":true,"id":8561},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8645}},"8645":{"$super":{"__isSmartRef__":true,"id":8646}},"8646":{"varMapping":{"__isSmartRef__":true,"id":8647},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8647":{"obj":{"__isSmartRef__":true,"id":8561},"name":"getLayoutableSubmorphs"},"8648":{},"8649":{},"8650":{"submorphs":[{"__isSmartRef__":true,"id":8651}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8720},"derivationIds":[null],"id":"F0768696-DA00-4448-BC98-89D204501619","renderContextTable":{"__isSmartRef__":true,"id":8725},"eventHandler":{"__isSmartRef__":true,"id":8726},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8727},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8729},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8730},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8731},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8651":{"submorphs":[{"__isSmartRef__":true,"id":8652},{"__isSmartRef__":true,"id":8673}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8690},"derivationIds":[null],"id":"1C52991D-EB1C-417C-9757-9278C199CE74","renderContextTable":{"__isSmartRef__":true,"id":8695},"eventHandler":{"__isSmartRef__":true,"id":8696},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8697},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Widgets","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8652},"text":{"__isSmartRef__":true,"id":8673},"owner":{"__isSmartRef__":true,"id":8650},"_Position":{"__isSmartRef__":true,"id":8698},"priorExtent":{"__isSmartRef__":true,"id":8699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8700},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8652":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8653},"derivationIds":[null],"id":"C38D2C11-31A8-41CE-9B05-2D19EED4F798","renderContextTable":{"__isSmartRef__":true,"id":8659},"eventHandler":{"__isSmartRef__":true,"id":8660},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8661},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8651},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8662},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8653":{"_Position":{"__isSmartRef__":true,"id":8654},"renderContextTable":{"__isSmartRef__":true,"id":8655},"_Extent":{"__isSmartRef__":true,"id":8656},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8657},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8658},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8654":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8655":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8656":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8657":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8658":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8659":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8660":{"morph":{"__isSmartRef__":true,"id":8652},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8661":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8662":{"toggle":{"__isSmartRef__":true,"id":8663},"toggleExpansion":{"__isSmartRef__":true,"id":8670}},"8663":{"varMapping":{"__isSmartRef__":true,"id":8664},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8664":{"this":{"__isSmartRef__":true,"id":8652},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8665}},"8665":{"$super":{"__isSmartRef__":true,"id":8666}},"8666":{"varMapping":{"__isSmartRef__":true,"id":8667},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8667":{"obj":{"__isSmartRef__":true,"id":8652},"name":"toggle"},"8668":{},"8669":{},"8670":{"varMapping":{"__isSmartRef__":true,"id":8671},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8671":{"this":{"__isSmartRef__":true,"id":8652}},"8672":{},"8673":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8674},"derivationIds":[null],"id":"BFF5052D-F0A8-43EE-92BD-A70646929857","renderContextTable":{"__isSmartRef__":true,"id":8678},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8679},{"__isSmartRef__":true,"id":8681}],"eventHandler":{"__isSmartRef__":true,"id":8683},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8684},"priorExtent":{"__isSmartRef__":true,"id":8685},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8651},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8686},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8674":{"_Position":{"__isSmartRef__":true,"id":8675},"renderContextTable":{"__isSmartRef__":true,"id":8676},"_Extent":{"__isSmartRef__":true,"id":8677},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8675":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8676":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8677":{"x":390.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8678":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8679":{"style":{"__isSmartRef__":true,"id":8680},"chunkOwner":{"__isSmartRef__":true,"id":8673},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8680":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8681":{"style":{"__isSmartRef__":true,"id":8682},"chunkOwner":{"__isSmartRef__":true,"id":8673},"storedString":": Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8682":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8683":{"morph":{"__isSmartRef__":true,"id":8673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8684":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8685":{"x":382.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8686":{"layoutText":{"__isSmartRef__":true,"id":8687}},"8687":{"varMapping":{"__isSmartRef__":true,"id":8688},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8688":{"this":{"__isSmartRef__":true,"id":8673}},"8689":{},"8690":{"_Position":{"__isSmartRef__":true,"id":8691},"renderContextTable":{"__isSmartRef__":true,"id":8692},"_Extent":{"__isSmartRef__":true,"id":8693},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8694},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8691":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8692":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8693":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8694":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8695":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8696":{"morph":{"__isSmartRef__":true,"id":8651},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8697":{"resizeWidth":true},"8698":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8699":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8700":{"updateExpanderColor":{"__isSmartRef__":true,"id":8701},"onMouseDown":{"__isSmartRef__":true,"id":8704},"isRoot":{"__isSmartRef__":true,"id":8711},"displayValue":{"__isSmartRef__":true,"id":8714},"update":{"__isSmartRef__":true,"id":8717}},"8701":{"varMapping":{"__isSmartRef__":true,"id":8702},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8703},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8702":{"this":{"__isSmartRef__":true,"id":8651}},"8703":{},"8704":{"varMapping":{"__isSmartRef__":true,"id":8705},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8705":{"this":{"__isSmartRef__":true,"id":8651},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8706}},"8706":{"$super":{"__isSmartRef__":true,"id":8707}},"8707":{"varMapping":{"__isSmartRef__":true,"id":8708},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8709},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8708":{"obj":{"__isSmartRef__":true,"id":8651},"name":"onMouseDown"},"8709":{},"8710":{},"8711":{"varMapping":{"__isSmartRef__":true,"id":8712},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8713},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8712":{"this":{"__isSmartRef__":true,"id":8651}},"8713":{},"8714":{"varMapping":{"__isSmartRef__":true,"id":8715},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8715":{"this":{"__isSmartRef__":true,"id":8651}},"8716":{},"8717":{"varMapping":{"__isSmartRef__":true,"id":8718},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8718":{"this":{"__isSmartRef__":true,"id":8651}},"8719":{},"8720":{"_Position":{"__isSmartRef__":true,"id":8721},"renderContextTable":{"__isSmartRef__":true,"id":8722},"_Extent":{"__isSmartRef__":true,"id":8723},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8724},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8721":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8722":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8723":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8724":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8725":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8726":{"morph":{"__isSmartRef__":true,"id":8650},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8727":{"layouter":{"__isSmartRef__":true,"id":8728},"resizeWidth":true},"8728":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8650},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8729":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8730":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8731":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8732}},"8732":{"varMapping":{"__isSmartRef__":true,"id":8733},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8733":{"this":{"__isSmartRef__":true,"id":8650},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8734}},"8734":{"$super":{"__isSmartRef__":true,"id":8735}},"8735":{"varMapping":{"__isSmartRef__":true,"id":8736},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8736":{"obj":{"__isSmartRef__":true,"id":8650},"name":"getLayoutableSubmorphs"},"8737":{},"8738":{},"8739":{"submorphs":[{"__isSmartRef__":true,"id":8740}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8809},"derivationIds":[null],"id":"EA4CFAA3-95C4-40A7-AD76-5F162CB8912D","renderContextTable":{"__isSmartRef__":true,"id":8814},"eventHandler":{"__isSmartRef__":true,"id":8815},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8816},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8818},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8819},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8820},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8740":{"submorphs":[{"__isSmartRef__":true,"id":8741},{"__isSmartRef__":true,"id":8762}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8779},"derivationIds":[null],"id":"D051698B-98F4-47FF-917A-FEDF14B22A3D","renderContextTable":{"__isSmartRef__":true,"id":8784},"eventHandler":{"__isSmartRef__":true,"id":8785},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8786},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4280},"propertyList":["morphNode","shapeNode","imgNode"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8741},"text":{"__isSmartRef__":true,"id":8762},"owner":{"__isSmartRef__":true,"id":8739},"_Position":{"__isSmartRef__":true,"id":8787},"priorExtent":{"__isSmartRef__":true,"id":8788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8789},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8741":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8742},"derivationIds":[null],"id":"A8168A66-820E-4D1E-AA20-6524626723D5","renderContextTable":{"__isSmartRef__":true,"id":8748},"eventHandler":{"__isSmartRef__":true,"id":8749},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8750},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8740},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8751},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8742":{"_Position":{"__isSmartRef__":true,"id":8743},"renderContextTable":{"__isSmartRef__":true,"id":8744},"_Extent":{"__isSmartRef__":true,"id":8745},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8746},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8747},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8743":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8744":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8745":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8746":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8747":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8748":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8749":{"morph":{"__isSmartRef__":true,"id":8741},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8750":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8751":{"toggle":{"__isSmartRef__":true,"id":8752},"toggleExpansion":{"__isSmartRef__":true,"id":8759}},"8752":{"varMapping":{"__isSmartRef__":true,"id":8753},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8753":{"this":{"__isSmartRef__":true,"id":8741},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8754}},"8754":{"$super":{"__isSmartRef__":true,"id":8755}},"8755":{"varMapping":{"__isSmartRef__":true,"id":8756},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8756":{"obj":{"__isSmartRef__":true,"id":8741},"name":"toggle"},"8757":{},"8758":{},"8759":{"varMapping":{"__isSmartRef__":true,"id":8760},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8760":{"this":{"__isSmartRef__":true,"id":8741}},"8761":{},"8762":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8763},"derivationIds":[null],"id":"6FFE6499-E574-4CEE-9697-D602795E6FFC","renderContextTable":{"__isSmartRef__":true,"id":8767},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8768},{"__isSmartRef__":true,"id":8770}],"eventHandler":{"__isSmartRef__":true,"id":8772},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8773},"priorExtent":{"__isSmartRef__":true,"id":8774},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8740},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8775},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8763":{"_Position":{"__isSmartRef__":true,"id":8764},"renderContextTable":{"__isSmartRef__":true,"id":8765},"_Extent":{"__isSmartRef__":true,"id":8766},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8764":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8765":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8766":{"x":225.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8767":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8768":{"style":{"__isSmartRef__":true,"id":8769},"chunkOwner":{"__isSmartRef__":true,"id":8762},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8769":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8770":{"style":{"__isSmartRef__":true,"id":8771},"chunkOwner":{"__isSmartRef__":true,"id":8762},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8771":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8772":{"morph":{"__isSmartRef__":true,"id":8762},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8773":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8774":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8775":{"layoutText":{"__isSmartRef__":true,"id":8776}},"8776":{"varMapping":{"__isSmartRef__":true,"id":8777},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8777":{"this":{"__isSmartRef__":true,"id":8762}},"8778":{},"8779":{"_Position":{"__isSmartRef__":true,"id":8780},"renderContextTable":{"__isSmartRef__":true,"id":8781},"_Extent":{"__isSmartRef__":true,"id":8782},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8783},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8780":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8781":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8782":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8783":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8785":{"morph":{"__isSmartRef__":true,"id":8740},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8786":{"resizeWidth":true},"8787":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8788":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8789":{"updateExpanderColor":{"__isSmartRef__":true,"id":8790},"onMouseDown":{"__isSmartRef__":true,"id":8793},"isRoot":{"__isSmartRef__":true,"id":8800},"displayValue":{"__isSmartRef__":true,"id":8803},"update":{"__isSmartRef__":true,"id":8806}},"8790":{"varMapping":{"__isSmartRef__":true,"id":8791},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8791":{"this":{"__isSmartRef__":true,"id":8740}},"8792":{},"8793":{"varMapping":{"__isSmartRef__":true,"id":8794},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8799},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8794":{"this":{"__isSmartRef__":true,"id":8740},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8795}},"8795":{"$super":{"__isSmartRef__":true,"id":8796}},"8796":{"varMapping":{"__isSmartRef__":true,"id":8797},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8798},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8797":{"obj":{"__isSmartRef__":true,"id":8740},"name":"onMouseDown"},"8798":{},"8799":{},"8800":{"varMapping":{"__isSmartRef__":true,"id":8801},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8801":{"this":{"__isSmartRef__":true,"id":8740}},"8802":{},"8803":{"varMapping":{"__isSmartRef__":true,"id":8804},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8804":{"this":{"__isSmartRef__":true,"id":8740}},"8805":{},"8806":{"varMapping":{"__isSmartRef__":true,"id":8807},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8807":{"this":{"__isSmartRef__":true,"id":8740}},"8808":{},"8809":{"_Position":{"__isSmartRef__":true,"id":8810},"renderContextTable":{"__isSmartRef__":true,"id":8811},"_Extent":{"__isSmartRef__":true,"id":8812},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8813},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8810":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8811":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8812":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8813":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8814":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8815":{"morph":{"__isSmartRef__":true,"id":8739},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8816":{"layouter":{"__isSmartRef__":true,"id":8817},"resizeWidth":true},"8817":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8739},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8818":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8819":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8820":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8821}},"8821":{"varMapping":{"__isSmartRef__":true,"id":8822},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8827},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8822":{"this":{"__isSmartRef__":true,"id":8739},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8823}},"8823":{"$super":{"__isSmartRef__":true,"id":8824}},"8824":{"varMapping":{"__isSmartRef__":true,"id":8825},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8825":{"obj":{"__isSmartRef__":true,"id":8739},"name":"getLayoutableSubmorphs"},"8826":{},"8827":{},"8828":{"submorphs":[{"__isSmartRef__":true,"id":8829}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8898},"derivationIds":[null],"id":"8B57B01C-9DAE-472F-9574-34AC6F9D192D","renderContextTable":{"__isSmartRef__":true,"id":8903},"eventHandler":{"__isSmartRef__":true,"id":8904},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8905},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8907},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8908},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8909},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8829":{"submorphs":[{"__isSmartRef__":true,"id":8830},{"__isSmartRef__":true,"id":8851}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8868},"derivationIds":[null],"id":"A339FF80-97A1-4DDD-B2CE-5F1E7525D207","renderContextTable":{"__isSmartRef__":true,"id":8873},"eventHandler":{"__isSmartRef__":true,"id":8874},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8875},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":101},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":111}],"propertyList":["0","1","2","3","4","5","6","7","8","9"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8830},"text":{"__isSmartRef__":true,"id":8851},"owner":{"__isSmartRef__":true,"id":8828},"_Position":{"__isSmartRef__":true,"id":8876},"priorExtent":{"__isSmartRef__":true,"id":8877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8878},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8830":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8831},"derivationIds":[null],"id":"09C9377B-DAA9-481D-BFA8-682932B6043C","renderContextTable":{"__isSmartRef__":true,"id":8837},"eventHandler":{"__isSmartRef__":true,"id":8838},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8839},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8829},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8840},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8831":{"_Position":{"__isSmartRef__":true,"id":8832},"renderContextTable":{"__isSmartRef__":true,"id":8833},"_Extent":{"__isSmartRef__":true,"id":8834},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8835},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8836},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8833":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8834":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8835":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8836":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8837":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8838":{"morph":{"__isSmartRef__":true,"id":8830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8839":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8840":{"toggle":{"__isSmartRef__":true,"id":8841},"toggleExpansion":{"__isSmartRef__":true,"id":8848}},"8841":{"varMapping":{"__isSmartRef__":true,"id":8842},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8847},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8842":{"this":{"__isSmartRef__":true,"id":8830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8843}},"8843":{"$super":{"__isSmartRef__":true,"id":8844}},"8844":{"varMapping":{"__isSmartRef__":true,"id":8845},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8845":{"obj":{"__isSmartRef__":true,"id":8830},"name":"toggle"},"8846":{},"8847":{},"8848":{"varMapping":{"__isSmartRef__":true,"id":8849},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8849":{"this":{"__isSmartRef__":true,"id":8830}},"8850":{},"8851":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8852},"derivationIds":[null],"id":"B71EF860-2E23-493D-BD55-41BEF66D1E0B","renderContextTable":{"__isSmartRef__":true,"id":8856},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8857},{"__isSmartRef__":true,"id":8859}],"eventHandler":{"__isSmartRef__":true,"id":8861},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8862},"priorExtent":{"__isSmartRef__":true,"id":8863},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8829},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8864},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8852":{"_Position":{"__isSmartRef__":true,"id":8853},"renderContextTable":{"__isSmartRef__":true,"id":8854},"_Extent":{"__isSmartRef__":true,"id":8855},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8853":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8854":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8855":{"x":210.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8856":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8857":{"style":{"__isSmartRef__":true,"id":8858},"chunkOwner":{"__isSmartRef__":true,"id":8851},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8858":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8859":{"style":{"__isSmartRef__":true,"id":8860},"chunkOwner":{"__isSmartRef__":true,"id":8851},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8860":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8861":{"morph":{"__isSmartRef__":true,"id":8851},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8862":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8863":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8864":{"layoutText":{"__isSmartRef__":true,"id":8865}},"8865":{"varMapping":{"__isSmartRef__":true,"id":8866},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8866":{"this":{"__isSmartRef__":true,"id":8851}},"8867":{},"8868":{"_Position":{"__isSmartRef__":true,"id":8869},"renderContextTable":{"__isSmartRef__":true,"id":8870},"_Extent":{"__isSmartRef__":true,"id":8871},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8872},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8869":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8870":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8871":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8872":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8873":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8874":{"morph":{"__isSmartRef__":true,"id":8829},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8875":{"resizeWidth":true},"8876":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8877":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8878":{"updateExpanderColor":{"__isSmartRef__":true,"id":8879},"onMouseDown":{"__isSmartRef__":true,"id":8882},"isRoot":{"__isSmartRef__":true,"id":8889},"displayValue":{"__isSmartRef__":true,"id":8892},"update":{"__isSmartRef__":true,"id":8895}},"8879":{"varMapping":{"__isSmartRef__":true,"id":8880},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8880":{"this":{"__isSmartRef__":true,"id":8829}},"8881":{},"8882":{"varMapping":{"__isSmartRef__":true,"id":8883},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8883":{"this":{"__isSmartRef__":true,"id":8829},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8884}},"8884":{"$super":{"__isSmartRef__":true,"id":8885}},"8885":{"varMapping":{"__isSmartRef__":true,"id":8886},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8887},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8886":{"obj":{"__isSmartRef__":true,"id":8829},"name":"onMouseDown"},"8887":{},"8888":{},"8889":{"varMapping":{"__isSmartRef__":true,"id":8890},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8890":{"this":{"__isSmartRef__":true,"id":8829}},"8891":{},"8892":{"varMapping":{"__isSmartRef__":true,"id":8893},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8893":{"this":{"__isSmartRef__":true,"id":8829}},"8894":{},"8895":{"varMapping":{"__isSmartRef__":true,"id":8896},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8896":{"this":{"__isSmartRef__":true,"id":8829}},"8897":{},"8898":{"_Position":{"__isSmartRef__":true,"id":8899},"renderContextTable":{"__isSmartRef__":true,"id":8900},"_Extent":{"__isSmartRef__":true,"id":8901},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8902},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8899":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8900":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8901":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8902":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8903":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8904":{"morph":{"__isSmartRef__":true,"id":8828},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8905":{"layouter":{"__isSmartRef__":true,"id":8906},"resizeWidth":true},"8906":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8828},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8907":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8908":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8909":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8910}},"8910":{"varMapping":{"__isSmartRef__":true,"id":8911},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8911":{"this":{"__isSmartRef__":true,"id":8828},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8912}},"8912":{"$super":{"__isSmartRef__":true,"id":8913}},"8913":{"varMapping":{"__isSmartRef__":true,"id":8914},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8914":{"obj":{"__isSmartRef__":true,"id":8828},"name":"getLayoutableSubmorphs"},"8915":{},"8916":{},"8917":{"submorphs":[{"__isSmartRef__":true,"id":8918}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8987},"derivationIds":[null],"id":"278742BD-339A-4158-A6EB-EA21D42177FD","renderContextTable":{"__isSmartRef__":true,"id":8992},"eventHandler":{"__isSmartRef__":true,"id":8993},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8994},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8996},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":8997},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8998},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8918":{"submorphs":[{"__isSmartRef__":true,"id":8919},{"__isSmartRef__":true,"id":8940}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8957},"derivationIds":[null],"id":"3605C730-3615-4DA6-A7B8-EABBD1976F93","renderContextTable":{"__isSmartRef__":true,"id":8962},"eventHandler":{"__isSmartRef__":true,"id":8963},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8964},"grabbingEnabled":false,"draggingEnabled":false,"data":[707],"propertyList":["0"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":8919},"text":{"__isSmartRef__":true,"id":8940},"owner":{"__isSmartRef__":true,"id":8917},"_Position":{"__isSmartRef__":true,"id":8965},"priorExtent":{"__isSmartRef__":true,"id":8966},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8967},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8919":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8920},"derivationIds":[null],"id":"50128D37-55E0-4D38-8922-8C8035B39C15","renderContextTable":{"__isSmartRef__":true,"id":8926},"eventHandler":{"__isSmartRef__":true,"id":8927},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8928},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8918},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8929},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8920":{"_Position":{"__isSmartRef__":true,"id":8921},"renderContextTable":{"__isSmartRef__":true,"id":8922},"_Extent":{"__isSmartRef__":true,"id":8923},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8924},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":8925},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8921":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8922":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8923":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8924":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8925":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"8926":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8927":{"morph":{"__isSmartRef__":true,"id":8919},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8928":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8929":{"toggle":{"__isSmartRef__":true,"id":8930},"toggleExpansion":{"__isSmartRef__":true,"id":8937}},"8930":{"varMapping":{"__isSmartRef__":true,"id":8931},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8931":{"this":{"__isSmartRef__":true,"id":8919},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8932}},"8932":{"$super":{"__isSmartRef__":true,"id":8933}},"8933":{"varMapping":{"__isSmartRef__":true,"id":8934},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8934":{"obj":{"__isSmartRef__":true,"id":8919},"name":"toggle"},"8935":{},"8936":{},"8937":{"varMapping":{"__isSmartRef__":true,"id":8938},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8939},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8938":{"this":{"__isSmartRef__":true,"id":8919}},"8939":{},"8940":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8941},"derivationIds":[null],"id":"C9C272C8-FEA9-4238-AE07-F794B48F4F6B","renderContextTable":{"__isSmartRef__":true,"id":8945},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":8946},{"__isSmartRef__":true,"id":8948}],"eventHandler":{"__isSmartRef__":true,"id":8950},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":8951},"priorExtent":{"__isSmartRef__":true,"id":8952},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":8918},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8953},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8941":{"_Position":{"__isSmartRef__":true,"id":8942},"renderContextTable":{"__isSmartRef__":true,"id":8943},"_Extent":{"__isSmartRef__":true,"id":8944},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8942":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8943":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8944":{"x":158,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8945":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"8946":{"style":{"__isSmartRef__":true,"id":8947},"chunkOwner":{"__isSmartRef__":true,"id":8940},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8947":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8948":{"style":{"__isSmartRef__":true,"id":8949},"chunkOwner":{"__isSmartRef__":true,"id":8940},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8949":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8950":{"morph":{"__isSmartRef__":true,"id":8940},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8951":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8952":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8953":{"layoutText":{"__isSmartRef__":true,"id":8954}},"8954":{"varMapping":{"__isSmartRef__":true,"id":8955},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8956},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8955":{"this":{"__isSmartRef__":true,"id":8940}},"8956":{},"8957":{"_Position":{"__isSmartRef__":true,"id":8958},"renderContextTable":{"__isSmartRef__":true,"id":8959},"_Extent":{"__isSmartRef__":true,"id":8960},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8961},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8958":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8959":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8960":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8961":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8962":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8963":{"morph":{"__isSmartRef__":true,"id":8918},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8964":{"resizeWidth":true},"8965":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8966":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8967":{"updateExpanderColor":{"__isSmartRef__":true,"id":8968},"onMouseDown":{"__isSmartRef__":true,"id":8971},"isRoot":{"__isSmartRef__":true,"id":8978},"displayValue":{"__isSmartRef__":true,"id":8981},"update":{"__isSmartRef__":true,"id":8984}},"8968":{"varMapping":{"__isSmartRef__":true,"id":8969},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8969":{"this":{"__isSmartRef__":true,"id":8918}},"8970":{},"8971":{"varMapping":{"__isSmartRef__":true,"id":8972},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8977},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8972":{"this":{"__isSmartRef__":true,"id":8918},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8973}},"8973":{"$super":{"__isSmartRef__":true,"id":8974}},"8974":{"varMapping":{"__isSmartRef__":true,"id":8975},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8975":{"obj":{"__isSmartRef__":true,"id":8918},"name":"onMouseDown"},"8976":{},"8977":{},"8978":{"varMapping":{"__isSmartRef__":true,"id":8979},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8980},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8979":{"this":{"__isSmartRef__":true,"id":8918}},"8980":{},"8981":{"varMapping":{"__isSmartRef__":true,"id":8982},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8982":{"this":{"__isSmartRef__":true,"id":8918}},"8983":{},"8984":{"varMapping":{"__isSmartRef__":true,"id":8985},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"8985":{"this":{"__isSmartRef__":true,"id":8918}},"8986":{},"8987":{"_Position":{"__isSmartRef__":true,"id":8988},"renderContextTable":{"__isSmartRef__":true,"id":8989},"_Extent":{"__isSmartRef__":true,"id":8990},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8991},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8988":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8989":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8990":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8991":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"8992":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8993":{"morph":{"__isSmartRef__":true,"id":8917},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8994":{"layouter":{"__isSmartRef__":true,"id":8995},"resizeWidth":true},"8995":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8917},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8996":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8997":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"8998":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8999}},"8999":{"varMapping":{"__isSmartRef__":true,"id":9000},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9000":{"this":{"__isSmartRef__":true,"id":8917},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9001}},"9001":{"$super":{"__isSmartRef__":true,"id":9002}},"9002":{"varMapping":{"__isSmartRef__":true,"id":9003},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9003":{"obj":{"__isSmartRef__":true,"id":8917},"name":"getLayoutableSubmorphs"},"9004":{},"9005":{},"9006":{"submorphs":[{"__isSmartRef__":true,"id":9007}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9076},"derivationIds":[null],"id":"5EB633B1-0A74-4C51-807C-EB4C3CA6B7E7","renderContextTable":{"__isSmartRef__":true,"id":9081},"eventHandler":{"__isSmartRef__":true,"id":9082},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9083},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9085},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9086},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9087},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9007":{"submorphs":[{"__isSmartRef__":true,"id":9008},{"__isSmartRef__":true,"id":9029}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9046},"derivationIds":[null],"id":"AC172012-487B-4A7A-A208-AB57E2D34C9F","renderContextTable":{"__isSmartRef__":true,"id":9051},"eventHandler":{"__isSmartRef__":true,"id":9052},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9053},"grabbingEnabled":false,"draggingEnabled":false,"data":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"propertyList":["0","1","2","3"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9008},"text":{"__isSmartRef__":true,"id":9029},"owner":{"__isSmartRef__":true,"id":9006},"_Position":{"__isSmartRef__":true,"id":9054},"priorExtent":{"__isSmartRef__":true,"id":9055},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9056},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9008":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9009},"derivationIds":[null],"id":"8556678A-B824-40F1-835E-82D680D219CB","renderContextTable":{"__isSmartRef__":true,"id":9015},"eventHandler":{"__isSmartRef__":true,"id":9016},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9017},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9018},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9009":{"_Position":{"__isSmartRef__":true,"id":9010},"renderContextTable":{"__isSmartRef__":true,"id":9011},"_Extent":{"__isSmartRef__":true,"id":9012},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9013},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9014},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9010":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9012":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9013":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9014":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9015":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9016":{"morph":{"__isSmartRef__":true,"id":9008},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9017":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9018":{"toggle":{"__isSmartRef__":true,"id":9019},"toggleExpansion":{"__isSmartRef__":true,"id":9026}},"9019":{"varMapping":{"__isSmartRef__":true,"id":9020},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9020":{"this":{"__isSmartRef__":true,"id":9008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9021}},"9021":{"$super":{"__isSmartRef__":true,"id":9022}},"9022":{"varMapping":{"__isSmartRef__":true,"id":9023},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9023":{"obj":{"__isSmartRef__":true,"id":9008},"name":"toggle"},"9024":{},"9025":{},"9026":{"varMapping":{"__isSmartRef__":true,"id":9027},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9027":{"this":{"__isSmartRef__":true,"id":9008}},"9028":{},"9029":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9030},"derivationIds":[null],"id":"7F560AF1-AB94-4C8F-8D30-1179AC1B654F","renderContextTable":{"__isSmartRef__":true,"id":9034},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9035},{"__isSmartRef__":true,"id":9037}],"eventHandler":{"__isSmartRef__":true,"id":9039},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9040},"priorExtent":{"__isSmartRef__":true,"id":9041},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9042},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9030":{"_Position":{"__isSmartRef__":true,"id":9031},"renderContextTable":{"__isSmartRef__":true,"id":9032},"_Extent":{"__isSmartRef__":true,"id":9033},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9031":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9032":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9033":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9035":{"style":{"__isSmartRef__":true,"id":9036},"chunkOwner":{"__isSmartRef__":true,"id":9029},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9036":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9037":{"style":{"__isSmartRef__":true,"id":9038},"chunkOwner":{"__isSmartRef__":true,"id":9029},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9038":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9039":{"morph":{"__isSmartRef__":true,"id":9029},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9040":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9041":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9042":{"layoutText":{"__isSmartRef__":true,"id":9043}},"9043":{"varMapping":{"__isSmartRef__":true,"id":9044},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9045},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9044":{"this":{"__isSmartRef__":true,"id":9029}},"9045":{},"9046":{"_Position":{"__isSmartRef__":true,"id":9047},"renderContextTable":{"__isSmartRef__":true,"id":9048},"_Extent":{"__isSmartRef__":true,"id":9049},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9050},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9047":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9049":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9050":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9051":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9052":{"morph":{"__isSmartRef__":true,"id":9007},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9053":{"resizeWidth":true},"9054":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9055":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9056":{"updateExpanderColor":{"__isSmartRef__":true,"id":9057},"onMouseDown":{"__isSmartRef__":true,"id":9060},"isRoot":{"__isSmartRef__":true,"id":9067},"displayValue":{"__isSmartRef__":true,"id":9070},"update":{"__isSmartRef__":true,"id":9073}},"9057":{"varMapping":{"__isSmartRef__":true,"id":9058},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9058":{"this":{"__isSmartRef__":true,"id":9007}},"9059":{},"9060":{"varMapping":{"__isSmartRef__":true,"id":9061},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9061":{"this":{"__isSmartRef__":true,"id":9007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9062}},"9062":{"$super":{"__isSmartRef__":true,"id":9063}},"9063":{"varMapping":{"__isSmartRef__":true,"id":9064},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9064":{"obj":{"__isSmartRef__":true,"id":9007},"name":"onMouseDown"},"9065":{},"9066":{},"9067":{"varMapping":{"__isSmartRef__":true,"id":9068},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9069},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9068":{"this":{"__isSmartRef__":true,"id":9007}},"9069":{},"9070":{"varMapping":{"__isSmartRef__":true,"id":9071},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9071":{"this":{"__isSmartRef__":true,"id":9007}},"9072":{},"9073":{"varMapping":{"__isSmartRef__":true,"id":9074},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9075},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9074":{"this":{"__isSmartRef__":true,"id":9007}},"9075":{},"9076":{"_Position":{"__isSmartRef__":true,"id":9077},"renderContextTable":{"__isSmartRef__":true,"id":9078},"_Extent":{"__isSmartRef__":true,"id":9079},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9080},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9077":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9079":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9080":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9081":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9082":{"morph":{"__isSmartRef__":true,"id":9006},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9083":{"layouter":{"__isSmartRef__":true,"id":9084},"resizeWidth":true},"9084":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9006},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9085":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9086":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9087":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9088}},"9088":{"varMapping":{"__isSmartRef__":true,"id":9089},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9094},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9089":{"this":{"__isSmartRef__":true,"id":9006},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9090}},"9090":{"$super":{"__isSmartRef__":true,"id":9091}},"9091":{"varMapping":{"__isSmartRef__":true,"id":9092},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9092":{"obj":{"__isSmartRef__":true,"id":9006},"name":"getLayoutableSubmorphs"},"9093":{},"9094":{},"9095":{"submorphs":[{"__isSmartRef__":true,"id":9096}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9165},"derivationIds":[null],"id":"D931B7FB-868F-48A1-AD62-26B14F1758C7","renderContextTable":{"__isSmartRef__":true,"id":9170},"eventHandler":{"__isSmartRef__":true,"id":9171},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9172},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9174},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9175},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9176},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9096":{"submorphs":[{"__isSmartRef__":true,"id":9097},{"__isSmartRef__":true,"id":9118}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9135},"derivationIds":[null],"id":"3C95A1A1-F403-4E80-B81B-CEBC19BA8F59","renderContextTable":{"__isSmartRef__":true,"id":9140},"eventHandler":{"__isSmartRef__":true,"id":9141},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9142},"grabbingEnabled":false,"draggingEnabled":false,"data":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"propertyList":["0","1","2","3"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9097},"text":{"__isSmartRef__":true,"id":9118},"owner":{"__isSmartRef__":true,"id":9095},"_Position":{"__isSmartRef__":true,"id":9143},"priorExtent":{"__isSmartRef__":true,"id":9144},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9145},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9097":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9098},"derivationIds":[null],"id":"F3F1431F-39A6-4347-9C69-FA1605C1F617","renderContextTable":{"__isSmartRef__":true,"id":9104},"eventHandler":{"__isSmartRef__":true,"id":9105},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9106},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9096},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9107},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9098":{"_Position":{"__isSmartRef__":true,"id":9099},"renderContextTable":{"__isSmartRef__":true,"id":9100},"_Extent":{"__isSmartRef__":true,"id":9101},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9102},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9103},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9099":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9100":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9101":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9102":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9103":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9104":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9105":{"morph":{"__isSmartRef__":true,"id":9097},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9106":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9107":{"toggle":{"__isSmartRef__":true,"id":9108},"toggleExpansion":{"__isSmartRef__":true,"id":9115}},"9108":{"varMapping":{"__isSmartRef__":true,"id":9109},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9109":{"this":{"__isSmartRef__":true,"id":9097},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9110}},"9110":{"$super":{"__isSmartRef__":true,"id":9111}},"9111":{"varMapping":{"__isSmartRef__":true,"id":9112},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9112":{"obj":{"__isSmartRef__":true,"id":9097},"name":"toggle"},"9113":{},"9114":{},"9115":{"varMapping":{"__isSmartRef__":true,"id":9116},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9116":{"this":{"__isSmartRef__":true,"id":9097}},"9117":{},"9118":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9119},"derivationIds":[null],"id":"002017D4-2050-413B-B019-A8BD415E874F","renderContextTable":{"__isSmartRef__":true,"id":9123},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9124},{"__isSmartRef__":true,"id":9126}],"eventHandler":{"__isSmartRef__":true,"id":9128},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9129},"priorExtent":{"__isSmartRef__":true,"id":9130},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9096},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9131},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9119":{"_Position":{"__isSmartRef__":true,"id":9120},"renderContextTable":{"__isSmartRef__":true,"id":9121},"_Extent":{"__isSmartRef__":true,"id":9122},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9120":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9122":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9123":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9124":{"style":{"__isSmartRef__":true,"id":9125},"chunkOwner":{"__isSmartRef__":true,"id":9118},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9125":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9126":{"style":{"__isSmartRef__":true,"id":9127},"chunkOwner":{"__isSmartRef__":true,"id":9118},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9127":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9128":{"morph":{"__isSmartRef__":true,"id":9118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9129":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9130":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9131":{"layoutText":{"__isSmartRef__":true,"id":9132}},"9132":{"varMapping":{"__isSmartRef__":true,"id":9133},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9133":{"this":{"__isSmartRef__":true,"id":9118}},"9134":{},"9135":{"_Position":{"__isSmartRef__":true,"id":9136},"renderContextTable":{"__isSmartRef__":true,"id":9137},"_Extent":{"__isSmartRef__":true,"id":9138},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9139},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9136":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9137":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9138":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9139":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9140":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9141":{"morph":{"__isSmartRef__":true,"id":9096},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9142":{"resizeWidth":true},"9143":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9144":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9145":{"updateExpanderColor":{"__isSmartRef__":true,"id":9146},"onMouseDown":{"__isSmartRef__":true,"id":9149},"isRoot":{"__isSmartRef__":true,"id":9156},"displayValue":{"__isSmartRef__":true,"id":9159},"update":{"__isSmartRef__":true,"id":9162}},"9146":{"varMapping":{"__isSmartRef__":true,"id":9147},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9147":{"this":{"__isSmartRef__":true,"id":9096}},"9148":{},"9149":{"varMapping":{"__isSmartRef__":true,"id":9150},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9150":{"this":{"__isSmartRef__":true,"id":9096},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9151}},"9151":{"$super":{"__isSmartRef__":true,"id":9152}},"9152":{"varMapping":{"__isSmartRef__":true,"id":9153},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9153":{"obj":{"__isSmartRef__":true,"id":9096},"name":"onMouseDown"},"9154":{},"9155":{},"9156":{"varMapping":{"__isSmartRef__":true,"id":9157},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9157":{"this":{"__isSmartRef__":true,"id":9096}},"9158":{},"9159":{"varMapping":{"__isSmartRef__":true,"id":9160},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9160":{"this":{"__isSmartRef__":true,"id":9096}},"9161":{},"9162":{"varMapping":{"__isSmartRef__":true,"id":9163},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9163":{"this":{"__isSmartRef__":true,"id":9096}},"9164":{},"9165":{"_Position":{"__isSmartRef__":true,"id":9166},"renderContextTable":{"__isSmartRef__":true,"id":9167},"_Extent":{"__isSmartRef__":true,"id":9168},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9169},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9166":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9167":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9168":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9169":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9170":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9171":{"morph":{"__isSmartRef__":true,"id":9095},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9172":{"layouter":{"__isSmartRef__":true,"id":9173},"resizeWidth":true},"9173":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9095},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9174":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9175":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9176":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9177}},"9177":{"varMapping":{"__isSmartRef__":true,"id":9178},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9178":{"this":{"__isSmartRef__":true,"id":9095},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9179}},"9179":{"$super":{"__isSmartRef__":true,"id":9180}},"9180":{"varMapping":{"__isSmartRef__":true,"id":9181},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9181":{"obj":{"__isSmartRef__":true,"id":9095},"name":"getLayoutableSubmorphs"},"9182":{},"9183":{},"9184":{"submorphs":[{"__isSmartRef__":true,"id":9185}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9254},"derivationIds":[null],"id":"823A71A9-39AD-490A-AAD2-16A32CD65DBA","renderContextTable":{"__isSmartRef__":true,"id":9259},"eventHandler":{"__isSmartRef__":true,"id":9260},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9261},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9263},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9264},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9265},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9185":{"submorphs":[{"__isSmartRef__":true,"id":9186},{"__isSmartRef__":true,"id":9207}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9224},"derivationIds":[null],"id":"463A95A5-C1B2-4DD6-9622-F0AAF426FC5E","renderContextTable":{"__isSmartRef__":true,"id":9229},"eventHandler":{"__isSmartRef__":true,"id":9230},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9231},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"droppingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9186},"text":{"__isSmartRef__":true,"id":9207},"owner":{"__isSmartRef__":true,"id":9184},"_Position":{"__isSmartRef__":true,"id":9232},"priorExtent":{"__isSmartRef__":true,"id":9233},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9234},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9186":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9187},"derivationIds":[null],"id":"5ACC1441-71F8-46B7-98E7-0B5EFADEE1A2","renderContextTable":{"__isSmartRef__":true,"id":9193},"eventHandler":{"__isSmartRef__":true,"id":9194},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9195},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9185},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9196},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9187":{"_Position":{"__isSmartRef__":true,"id":9188},"renderContextTable":{"__isSmartRef__":true,"id":9189},"_Extent":{"__isSmartRef__":true,"id":9190},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9191},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9188":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9189":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9190":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9191":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9192":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9193":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9194":{"morph":{"__isSmartRef__":true,"id":9186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9195":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9196":{"toggle":{"__isSmartRef__":true,"id":9197},"toggleExpansion":{"__isSmartRef__":true,"id":9204}},"9197":{"varMapping":{"__isSmartRef__":true,"id":9198},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9203},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9198":{"this":{"__isSmartRef__":true,"id":9186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9199}},"9199":{"$super":{"__isSmartRef__":true,"id":9200}},"9200":{"varMapping":{"__isSmartRef__":true,"id":9201},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9201":{"obj":{"__isSmartRef__":true,"id":9186},"name":"toggle"},"9202":{},"9203":{},"9204":{"varMapping":{"__isSmartRef__":true,"id":9205},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9205":{"this":{"__isSmartRef__":true,"id":9186}},"9206":{},"9207":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9208},"derivationIds":[null],"id":"2700740F-6360-498A-9D7D-E9F7F7C6A62F","renderContextTable":{"__isSmartRef__":true,"id":9212},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9213},{"__isSmartRef__":true,"id":9215}],"eventHandler":{"__isSmartRef__":true,"id":9217},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9218},"priorExtent":{"__isSmartRef__":true,"id":9219},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9185},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9220},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9208":{"_Position":{"__isSmartRef__":true,"id":9209},"renderContextTable":{"__isSmartRef__":true,"id":9210},"_Extent":{"__isSmartRef__":true,"id":9211},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9209":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9210":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9211":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9212":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9213":{"style":{"__isSmartRef__":true,"id":9214},"chunkOwner":{"__isSmartRef__":true,"id":9207},"storedString":"droppingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9214":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9215":{"style":{"__isSmartRef__":true,"id":9216},"chunkOwner":{"__isSmartRef__":true,"id":9207},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9216":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9217":{"morph":{"__isSmartRef__":true,"id":9207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9218":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9219":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9220":{"layoutText":{"__isSmartRef__":true,"id":9221}},"9221":{"varMapping":{"__isSmartRef__":true,"id":9222},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9222":{"this":{"__isSmartRef__":true,"id":9207}},"9223":{},"9224":{"_Position":{"__isSmartRef__":true,"id":9225},"renderContextTable":{"__isSmartRef__":true,"id":9226},"_Extent":{"__isSmartRef__":true,"id":9227},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9228},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9225":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9226":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9227":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9228":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9229":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9230":{"morph":{"__isSmartRef__":true,"id":9185},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9231":{"resizeWidth":true},"9232":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9233":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9234":{"updateExpanderColor":{"__isSmartRef__":true,"id":9235},"onMouseDown":{"__isSmartRef__":true,"id":9238},"isRoot":{"__isSmartRef__":true,"id":9245},"displayValue":{"__isSmartRef__":true,"id":9248},"update":{"__isSmartRef__":true,"id":9251}},"9235":{"varMapping":{"__isSmartRef__":true,"id":9236},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9236":{"this":{"__isSmartRef__":true,"id":9185}},"9237":{},"9238":{"varMapping":{"__isSmartRef__":true,"id":9239},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9239":{"this":{"__isSmartRef__":true,"id":9185},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9240}},"9240":{"$super":{"__isSmartRef__":true,"id":9241}},"9241":{"varMapping":{"__isSmartRef__":true,"id":9242},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9242":{"obj":{"__isSmartRef__":true,"id":9185},"name":"onMouseDown"},"9243":{},"9244":{},"9245":{"varMapping":{"__isSmartRef__":true,"id":9246},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9246":{"this":{"__isSmartRef__":true,"id":9185}},"9247":{},"9248":{"varMapping":{"__isSmartRef__":true,"id":9249},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9249":{"this":{"__isSmartRef__":true,"id":9185}},"9250":{},"9251":{"varMapping":{"__isSmartRef__":true,"id":9252},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9252":{"this":{"__isSmartRef__":true,"id":9185}},"9253":{},"9254":{"_Position":{"__isSmartRef__":true,"id":9255},"renderContextTable":{"__isSmartRef__":true,"id":9256},"_Extent":{"__isSmartRef__":true,"id":9257},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9258},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9255":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9256":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9257":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9258":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9259":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9260":{"morph":{"__isSmartRef__":true,"id":9184},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9261":{"layouter":{"__isSmartRef__":true,"id":9262},"resizeWidth":true},"9262":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9184},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9263":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9264":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9265":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9266}},"9266":{"varMapping":{"__isSmartRef__":true,"id":9267},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9267":{"this":{"__isSmartRef__":true,"id":9184},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9268}},"9268":{"$super":{"__isSmartRef__":true,"id":9269}},"9269":{"varMapping":{"__isSmartRef__":true,"id":9270},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9270":{"obj":{"__isSmartRef__":true,"id":9184},"name":"getLayoutableSubmorphs"},"9271":{},"9272":{},"9273":{"submorphs":[{"__isSmartRef__":true,"id":9274}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9343},"derivationIds":[null],"id":"90C45D6B-5171-4392-8770-91A8454D8307","renderContextTable":{"__isSmartRef__":true,"id":9348},"eventHandler":{"__isSmartRef__":true,"id":9349},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9350},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9352},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9353},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9354},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9274":{"submorphs":[{"__isSmartRef__":true,"id":9275},{"__isSmartRef__":true,"id":9296}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9313},"derivationIds":[null],"id":"E8ABA442-DE58-424A-B129-7B7B92666BB2","renderContextTable":{"__isSmartRef__":true,"id":9318},"eventHandler":{"__isSmartRef__":true,"id":9319},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9320},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":97},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9275},"text":{"__isSmartRef__":true,"id":9296},"owner":{"__isSmartRef__":true,"id":9273},"_Position":{"__isSmartRef__":true,"id":9321},"priorExtent":{"__isSmartRef__":true,"id":9322},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9323},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9275":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9276},"derivationIds":[null],"id":"185EC273-895D-48D3-B69B-BCE141B27D24","renderContextTable":{"__isSmartRef__":true,"id":9282},"eventHandler":{"__isSmartRef__":true,"id":9283},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9284},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9274},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9285},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9276":{"_Position":{"__isSmartRef__":true,"id":9277},"renderContextTable":{"__isSmartRef__":true,"id":9278},"_Extent":{"__isSmartRef__":true,"id":9279},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9280},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9281},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9277":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9279":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9280":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9281":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9282":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9283":{"morph":{"__isSmartRef__":true,"id":9275},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9284":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9285":{"toggle":{"__isSmartRef__":true,"id":9286},"toggleExpansion":{"__isSmartRef__":true,"id":9293}},"9286":{"varMapping":{"__isSmartRef__":true,"id":9287},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9287":{"this":{"__isSmartRef__":true,"id":9275},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9288}},"9288":{"$super":{"__isSmartRef__":true,"id":9289}},"9289":{"varMapping":{"__isSmartRef__":true,"id":9290},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9291},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9290":{"obj":{"__isSmartRef__":true,"id":9275},"name":"toggle"},"9291":{},"9292":{},"9293":{"varMapping":{"__isSmartRef__":true,"id":9294},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9295},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9294":{"this":{"__isSmartRef__":true,"id":9275}},"9295":{},"9296":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9297},"derivationIds":[null],"id":"AECABBAE-4F9C-4952-8905-51C9C1A3C9FB","renderContextTable":{"__isSmartRef__":true,"id":9301},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9302},{"__isSmartRef__":true,"id":9304}],"eventHandler":{"__isSmartRef__":true,"id":9306},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9307},"priorExtent":{"__isSmartRef__":true,"id":9308},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9274},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9309},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9297":{"_Position":{"__isSmartRef__":true,"id":9298},"renderContextTable":{"__isSmartRef__":true,"id":9299},"_Extent":{"__isSmartRef__":true,"id":9300},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9298":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9299":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9300":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9301":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9302":{"style":{"__isSmartRef__":true,"id":9303},"chunkOwner":{"__isSmartRef__":true,"id":9296},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9303":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9304":{"style":{"__isSmartRef__":true,"id":9305},"chunkOwner":{"__isSmartRef__":true,"id":9296},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9305":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9306":{"morph":{"__isSmartRef__":true,"id":9296},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9307":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9308":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9309":{"layoutText":{"__isSmartRef__":true,"id":9310}},"9310":{"varMapping":{"__isSmartRef__":true,"id":9311},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9311":{"this":{"__isSmartRef__":true,"id":9296}},"9312":{},"9313":{"_Position":{"__isSmartRef__":true,"id":9314},"renderContextTable":{"__isSmartRef__":true,"id":9315},"_Extent":{"__isSmartRef__":true,"id":9316},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9317},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9314":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9316":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9317":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9318":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9319":{"morph":{"__isSmartRef__":true,"id":9274},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9320":{"resizeWidth":true},"9321":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9322":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9323":{"updateExpanderColor":{"__isSmartRef__":true,"id":9324},"onMouseDown":{"__isSmartRef__":true,"id":9327},"isRoot":{"__isSmartRef__":true,"id":9334},"displayValue":{"__isSmartRef__":true,"id":9337},"update":{"__isSmartRef__":true,"id":9340}},"9324":{"varMapping":{"__isSmartRef__":true,"id":9325},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9325":{"this":{"__isSmartRef__":true,"id":9274}},"9326":{},"9327":{"varMapping":{"__isSmartRef__":true,"id":9328},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9328":{"this":{"__isSmartRef__":true,"id":9274},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9329}},"9329":{"$super":{"__isSmartRef__":true,"id":9330}},"9330":{"varMapping":{"__isSmartRef__":true,"id":9331},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9331":{"obj":{"__isSmartRef__":true,"id":9274},"name":"onMouseDown"},"9332":{},"9333":{},"9334":{"varMapping":{"__isSmartRef__":true,"id":9335},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9335":{"this":{"__isSmartRef__":true,"id":9274}},"9336":{},"9337":{"varMapping":{"__isSmartRef__":true,"id":9338},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9338":{"this":{"__isSmartRef__":true,"id":9274}},"9339":{},"9340":{"varMapping":{"__isSmartRef__":true,"id":9341},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9341":{"this":{"__isSmartRef__":true,"id":9274}},"9342":{},"9343":{"_Position":{"__isSmartRef__":true,"id":9344},"renderContextTable":{"__isSmartRef__":true,"id":9345},"_Extent":{"__isSmartRef__":true,"id":9346},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9347},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9344":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9345":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9346":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9347":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9348":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9349":{"morph":{"__isSmartRef__":true,"id":9273},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9350":{"layouter":{"__isSmartRef__":true,"id":9351},"resizeWidth":true},"9351":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9273},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9352":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9353":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9354":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9355}},"9355":{"varMapping":{"__isSmartRef__":true,"id":9356},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9356":{"this":{"__isSmartRef__":true,"id":9273},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9357}},"9357":{"$super":{"__isSmartRef__":true,"id":9358}},"9358":{"varMapping":{"__isSmartRef__":true,"id":9359},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9359":{"obj":{"__isSmartRef__":true,"id":9273},"name":"getLayoutableSubmorphs"},"9360":{},"9361":{},"9362":{"submorphs":[{"__isSmartRef__":true,"id":9363}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9432},"derivationIds":[null],"id":"C039DBB6-E68E-45BB-8B5C-20D3D2601657","renderContextTable":{"__isSmartRef__":true,"id":9437},"eventHandler":{"__isSmartRef__":true,"id":9438},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9439},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9441},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9442},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9443},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9363":{"submorphs":[{"__isSmartRef__":true,"id":9364},{"__isSmartRef__":true,"id":9385}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9402},"derivationIds":[null],"id":"E98D90EE-B611-433A-979F-212BB1E6AB34","renderContextTable":{"__isSmartRef__":true,"id":9407},"eventHandler":{"__isSmartRef__":true,"id":9408},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9409},"grabbingEnabled":false,"draggingEnabled":false,"data":0.6562,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"extent","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9364},"text":{"__isSmartRef__":true,"id":9385},"owner":{"__isSmartRef__":true,"id":9362},"_Position":{"__isSmartRef__":true,"id":9410},"priorExtent":{"__isSmartRef__":true,"id":9411},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9412},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9364":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9365},"derivationIds":[null],"id":"D20D2D83-174D-47EF-87A6-14AEE3DA2348","renderContextTable":{"__isSmartRef__":true,"id":9371},"eventHandler":{"__isSmartRef__":true,"id":9372},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9373},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9374},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9365":{"_Position":{"__isSmartRef__":true,"id":9366},"renderContextTable":{"__isSmartRef__":true,"id":9367},"_Extent":{"__isSmartRef__":true,"id":9368},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9369},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9370},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9366":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9367":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9368":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9369":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9370":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9371":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9372":{"morph":{"__isSmartRef__":true,"id":9364},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9373":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9374":{"toggle":{"__isSmartRef__":true,"id":9375},"toggleExpansion":{"__isSmartRef__":true,"id":9382}},"9375":{"varMapping":{"__isSmartRef__":true,"id":9376},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9376":{"this":{"__isSmartRef__":true,"id":9364},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9377}},"9377":{"$super":{"__isSmartRef__":true,"id":9378}},"9378":{"varMapping":{"__isSmartRef__":true,"id":9379},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9379":{"obj":{"__isSmartRef__":true,"id":9364},"name":"toggle"},"9380":{},"9381":{},"9382":{"varMapping":{"__isSmartRef__":true,"id":9383},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9383":{"this":{"__isSmartRef__":true,"id":9364}},"9384":{},"9385":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9386},"derivationIds":[null],"id":"366C9FF1-6381-49DE-B8ED-FE4A65528A88","renderContextTable":{"__isSmartRef__":true,"id":9390},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9391},{"__isSmartRef__":true,"id":9393}],"eventHandler":{"__isSmartRef__":true,"id":9395},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9396},"priorExtent":{"__isSmartRef__":true,"id":9397},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9398},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9386":{"_Position":{"__isSmartRef__":true,"id":9387},"renderContextTable":{"__isSmartRef__":true,"id":9388},"_Extent":{"__isSmartRef__":true,"id":9389},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9387":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9388":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9389":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9390":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9391":{"style":{"__isSmartRef__":true,"id":9392},"chunkOwner":{"__isSmartRef__":true,"id":9385},"storedString":"extent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9392":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9393":{"style":{"__isSmartRef__":true,"id":9394},"chunkOwner":{"__isSmartRef__":true,"id":9385},"storedString":": 0.6562","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9394":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9395":{"morph":{"__isSmartRef__":true,"id":9385},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9396":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9397":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9398":{"layoutText":{"__isSmartRef__":true,"id":9399}},"9399":{"varMapping":{"__isSmartRef__":true,"id":9400},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9400":{"this":{"__isSmartRef__":true,"id":9385}},"9401":{},"9402":{"_Position":{"__isSmartRef__":true,"id":9403},"renderContextTable":{"__isSmartRef__":true,"id":9404},"_Extent":{"__isSmartRef__":true,"id":9405},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9406},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9403":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9404":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9405":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9406":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9407":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9408":{"morph":{"__isSmartRef__":true,"id":9363},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9409":{"resizeWidth":true},"9410":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9411":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9412":{"updateExpanderColor":{"__isSmartRef__":true,"id":9413},"onMouseDown":{"__isSmartRef__":true,"id":9416},"isRoot":{"__isSmartRef__":true,"id":9423},"displayValue":{"__isSmartRef__":true,"id":9426},"update":{"__isSmartRef__":true,"id":9429}},"9413":{"varMapping":{"__isSmartRef__":true,"id":9414},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9414":{"this":{"__isSmartRef__":true,"id":9363}},"9415":{},"9416":{"varMapping":{"__isSmartRef__":true,"id":9417},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9417":{"this":{"__isSmartRef__":true,"id":9363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9418}},"9418":{"$super":{"__isSmartRef__":true,"id":9419}},"9419":{"varMapping":{"__isSmartRef__":true,"id":9420},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9420":{"obj":{"__isSmartRef__":true,"id":9363},"name":"onMouseDown"},"9421":{},"9422":{},"9423":{"varMapping":{"__isSmartRef__":true,"id":9424},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9424":{"this":{"__isSmartRef__":true,"id":9363}},"9425":{},"9426":{"varMapping":{"__isSmartRef__":true,"id":9427},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9427":{"this":{"__isSmartRef__":true,"id":9363}},"9428":{},"9429":{"varMapping":{"__isSmartRef__":true,"id":9430},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9430":{"this":{"__isSmartRef__":true,"id":9363}},"9431":{},"9432":{"_Position":{"__isSmartRef__":true,"id":9433},"renderContextTable":{"__isSmartRef__":true,"id":9434},"_Extent":{"__isSmartRef__":true,"id":9435},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9436},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9433":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9434":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9435":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9436":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9437":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9438":{"morph":{"__isSmartRef__":true,"id":9362},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9439":{"layouter":{"__isSmartRef__":true,"id":9440},"resizeWidth":true},"9440":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9362},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9441":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9442":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9443":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9444}},"9444":{"varMapping":{"__isSmartRef__":true,"id":9445},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9445":{"this":{"__isSmartRef__":true,"id":9362},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9446}},"9446":{"$super":{"__isSmartRef__":true,"id":9447}},"9447":{"varMapping":{"__isSmartRef__":true,"id":9448},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9448":{"obj":{"__isSmartRef__":true,"id":9362},"name":"getLayoutableSubmorphs"},"9449":{},"9450":{},"9451":{"submorphs":[{"__isSmartRef__":true,"id":9452}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9521},"derivationIds":[null],"id":"B0C3B0ED-A280-4509-9B45-04480A8D2B6D","renderContextTable":{"__isSmartRef__":true,"id":9526},"eventHandler":{"__isSmartRef__":true,"id":9527},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9528},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9530},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9531},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9532},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9452":{"submorphs":[{"__isSmartRef__":true,"id":9453},{"__isSmartRef__":true,"id":9474}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9491},"derivationIds":[null],"id":"0103D7EC-D984-4642-B75B-FA2655E8C1D2","renderContextTable":{"__isSmartRef__":true,"id":9496},"eventHandler":{"__isSmartRef__":true,"id":9497},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9498},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"halos","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9453},"text":{"__isSmartRef__":true,"id":9474},"owner":{"__isSmartRef__":true,"id":9451},"_Position":{"__isSmartRef__":true,"id":9499},"priorExtent":{"__isSmartRef__":true,"id":9500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9501},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9453":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9454},"derivationIds":[null],"id":"69932134-57FD-440F-A66A-EFDE3CC57723","renderContextTable":{"__isSmartRef__":true,"id":9460},"eventHandler":{"__isSmartRef__":true,"id":9461},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9462},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9463},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9454":{"_Position":{"__isSmartRef__":true,"id":9455},"renderContextTable":{"__isSmartRef__":true,"id":9456},"_Extent":{"__isSmartRef__":true,"id":9457},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9458},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9455":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9457":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9458":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9459":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9460":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9461":{"morph":{"__isSmartRef__":true,"id":9453},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9462":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9463":{"toggle":{"__isSmartRef__":true,"id":9464},"toggleExpansion":{"__isSmartRef__":true,"id":9471}},"9464":{"varMapping":{"__isSmartRef__":true,"id":9465},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9465":{"this":{"__isSmartRef__":true,"id":9453},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9466}},"9466":{"$super":{"__isSmartRef__":true,"id":9467}},"9467":{"varMapping":{"__isSmartRef__":true,"id":9468},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9468":{"obj":{"__isSmartRef__":true,"id":9453},"name":"toggle"},"9469":{},"9470":{},"9471":{"varMapping":{"__isSmartRef__":true,"id":9472},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9472":{"this":{"__isSmartRef__":true,"id":9453}},"9473":{},"9474":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9475},"derivationIds":[null],"id":"3AE0D5C7-E8FE-473F-866E-D85A1C59AAA1","renderContextTable":{"__isSmartRef__":true,"id":9479},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9480},{"__isSmartRef__":true,"id":9482}],"eventHandler":{"__isSmartRef__":true,"id":9484},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9485},"priorExtent":{"__isSmartRef__":true,"id":9486},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9487},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9475":{"_Position":{"__isSmartRef__":true,"id":9476},"renderContextTable":{"__isSmartRef__":true,"id":9477},"_Extent":{"__isSmartRef__":true,"id":9478},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9476":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9478":{"x":75.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9479":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9480":{"style":{"__isSmartRef__":true,"id":9481},"chunkOwner":{"__isSmartRef__":true,"id":9474},"storedString":"halos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9481":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9482":{"style":{"__isSmartRef__":true,"id":9483},"chunkOwner":{"__isSmartRef__":true,"id":9474},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9483":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9484":{"morph":{"__isSmartRef__":true,"id":9474},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9485":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9486":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9487":{"layoutText":{"__isSmartRef__":true,"id":9488}},"9488":{"varMapping":{"__isSmartRef__":true,"id":9489},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9489":{"this":{"__isSmartRef__":true,"id":9474}},"9490":{},"9491":{"_Position":{"__isSmartRef__":true,"id":9492},"renderContextTable":{"__isSmartRef__":true,"id":9493},"_Extent":{"__isSmartRef__":true,"id":9494},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9495},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9492":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9493":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9494":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9495":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9496":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9497":{"morph":{"__isSmartRef__":true,"id":9452},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9498":{"resizeWidth":true},"9499":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9500":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9501":{"updateExpanderColor":{"__isSmartRef__":true,"id":9502},"onMouseDown":{"__isSmartRef__":true,"id":9505},"isRoot":{"__isSmartRef__":true,"id":9512},"displayValue":{"__isSmartRef__":true,"id":9515},"update":{"__isSmartRef__":true,"id":9518}},"9502":{"varMapping":{"__isSmartRef__":true,"id":9503},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9503":{"this":{"__isSmartRef__":true,"id":9452}},"9504":{},"9505":{"varMapping":{"__isSmartRef__":true,"id":9506},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9511},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9506":{"this":{"__isSmartRef__":true,"id":9452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9507}},"9507":{"$super":{"__isSmartRef__":true,"id":9508}},"9508":{"varMapping":{"__isSmartRef__":true,"id":9509},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9509":{"obj":{"__isSmartRef__":true,"id":9452},"name":"onMouseDown"},"9510":{},"9511":{},"9512":{"varMapping":{"__isSmartRef__":true,"id":9513},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9513":{"this":{"__isSmartRef__":true,"id":9452}},"9514":{},"9515":{"varMapping":{"__isSmartRef__":true,"id":9516},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9516":{"this":{"__isSmartRef__":true,"id":9452}},"9517":{},"9518":{"varMapping":{"__isSmartRef__":true,"id":9519},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9519":{"this":{"__isSmartRef__":true,"id":9452}},"9520":{},"9521":{"_Position":{"__isSmartRef__":true,"id":9522},"renderContextTable":{"__isSmartRef__":true,"id":9523},"_Extent":{"__isSmartRef__":true,"id":9524},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9525},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9522":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9523":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9524":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9525":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9526":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9527":{"morph":{"__isSmartRef__":true,"id":9451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9528":{"layouter":{"__isSmartRef__":true,"id":9529},"resizeWidth":true},"9529":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9451},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9530":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9531":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9532":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9533}},"9533":{"varMapping":{"__isSmartRef__":true,"id":9534},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9534":{"this":{"__isSmartRef__":true,"id":9451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9535}},"9535":{"$super":{"__isSmartRef__":true,"id":9536}},"9536":{"varMapping":{"__isSmartRef__":true,"id":9537},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9537":{"obj":{"__isSmartRef__":true,"id":9451},"name":"getLayoutableSubmorphs"},"9538":{},"9539":{},"9540":{"submorphs":[{"__isSmartRef__":true,"id":9541}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9610},"derivationIds":[null],"id":"3C1D7637-D2A0-4C8A-92DE-3CBE2966138D","renderContextTable":{"__isSmartRef__":true,"id":9615},"eventHandler":{"__isSmartRef__":true,"id":9616},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9617},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9619},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9620},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9621},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9541":{"submorphs":[{"__isSmartRef__":true,"id":9542},{"__isSmartRef__":true,"id":9563}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9580},"derivationIds":[null],"id":"EE764D38-8EA9-44CC-BB92-37A9713FBEC7","renderContextTable":{"__isSmartRef__":true,"id":9585},"eventHandler":{"__isSmartRef__":true,"id":9586},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9587},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9542},"text":{"__isSmartRef__":true,"id":9563},"owner":{"__isSmartRef__":true,"id":9540},"_Position":{"__isSmartRef__":true,"id":9588},"priorExtent":{"__isSmartRef__":true,"id":9589},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9590},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9542":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9543},"derivationIds":[null],"id":"8B2C3C09-869E-4AED-958B-7ECE7D01DF52","renderContextTable":{"__isSmartRef__":true,"id":9549},"eventHandler":{"__isSmartRef__":true,"id":9550},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9551},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9552},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9543":{"_Position":{"__isSmartRef__":true,"id":9544},"renderContextTable":{"__isSmartRef__":true,"id":9545},"_Extent":{"__isSmartRef__":true,"id":9546},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9547},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9548},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9544":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9545":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9546":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9547":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9548":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9549":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9550":{"morph":{"__isSmartRef__":true,"id":9542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9551":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9552":{"toggle":{"__isSmartRef__":true,"id":9553},"toggleExpansion":{"__isSmartRef__":true,"id":9560}},"9553":{"varMapping":{"__isSmartRef__":true,"id":9554},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9554":{"this":{"__isSmartRef__":true,"id":9542},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9555}},"9555":{"$super":{"__isSmartRef__":true,"id":9556}},"9556":{"varMapping":{"__isSmartRef__":true,"id":9557},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9557":{"obj":{"__isSmartRef__":true,"id":9542},"name":"toggle"},"9558":{},"9559":{},"9560":{"varMapping":{"__isSmartRef__":true,"id":9561},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9561":{"this":{"__isSmartRef__":true,"id":9542}},"9562":{},"9563":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9564},"derivationIds":[null],"id":"04C8223F-AC60-4FA6-8A7A-5CF83B5D8B25","renderContextTable":{"__isSmartRef__":true,"id":9568},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9569},{"__isSmartRef__":true,"id":9571}],"eventHandler":{"__isSmartRef__":true,"id":9573},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9574},"priorExtent":{"__isSmartRef__":true,"id":9575},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9576},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9564":{"_Position":{"__isSmartRef__":true,"id":9565},"renderContextTable":{"__isSmartRef__":true,"id":9566},"_Extent":{"__isSmartRef__":true,"id":9567},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9565":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9567":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9568":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9569":{"style":{"__isSmartRef__":true,"id":9570},"chunkOwner":{"__isSmartRef__":true,"id":9563},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9570":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9571":{"style":{"__isSmartRef__":true,"id":9572},"chunkOwner":{"__isSmartRef__":true,"id":9563},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9572":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9573":{"morph":{"__isSmartRef__":true,"id":9563},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9574":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9575":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9576":{"layoutText":{"__isSmartRef__":true,"id":9577}},"9577":{"varMapping":{"__isSmartRef__":true,"id":9578},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9578":{"this":{"__isSmartRef__":true,"id":9563}},"9579":{},"9580":{"_Position":{"__isSmartRef__":true,"id":9581},"renderContextTable":{"__isSmartRef__":true,"id":9582},"_Extent":{"__isSmartRef__":true,"id":9583},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9584},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9581":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9582":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9583":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9584":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9585":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9586":{"morph":{"__isSmartRef__":true,"id":9541},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9587":{"resizeWidth":true},"9588":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9589":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9590":{"updateExpanderColor":{"__isSmartRef__":true,"id":9591},"onMouseDown":{"__isSmartRef__":true,"id":9594},"isRoot":{"__isSmartRef__":true,"id":9601},"displayValue":{"__isSmartRef__":true,"id":9604},"update":{"__isSmartRef__":true,"id":9607}},"9591":{"varMapping":{"__isSmartRef__":true,"id":9592},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9592":{"this":{"__isSmartRef__":true,"id":9541}},"9593":{},"9594":{"varMapping":{"__isSmartRef__":true,"id":9595},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9595":{"this":{"__isSmartRef__":true,"id":9541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9596}},"9596":{"$super":{"__isSmartRef__":true,"id":9597}},"9597":{"varMapping":{"__isSmartRef__":true,"id":9598},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9598":{"obj":{"__isSmartRef__":true,"id":9541},"name":"onMouseDown"},"9599":{},"9600":{},"9601":{"varMapping":{"__isSmartRef__":true,"id":9602},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9602":{"this":{"__isSmartRef__":true,"id":9541}},"9603":{},"9604":{"varMapping":{"__isSmartRef__":true,"id":9605},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9605":{"this":{"__isSmartRef__":true,"id":9541}},"9606":{},"9607":{"varMapping":{"__isSmartRef__":true,"id":9608},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9609},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9608":{"this":{"__isSmartRef__":true,"id":9541}},"9609":{},"9610":{"_Position":{"__isSmartRef__":true,"id":9611},"renderContextTable":{"__isSmartRef__":true,"id":9612},"_Extent":{"__isSmartRef__":true,"id":9613},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9614},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9611":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9612":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9613":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9614":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9615":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9616":{"morph":{"__isSmartRef__":true,"id":9540},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9617":{"layouter":{"__isSmartRef__":true,"id":9618},"resizeWidth":true},"9618":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9540},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9619":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9620":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9621":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9622}},"9622":{"varMapping":{"__isSmartRef__":true,"id":9623},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9623":{"this":{"__isSmartRef__":true,"id":9540},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9624}},"9624":{"$super":{"__isSmartRef__":true,"id":9625}},"9625":{"varMapping":{"__isSmartRef__":true,"id":9626},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9626":{"obj":{"__isSmartRef__":true,"id":9540},"name":"getLayoutableSubmorphs"},"9627":{},"9628":{},"9629":{"submorphs":[{"__isSmartRef__":true,"id":9630}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9699},"derivationIds":[null],"id":"1901ED17-79F8-43DD-8E63-02C279B5F583","renderContextTable":{"__isSmartRef__":true,"id":9704},"eventHandler":{"__isSmartRef__":true,"id":9705},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9706},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9708},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9710},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9630":{"submorphs":[{"__isSmartRef__":true,"id":9631},{"__isSmartRef__":true,"id":9652}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9669},"derivationIds":[null],"id":"A57E7C7B-9A7F-4207-87E2-CDFAD985DE02","renderContextTable":{"__isSmartRef__":true,"id":9674},"eventHandler":{"__isSmartRef__":true,"id":9675},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9676},"grabbingEnabled":false,"draggingEnabled":false,"data":"0AB98F19-A157-4D7B-B9EC-6977AF4556DA","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9631},"text":{"__isSmartRef__":true,"id":9652},"owner":{"__isSmartRef__":true,"id":9629},"_Position":{"__isSmartRef__":true,"id":9677},"priorExtent":{"__isSmartRef__":true,"id":9678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9679},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9631":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9632},"derivationIds":[null],"id":"85A9EEE9-126A-4E90-91FA-053A35ECABA5","renderContextTable":{"__isSmartRef__":true,"id":9638},"eventHandler":{"__isSmartRef__":true,"id":9639},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9640},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9641},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9632":{"_Position":{"__isSmartRef__":true,"id":9633},"renderContextTable":{"__isSmartRef__":true,"id":9634},"_Extent":{"__isSmartRef__":true,"id":9635},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9636},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9637},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9633":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9634":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9635":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9636":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9637":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9638":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9639":{"morph":{"__isSmartRef__":true,"id":9631},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9640":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9641":{"toggle":{"__isSmartRef__":true,"id":9642},"toggleExpansion":{"__isSmartRef__":true,"id":9649}},"9642":{"varMapping":{"__isSmartRef__":true,"id":9643},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9643":{"this":{"__isSmartRef__":true,"id":9631},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9644}},"9644":{"$super":{"__isSmartRef__":true,"id":9645}},"9645":{"varMapping":{"__isSmartRef__":true,"id":9646},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9646":{"obj":{"__isSmartRef__":true,"id":9631},"name":"toggle"},"9647":{},"9648":{},"9649":{"varMapping":{"__isSmartRef__":true,"id":9650},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9650":{"this":{"__isSmartRef__":true,"id":9631}},"9651":{},"9652":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9653},"derivationIds":[null],"id":"393EA8D0-5AD2-4E95-94FE-DE53D6B35A1D","renderContextTable":{"__isSmartRef__":true,"id":9657},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9658},{"__isSmartRef__":true,"id":9660}],"eventHandler":{"__isSmartRef__":true,"id":9662},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9663},"priorExtent":{"__isSmartRef__":true,"id":9664},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9665},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9653":{"_Position":{"__isSmartRef__":true,"id":9654},"renderContextTable":{"__isSmartRef__":true,"id":9655},"_Extent":{"__isSmartRef__":true,"id":9656},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9654":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9655":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9656":{"x":308,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9657":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9658":{"style":{"__isSmartRef__":true,"id":9659},"chunkOwner":{"__isSmartRef__":true,"id":9652},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9659":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9660":{"style":{"__isSmartRef__":true,"id":9661},"chunkOwner":{"__isSmartRef__":true,"id":9652},"storedString":": 0AB98F19-A157-4D7B-B9EC-6977AF4556DA","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9661":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9662":{"morph":{"__isSmartRef__":true,"id":9652},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9663":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9664":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9665":{"layoutText":{"__isSmartRef__":true,"id":9666}},"9666":{"varMapping":{"__isSmartRef__":true,"id":9667},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9667":{"this":{"__isSmartRef__":true,"id":9652}},"9668":{},"9669":{"_Position":{"__isSmartRef__":true,"id":9670},"renderContextTable":{"__isSmartRef__":true,"id":9671},"_Extent":{"__isSmartRef__":true,"id":9672},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9673},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9670":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9671":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9672":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9673":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9674":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9675":{"morph":{"__isSmartRef__":true,"id":9630},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9676":{"resizeWidth":true},"9677":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9678":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9679":{"updateExpanderColor":{"__isSmartRef__":true,"id":9680},"onMouseDown":{"__isSmartRef__":true,"id":9683},"isRoot":{"__isSmartRef__":true,"id":9690},"displayValue":{"__isSmartRef__":true,"id":9693},"update":{"__isSmartRef__":true,"id":9696}},"9680":{"varMapping":{"__isSmartRef__":true,"id":9681},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9681":{"this":{"__isSmartRef__":true,"id":9630}},"9682":{},"9683":{"varMapping":{"__isSmartRef__":true,"id":9684},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9684":{"this":{"__isSmartRef__":true,"id":9630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9685}},"9685":{"$super":{"__isSmartRef__":true,"id":9686}},"9686":{"varMapping":{"__isSmartRef__":true,"id":9687},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9687":{"obj":{"__isSmartRef__":true,"id":9630},"name":"onMouseDown"},"9688":{},"9689":{},"9690":{"varMapping":{"__isSmartRef__":true,"id":9691},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9691":{"this":{"__isSmartRef__":true,"id":9630}},"9692":{},"9693":{"varMapping":{"__isSmartRef__":true,"id":9694},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9694":{"this":{"__isSmartRef__":true,"id":9630}},"9695":{},"9696":{"varMapping":{"__isSmartRef__":true,"id":9697},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9697":{"this":{"__isSmartRef__":true,"id":9630}},"9698":{},"9699":{"_Position":{"__isSmartRef__":true,"id":9700},"renderContextTable":{"__isSmartRef__":true,"id":9701},"_Extent":{"__isSmartRef__":true,"id":9702},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9703},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9700":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9701":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9702":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9703":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9704":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9705":{"morph":{"__isSmartRef__":true,"id":9629},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9706":{"layouter":{"__isSmartRef__":true,"id":9707},"resizeWidth":true},"9707":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9629},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9708":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9709":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9710":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9711}},"9711":{"varMapping":{"__isSmartRef__":true,"id":9712},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9712":{"this":{"__isSmartRef__":true,"id":9629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9713}},"9713":{"$super":{"__isSmartRef__":true,"id":9714}},"9714":{"varMapping":{"__isSmartRef__":true,"id":9715},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9715":{"obj":{"__isSmartRef__":true,"id":9629},"name":"getLayoutableSubmorphs"},"9716":{},"9717":{},"9718":{"submorphs":[{"__isSmartRef__":true,"id":9719}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9788},"derivationIds":[null],"id":"1D4A058D-009E-45E3-AAC5-7007DF18D0CD","renderContextTable":{"__isSmartRef__":true,"id":9793},"eventHandler":{"__isSmartRef__":true,"id":9794},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9795},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9797},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9798},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9799},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9719":{"submorphs":[{"__isSmartRef__":true,"id":9720},{"__isSmartRef__":true,"id":9741}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9758},"derivationIds":[null],"id":"0C4A6EC6-8063-4B42-BFA8-7BEA66679D30","renderContextTable":{"__isSmartRef__":true,"id":9763},"eventHandler":{"__isSmartRef__":true,"id":9764},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9765},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"isBeingDragged","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9720},"text":{"__isSmartRef__":true,"id":9741},"owner":{"__isSmartRef__":true,"id":9718},"_Position":{"__isSmartRef__":true,"id":9766},"priorExtent":{"__isSmartRef__":true,"id":9767},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9768},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9720":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9721},"derivationIds":[null],"id":"18CBF2A2-756E-46C6-9291-0E6D46DBF92D","renderContextTable":{"__isSmartRef__":true,"id":9727},"eventHandler":{"__isSmartRef__":true,"id":9728},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9729},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9730},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9721":{"_Position":{"__isSmartRef__":true,"id":9722},"renderContextTable":{"__isSmartRef__":true,"id":9723},"_Extent":{"__isSmartRef__":true,"id":9724},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9725},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9726},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9722":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9723":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9724":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9725":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9726":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9727":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9728":{"morph":{"__isSmartRef__":true,"id":9720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9729":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9730":{"toggle":{"__isSmartRef__":true,"id":9731},"toggleExpansion":{"__isSmartRef__":true,"id":9738}},"9731":{"varMapping":{"__isSmartRef__":true,"id":9732},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9732":{"this":{"__isSmartRef__":true,"id":9720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9733}},"9733":{"$super":{"__isSmartRef__":true,"id":9734}},"9734":{"varMapping":{"__isSmartRef__":true,"id":9735},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9735":{"obj":{"__isSmartRef__":true,"id":9720},"name":"toggle"},"9736":{},"9737":{},"9738":{"varMapping":{"__isSmartRef__":true,"id":9739},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9739":{"this":{"__isSmartRef__":true,"id":9720}},"9740":{},"9741":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9742},"derivationIds":[null],"id":"80FD2B31-EF7D-4E71-8258-B5439541EA02","renderContextTable":{"__isSmartRef__":true,"id":9746},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9747},{"__isSmartRef__":true,"id":9749}],"eventHandler":{"__isSmartRef__":true,"id":9751},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9752},"priorExtent":{"__isSmartRef__":true,"id":9753},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9754},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9742":{"_Position":{"__isSmartRef__":true,"id":9743},"renderContextTable":{"__isSmartRef__":true,"id":9744},"_Extent":{"__isSmartRef__":true,"id":9745},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9743":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9744":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9745":{"x":165.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9746":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9747":{"style":{"__isSmartRef__":true,"id":9748},"chunkOwner":{"__isSmartRef__":true,"id":9741},"storedString":"isBeingDragged","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9748":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9749":{"style":{"__isSmartRef__":true,"id":9750},"chunkOwner":{"__isSmartRef__":true,"id":9741},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9750":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9751":{"morph":{"__isSmartRef__":true,"id":9741},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9752":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9753":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9754":{"layoutText":{"__isSmartRef__":true,"id":9755}},"9755":{"varMapping":{"__isSmartRef__":true,"id":9756},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9756":{"this":{"__isSmartRef__":true,"id":9741}},"9757":{},"9758":{"_Position":{"__isSmartRef__":true,"id":9759},"renderContextTable":{"__isSmartRef__":true,"id":9760},"_Extent":{"__isSmartRef__":true,"id":9761},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9762},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9759":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9760":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9761":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9762":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9763":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9764":{"morph":{"__isSmartRef__":true,"id":9719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9765":{"resizeWidth":true},"9766":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9767":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9768":{"updateExpanderColor":{"__isSmartRef__":true,"id":9769},"onMouseDown":{"__isSmartRef__":true,"id":9772},"isRoot":{"__isSmartRef__":true,"id":9779},"displayValue":{"__isSmartRef__":true,"id":9782},"update":{"__isSmartRef__":true,"id":9785}},"9769":{"varMapping":{"__isSmartRef__":true,"id":9770},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9771},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9770":{"this":{"__isSmartRef__":true,"id":9719}},"9771":{},"9772":{"varMapping":{"__isSmartRef__":true,"id":9773},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9773":{"this":{"__isSmartRef__":true,"id":9719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9774}},"9774":{"$super":{"__isSmartRef__":true,"id":9775}},"9775":{"varMapping":{"__isSmartRef__":true,"id":9776},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9777},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9776":{"obj":{"__isSmartRef__":true,"id":9719},"name":"onMouseDown"},"9777":{},"9778":{},"9779":{"varMapping":{"__isSmartRef__":true,"id":9780},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9781},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9780":{"this":{"__isSmartRef__":true,"id":9719}},"9781":{},"9782":{"varMapping":{"__isSmartRef__":true,"id":9783},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9783":{"this":{"__isSmartRef__":true,"id":9719}},"9784":{},"9785":{"varMapping":{"__isSmartRef__":true,"id":9786},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9786":{"this":{"__isSmartRef__":true,"id":9719}},"9787":{},"9788":{"_Position":{"__isSmartRef__":true,"id":9789},"renderContextTable":{"__isSmartRef__":true,"id":9790},"_Extent":{"__isSmartRef__":true,"id":9791},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9792},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9789":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9790":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9791":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9792":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9793":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9794":{"morph":{"__isSmartRef__":true,"id":9718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9795":{"layouter":{"__isSmartRef__":true,"id":9796},"resizeWidth":true},"9796":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9718},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9797":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9798":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9799":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9800}},"9800":{"varMapping":{"__isSmartRef__":true,"id":9801},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9801":{"this":{"__isSmartRef__":true,"id":9718},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9802}},"9802":{"$super":{"__isSmartRef__":true,"id":9803}},"9803":{"varMapping":{"__isSmartRef__":true,"id":9804},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9804":{"obj":{"__isSmartRef__":true,"id":9718},"name":"getLayoutableSubmorphs"},"9805":{},"9806":{},"9807":{"submorphs":[{"__isSmartRef__":true,"id":9808}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9877},"derivationIds":[null],"id":"424391BD-8C23-475C-B000-CFC4F9058FFC","renderContextTable":{"__isSmartRef__":true,"id":9882},"eventHandler":{"__isSmartRef__":true,"id":9883},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9884},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9886},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9887},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9888},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9808":{"submorphs":[{"__isSmartRef__":true,"id":9809},{"__isSmartRef__":true,"id":9830}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9847},"derivationIds":[null],"id":"39C85CD7-61BC-4B21-8848-7C329D81F662","renderContextTable":{"__isSmartRef__":true,"id":9852},"eventHandler":{"__isSmartRef__":true,"id":9853},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9854},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":5347},{"__isSmartRef__":true,"id":5349},{"__isSmartRef__":true,"id":5351},{"__isSmartRef__":true,"id":5353},{"__isSmartRef__":true,"id":5355},{"__isSmartRef__":true,"id":5357},{"__isSmartRef__":true,"id":5359}],"propertyList":["0","1","2","3","4","5","6","7"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"magnets","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9809},"text":{"__isSmartRef__":true,"id":9830},"owner":{"__isSmartRef__":true,"id":9807},"_Position":{"__isSmartRef__":true,"id":9855},"priorExtent":{"__isSmartRef__":true,"id":9856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9857},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9809":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9810},"derivationIds":[null],"id":"AC4D4562-B140-4DE8-AE8A-C82D740EB119","renderContextTable":{"__isSmartRef__":true,"id":9816},"eventHandler":{"__isSmartRef__":true,"id":9817},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9818},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9819},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9810":{"_Position":{"__isSmartRef__":true,"id":9811},"renderContextTable":{"__isSmartRef__":true,"id":9812},"_Extent":{"__isSmartRef__":true,"id":9813},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9814},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9815},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9811":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9812":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9813":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9814":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9815":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9816":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9817":{"morph":{"__isSmartRef__":true,"id":9809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9818":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9819":{"toggle":{"__isSmartRef__":true,"id":9820},"toggleExpansion":{"__isSmartRef__":true,"id":9827}},"9820":{"varMapping":{"__isSmartRef__":true,"id":9821},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9821":{"this":{"__isSmartRef__":true,"id":9809},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9822}},"9822":{"$super":{"__isSmartRef__":true,"id":9823}},"9823":{"varMapping":{"__isSmartRef__":true,"id":9824},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9824":{"obj":{"__isSmartRef__":true,"id":9809},"name":"toggle"},"9825":{},"9826":{},"9827":{"varMapping":{"__isSmartRef__":true,"id":9828},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9828":{"this":{"__isSmartRef__":true,"id":9809}},"9829":{},"9830":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9831},"derivationIds":[null],"id":"439B277D-55B3-4E02-A1C0-70F2078A5841","renderContextTable":{"__isSmartRef__":true,"id":9835},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9836},{"__isSmartRef__":true,"id":9838}],"eventHandler":{"__isSmartRef__":true,"id":9840},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9841},"priorExtent":{"__isSmartRef__":true,"id":9842},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9843},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9831":{"_Position":{"__isSmartRef__":true,"id":9832},"renderContextTable":{"__isSmartRef__":true,"id":9833},"_Extent":{"__isSmartRef__":true,"id":9834},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9833":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9834":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9835":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9836":{"style":{"__isSmartRef__":true,"id":9837},"chunkOwner":{"__isSmartRef__":true,"id":9830},"storedString":"magnets","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9837":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9838":{"style":{"__isSmartRef__":true,"id":9839},"chunkOwner":{"__isSmartRef__":true,"id":9830},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9839":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9840":{"morph":{"__isSmartRef__":true,"id":9830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9841":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9842":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9843":{"layoutText":{"__isSmartRef__":true,"id":9844}},"9844":{"varMapping":{"__isSmartRef__":true,"id":9845},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9845":{"this":{"__isSmartRef__":true,"id":9830}},"9846":{},"9847":{"_Position":{"__isSmartRef__":true,"id":9848},"renderContextTable":{"__isSmartRef__":true,"id":9849},"_Extent":{"__isSmartRef__":true,"id":9850},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9851},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9848":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9849":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9850":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9851":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9852":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9853":{"morph":{"__isSmartRef__":true,"id":9808},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9854":{"resizeWidth":true},"9855":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9856":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9857":{"updateExpanderColor":{"__isSmartRef__":true,"id":9858},"onMouseDown":{"__isSmartRef__":true,"id":9861},"isRoot":{"__isSmartRef__":true,"id":9868},"displayValue":{"__isSmartRef__":true,"id":9871},"update":{"__isSmartRef__":true,"id":9874}},"9858":{"varMapping":{"__isSmartRef__":true,"id":9859},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9859":{"this":{"__isSmartRef__":true,"id":9808}},"9860":{},"9861":{"varMapping":{"__isSmartRef__":true,"id":9862},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9862":{"this":{"__isSmartRef__":true,"id":9808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9863}},"9863":{"$super":{"__isSmartRef__":true,"id":9864}},"9864":{"varMapping":{"__isSmartRef__":true,"id":9865},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9865":{"obj":{"__isSmartRef__":true,"id":9808},"name":"onMouseDown"},"9866":{},"9867":{},"9868":{"varMapping":{"__isSmartRef__":true,"id":9869},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9869":{"this":{"__isSmartRef__":true,"id":9808}},"9870":{},"9871":{"varMapping":{"__isSmartRef__":true,"id":9872},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9872":{"this":{"__isSmartRef__":true,"id":9808}},"9873":{},"9874":{"varMapping":{"__isSmartRef__":true,"id":9875},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9875":{"this":{"__isSmartRef__":true,"id":9808}},"9876":{},"9877":{"_Position":{"__isSmartRef__":true,"id":9878},"renderContextTable":{"__isSmartRef__":true,"id":9879},"_Extent":{"__isSmartRef__":true,"id":9880},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9881},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9878":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9879":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9880":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9881":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9882":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9883":{"morph":{"__isSmartRef__":true,"id":9807},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9884":{"layouter":{"__isSmartRef__":true,"id":9885},"resizeWidth":true},"9885":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9807},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9886":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9887":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9888":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9889}},"9889":{"varMapping":{"__isSmartRef__":true,"id":9890},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9890":{"this":{"__isSmartRef__":true,"id":9807},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9891}},"9891":{"$super":{"__isSmartRef__":true,"id":9892}},"9892":{"varMapping":{"__isSmartRef__":true,"id":9893},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9893":{"obj":{"__isSmartRef__":true,"id":9807},"name":"getLayoutableSubmorphs"},"9894":{},"9895":{},"9896":{"submorphs":[{"__isSmartRef__":true,"id":9897}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9966},"derivationIds":[null],"id":"CA438353-08B2-4545-B008-D1D2B71424EF","renderContextTable":{"__isSmartRef__":true,"id":9971},"eventHandler":{"__isSmartRef__":true,"id":9972},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9973},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9975},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":9976},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9977},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9897":{"submorphs":[{"__isSmartRef__":true,"id":9898},{"__isSmartRef__":true,"id":9919}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9936},"derivationIds":[null],"id":"EF1CE053-50B6-4447-A519-C2E0CD709DE7","renderContextTable":{"__isSmartRef__":true,"id":9941},"eventHandler":{"__isSmartRef__":true,"id":9942},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9943},"grabbingEnabled":false,"draggingEnabled":false,"data":"Image","propertyList":["0","1","2","3","4"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9898},"text":{"__isSmartRef__":true,"id":9919},"owner":{"__isSmartRef__":true,"id":9896},"_Position":{"__isSmartRef__":true,"id":9944},"priorExtent":{"__isSmartRef__":true,"id":9945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9946},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9898":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9899},"derivationIds":[null],"id":"ABD2285A-1C85-45F3-BE90-E28117C0568B","renderContextTable":{"__isSmartRef__":true,"id":9905},"eventHandler":{"__isSmartRef__":true,"id":9906},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9907},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9908},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9899":{"_Position":{"__isSmartRef__":true,"id":9900},"renderContextTable":{"__isSmartRef__":true,"id":9901},"_Extent":{"__isSmartRef__":true,"id":9902},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9903},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9904},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9900":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9901":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9902":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9903":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9904":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9905":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9906":{"morph":{"__isSmartRef__":true,"id":9898},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9907":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9908":{"toggle":{"__isSmartRef__":true,"id":9909},"toggleExpansion":{"__isSmartRef__":true,"id":9916}},"9909":{"varMapping":{"__isSmartRef__":true,"id":9910},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9910":{"this":{"__isSmartRef__":true,"id":9898},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9911}},"9911":{"$super":{"__isSmartRef__":true,"id":9912}},"9912":{"varMapping":{"__isSmartRef__":true,"id":9913},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9913":{"obj":{"__isSmartRef__":true,"id":9898},"name":"toggle"},"9914":{},"9915":{},"9916":{"varMapping":{"__isSmartRef__":true,"id":9917},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9917":{"this":{"__isSmartRef__":true,"id":9898}},"9918":{},"9919":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9920},"derivationIds":[null],"id":"706D7BE3-4FC4-4781-B64B-FEAD9559F899","renderContextTable":{"__isSmartRef__":true,"id":9924},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":9925},{"__isSmartRef__":true,"id":9927}],"eventHandler":{"__isSmartRef__":true,"id":9929},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":9930},"priorExtent":{"__isSmartRef__":true,"id":9931},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9932},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9920":{"_Position":{"__isSmartRef__":true,"id":9921},"renderContextTable":{"__isSmartRef__":true,"id":9922},"_Extent":{"__isSmartRef__":true,"id":9923},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9921":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9922":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9923":{"x":90.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"9925":{"style":{"__isSmartRef__":true,"id":9926},"chunkOwner":{"__isSmartRef__":true,"id":9919},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9926":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9927":{"style":{"__isSmartRef__":true,"id":9928},"chunkOwner":{"__isSmartRef__":true,"id":9919},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9928":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9929":{"morph":{"__isSmartRef__":true,"id":9919},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9930":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9931":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9932":{"layoutText":{"__isSmartRef__":true,"id":9933}},"9933":{"varMapping":{"__isSmartRef__":true,"id":9934},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9934":{"this":{"__isSmartRef__":true,"id":9919}},"9935":{},"9936":{"_Position":{"__isSmartRef__":true,"id":9937},"renderContextTable":{"__isSmartRef__":true,"id":9938},"_Extent":{"__isSmartRef__":true,"id":9939},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9940},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9937":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9938":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9939":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9940":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9941":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9942":{"morph":{"__isSmartRef__":true,"id":9897},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9943":{"resizeWidth":true},"9944":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9945":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9946":{"updateExpanderColor":{"__isSmartRef__":true,"id":9947},"onMouseDown":{"__isSmartRef__":true,"id":9950},"isRoot":{"__isSmartRef__":true,"id":9957},"displayValue":{"__isSmartRef__":true,"id":9960},"update":{"__isSmartRef__":true,"id":9963}},"9947":{"varMapping":{"__isSmartRef__":true,"id":9948},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9948":{"this":{"__isSmartRef__":true,"id":9897}},"9949":{},"9950":{"varMapping":{"__isSmartRef__":true,"id":9951},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9956},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9951":{"this":{"__isSmartRef__":true,"id":9897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9952}},"9952":{"$super":{"__isSmartRef__":true,"id":9953}},"9953":{"varMapping":{"__isSmartRef__":true,"id":9954},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9955},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9954":{"obj":{"__isSmartRef__":true,"id":9897},"name":"onMouseDown"},"9955":{},"9956":{},"9957":{"varMapping":{"__isSmartRef__":true,"id":9958},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9959},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9958":{"this":{"__isSmartRef__":true,"id":9897}},"9959":{},"9960":{"varMapping":{"__isSmartRef__":true,"id":9961},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9961":{"this":{"__isSmartRef__":true,"id":9897}},"9962":{},"9963":{"varMapping":{"__isSmartRef__":true,"id":9964},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9964":{"this":{"__isSmartRef__":true,"id":9897}},"9965":{},"9966":{"_Position":{"__isSmartRef__":true,"id":9967},"renderContextTable":{"__isSmartRef__":true,"id":9968},"_Extent":{"__isSmartRef__":true,"id":9969},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9970},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9967":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9968":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9969":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9970":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9971":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9972":{"morph":{"__isSmartRef__":true,"id":9896},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9973":{"layouter":{"__isSmartRef__":true,"id":9974},"resizeWidth":true},"9974":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9896},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9975":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9976":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9977":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9978}},"9978":{"varMapping":{"__isSmartRef__":true,"id":9979},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9979":{"this":{"__isSmartRef__":true,"id":9896},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9980}},"9980":{"$super":{"__isSmartRef__":true,"id":9981}},"9981":{"varMapping":{"__isSmartRef__":true,"id":9982},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9982":{"obj":{"__isSmartRef__":true,"id":9896},"name":"getLayoutableSubmorphs"},"9983":{},"9984":{},"9985":{"submorphs":[{"__isSmartRef__":true,"id":9986}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10055},"derivationIds":[null],"id":"F9820F55-9A21-4877-A442-D8FBA7CA4B63","renderContextTable":{"__isSmartRef__":true,"id":10060},"eventHandler":{"__isSmartRef__":true,"id":10061},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10062},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10064},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10065},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10066},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9986":{"submorphs":[{"__isSmartRef__":true,"id":9987},{"__isSmartRef__":true,"id":10008}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10025},"derivationIds":[null],"id":"35BDCFCE-C05C-4FD2-8853-8688392F3254","renderContextTable":{"__isSmartRef__":true,"id":10030},"eventHandler":{"__isSmartRef__":true,"id":10031},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10032},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","id","shape","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","registeredForMouseEvents","_Position","hands","__SourceModuleName__","changeSet","statusMessages","showsHalos","lastAlert","__layered_draggingEnabled__","_Scale","renderContextTable","eventHandler","eventStartPos","worldMenuOpened","prevScroll","attributeConnections","doNotSerialize","doNotCopyProperties","$$savedWorldAsURL","savedWorldAsURL","_renderContext","draggingEnabled","clickedOnMorph","clickedOnMorphTime","draggedMorph","selectionMorph","currentMenu","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":9987},"text":{"__isSmartRef__":true,"id":10008},"owner":{"__isSmartRef__":true,"id":9985},"_Position":{"__isSmartRef__":true,"id":10033},"priorExtent":{"__isSmartRef__":true,"id":10034},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10035},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9987":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9988},"derivationIds":[null],"id":"7907E098-9DDA-49D5-B458-2745A4365925","renderContextTable":{"__isSmartRef__":true,"id":9994},"eventHandler":{"__isSmartRef__":true,"id":9995},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9996},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9986},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9997},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9988":{"_Position":{"__isSmartRef__":true,"id":9989},"renderContextTable":{"__isSmartRef__":true,"id":9990},"_Extent":{"__isSmartRef__":true,"id":9991},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":9992},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":9993},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9989":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"9991":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9992":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"9993":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"9994":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9995":{"morph":{"__isSmartRef__":true,"id":9987},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9996":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"9997":{"toggle":{"__isSmartRef__":true,"id":9998},"toggleExpansion":{"__isSmartRef__":true,"id":10005}},"9998":{"varMapping":{"__isSmartRef__":true,"id":9999},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"9999":{"this":{"__isSmartRef__":true,"id":9987},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10000}},"10000":{"$super":{"__isSmartRef__":true,"id":10001}},"10001":{"varMapping":{"__isSmartRef__":true,"id":10002},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10003},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10002":{"obj":{"__isSmartRef__":true,"id":9987},"name":"toggle"},"10003":{},"10004":{},"10005":{"varMapping":{"__isSmartRef__":true,"id":10006},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10007},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10006":{"this":{"__isSmartRef__":true,"id":9987}},"10007":{},"10008":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10009},"derivationIds":[null],"id":"8DA6E6C5-7634-4394-BE72-DE7DBD117FC3","renderContextTable":{"__isSmartRef__":true,"id":10013},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10014},{"__isSmartRef__":true,"id":10016}],"eventHandler":{"__isSmartRef__":true,"id":10018},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10019},"priorExtent":{"__isSmartRef__":true,"id":10020},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":9986},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10021},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10009":{"_Position":{"__isSmartRef__":true,"id":10010},"renderContextTable":{"__isSmartRef__":true,"id":10011},"_Extent":{"__isSmartRef__":true,"id":10012},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10010":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10012":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10013":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10014":{"style":{"__isSmartRef__":true,"id":10015},"chunkOwner":{"__isSmartRef__":true,"id":10008},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10015":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10016":{"style":{"__isSmartRef__":true,"id":10017},"chunkOwner":{"__isSmartRef__":true,"id":10008},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10017":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10018":{"morph":{"__isSmartRef__":true,"id":10008},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10019":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10020":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10021":{"layoutText":{"__isSmartRef__":true,"id":10022}},"10022":{"varMapping":{"__isSmartRef__":true,"id":10023},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10023":{"this":{"__isSmartRef__":true,"id":10008}},"10024":{},"10025":{"_Position":{"__isSmartRef__":true,"id":10026},"renderContextTable":{"__isSmartRef__":true,"id":10027},"_Extent":{"__isSmartRef__":true,"id":10028},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10029},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10026":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10027":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10028":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10029":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10030":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10031":{"morph":{"__isSmartRef__":true,"id":9986},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10032":{"resizeWidth":true},"10033":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10034":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10035":{"updateExpanderColor":{"__isSmartRef__":true,"id":10036},"onMouseDown":{"__isSmartRef__":true,"id":10039},"isRoot":{"__isSmartRef__":true,"id":10046},"displayValue":{"__isSmartRef__":true,"id":10049},"update":{"__isSmartRef__":true,"id":10052}},"10036":{"varMapping":{"__isSmartRef__":true,"id":10037},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10037":{"this":{"__isSmartRef__":true,"id":9986}},"10038":{},"10039":{"varMapping":{"__isSmartRef__":true,"id":10040},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10045},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10040":{"this":{"__isSmartRef__":true,"id":9986},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10041}},"10041":{"$super":{"__isSmartRef__":true,"id":10042}},"10042":{"varMapping":{"__isSmartRef__":true,"id":10043},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10044},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10043":{"obj":{"__isSmartRef__":true,"id":9986},"name":"onMouseDown"},"10044":{},"10045":{},"10046":{"varMapping":{"__isSmartRef__":true,"id":10047},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10047":{"this":{"__isSmartRef__":true,"id":9986}},"10048":{},"10049":{"varMapping":{"__isSmartRef__":true,"id":10050},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10050":{"this":{"__isSmartRef__":true,"id":9986}},"10051":{},"10052":{"varMapping":{"__isSmartRef__":true,"id":10053},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10053":{"this":{"__isSmartRef__":true,"id":9986}},"10054":{},"10055":{"_Position":{"__isSmartRef__":true,"id":10056},"renderContextTable":{"__isSmartRef__":true,"id":10057},"_Extent":{"__isSmartRef__":true,"id":10058},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10059},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10056":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10058":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10059":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10061":{"morph":{"__isSmartRef__":true,"id":9985},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10062":{"layouter":{"__isSmartRef__":true,"id":10063},"resizeWidth":true},"10063":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9985},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10064":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10065":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10066":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10067}},"10067":{"varMapping":{"__isSmartRef__":true,"id":10068},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10073},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10068":{"this":{"__isSmartRef__":true,"id":9985},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10069}},"10069":{"$super":{"__isSmartRef__":true,"id":10070}},"10070":{"varMapping":{"__isSmartRef__":true,"id":10071},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10071":{"obj":{"__isSmartRef__":true,"id":9985},"name":"getLayoutableSubmorphs"},"10072":{},"10073":{},"10074":{"submorphs":[{"__isSmartRef__":true,"id":10075}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10144},"derivationIds":[null],"id":"45415486-514B-4C4B-91C7-02BD0DFFD92B","renderContextTable":{"__isSmartRef__":true,"id":10149},"eventHandler":{"__isSmartRef__":true,"id":10150},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10151},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10153},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10155},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10075":{"submorphs":[{"__isSmartRef__":true,"id":10076},{"__isSmartRef__":true,"id":10097}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10114},"derivationIds":[null],"id":"FA518D89-683D-4DCA-A02F-7C6579EE0A71","renderContextTable":{"__isSmartRef__":true,"id":10119},"eventHandler":{"__isSmartRef__":true,"id":10120},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10121},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":98},"propertyList":["partsSpaceName","__SourceModuleName__","partName","migrationLevel","comment","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10076},"text":{"__isSmartRef__":true,"id":10097},"owner":{"__isSmartRef__":true,"id":10074},"_Position":{"__isSmartRef__":true,"id":10122},"priorExtent":{"__isSmartRef__":true,"id":10123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10124},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10076":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10077},"derivationIds":[null],"id":"26CD5FF5-8B0B-489C-9564-FD3DE41C73E5","renderContextTable":{"__isSmartRef__":true,"id":10083},"eventHandler":{"__isSmartRef__":true,"id":10084},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10085},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10075},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10086},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10077":{"_Position":{"__isSmartRef__":true,"id":10078},"renderContextTable":{"__isSmartRef__":true,"id":10079},"_Extent":{"__isSmartRef__":true,"id":10080},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10081},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10082},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10078":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10079":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10080":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10081":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10082":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10083":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10084":{"morph":{"__isSmartRef__":true,"id":10076},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10085":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10086":{"toggle":{"__isSmartRef__":true,"id":10087},"toggleExpansion":{"__isSmartRef__":true,"id":10094}},"10087":{"varMapping":{"__isSmartRef__":true,"id":10088},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10088":{"this":{"__isSmartRef__":true,"id":10076},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10089}},"10089":{"$super":{"__isSmartRef__":true,"id":10090}},"10090":{"varMapping":{"__isSmartRef__":true,"id":10091},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10091":{"obj":{"__isSmartRef__":true,"id":10076},"name":"toggle"},"10092":{},"10093":{},"10094":{"varMapping":{"__isSmartRef__":true,"id":10095},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10095":{"this":{"__isSmartRef__":true,"id":10076}},"10096":{},"10097":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10098},"derivationIds":[null],"id":"C011A59A-4B0A-426B-979E-3605D9FAA0A4","renderContextTable":{"__isSmartRef__":true,"id":10102},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10103},{"__isSmartRef__":true,"id":10105}],"eventHandler":{"__isSmartRef__":true,"id":10107},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10108},"priorExtent":{"__isSmartRef__":true,"id":10109},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10075},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10110},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10098":{"_Position":{"__isSmartRef__":true,"id":10099},"renderContextTable":{"__isSmartRef__":true,"id":10100},"_Extent":{"__isSmartRef__":true,"id":10101},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10099":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10100":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10101":{"x":263,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10102":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10103":{"style":{"__isSmartRef__":true,"id":10104},"chunkOwner":{"__isSmartRef__":true,"id":10097},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10104":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10105":{"style":{"__isSmartRef__":true,"id":10106},"chunkOwner":{"__isSmartRef__":true,"id":10097},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10106":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10107":{"morph":{"__isSmartRef__":true,"id":10097},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10108":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10109":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10110":{"layoutText":{"__isSmartRef__":true,"id":10111}},"10111":{"varMapping":{"__isSmartRef__":true,"id":10112},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10112":{"this":{"__isSmartRef__":true,"id":10097}},"10113":{},"10114":{"_Position":{"__isSmartRef__":true,"id":10115},"renderContextTable":{"__isSmartRef__":true,"id":10116},"_Extent":{"__isSmartRef__":true,"id":10117},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10118},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10115":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10116":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10117":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10118":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10119":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10120":{"morph":{"__isSmartRef__":true,"id":10075},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10121":{"resizeWidth":true},"10122":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10123":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10124":{"updateExpanderColor":{"__isSmartRef__":true,"id":10125},"onMouseDown":{"__isSmartRef__":true,"id":10128},"isRoot":{"__isSmartRef__":true,"id":10135},"displayValue":{"__isSmartRef__":true,"id":10138},"update":{"__isSmartRef__":true,"id":10141}},"10125":{"varMapping":{"__isSmartRef__":true,"id":10126},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10126":{"this":{"__isSmartRef__":true,"id":10075}},"10127":{},"10128":{"varMapping":{"__isSmartRef__":true,"id":10129},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10129":{"this":{"__isSmartRef__":true,"id":10075},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10130}},"10130":{"$super":{"__isSmartRef__":true,"id":10131}},"10131":{"varMapping":{"__isSmartRef__":true,"id":10132},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10132":{"obj":{"__isSmartRef__":true,"id":10075},"name":"onMouseDown"},"10133":{},"10134":{},"10135":{"varMapping":{"__isSmartRef__":true,"id":10136},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10136":{"this":{"__isSmartRef__":true,"id":10075}},"10137":{},"10138":{"varMapping":{"__isSmartRef__":true,"id":10139},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10139":{"this":{"__isSmartRef__":true,"id":10075}},"10140":{},"10141":{"varMapping":{"__isSmartRef__":true,"id":10142},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10143},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10142":{"this":{"__isSmartRef__":true,"id":10075}},"10143":{},"10144":{"_Position":{"__isSmartRef__":true,"id":10145},"renderContextTable":{"__isSmartRef__":true,"id":10146},"_Extent":{"__isSmartRef__":true,"id":10147},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10148},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10145":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10146":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10147":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10148":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10149":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10150":{"morph":{"__isSmartRef__":true,"id":10074},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10151":{"layouter":{"__isSmartRef__":true,"id":10152},"resizeWidth":true},"10152":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10074},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10153":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10154":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10155":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10156}},"10156":{"varMapping":{"__isSmartRef__":true,"id":10157},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10157":{"this":{"__isSmartRef__":true,"id":10074},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10158}},"10158":{"$super":{"__isSmartRef__":true,"id":10159}},"10159":{"varMapping":{"__isSmartRef__":true,"id":10160},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10160":{"obj":{"__isSmartRef__":true,"id":10074},"name":"getLayoutableSubmorphs"},"10161":{},"10162":{},"10163":{"submorphs":[{"__isSmartRef__":true,"id":10164}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10233},"derivationIds":[null],"id":"47CD82E5-B4BA-4F50-94BD-FD24AE697150","renderContextTable":{"__isSmartRef__":true,"id":10238},"eventHandler":{"__isSmartRef__":true,"id":10239},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10240},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10242},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10243},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10244},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10164":{"submorphs":[{"__isSmartRef__":true,"id":10165},{"__isSmartRef__":true,"id":10186}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10203},"derivationIds":[null],"id":"7E832E07-C162-4E1A-AF1B-963BBFB9118A","renderContextTable":{"__isSmartRef__":true,"id":10208},"eventHandler":{"__isSmartRef__":true,"id":10209},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10210},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":113},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"priorExtent","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10165},"text":{"__isSmartRef__":true,"id":10186},"owner":{"__isSmartRef__":true,"id":10163},"_Position":{"__isSmartRef__":true,"id":10211},"priorExtent":{"__isSmartRef__":true,"id":10212},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10213},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10165":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10166},"derivationIds":[null],"id":"21BE65EC-C781-491A-8924-858E67AFA286","renderContextTable":{"__isSmartRef__":true,"id":10172},"eventHandler":{"__isSmartRef__":true,"id":10173},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10174},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10164},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10175},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10166":{"_Position":{"__isSmartRef__":true,"id":10167},"renderContextTable":{"__isSmartRef__":true,"id":10168},"_Extent":{"__isSmartRef__":true,"id":10169},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10170},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10171},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10167":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10168":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10169":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10170":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10171":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10172":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10173":{"morph":{"__isSmartRef__":true,"id":10165},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10174":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10175":{"toggle":{"__isSmartRef__":true,"id":10176},"toggleExpansion":{"__isSmartRef__":true,"id":10183}},"10176":{"varMapping":{"__isSmartRef__":true,"id":10177},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10177":{"this":{"__isSmartRef__":true,"id":10165},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10178}},"10178":{"$super":{"__isSmartRef__":true,"id":10179}},"10179":{"varMapping":{"__isSmartRef__":true,"id":10180},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10180":{"obj":{"__isSmartRef__":true,"id":10165},"name":"toggle"},"10181":{},"10182":{},"10183":{"varMapping":{"__isSmartRef__":true,"id":10184},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10184":{"this":{"__isSmartRef__":true,"id":10165}},"10185":{},"10186":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10187},"derivationIds":[null],"id":"3044DAB7-ADE6-46A1-B148-765F3AF79957","renderContextTable":{"__isSmartRef__":true,"id":10191},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10192},{"__isSmartRef__":true,"id":10194}],"eventHandler":{"__isSmartRef__":true,"id":10196},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10197},"priorExtent":{"__isSmartRef__":true,"id":10198},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10164},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10199},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10187":{"_Position":{"__isSmartRef__":true,"id":10188},"renderContextTable":{"__isSmartRef__":true,"id":10189},"_Extent":{"__isSmartRef__":true,"id":10190},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10188":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10189":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10190":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10192":{"style":{"__isSmartRef__":true,"id":10193},"chunkOwner":{"__isSmartRef__":true,"id":10186},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10193":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10194":{"style":{"__isSmartRef__":true,"id":10195},"chunkOwner":{"__isSmartRef__":true,"id":10186},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10195":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10196":{"morph":{"__isSmartRef__":true,"id":10186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10197":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10198":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10199":{"layoutText":{"__isSmartRef__":true,"id":10200}},"10200":{"varMapping":{"__isSmartRef__":true,"id":10201},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10201":{"this":{"__isSmartRef__":true,"id":10186}},"10202":{},"10203":{"_Position":{"__isSmartRef__":true,"id":10204},"renderContextTable":{"__isSmartRef__":true,"id":10205},"_Extent":{"__isSmartRef__":true,"id":10206},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10207},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10204":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10205":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10206":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10207":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10208":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10209":{"morph":{"__isSmartRef__":true,"id":10164},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10210":{"resizeWidth":true},"10211":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10212":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10213":{"updateExpanderColor":{"__isSmartRef__":true,"id":10214},"onMouseDown":{"__isSmartRef__":true,"id":10217},"isRoot":{"__isSmartRef__":true,"id":10224},"displayValue":{"__isSmartRef__":true,"id":10227},"update":{"__isSmartRef__":true,"id":10230}},"10214":{"varMapping":{"__isSmartRef__":true,"id":10215},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10215":{"this":{"__isSmartRef__":true,"id":10164}},"10216":{},"10217":{"varMapping":{"__isSmartRef__":true,"id":10218},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10218":{"this":{"__isSmartRef__":true,"id":10164},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10219}},"10219":{"$super":{"__isSmartRef__":true,"id":10220}},"10220":{"varMapping":{"__isSmartRef__":true,"id":10221},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10221":{"obj":{"__isSmartRef__":true,"id":10164},"name":"onMouseDown"},"10222":{},"10223":{},"10224":{"varMapping":{"__isSmartRef__":true,"id":10225},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10225":{"this":{"__isSmartRef__":true,"id":10164}},"10226":{},"10227":{"varMapping":{"__isSmartRef__":true,"id":10228},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10228":{"this":{"__isSmartRef__":true,"id":10164}},"10229":{},"10230":{"varMapping":{"__isSmartRef__":true,"id":10231},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10231":{"this":{"__isSmartRef__":true,"id":10164}},"10232":{},"10233":{"_Position":{"__isSmartRef__":true,"id":10234},"renderContextTable":{"__isSmartRef__":true,"id":10235},"_Extent":{"__isSmartRef__":true,"id":10236},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10237},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10234":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10236":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10237":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10238":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10239":{"morph":{"__isSmartRef__":true,"id":10163},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10240":{"layouter":{"__isSmartRef__":true,"id":10241},"resizeWidth":true},"10241":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10163},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10242":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10243":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10244":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10245}},"10245":{"varMapping":{"__isSmartRef__":true,"id":10246},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10246":{"this":{"__isSmartRef__":true,"id":10163},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10247}},"10247":{"$super":{"__isSmartRef__":true,"id":10248}},"10248":{"varMapping":{"__isSmartRef__":true,"id":10249},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10249":{"obj":{"__isSmartRef__":true,"id":10163},"name":"getLayoutableSubmorphs"},"10250":{},"10251":{},"10252":{"submorphs":[{"__isSmartRef__":true,"id":10253}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10322},"derivationIds":[null],"id":"E43C39A4-168B-4AD7-B1D2-E587CBB7453E","renderContextTable":{"__isSmartRef__":true,"id":10327},"eventHandler":{"__isSmartRef__":true,"id":10328},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10329},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10331},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10332},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10333},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10253":{"submorphs":[{"__isSmartRef__":true,"id":10254},{"__isSmartRef__":true,"id":10275}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10292},"derivationIds":[null],"id":"67DFAA79-12ED-411F-A163-217371A00943","renderContextTable":{"__isSmartRef__":true,"id":10297},"eventHandler":{"__isSmartRef__":true,"id":10298},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10299},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10254},"text":{"__isSmartRef__":true,"id":10275},"owner":{"__isSmartRef__":true,"id":10252},"_Position":{"__isSmartRef__":true,"id":10300},"priorExtent":{"__isSmartRef__":true,"id":10301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10302},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10254":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10255},"derivationIds":[null],"id":"BEE01F3F-C876-45A1-847C-8C17C8B58871","renderContextTable":{"__isSmartRef__":true,"id":10261},"eventHandler":{"__isSmartRef__":true,"id":10262},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10263},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10253},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10264},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10255":{"_Position":{"__isSmartRef__":true,"id":10256},"renderContextTable":{"__isSmartRef__":true,"id":10257},"_Extent":{"__isSmartRef__":true,"id":10258},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10259},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10260},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10256":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10257":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10258":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10259":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10260":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10261":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10262":{"morph":{"__isSmartRef__":true,"id":10254},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10263":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10264":{"toggle":{"__isSmartRef__":true,"id":10265},"toggleExpansion":{"__isSmartRef__":true,"id":10272}},"10265":{"varMapping":{"__isSmartRef__":true,"id":10266},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10266":{"this":{"__isSmartRef__":true,"id":10254},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10267}},"10267":{"$super":{"__isSmartRef__":true,"id":10268}},"10268":{"varMapping":{"__isSmartRef__":true,"id":10269},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10269":{"obj":{"__isSmartRef__":true,"id":10254},"name":"toggle"},"10270":{},"10271":{},"10272":{"varMapping":{"__isSmartRef__":true,"id":10273},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10273":{"this":{"__isSmartRef__":true,"id":10254}},"10274":{},"10275":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10276},"derivationIds":[null],"id":"57B8A7A5-94E8-4D47-B944-0248CDA7D96F","renderContextTable":{"__isSmartRef__":true,"id":10280},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10281},{"__isSmartRef__":true,"id":10283}],"eventHandler":{"__isSmartRef__":true,"id":10285},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10286},"priorExtent":{"__isSmartRef__":true,"id":10287},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10253},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10288},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10276":{"_Position":{"__isSmartRef__":true,"id":10277},"renderContextTable":{"__isSmartRef__":true,"id":10278},"_Extent":{"__isSmartRef__":true,"id":10279},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10277":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10279":{"x":233,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10280":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10281":{"style":{"__isSmartRef__":true,"id":10282},"chunkOwner":{"__isSmartRef__":true,"id":10275},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10282":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10283":{"style":{"__isSmartRef__":true,"id":10284},"chunkOwner":{"__isSmartRef__":true,"id":10275},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10284":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10285":{"morph":{"__isSmartRef__":true,"id":10275},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10286":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10287":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10288":{"layoutText":{"__isSmartRef__":true,"id":10289}},"10289":{"varMapping":{"__isSmartRef__":true,"id":10290},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10291},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10290":{"this":{"__isSmartRef__":true,"id":10275}},"10291":{},"10292":{"_Position":{"__isSmartRef__":true,"id":10293},"renderContextTable":{"__isSmartRef__":true,"id":10294},"_Extent":{"__isSmartRef__":true,"id":10295},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10296},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10293":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10294":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10295":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10296":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10298":{"morph":{"__isSmartRef__":true,"id":10253},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10299":{"resizeWidth":true},"10300":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10301":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10302":{"updateExpanderColor":{"__isSmartRef__":true,"id":10303},"onMouseDown":{"__isSmartRef__":true,"id":10306},"isRoot":{"__isSmartRef__":true,"id":10313},"displayValue":{"__isSmartRef__":true,"id":10316},"update":{"__isSmartRef__":true,"id":10319}},"10303":{"varMapping":{"__isSmartRef__":true,"id":10304},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10305},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10304":{"this":{"__isSmartRef__":true,"id":10253}},"10305":{},"10306":{"varMapping":{"__isSmartRef__":true,"id":10307},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10307":{"this":{"__isSmartRef__":true,"id":10253},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10308}},"10308":{"$super":{"__isSmartRef__":true,"id":10309}},"10309":{"varMapping":{"__isSmartRef__":true,"id":10310},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10311},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10310":{"obj":{"__isSmartRef__":true,"id":10253},"name":"onMouseDown"},"10311":{},"10312":{},"10313":{"varMapping":{"__isSmartRef__":true,"id":10314},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10314":{"this":{"__isSmartRef__":true,"id":10253}},"10315":{},"10316":{"varMapping":{"__isSmartRef__":true,"id":10317},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10317":{"this":{"__isSmartRef__":true,"id":10253}},"10318":{},"10319":{"varMapping":{"__isSmartRef__":true,"id":10320},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10320":{"this":{"__isSmartRef__":true,"id":10253}},"10321":{},"10322":{"_Position":{"__isSmartRef__":true,"id":10323},"renderContextTable":{"__isSmartRef__":true,"id":10324},"_Extent":{"__isSmartRef__":true,"id":10325},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10326},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10323":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10324":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10325":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10326":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10328":{"morph":{"__isSmartRef__":true,"id":10252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10329":{"layouter":{"__isSmartRef__":true,"id":10330},"resizeWidth":true},"10330":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10252},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10331":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10332":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10333":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10334}},"10334":{"varMapping":{"__isSmartRef__":true,"id":10335},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10335":{"this":{"__isSmartRef__":true,"id":10252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10336}},"10336":{"$super":{"__isSmartRef__":true,"id":10337}},"10337":{"varMapping":{"__isSmartRef__":true,"id":10338},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10338":{"obj":{"__isSmartRef__":true,"id":10252},"name":"getLayoutableSubmorphs"},"10339":{},"10340":{},"10341":{"submorphs":[{"__isSmartRef__":true,"id":10342}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10411},"derivationIds":[null],"id":"C8F7B563-1C0D-446A-8213-ED3987048BFD","renderContextTable":{"__isSmartRef__":true,"id":10416},"eventHandler":{"__isSmartRef__":true,"id":10417},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10418},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10420},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10421},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10422},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10342":{"submorphs":[{"__isSmartRef__":true,"id":10343},{"__isSmartRef__":true,"id":10364}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10381},"derivationIds":[null],"id":"0C33EA54-E70B-485F-A20C-3EE32A1744E7","renderContextTable":{"__isSmartRef__":true,"id":10386},"eventHandler":{"__isSmartRef__":true,"id":10387},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10388},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":99},"propertyList":["replaceRenderContext","init","append","remove","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10343},"text":{"__isSmartRef__":true,"id":10364},"owner":{"__isSmartRef__":true,"id":10341},"_Position":{"__isSmartRef__":true,"id":10389},"priorExtent":{"__isSmartRef__":true,"id":10390},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10391},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10343":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10344},"derivationIds":[null],"id":"6500E38A-110F-4311-B9CC-0903E94FDFF6","renderContextTable":{"__isSmartRef__":true,"id":10350},"eventHandler":{"__isSmartRef__":true,"id":10351},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10352},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10353},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10344":{"_Position":{"__isSmartRef__":true,"id":10345},"renderContextTable":{"__isSmartRef__":true,"id":10346},"_Extent":{"__isSmartRef__":true,"id":10347},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10348},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10349},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10345":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10346":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10347":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10348":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10349":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10350":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10351":{"morph":{"__isSmartRef__":true,"id":10343},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10352":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10353":{"toggle":{"__isSmartRef__":true,"id":10354},"toggleExpansion":{"__isSmartRef__":true,"id":10361}},"10354":{"varMapping":{"__isSmartRef__":true,"id":10355},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10355":{"this":{"__isSmartRef__":true,"id":10343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10356}},"10356":{"$super":{"__isSmartRef__":true,"id":10357}},"10357":{"varMapping":{"__isSmartRef__":true,"id":10358},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10358":{"obj":{"__isSmartRef__":true,"id":10343},"name":"toggle"},"10359":{},"10360":{},"10361":{"varMapping":{"__isSmartRef__":true,"id":10362},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10362":{"this":{"__isSmartRef__":true,"id":10343}},"10363":{},"10364":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10365},"derivationIds":[null],"id":"3F216A4F-CED7-4548-AF99-2A07330DA8A6","renderContextTable":{"__isSmartRef__":true,"id":10369},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10370},{"__isSmartRef__":true,"id":10372}],"eventHandler":{"__isSmartRef__":true,"id":10374},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10375},"priorExtent":{"__isSmartRef__":true,"id":10376},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10377},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10365":{"_Position":{"__isSmartRef__":true,"id":10366},"renderContextTable":{"__isSmartRef__":true,"id":10367},"_Extent":{"__isSmartRef__":true,"id":10368},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10366":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10367":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10368":{"x":195.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10369":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10370":{"style":{"__isSmartRef__":true,"id":10371},"chunkOwner":{"__isSmartRef__":true,"id":10364},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10371":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10372":{"style":{"__isSmartRef__":true,"id":10373},"chunkOwner":{"__isSmartRef__":true,"id":10364},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10373":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10374":{"morph":{"__isSmartRef__":true,"id":10364},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10375":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10376":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10377":{"layoutText":{"__isSmartRef__":true,"id":10378}},"10378":{"varMapping":{"__isSmartRef__":true,"id":10379},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10379":{"this":{"__isSmartRef__":true,"id":10364}},"10380":{},"10381":{"_Position":{"__isSmartRef__":true,"id":10382},"renderContextTable":{"__isSmartRef__":true,"id":10383},"_Extent":{"__isSmartRef__":true,"id":10384},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10385},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10382":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10383":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10384":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10385":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10386":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10387":{"morph":{"__isSmartRef__":true,"id":10342},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10388":{"resizeWidth":true},"10389":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10390":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10391":{"updateExpanderColor":{"__isSmartRef__":true,"id":10392},"onMouseDown":{"__isSmartRef__":true,"id":10395},"isRoot":{"__isSmartRef__":true,"id":10402},"displayValue":{"__isSmartRef__":true,"id":10405},"update":{"__isSmartRef__":true,"id":10408}},"10392":{"varMapping":{"__isSmartRef__":true,"id":10393},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10393":{"this":{"__isSmartRef__":true,"id":10342}},"10394":{},"10395":{"varMapping":{"__isSmartRef__":true,"id":10396},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10396":{"this":{"__isSmartRef__":true,"id":10342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10397}},"10397":{"$super":{"__isSmartRef__":true,"id":10398}},"10398":{"varMapping":{"__isSmartRef__":true,"id":10399},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10399":{"obj":{"__isSmartRef__":true,"id":10342},"name":"onMouseDown"},"10400":{},"10401":{},"10402":{"varMapping":{"__isSmartRef__":true,"id":10403},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10403":{"this":{"__isSmartRef__":true,"id":10342}},"10404":{},"10405":{"varMapping":{"__isSmartRef__":true,"id":10406},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10406":{"this":{"__isSmartRef__":true,"id":10342}},"10407":{},"10408":{"varMapping":{"__isSmartRef__":true,"id":10409},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10409":{"this":{"__isSmartRef__":true,"id":10342}},"10410":{},"10411":{"_Position":{"__isSmartRef__":true,"id":10412},"renderContextTable":{"__isSmartRef__":true,"id":10413},"_Extent":{"__isSmartRef__":true,"id":10414},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10415},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10412":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10413":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10414":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10415":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10416":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10417":{"morph":{"__isSmartRef__":true,"id":10341},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10418":{"layouter":{"__isSmartRef__":true,"id":10419},"resizeWidth":true},"10419":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10341},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10420":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10421":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10422":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10423}},"10423":{"varMapping":{"__isSmartRef__":true,"id":10424},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10424":{"this":{"__isSmartRef__":true,"id":10341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10425}},"10425":{"$super":{"__isSmartRef__":true,"id":10426}},"10426":{"varMapping":{"__isSmartRef__":true,"id":10427},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10427":{"obj":{"__isSmartRef__":true,"id":10341},"name":"getLayoutableSubmorphs"},"10428":{},"10429":{},"10430":{"submorphs":[{"__isSmartRef__":true,"id":10431}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10500},"derivationIds":[null],"id":"F28E54D2-9AEB-47E8-9722-A51BAF3AF686","renderContextTable":{"__isSmartRef__":true,"id":10505},"eventHandler":{"__isSmartRef__":true,"id":10506},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10507},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10509},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10510},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10511},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10431":{"submorphs":[{"__isSmartRef__":true,"id":10432},{"__isSmartRef__":true,"id":10452}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10470},"derivationIds":[null],"id":"2723FF3B-17B0-4A1B-86C7-6778F15F47E2","renderContextTable":{"__isSmartRef__":true,"id":10475},"eventHandler":{"__isSmartRef__":true,"id":10476},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10477},"grabbingEnabled":false,"draggingEnabled":false,"data":282.672,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"rotation","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10432},"text":{"__isSmartRef__":true,"id":10452},"owner":{"__isSmartRef__":true,"id":10430},"_Position":{"__isSmartRef__":true,"id":10478},"priorExtent":{"__isSmartRef__":true,"id":10479},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10480},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10432":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10433},"derivationIds":[null],"id":"BB8EBC64-AD63-4F2D-9BE5-35392A06EE82","renderContextTable":{"__isSmartRef__":true,"id":10438},"eventHandler":{"__isSmartRef__":true,"id":10439},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10440},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10431},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10441},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10433":{"_Position":{"__isSmartRef__":true,"id":10434},"renderContextTable":{"__isSmartRef__":true,"id":10435},"_Extent":{"__isSmartRef__":true,"id":10436},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10437},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10434":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10435":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10436":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10437":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10438":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10439":{"morph":{"__isSmartRef__":true,"id":10432},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10440":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10441":{"toggle":{"__isSmartRef__":true,"id":10442},"toggleExpansion":{"__isSmartRef__":true,"id":10449}},"10442":{"varMapping":{"__isSmartRef__":true,"id":10443},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10443":{"this":{"__isSmartRef__":true,"id":10432},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10444}},"10444":{"$super":{"__isSmartRef__":true,"id":10445}},"10445":{"varMapping":{"__isSmartRef__":true,"id":10446},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10446":{"obj":{"__isSmartRef__":true,"id":10432},"name":"toggle"},"10447":{},"10448":{},"10449":{"varMapping":{"__isSmartRef__":true,"id":10450},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10451},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10450":{"this":{"__isSmartRef__":true,"id":10432}},"10451":{},"10452":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10453},"derivationIds":[null],"id":"41BDED1F-B609-4DF3-9FF3-DC894008E742","renderContextTable":{"__isSmartRef__":true,"id":10458},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10459},{"__isSmartRef__":true,"id":10461}],"eventHandler":{"__isSmartRef__":true,"id":10463},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10464},"priorExtent":{"__isSmartRef__":true,"id":10465},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10431},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10466},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10453":{"_Position":{"__isSmartRef__":true,"id":10454},"renderContextTable":{"__isSmartRef__":true,"id":10455},"_Extent":{"__isSmartRef__":true,"id":10456},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":10457},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10454":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10455":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10456":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10457":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10458":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10459":{"style":{"__isSmartRef__":true,"id":10460},"chunkOwner":{"__isSmartRef__":true,"id":10452},"storedString":"rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10460":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10461":{"style":{"__isSmartRef__":true,"id":10462},"chunkOwner":{"__isSmartRef__":true,"id":10452},"storedString":": 282.672","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10462":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10463":{"morph":{"__isSmartRef__":true,"id":10452},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10464":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10465":{"x":210,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10466":{"layoutText":{"__isSmartRef__":true,"id":10467}},"10467":{"varMapping":{"__isSmartRef__":true,"id":10468},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10468":{"this":{"__isSmartRef__":true,"id":10452}},"10469":{},"10470":{"_Position":{"__isSmartRef__":true,"id":10471},"renderContextTable":{"__isSmartRef__":true,"id":10472},"_Extent":{"__isSmartRef__":true,"id":10473},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10474},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10471":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10472":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10473":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10474":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10475":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10476":{"morph":{"__isSmartRef__":true,"id":10431},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10477":{"resizeWidth":true},"10478":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10479":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10480":{"updateExpanderColor":{"__isSmartRef__":true,"id":10481},"onMouseDown":{"__isSmartRef__":true,"id":10484},"isRoot":{"__isSmartRef__":true,"id":10491},"displayValue":{"__isSmartRef__":true,"id":10494},"update":{"__isSmartRef__":true,"id":10497}},"10481":{"varMapping":{"__isSmartRef__":true,"id":10482},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10482":{"this":{"__isSmartRef__":true,"id":10431}},"10483":{},"10484":{"varMapping":{"__isSmartRef__":true,"id":10485},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10485":{"this":{"__isSmartRef__":true,"id":10431},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10486}},"10486":{"$super":{"__isSmartRef__":true,"id":10487}},"10487":{"varMapping":{"__isSmartRef__":true,"id":10488},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10488":{"obj":{"__isSmartRef__":true,"id":10431},"name":"onMouseDown"},"10489":{},"10490":{},"10491":{"varMapping":{"__isSmartRef__":true,"id":10492},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10492":{"this":{"__isSmartRef__":true,"id":10431}},"10493":{},"10494":{"varMapping":{"__isSmartRef__":true,"id":10495},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10495":{"this":{"__isSmartRef__":true,"id":10431}},"10496":{},"10497":{"varMapping":{"__isSmartRef__":true,"id":10498},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10498":{"this":{"__isSmartRef__":true,"id":10431}},"10499":{},"10500":{"_Position":{"__isSmartRef__":true,"id":10501},"renderContextTable":{"__isSmartRef__":true,"id":10502},"_Extent":{"__isSmartRef__":true,"id":10503},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10504},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10501":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10502":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10503":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10504":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10505":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10506":{"morph":{"__isSmartRef__":true,"id":10430},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10507":{"layouter":{"__isSmartRef__":true,"id":10508},"resizeWidth":true},"10508":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10430},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10509":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10510":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10511":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10512}},"10512":{"varMapping":{"__isSmartRef__":true,"id":10513},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10513":{"this":{"__isSmartRef__":true,"id":10430},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10514}},"10514":{"$super":{"__isSmartRef__":true,"id":10515}},"10515":{"varMapping":{"__isSmartRef__":true,"id":10516},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10516":{"obj":{"__isSmartRef__":true,"id":10430},"name":"getLayoutableSubmorphs"},"10517":{},"10518":{},"10519":{"submorphs":[{"__isSmartRef__":true,"id":10520}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10589},"derivationIds":[null],"id":"DFB1E224-AA73-43DD-A2F0-52B08BCB494B","renderContextTable":{"__isSmartRef__":true,"id":10594},"eventHandler":{"__isSmartRef__":true,"id":10595},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10596},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10598},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10599},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10600},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10520":{"submorphs":[{"__isSmartRef__":true,"id":10521},{"__isSmartRef__":true,"id":10542}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10559},"derivationIds":[null],"id":"5288C07D-CAA3-49E2-AEF0-0632DCC87A57","renderContextTable":{"__isSmartRef__":true,"id":10564},"eventHandler":{"__isSmartRef__":true,"id":10565},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10566},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10521},"text":{"__isSmartRef__":true,"id":10542},"owner":{"__isSmartRef__":true,"id":10519},"_Position":{"__isSmartRef__":true,"id":10567},"priorExtent":{"__isSmartRef__":true,"id":10568},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10569},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10521":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10522},"derivationIds":[null],"id":"5A9BA018-1963-4F20-A890-C2BAA649FCEF","renderContextTable":{"__isSmartRef__":true,"id":10528},"eventHandler":{"__isSmartRef__":true,"id":10529},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10530},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10531},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10522":{"_Position":{"__isSmartRef__":true,"id":10523},"renderContextTable":{"__isSmartRef__":true,"id":10524},"_Extent":{"__isSmartRef__":true,"id":10525},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10526},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10527},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10523":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10524":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10525":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10526":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10527":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10528":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10529":{"morph":{"__isSmartRef__":true,"id":10521},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10530":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10531":{"toggle":{"__isSmartRef__":true,"id":10532},"toggleExpansion":{"__isSmartRef__":true,"id":10539}},"10532":{"varMapping":{"__isSmartRef__":true,"id":10533},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10533":{"this":{"__isSmartRef__":true,"id":10521},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10534}},"10534":{"$super":{"__isSmartRef__":true,"id":10535}},"10535":{"varMapping":{"__isSmartRef__":true,"id":10536},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10536":{"obj":{"__isSmartRef__":true,"id":10521},"name":"toggle"},"10537":{},"10538":{},"10539":{"varMapping":{"__isSmartRef__":true,"id":10540},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10540":{"this":{"__isSmartRef__":true,"id":10521}},"10541":{},"10542":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10543},"derivationIds":[null],"id":"391FC2A6-1490-4CD8-967E-EC88744019FE","renderContextTable":{"__isSmartRef__":true,"id":10547},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10548},{"__isSmartRef__":true,"id":10550}],"eventHandler":{"__isSmartRef__":true,"id":10552},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10553},"priorExtent":{"__isSmartRef__":true,"id":10554},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10555},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10543":{"_Position":{"__isSmartRef__":true,"id":10544},"renderContextTable":{"__isSmartRef__":true,"id":10545},"_Extent":{"__isSmartRef__":true,"id":10546},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10544":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10545":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10546":{"x":90.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10548":{"style":{"__isSmartRef__":true,"id":10549},"chunkOwner":{"__isSmartRef__":true,"id":10542},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10549":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10550":{"style":{"__isSmartRef__":true,"id":10551},"chunkOwner":{"__isSmartRef__":true,"id":10542},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10551":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10552":{"morph":{"__isSmartRef__":true,"id":10542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10553":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10554":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10555":{"layoutText":{"__isSmartRef__":true,"id":10556}},"10556":{"varMapping":{"__isSmartRef__":true,"id":10557},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10557":{"this":{"__isSmartRef__":true,"id":10542}},"10558":{},"10559":{"_Position":{"__isSmartRef__":true,"id":10560},"renderContextTable":{"__isSmartRef__":true,"id":10561},"_Extent":{"__isSmartRef__":true,"id":10562},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10563},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10560":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10561":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10562":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10563":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10564":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10565":{"morph":{"__isSmartRef__":true,"id":10520},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10566":{"resizeWidth":true},"10567":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10568":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10569":{"updateExpanderColor":{"__isSmartRef__":true,"id":10570},"onMouseDown":{"__isSmartRef__":true,"id":10573},"isRoot":{"__isSmartRef__":true,"id":10580},"displayValue":{"__isSmartRef__":true,"id":10583},"update":{"__isSmartRef__":true,"id":10586}},"10570":{"varMapping":{"__isSmartRef__":true,"id":10571},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10571":{"this":{"__isSmartRef__":true,"id":10520}},"10572":{},"10573":{"varMapping":{"__isSmartRef__":true,"id":10574},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10574":{"this":{"__isSmartRef__":true,"id":10520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10575}},"10575":{"$super":{"__isSmartRef__":true,"id":10576}},"10576":{"varMapping":{"__isSmartRef__":true,"id":10577},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10577":{"obj":{"__isSmartRef__":true,"id":10520},"name":"onMouseDown"},"10578":{},"10579":{},"10580":{"varMapping":{"__isSmartRef__":true,"id":10581},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10581":{"this":{"__isSmartRef__":true,"id":10520}},"10582":{},"10583":{"varMapping":{"__isSmartRef__":true,"id":10584},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10584":{"this":{"__isSmartRef__":true,"id":10520}},"10585":{},"10586":{"varMapping":{"__isSmartRef__":true,"id":10587},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10587":{"this":{"__isSmartRef__":true,"id":10520}},"10588":{},"10589":{"_Position":{"__isSmartRef__":true,"id":10590},"renderContextTable":{"__isSmartRef__":true,"id":10591},"_Extent":{"__isSmartRef__":true,"id":10592},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10593},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10590":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10591":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10592":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10593":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10595":{"morph":{"__isSmartRef__":true,"id":10519},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10596":{"layouter":{"__isSmartRef__":true,"id":10597},"resizeWidth":true},"10597":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10519},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10598":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10599":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10600":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10601}},"10601":{"varMapping":{"__isSmartRef__":true,"id":10602},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10602":{"this":{"__isSmartRef__":true,"id":10519},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10603}},"10603":{"$super":{"__isSmartRef__":true,"id":10604}},"10604":{"varMapping":{"__isSmartRef__":true,"id":10605},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10605":{"obj":{"__isSmartRef__":true,"id":10519},"name":"getLayoutableSubmorphs"},"10606":{},"10607":{},"10608":{"submorphs":[{"__isSmartRef__":true,"id":10609}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10678},"derivationIds":[null],"id":"DD93BA6F-A7B4-430D-9647-7F1180292DF2","renderContextTable":{"__isSmartRef__":true,"id":10683},"eventHandler":{"__isSmartRef__":true,"id":10684},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10685},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10687},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10688},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10689},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10609":{"submorphs":[{"__isSmartRef__":true,"id":10610},{"__isSmartRef__":true,"id":10631}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10648},"derivationIds":[null],"id":"1C9D90CB-D733-43C8-99E6-3AB8AE89DFBF","renderContextTable":{"__isSmartRef__":true,"id":10653},"eventHandler":{"__isSmartRef__":true,"id":10654},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10655},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":92},"propertyList":["position","_Extent","_ImageURL","__SourceModuleName__","renderContextTable","isLoaded","_renderContext","_ClipMode","_Padding"],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10610},"text":{"__isSmartRef__":true,"id":10631},"owner":{"__isSmartRef__":true,"id":10608},"_Position":{"__isSmartRef__":true,"id":10656},"priorExtent":{"__isSmartRef__":true,"id":10657},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10658},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10610":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10611},"derivationIds":[null],"id":"852F4A65-27EB-471D-9E96-BBD47BA5388F","renderContextTable":{"__isSmartRef__":true,"id":10617},"eventHandler":{"__isSmartRef__":true,"id":10618},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10619},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10620},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10611":{"_Position":{"__isSmartRef__":true,"id":10612},"renderContextTable":{"__isSmartRef__":true,"id":10613},"_Extent":{"__isSmartRef__":true,"id":10614},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10615},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10616},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10612":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10613":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10614":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10615":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10616":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10617":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10618":{"morph":{"__isSmartRef__":true,"id":10610},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10619":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10620":{"toggle":{"__isSmartRef__":true,"id":10621},"toggleExpansion":{"__isSmartRef__":true,"id":10628}},"10621":{"varMapping":{"__isSmartRef__":true,"id":10622},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10622":{"this":{"__isSmartRef__":true,"id":10610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10623}},"10623":{"$super":{"__isSmartRef__":true,"id":10624}},"10624":{"varMapping":{"__isSmartRef__":true,"id":10625},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10625":{"obj":{"__isSmartRef__":true,"id":10610},"name":"toggle"},"10626":{},"10627":{},"10628":{"varMapping":{"__isSmartRef__":true,"id":10629},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10629":{"this":{"__isSmartRef__":true,"id":10610}},"10630":{},"10631":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10632},"derivationIds":[null],"id":"E058CD0C-27E1-4C86-96ED-38169FBECEEF","renderContextTable":{"__isSmartRef__":true,"id":10636},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10637},{"__isSmartRef__":true,"id":10639}],"eventHandler":{"__isSmartRef__":true,"id":10641},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10642},"priorExtent":{"__isSmartRef__":true,"id":10643},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10644},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10632":{"_Position":{"__isSmartRef__":true,"id":10633},"renderContextTable":{"__isSmartRef__":true,"id":10634},"_Extent":{"__isSmartRef__":true,"id":10635},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10633":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10634":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10635":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10636":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10637":{"style":{"__isSmartRef__":true,"id":10638},"chunkOwner":{"__isSmartRef__":true,"id":10631},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10638":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10639":{"style":{"__isSmartRef__":true,"id":10640},"chunkOwner":{"__isSmartRef__":true,"id":10631},"storedString":": Image","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10640":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10641":{"morph":{"__isSmartRef__":true,"id":10631},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10642":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10643":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10644":{"layoutText":{"__isSmartRef__":true,"id":10645}},"10645":{"varMapping":{"__isSmartRef__":true,"id":10646},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10646":{"this":{"__isSmartRef__":true,"id":10631}},"10647":{},"10648":{"_Position":{"__isSmartRef__":true,"id":10649},"renderContextTable":{"__isSmartRef__":true,"id":10650},"_Extent":{"__isSmartRef__":true,"id":10651},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10652},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10649":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10650":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10651":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10652":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10653":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10654":{"morph":{"__isSmartRef__":true,"id":10609},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10655":{"resizeWidth":true},"10656":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10657":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10658":{"updateExpanderColor":{"__isSmartRef__":true,"id":10659},"onMouseDown":{"__isSmartRef__":true,"id":10662},"isRoot":{"__isSmartRef__":true,"id":10669},"displayValue":{"__isSmartRef__":true,"id":10672},"update":{"__isSmartRef__":true,"id":10675}},"10659":{"varMapping":{"__isSmartRef__":true,"id":10660},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10660":{"this":{"__isSmartRef__":true,"id":10609}},"10661":{},"10662":{"varMapping":{"__isSmartRef__":true,"id":10663},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10663":{"this":{"__isSmartRef__":true,"id":10609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10664}},"10664":{"$super":{"__isSmartRef__":true,"id":10665}},"10665":{"varMapping":{"__isSmartRef__":true,"id":10666},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10666":{"obj":{"__isSmartRef__":true,"id":10609},"name":"onMouseDown"},"10667":{},"10668":{},"10669":{"varMapping":{"__isSmartRef__":true,"id":10670},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10671},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10670":{"this":{"__isSmartRef__":true,"id":10609}},"10671":{},"10672":{"varMapping":{"__isSmartRef__":true,"id":10673},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10673":{"this":{"__isSmartRef__":true,"id":10609}},"10674":{},"10675":{"varMapping":{"__isSmartRef__":true,"id":10676},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10676":{"this":{"__isSmartRef__":true,"id":10609}},"10677":{},"10678":{"_Position":{"__isSmartRef__":true,"id":10679},"renderContextTable":{"__isSmartRef__":true,"id":10680},"_Extent":{"__isSmartRef__":true,"id":10681},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10682},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10679":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10680":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10681":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10682":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10683":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10684":{"morph":{"__isSmartRef__":true,"id":10608},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10685":{"layouter":{"__isSmartRef__":true,"id":10686},"resizeWidth":true},"10686":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10608},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10687":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10688":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10689":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10690}},"10690":{"varMapping":{"__isSmartRef__":true,"id":10691},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10691":{"this":{"__isSmartRef__":true,"id":10608},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10692}},"10692":{"$super":{"__isSmartRef__":true,"id":10693}},"10693":{"varMapping":{"__isSmartRef__":true,"id":10694},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10694":{"obj":{"__isSmartRef__":true,"id":10608},"name":"getLayoutableSubmorphs"},"10695":{},"10696":{},"10697":{"submorphs":[{"__isSmartRef__":true,"id":10698}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10767},"derivationIds":[null],"id":"0AB37610-8A11-4D1E-8E76-5A153CBE81D7","renderContextTable":{"__isSmartRef__":true,"id":10772},"eventHandler":{"__isSmartRef__":true,"id":10773},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10774},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10776},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10777},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10778},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10698":{"submorphs":[{"__isSmartRef__":true,"id":10699},{"__isSmartRef__":true,"id":10720}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10737},"derivationIds":[null],"id":"3F8AAEF6-2ACF-4082-B83F-D0F42572717E","renderContextTable":{"__isSmartRef__":true,"id":10742},"eventHandler":{"__isSmartRef__":true,"id":10743},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10744},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10699},"text":{"__isSmartRef__":true,"id":10720},"owner":{"__isSmartRef__":true,"id":10697},"_Position":{"__isSmartRef__":true,"id":10745},"priorExtent":{"__isSmartRef__":true,"id":10746},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10747},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10699":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10700},"derivationIds":[null],"id":"150611A5-0457-48A2-9B1A-4BD465012A7E","renderContextTable":{"__isSmartRef__":true,"id":10706},"eventHandler":{"__isSmartRef__":true,"id":10707},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10708},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10709},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10700":{"_Position":{"__isSmartRef__":true,"id":10701},"renderContextTable":{"__isSmartRef__":true,"id":10702},"_Extent":{"__isSmartRef__":true,"id":10703},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10704},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10705},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10701":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10702":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10703":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10704":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10705":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10706":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10707":{"morph":{"__isSmartRef__":true,"id":10699},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10708":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10709":{"toggle":{"__isSmartRef__":true,"id":10710},"toggleExpansion":{"__isSmartRef__":true,"id":10717}},"10710":{"varMapping":{"__isSmartRef__":true,"id":10711},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10711":{"this":{"__isSmartRef__":true,"id":10699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10712}},"10712":{"$super":{"__isSmartRef__":true,"id":10713}},"10713":{"varMapping":{"__isSmartRef__":true,"id":10714},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10715},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10714":{"obj":{"__isSmartRef__":true,"id":10699},"name":"toggle"},"10715":{},"10716":{},"10717":{"varMapping":{"__isSmartRef__":true,"id":10718},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10718":{"this":{"__isSmartRef__":true,"id":10699}},"10719":{},"10720":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10721},"derivationIds":[null],"id":"D3992BB3-107D-403F-89F9-CA6FC37B2337","renderContextTable":{"__isSmartRef__":true,"id":10725},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10726},{"__isSmartRef__":true,"id":10728}],"eventHandler":{"__isSmartRef__":true,"id":10730},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10731},"priorExtent":{"__isSmartRef__":true,"id":10732},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10733},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10721":{"_Position":{"__isSmartRef__":true,"id":10722},"renderContextTable":{"__isSmartRef__":true,"id":10723},"_Extent":{"__isSmartRef__":true,"id":10724},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10722":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10723":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10724":{"x":135.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10725":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10726":{"style":{"__isSmartRef__":true,"id":10727},"chunkOwner":{"__isSmartRef__":true,"id":10720},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10727":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10728":{"style":{"__isSmartRef__":true,"id":10729},"chunkOwner":{"__isSmartRef__":true,"id":10720},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10729":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10730":{"morph":{"__isSmartRef__":true,"id":10720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10731":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10732":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10733":{"layoutText":{"__isSmartRef__":true,"id":10734}},"10734":{"varMapping":{"__isSmartRef__":true,"id":10735},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10735":{"this":{"__isSmartRef__":true,"id":10720}},"10736":{},"10737":{"_Position":{"__isSmartRef__":true,"id":10738},"renderContextTable":{"__isSmartRef__":true,"id":10739},"_Extent":{"__isSmartRef__":true,"id":10740},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10741},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10738":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10739":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10740":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10741":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10742":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10743":{"morph":{"__isSmartRef__":true,"id":10698},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10744":{"resizeWidth":true},"10745":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10746":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10747":{"updateExpanderColor":{"__isSmartRef__":true,"id":10748},"onMouseDown":{"__isSmartRef__":true,"id":10751},"isRoot":{"__isSmartRef__":true,"id":10758},"displayValue":{"__isSmartRef__":true,"id":10761},"update":{"__isSmartRef__":true,"id":10764}},"10748":{"varMapping":{"__isSmartRef__":true,"id":10749},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10750},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10749":{"this":{"__isSmartRef__":true,"id":10698}},"10750":{},"10751":{"varMapping":{"__isSmartRef__":true,"id":10752},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10752":{"this":{"__isSmartRef__":true,"id":10698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10753}},"10753":{"$super":{"__isSmartRef__":true,"id":10754}},"10754":{"varMapping":{"__isSmartRef__":true,"id":10755},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10755":{"obj":{"__isSmartRef__":true,"id":10698},"name":"onMouseDown"},"10756":{},"10757":{},"10758":{"varMapping":{"__isSmartRef__":true,"id":10759},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10759":{"this":{"__isSmartRef__":true,"id":10698}},"10760":{},"10761":{"varMapping":{"__isSmartRef__":true,"id":10762},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10763},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10762":{"this":{"__isSmartRef__":true,"id":10698}},"10763":{},"10764":{"varMapping":{"__isSmartRef__":true,"id":10765},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10765":{"this":{"__isSmartRef__":true,"id":10698}},"10766":{},"10767":{"_Position":{"__isSmartRef__":true,"id":10768},"renderContextTable":{"__isSmartRef__":true,"id":10769},"_Extent":{"__isSmartRef__":true,"id":10770},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10771},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10768":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10769":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10770":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10771":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10772":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10773":{"morph":{"__isSmartRef__":true,"id":10697},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10774":{"layouter":{"__isSmartRef__":true,"id":10775},"resizeWidth":true},"10775":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10697},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10776":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10777":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10778":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10779}},"10779":{"varMapping":{"__isSmartRef__":true,"id":10780},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10780":{"this":{"__isSmartRef__":true,"id":10697},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10781}},"10781":{"$super":{"__isSmartRef__":true,"id":10782}},"10782":{"varMapping":{"__isSmartRef__":true,"id":10783},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10783":{"obj":{"__isSmartRef__":true,"id":10697},"name":"getLayoutableSubmorphs"},"10784":{},"10785":{},"10786":{"submorphs":[{"__isSmartRef__":true,"id":10787}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10856},"derivationIds":[null],"id":"35AD15D4-95FA-4031-9540-72902AFF26EB","renderContextTable":{"__isSmartRef__":true,"id":10861},"eventHandler":{"__isSmartRef__":true,"id":10862},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10863},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10865},"owner":{"__isSmartRef__":true,"id":8115},"_Position":{"__isSmartRef__":true,"id":10866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10867},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10787":{"submorphs":[{"__isSmartRef__":true,"id":10788},{"__isSmartRef__":true,"id":10809}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10826},"derivationIds":[null],"id":"CEEF4D2B-3F43-4343-BA68-EC27F284C145","renderContextTable":{"__isSmartRef__":true,"id":10831},"eventHandler":{"__isSmartRef__":true,"id":10832},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10833},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":8006},"label":"submorphs","children":[],"parent":{"__isSmartRef__":true,"id":8009},"expander":{"__isSmartRef__":true,"id":10788},"text":{"__isSmartRef__":true,"id":10809},"owner":{"__isSmartRef__":true,"id":10786},"_Position":{"__isSmartRef__":true,"id":10834},"priorExtent":{"__isSmartRef__":true,"id":10835},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10836},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10788":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10789},"derivationIds":[null],"id":"5B947981-89E9-4327-A775-CCF1EE160A16","renderContextTable":{"__isSmartRef__":true,"id":10795},"eventHandler":{"__isSmartRef__":true,"id":10796},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10797},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10798},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10789":{"_Position":{"__isSmartRef__":true,"id":10790},"renderContextTable":{"__isSmartRef__":true,"id":10791},"_Extent":{"__isSmartRef__":true,"id":10792},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10793},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":8016},"_Fill":{"__isSmartRef__":true,"id":10794},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10790":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10791":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10792":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10793":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10794":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"10795":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10796":{"morph":{"__isSmartRef__":true,"id":10788},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10797":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10798":{"toggle":{"__isSmartRef__":true,"id":10799},"toggleExpansion":{"__isSmartRef__":true,"id":10806}},"10799":{"varMapping":{"__isSmartRef__":true,"id":10800},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10800":{"this":{"__isSmartRef__":true,"id":10788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10801}},"10801":{"$super":{"__isSmartRef__":true,"id":10802}},"10802":{"varMapping":{"__isSmartRef__":true,"id":10803},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10803":{"obj":{"__isSmartRef__":true,"id":10788},"name":"toggle"},"10804":{},"10805":{},"10806":{"varMapping":{"__isSmartRef__":true,"id":10807},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10807":{"this":{"__isSmartRef__":true,"id":10788}},"10808":{},"10809":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10810},"derivationIds":[null],"id":"5051CCF0-D8B2-4677-B6BE-6935EE2763F2","renderContextTable":{"__isSmartRef__":true,"id":10814},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":10815},{"__isSmartRef__":true,"id":10817}],"eventHandler":{"__isSmartRef__":true,"id":10819},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10820},"priorExtent":{"__isSmartRef__":true,"id":10821},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":10787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10822},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10810":{"_Position":{"__isSmartRef__":true,"id":10811},"renderContextTable":{"__isSmartRef__":true,"id":10812},"_Extent":{"__isSmartRef__":true,"id":10813},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10811":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10812":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10813":{"x":105.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10814":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"10815":{"style":{"__isSmartRef__":true,"id":10816},"chunkOwner":{"__isSmartRef__":true,"id":10809},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10816":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10817":{"style":{"__isSmartRef__":true,"id":10818},"chunkOwner":{"__isSmartRef__":true,"id":10809},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10818":{"color":{"__isSmartRef__":true,"id":8041},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10819":{"morph":{"__isSmartRef__":true,"id":10809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10820":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10821":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10822":{"layoutText":{"__isSmartRef__":true,"id":10823}},"10823":{"varMapping":{"__isSmartRef__":true,"id":10824},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10824":{"this":{"__isSmartRef__":true,"id":10809}},"10825":{},"10826":{"_Position":{"__isSmartRef__":true,"id":10827},"renderContextTable":{"__isSmartRef__":true,"id":10828},"_Extent":{"__isSmartRef__":true,"id":10829},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10830},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10827":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10828":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10829":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10830":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10832":{"morph":{"__isSmartRef__":true,"id":10787},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10833":{"resizeWidth":true},"10834":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10835":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10836":{"updateExpanderColor":{"__isSmartRef__":true,"id":10837},"onMouseDown":{"__isSmartRef__":true,"id":10840},"isRoot":{"__isSmartRef__":true,"id":10847},"displayValue":{"__isSmartRef__":true,"id":10850},"update":{"__isSmartRef__":true,"id":10853}},"10837":{"varMapping":{"__isSmartRef__":true,"id":10838},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10839},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10838":{"this":{"__isSmartRef__":true,"id":10787}},"10839":{},"10840":{"varMapping":{"__isSmartRef__":true,"id":10841},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10841":{"this":{"__isSmartRef__":true,"id":10787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10842}},"10842":{"$super":{"__isSmartRef__":true,"id":10843}},"10843":{"varMapping":{"__isSmartRef__":true,"id":10844},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10844":{"obj":{"__isSmartRef__":true,"id":10787},"name":"onMouseDown"},"10845":{},"10846":{},"10847":{"varMapping":{"__isSmartRef__":true,"id":10848},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10848":{"this":{"__isSmartRef__":true,"id":10787}},"10849":{},"10850":{"varMapping":{"__isSmartRef__":true,"id":10851},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10851":{"this":{"__isSmartRef__":true,"id":10787}},"10852":{},"10853":{"varMapping":{"__isSmartRef__":true,"id":10854},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10855},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10854":{"this":{"__isSmartRef__":true,"id":10787}},"10855":{},"10856":{"_Position":{"__isSmartRef__":true,"id":10857},"renderContextTable":{"__isSmartRef__":true,"id":10858},"_Extent":{"__isSmartRef__":true,"id":10859},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10860},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10857":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10858":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10859":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10860":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10861":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10862":{"morph":{"__isSmartRef__":true,"id":10786},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10863":{"layouter":{"__isSmartRef__":true,"id":10864},"resizeWidth":true},"10864":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10786},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10865":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10866":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10867":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10868}},"10868":{"varMapping":{"__isSmartRef__":true,"id":10869},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10869":{"this":{"__isSmartRef__":true,"id":10786},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10870}},"10870":{"$super":{"__isSmartRef__":true,"id":10871}},"10871":{"varMapping":{"__isSmartRef__":true,"id":10872},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10872":{"obj":{"__isSmartRef__":true,"id":10786},"name":"getLayoutableSubmorphs"},"10873":{},"10874":{},"10875":{"_Position":{"__isSmartRef__":true,"id":10876},"renderContextTable":{"__isSmartRef__":true,"id":10877},"_Extent":{"__isSmartRef__":true,"id":10878},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10879},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10876":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10877":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10878":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10879":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10880":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10881":{"morph":{"__isSmartRef__":true,"id":8115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10882":{"layouter":{"__isSmartRef__":true,"id":10883},"resizeWidth":true},"10883":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8115},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10884":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10885":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10886":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10887},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":10894}},"10887":{"varMapping":{"__isSmartRef__":true,"id":10888},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10888":{"this":{"__isSmartRef__":true,"id":8115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10889}},"10889":{"$super":{"__isSmartRef__":true,"id":10890}},"10890":{"varMapping":{"__isSmartRef__":true,"id":10891},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10891":{"obj":{"__isSmartRef__":true,"id":8115},"name":"getLayoutableSubmorphs"},"10892":{},"10893":{},"10894":{"varMapping":{"__isSmartRef__":true,"id":10895},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10896},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10895":{"this":{"__isSmartRef__":true,"id":8115}},"10896":{},"10897":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10898":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10899}},"10899":{"varMapping":{"__isSmartRef__":true,"id":10900},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10905},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10900":{"this":{"__isSmartRef__":true,"id":8104},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10901}},"10901":{"$super":{"__isSmartRef__":true,"id":10902}},"10902":{"varMapping":{"__isSmartRef__":true,"id":10903},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10904},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10903":{"obj":{"__isSmartRef__":true,"id":8104},"name":"getLayoutableSubmorphs"},"10904":{},"10905":{},"10906":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10907":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10908":{"updateExpanderColor":{"__isSmartRef__":true,"id":10909},"onMouseDown":{"__isSmartRef__":true,"id":10912},"isRoot":{"__isSmartRef__":true,"id":10919},"displayValue":{"__isSmartRef__":true,"id":10922},"update":{"__isSmartRef__":true,"id":10925}},"10909":{"varMapping":{"__isSmartRef__":true,"id":10910},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10910":{"this":{"__isSmartRef__":true,"id":8057}},"10911":{},"10912":{"varMapping":{"__isSmartRef__":true,"id":10913},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10913":{"this":{"__isSmartRef__":true,"id":8057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10914}},"10914":{"$super":{"__isSmartRef__":true,"id":10915}},"10915":{"varMapping":{"__isSmartRef__":true,"id":10916},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10917},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10916":{"obj":{"__isSmartRef__":true,"id":8057},"name":"onMouseDown"},"10917":{},"10918":{},"10919":{"varMapping":{"__isSmartRef__":true,"id":10920},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10920":{"this":{"__isSmartRef__":true,"id":8057}},"10921":{},"10922":{"varMapping":{"__isSmartRef__":true,"id":10923},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10924},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10923":{"this":{"__isSmartRef__":true,"id":8057}},"10924":{},"10925":{"varMapping":{"__isSmartRef__":true,"id":10926},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10927},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10926":{"this":{"__isSmartRef__":true,"id":8057}},"10927":{},"10928":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10929":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10930":{"updateExpanderColor":{"__isSmartRef__":true,"id":10931},"onMouseDown":{"__isSmartRef__":true,"id":10934},"isRoot":{"__isSmartRef__":true,"id":10941},"displayValue":{"__isSmartRef__":true,"id":10944},"update":{"__isSmartRef__":true,"id":10947}},"10931":{"varMapping":{"__isSmartRef__":true,"id":10932},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10933},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10932":{"this":{"__isSmartRef__":true,"id":8009}},"10933":{},"10934":{"varMapping":{"__isSmartRef__":true,"id":10935},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10940},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10935":{"this":{"__isSmartRef__":true,"id":8009},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10936}},"10936":{"$super":{"__isSmartRef__":true,"id":10937}},"10937":{"varMapping":{"__isSmartRef__":true,"id":10938},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10939},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10938":{"obj":{"__isSmartRef__":true,"id":8009},"name":"onMouseDown"},"10939":{},"10940":{},"10941":{"varMapping":{"__isSmartRef__":true,"id":10942},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10942":{"this":{"__isSmartRef__":true,"id":8009}},"10943":{},"10944":{"varMapping":{"__isSmartRef__":true,"id":10945},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10945":{"this":{"__isSmartRef__":true,"id":8009}},"10946":{},"10947":{"varMapping":{"__isSmartRef__":true,"id":10948},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10948":{"this":{"__isSmartRef__":true,"id":8009}},"10949":{},"10950":{"_Position":{"__isSmartRef__":true,"id":10951},"renderContextTable":{"__isSmartRef__":true,"id":10952},"_Extent":{"__isSmartRef__":true,"id":10953},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10954},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10951":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10952":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10953":{"x":100,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10954":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10955":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10956":{"morph":{"__isSmartRef__":true,"id":8008},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10957":{"layouter":{"__isSmartRef__":true,"id":10958},"resizeWidth":true},"10958":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8008},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10959":{"x":100,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10960":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10961}},"10961":{"varMapping":{"__isSmartRef__":true,"id":10962},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10962":{"this":{"__isSmartRef__":true,"id":8008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10963}},"10963":{"$super":{"__isSmartRef__":true,"id":10964}},"10964":{"varMapping":{"__isSmartRef__":true,"id":10965},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10965":{"obj":{"__isSmartRef__":true,"id":8008},"name":"getLayoutableSubmorphs"},"10966":{},"10967":{},"10968":{"_Position":{"__isSmartRef__":true,"id":10969},"renderContextTable":{"__isSmartRef__":true,"id":10970},"_Extent":{"__isSmartRef__":true,"id":10971},"_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":10972},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10969":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10970":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10971":{"x":270.8398611920343,"y":263.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10972":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"10973":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10974":{"morph":{"__isSmartRef__":true,"id":8007},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10975":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10976":{"resizeWidth":true,"resizeHeight":true},"10977":{"x":290.8398611920343,"y":283.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"10978":{"setClipModeHTML":{"__isSmartRef__":true,"id":10979}},"10979":{"varMapping":{"__isSmartRef__":true,"id":10980},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":10985},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10980":{"this":{"__isSmartRef__":true,"id":8007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10981}},"10981":{"$super":{"__isSmartRef__":true,"id":10982}},"10982":{"varMapping":{"__isSmartRef__":true,"id":10983},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"10983":{"obj":{"__isSmartRef__":true,"id":8007},"name":"setClipModeHTML"},"10984":{},"10985":{},"10986":{"target":{"__isSmartRef__":true,"id":8006},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":10984,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"10987":{"position":{"__isSmartRef__":true,"id":10988},"_Extent":{"__isSmartRef__":true,"id":10989},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":10990},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":10991},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":10992},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"10988":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"10989":{"x":290.8398611920343,"y":283.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"10990":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"10991":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"10992":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"10993":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"10994":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"10995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10996":{"morph":{"__isSmartRef__":true,"id":8006},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"10997":{"x":286.8398611920343,"y":281.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"10998":{"layouter":{"__isSmartRef__":true,"id":10999},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"10999":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":8006},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"11000":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11001":{"border":{"__isSmartRef__":true,"id":8016},"contractedExpander":{"__isSmartRef__":true,"id":11002},"expandedExpander":{"__isSmartRef__":true,"id":351},"focusedText":{"__isSmartRef__":true,"id":10457},"emphasizedText":{"__isSmartRef__":true,"id":8041}},"11002":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11003":{"size":10},"11004":{"wrapperExtent":{"__isSmartRef__":true,"id":11005},"expanderExtent":{"__isSmartRef__":true,"id":11006},"expanderOffset":{"__isSmartRef__":true,"id":11007},"textOffset":{"__isSmartRef__":true,"id":11008},"levelIndent":10,"maxTextWidth":500},"11005":{"x":0,"y":0,"width":100,"height":18,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11006":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11007":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11008":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11009":{"renderTree":{"__isSmartRef__":true,"id":11010},"createTreeNode":{"__isSmartRef__":true,"id":11014},"createTreeWrapper":{"__isSmartRef__":true,"id":11018},"reset":{"__isSmartRef__":true,"id":11022},"createTreeNodeMorph":{"__isSmartRef__":true,"id":11026},"createExpanderButton":{"__isSmartRef__":true,"id":11030},"createPropertyText":{"__isSmartRef__":true,"id":11034},"createScrollClip":{"__isSmartRef__":true,"id":11038},"resetDefaults":{"__isSmartRef__":true,"id":11042},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":11046},"addScriptsToExpander":{"__isSmartRef__":true,"id":11049},"getDisplayStringFor":{"__isSmartRef__":true,"id":11052},"update":{"__isSmartRef__":true,"id":11056},"addScriptsToText":{"__isSmartRef__":true,"id":11060},"toggleAll":{"__isSmartRef__":true,"id":11064}},"11010":{"varMapping":{"__isSmartRef__":true,"id":11011},"source":"function renderTree(data) {\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n \n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n\n this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":11012},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11011":{"this":{"__isSmartRef__":true,"id":8006}},"11012":{"timestamp":{"__isSmartRef__":true,"id":11013},"user":"lauritz","tags":[]},"11013":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:23:33 GMT+0100 (W. Europe Standard Time)"},"11014":{"varMapping":{"__isSmartRef__":true,"id":11015},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n treeNode.addMorph(expander);\n\n var text = this.createPropertyText(treeNode);\n treeNode.addMorph(text);\n\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":11016},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11015":{"this":{"__isSmartRef__":true,"id":8006}},"11016":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11017}},"11017":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:43:34 GMT+0200 (W. Europe Daylight Time)"},"11018":{"varMapping":{"__isSmartRef__":true,"id":11019},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":11020},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11019":{"this":{"__isSmartRef__":true,"id":8006}},"11020":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11021}},"11021":{"isSerializedDate":true,"string":"Tue Sep 20 2011 17:05:52 GMT+0200 (W. Europe Daylight Time)"},"11022":{"varMapping":{"__isSmartRef__":true,"id":11023},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.rootNode = null; \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":11024},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11023":{"this":{"__isSmartRef__":true,"id":8006}},"11024":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11025}},"11025":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:41:57 GMT+0200 (W. Europe Daylight Time)"},"11026":{"varMapping":{"__isSmartRef__":true,"id":11027},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n treeNode.disableDragging();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":11028},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11027":{"this":{"__isSmartRef__":true,"id":8006}},"11028":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11029}},"11029":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:24:35 GMT+0200 (W. Europe Daylight Time)"},"11030":{"varMapping":{"__isSmartRef__":true,"id":11031},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n expander.disableDragging();\n treeNode.expander = expander;\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor();\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":11032},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11031":{"this":{"__isSmartRef__":true,"id":8006}},"11032":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11033}},"11033":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:32:58 GMT+0200 (W. Europe Daylight Time)"},"11034":{"varMapping":{"__isSmartRef__":true,"id":11035},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \"\"); \n this.addScriptsToText(textMorph);\n textMorph.layoutText(this.fonts);\n\n treeNode.text = textMorph;\n treeNode.displayValue();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":11036},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11035":{"this":{"__isSmartRef__":true,"id":8006}},"11036":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11037}},"11037":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:18:07 GMT+0200 (W. Europe Daylight Time)"},"11038":{"varMapping":{"__isSmartRef__":true,"id":11039},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.disableDragging();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":11040},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11039":{"this":{"__isSmartRef__":true,"id":8006}},"11040":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11041}},"11041":{"isSerializedDate":true,"string":"Mon Sep 19 2011 19:54:00 GMT+0200 (W. Europe Daylight Time)"},"11042":{"varMapping":{"__isSmartRef__":true,"id":11043},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11044},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11043":{"this":{"__isSmartRef__":true,"id":8006}},"11044":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11045}},"11045":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:38:04 GMT+0200 (W. Europe Daylight Time)"},"11046":{"varMapping":{"__isSmartRef__":true,"id":11047},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n });\n\n treeNode.addScript(function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n });\n \n treeNode.addScript(function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":11048},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11047":{"this":{"__isSmartRef__":true,"id":8006}},"11048":{},"11049":{"varMapping":{"__isSmartRef__":true,"id":11050},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n });\n\n expander.addScript(function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":11051},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11050":{"this":{"__isSmartRef__":true,"id":8006}},"11051":{},"11052":{"varMapping":{"__isSmartRef__":true,"id":11053},"source":"function getDisplayStringFor(treeNode) {\n var typeInfo = '';\n if (treeNode.data && treeNode.data.name) {\n typeInfo = treeNode.data.name;\n } else {\n typeInfo = (Objects.isMutableType(treeNode.data) ? \n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\n }\n return treeNode.label + \": \" + typeInfo;\n}","funcProperties":{"__isSmartRef__":true,"id":11054},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11053":{"this":{"__isSmartRef__":true,"id":8006}},"11054":{"timestamp":{"__isSmartRef__":true,"id":11055},"user":"lauritz","tags":[]},"11055":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:06 GMT+0100 (W. Europe Standard Time)"},"11056":{"varMapping":{"__isSmartRef__":true,"id":11057},"source":"function update() {\n this.rootNode.update();\n}","funcProperties":{"__isSmartRef__":true,"id":11058},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11057":{"this":{"__isSmartRef__":true,"id":8006}},"11058":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11059}},"11059":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:42:27 GMT+0200 (W. Europe Daylight Time)"},"11060":{"varMapping":{"__isSmartRef__":true,"id":11061},"source":"function addScriptsToText(textMorph) {\n\n textMorph.addScript(function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":11062},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11061":{"this":{"__isSmartRef__":true,"id":8006}},"11062":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11063}},"11063":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:16:48 GMT+0200 (W. Europe Daylight Time)"},"11064":{"varMapping":{"__isSmartRef__":true,"id":11065},"source":"function toggleAll() {\n\n if (!this.rootNode) return;\n\n try {\n JSON.stringify(this.rootNode.data);\n } catch (e) {\n // probably a circular structure\n return;\n }\n\n var toggleChildren = function (node) {\n\n if (!node.children) return;\n\n (function() {\n node.children.forEach(function (each) {\n each.expander.toggleExpansion();\n toggleChildren(each);\n });\n }).bind(this).delay(0); // asynchronous\n }\n\n toggleChildren(this.rootNode);\n \n}","funcProperties":{"__isSmartRef__":true,"id":11066},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11065":{"this":{"__isSmartRef__":true,"id":8006}},"11066":{"timestamp":{"__isSmartRef__":true,"id":11067},"user":"lauritz","tags":[]},"11067":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:11 GMT+0100 (W. Europe Standard Time)"},"11068":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11069},"id":"265F8E80-B11C-4ED5-B0E7-678044054DA0","renderContextTable":{"__isSmartRef__":true,"id":11076},"textChunks":[{"__isSmartRef__":true,"id":11077}],"eventHandler":{"__isSmartRef__":true,"id":11079},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":11080},"priorExtent":{"__isSmartRef__":true,"id":11081},"_MaxTextWidth":285.8398611920343,"_MinTextWidth":285.8398611920343,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":11082},"doitContext":285.336,"previousSelection":[20,0],"priorSelectionRange":[0,0],"charsReplaced":"typeof(this)","lastFindLoc":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":8005},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":11083},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":11084},"lastDragTime":1317079672221,"derivationIds":[372,"3BBD270B-A828-436A-915C-D23688CF2067","D0890AA7-6E65-4B35-9600-1AD66DF96797","243534E4-AE49-45EC-9DB9-384D7DE4B994","251CC01A-7FDF-4357-9313-99DE732BDF7B","49FB5C89-127F-411D-9E7D-74274AFC6322","4BCE87D8-39F3-4B7F-A78F-10398B72A854"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11087},"__LivelyClassName__":"lively.morphic.Text"},"11069":{"_Position":{"__isSmartRef__":true,"id":11070},"renderContextTable":{"__isSmartRef__":true,"id":11071},"_Extent":{"__isSmartRef__":true,"id":11072},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":11073},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":11074},"_Fill":{"__isSmartRef__":true,"id":11075},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":4,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11070":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11071":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11072":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11073":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11074":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11075":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11076":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11077":{"style":{"__isSmartRef__":true,"id":11078},"chunkOwner":{"__isSmartRef__":true,"id":11068},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11078":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11079":{"morph":{"__isSmartRef__":true,"id":11068},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11080":{"x":10,"y":308.4698859496224,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11081":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11082":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"11083":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11084":{"reset":{"__isSmartRef__":true,"id":11085}},"11085":{"time":{"__isSmartRef__":true,"id":11086},"user":"lauritz"},"11086":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:03:51 GMT+0100 (W. Europe Standard Time)"},"11087":{"reset":{"__isSmartRef__":true,"id":11088}},"11088":{"varMapping":{"__isSmartRef__":true,"id":11089},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":11090},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11089":{"this":{"__isSmartRef__":true,"id":11068}},"11090":{},"11091":{"position":{"__isSmartRef__":true,"id":11092},"_Extent":{"__isSmartRef__":true,"id":11093},"_BorderWidth":1.4500000000000002,"_BorderColor":{"__isSmartRef__":true,"id":11094},"_Fill":{"__isSmartRef__":true,"id":11095},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":11096},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11097},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11092":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11093":{"x":310.8398611920343,"y":399.4718889536274,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11094":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11095":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11096":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11097":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11098":{"x":0,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11099":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"ExplorerPane","changes":[{"__isSmartRef__":true,"id":11100}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11100":{"date":{"__isSmartRef__":true,"id":11101},"author":"lauritz","message":"Disabled grabbing and dragging on other submorphs as well..."},"11101":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:21:08 GMT+0200 (W. Europe Daylight Time)"},"11102":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11103":{"morph":{"__isSmartRef__":true,"id":8005},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11104":{"x":306.8398611920343,"y":397.4718889536274,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11105":{"x":212.32023310549857,"y":-12.472093186624761,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11106":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":11107}},"11107":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":8005},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"11108":{"reset":{"__isSmartRef__":true,"id":11109},"moveFocusTo":{"__isSmartRef__":true,"id":11113},"explore":{"__isSmartRef__":true,"id":11117},"toggleAll":{"__isSmartRef__":true,"id":11121}},"11109":{"varMapping":{"__isSmartRef__":true,"id":11110},"source":"function reset() {\n this.workspace.reset();\n this.treeView.reset();\n this.focusedNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":11111},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11110":{"this":{"__isSmartRef__":true,"id":8005}},"11111":{"timestamp":{"__isSmartRef__":true,"id":11112},"user":"lauritz","tags":[]},"11112":{"isSerializedDate":true,"string":"Wed Sep 21 2011 01:48:08 GMT+0200 (W. Europe Daylight Time)"},"11113":{"varMapping":{"__isSmartRef__":true,"id":11114},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n this.focusedNode.expander.toggle();\n}","funcProperties":{"__isSmartRef__":true,"id":11115},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11114":{"this":{"__isSmartRef__":true,"id":8005}},"11115":{"timestamp":{"__isSmartRef__":true,"id":11116},"user":"lauritz","tags":[]},"11116":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:02 GMT+0100 (W. Europe Standard Time)"},"11117":{"varMapping":{"__isSmartRef__":true,"id":11118},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n\n this.moveFocusTo(this.treeView.rootNode);\n this.workspace.setTextString(\"this\");\n}","funcProperties":{"__isSmartRef__":true,"id":11119},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11118":{"this":{"__isSmartRef__":true,"id":8005}},"11119":{"timestamp":{"__isSmartRef__":true,"id":11120},"user":"lauritz","tags":[]},"11120":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:07 GMT+0100 (W. Europe Standard Time)"},"11121":{"varMapping":{"__isSmartRef__":true,"id":11122},"source":"function toggleAll() {\n this.treeView.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":11123},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11122":{"this":{"__isSmartRef__":true,"id":8005}},"11123":{"timestamp":{"__isSmartRef__":true,"id":11124},"user":"lauritz","tags":[]},"11124":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:54 GMT+0100 (W. Europe Standard Time)"},"11125":{"submorphs":[],"scripts":[],"id":"32511128-F3DE-4B2C-9FB0-A744CE8ADA37","shape":{"__isSmartRef__":true,"id":11126},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":11133},"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":11134},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":11135},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":11136},"eventHandler":{"__isSmartRef__":true,"id":11137},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":8004},"priorExtent":{"__isSmartRef__":true,"id":11138},"distanceToDragEvent":{"__isSmartRef__":true,"id":11139},"derivationIds":[373,"EE44AF79-9BA3-4128-9A82-23CA02A35CBA","2DF62558-574F-4341-A678-C082E7B62474","0B40BDFA-37E3-4097-9157-BE8CCF94B0A1","3600D2AA-3070-493B-839E-BF41427E5A08","B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE","4C05283E-F381-40A9-9AEF-6D6D233F85FF"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11140},"__LivelyClassName__":"lively.morphic.Box"},"11126":{"position":{"__isSmartRef__":true,"id":11127},"_Extent":{"__isSmartRef__":true,"id":11128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11129},"_Fill":{"__isSmartRef__":true,"id":11130},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":11131},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11132},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11127":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11128":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11129":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11130":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11131":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11132":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11133":{"x":300.49672894514134,"y":409.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11134":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11135":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11136":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11137":{"morph":{"__isSmartRef__":true,"id":11125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11138":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11139":{"x":33.337083585580785,"y":-5.721794364406264,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11140":{"onDrag":{"__isSmartRef__":true,"id":11141},"onDragEnd":{"__isSmartRef__":true,"id":11148},"onDragStart":{"__isSmartRef__":true,"id":11155}},"11141":{"varMapping":{"__isSmartRef__":true,"id":11142},"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":11147},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11142":{"this":{"__isSmartRef__":true,"id":11125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11143}},"11143":{"$super":{"__isSmartRef__":true,"id":11144}},"11144":{"varMapping":{"__isSmartRef__":true,"id":11145},"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":11146},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11145":{"obj":{"__isSmartRef__":true,"id":11125},"name":"onDrag"},"11146":{},"11147":{},"11148":{"varMapping":{"__isSmartRef__":true,"id":11149},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":11154},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11149":{"this":{"__isSmartRef__":true,"id":11125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11150}},"11150":{"$super":{"__isSmartRef__":true,"id":11151}},"11151":{"varMapping":{"__isSmartRef__":true,"id":11152},"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":11153},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11152":{"obj":{"__isSmartRef__":true,"id":11125},"name":"onDragEnd"},"11153":{},"11154":{},"11155":{"varMapping":{"__isSmartRef__":true,"id":11156},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":11161},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11156":{"this":{"__isSmartRef__":true,"id":11125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11157}},"11157":{"$super":{"__isSmartRef__":true,"id":11158}},"11158":{"varMapping":{"__isSmartRef__":true,"id":11159},"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":11160},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11159":{"obj":{"__isSmartRef__":true,"id":11125},"name":"onDragStart"},"11160":{},"11161":{},"11162":{"submorphs":[{"__isSmartRef__":true,"id":11163},{"__isSmartRef__":true,"id":11177},{"__isSmartRef__":true,"id":11224},{"__isSmartRef__":true,"id":11259}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11295},"id":"384C3C0F-C3AD-4884-9620-8B145565174C","renderContextTable":{"__isSmartRef__":true,"id":11306},"eventHandler":{"__isSmartRef__":true,"id":11307},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11308},"_Position":{"__isSmartRef__":true,"id":11309},"windowMorph":{"__isSmartRef__":true,"id":8004},"label":{"__isSmartRef__":true,"id":11163},"closeButton":{"__isSmartRef__":true,"id":11177},"menuButton":{"__isSmartRef__":true,"id":11224},"collapseButton":{"__isSmartRef__":true,"id":11259},"priorExtent":{"__isSmartRef__":true,"id":11310},"owner":{"__isSmartRef__":true,"id":8004},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[374,"CFE848EF-BE01-4E69-BBD0-796826FDBA2C","27B1F973-A4A1-49ED-8194-15A2125092E5","1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC","AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07","AA057279-ADDD-4D59-9A0A-E86FD7D21BE6","8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA"],"__LivelyClassName__":"lively.morphic.TitleBar"},"11163":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11164},"id":"1E5CE2D3-7D60-46A2-A2F8-257C0784D739","renderContextTable":{"__isSmartRef__":true,"id":11170},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11171}],"eventHandler":{"__isSmartRef__":true,"id":11173},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":11174},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":11162},"priorExtent":{"__isSmartRef__":true,"id":11175},"_MaxTextWidth":251.49672894514134,"_MinTextWidth":251.49672894514134,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":11176},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[375,"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3","2EE1A4B9-842D-4C63-ABEA-21DC74163CEE","3F973521-D5D9-4B44-BCF8-822B923644E8","F50BD739-1DA1-4EB3-9653-7B3145EA8817","A7AE88A1-BD5C-4F03-9E65-373F047B2C25","F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB"],"__LivelyClassName__":"lively.morphic.Text"},"11164":{"_Position":{"__isSmartRef__":true,"id":11165},"renderContextTable":{"__isSmartRef__":true,"id":11166},"_Extent":{"__isSmartRef__":true,"id":11167},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11168},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11169},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11165":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11166":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11167":{"x":251.49672894514134,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11168":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11169":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11170":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11171":{"style":{"__isSmartRef__":true,"id":11172},"chunkOwner":{"__isSmartRef__":true,"id":11163},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Explorer","__LivelyClassName__":"lively.morphic.TextChunk"},"11172":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"11173":{"morph":{"__isSmartRef__":true,"id":11163},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11174":{"resizeWidth":true},"11175":{"x":251.49672894514134,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11176":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11177":{"submorphs":[{"__isSmartRef__":true,"id":11178}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11190},"id":"1618FB8C-BFC9-4BF8-943D-56C335D55FA0","renderContextTable":{"__isSmartRef__":true,"id":11206},"eventHandler":{"__isSmartRef__":true,"id":11207},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":11208},"priorExtent":{"__isSmartRef__":true,"id":11209},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":11196},"lighterFill":{"__isSmartRef__":true,"id":11210},"label":{"__isSmartRef__":true,"id":11178},"owner":{"__isSmartRef__":true,"id":11162},"layout":{"__isSmartRef__":true,"id":11219},"attributeConnections":[{"__isSmartRef__":true,"id":11220},{"__isSmartRef__":true,"id":11222}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E","A9533421-3987-49B1-B8FE-11D3B48B77B3","EC79C6DC-0809-4378-8061-032B4DD2D496","4DB70E9E-760D-401A-9BAD-25367B78CF72","1DC03620-BC8A-47EC-978A-2036FF929A8A","B048691C-3D91-4A6E-B21D-2AF0EB3E85C7"],"__LivelyClassName__":"lively.morphic.WindowControl"},"11178":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11179},"id":"AEE9CA7C-D149-4A5E-815F-A9E7436AC5FB","renderContextTable":{"__isSmartRef__":true,"id":11184},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11185}],"eventHandler":{"__isSmartRef__":true,"id":11187},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":11188},"priorExtent":{"__isSmartRef__":true,"id":11189},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11177},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[377,"C621D837-4DB4-4C83-A8C9-1C995944A45D","BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C","9AA4F44C-9D66-4990-B0E2-2998FC750C65","E136552C-1013-430B-8229-122AA2720D75","D343D9D5-BB6B-471C-89FD-977D04A54C18","198CEAEE-A3BF-4CED-8D10-C86583D458D7"],"__LivelyClassName__":"lively.morphic.Text"},"11179":{"_Position":{"__isSmartRef__":true,"id":11180},"renderContextTable":{"__isSmartRef__":true,"id":11181},"_Extent":{"__isSmartRef__":true,"id":11182},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11183},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11169},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11180":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11181":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11182":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11183":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11184":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11185":{"style":{"__isSmartRef__":true,"id":11186},"chunkOwner":{"__isSmartRef__":true,"id":11178},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"11186":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"11187":{"morph":{"__isSmartRef__":true,"id":11178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11188":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11189":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11190":{"_Position":{"__isSmartRef__":true,"id":11191},"renderContextTable":{"__isSmartRef__":true,"id":11192},"_Extent":{"__isSmartRef__":true,"id":11193},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11194},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11195},"_Fill":{"__isSmartRef__":true,"id":11196},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11191":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11192":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11193":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11194":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11195":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11196":{"stops":[{"__isSmartRef__":true,"id":11197},{"__isSmartRef__":true,"id":11199},{"__isSmartRef__":true,"id":11201},{"__isSmartRef__":true,"id":11203}],"vector":{"__isSmartRef__":true,"id":11205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"11197":{"offset":0,"color":{"__isSmartRef__":true,"id":11198}},"11198":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11199":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11200}},"11200":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11201":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11202}},"11202":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11203":{"offset":1,"color":{"__isSmartRef__":true,"id":11204}},"11204":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11205":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11206":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11207":{"morph":{"__isSmartRef__":true,"id":11177},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11208":{"x":290.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11209":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11210":{"stops":[{"__isSmartRef__":true,"id":11211},{"__isSmartRef__":true,"id":11213},{"__isSmartRef__":true,"id":11215},{"__isSmartRef__":true,"id":11217}],"vector":{"__isSmartRef__":true,"id":11205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"11211":{"offset":0,"color":{"__isSmartRef__":true,"id":11212}},"11212":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11213":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11214}},"11214":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11215":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11216}},"11216":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11217":{"offset":1,"color":{"__isSmartRef__":true,"id":11218}},"11218":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11219":{"moveHorizontal":true},"11220":{"sourceObj":{"__isSmartRef__":true,"id":11177},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11221},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11221":{"source":{"__isSmartRef__":true,"id":11177},"target":{"__isSmartRef__":true,"id":8004}},"11222":{"sourceObj":{"__isSmartRef__":true,"id":11177},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11223},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11223":{"source":{"__isSmartRef__":true,"id":11177},"target":{"__isSmartRef__":true,"id":8004}},"11224":{"submorphs":[{"__isSmartRef__":true,"id":11225}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11237},"id":"6C560330-4FE6-4195-A133-122E29E66B52","renderContextTable":{"__isSmartRef__":true,"id":11242},"eventHandler":{"__isSmartRef__":true,"id":11243},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":11244},"priorExtent":{"__isSmartRef__":true,"id":11245},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":11196},"lighterFill":{"__isSmartRef__":true,"id":11246},"label":{"__isSmartRef__":true,"id":11225},"owner":{"__isSmartRef__":true,"id":11162},"attributeConnections":[{"__isSmartRef__":true,"id":11255},{"__isSmartRef__":true,"id":11257}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[378,"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC","A8A6A338-D618-4672-AFA8-914FD7C2A19E","85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C","535E0653-E19D-4F22-952A-34C8EDED44E9","977A1381-981C-4500-B887-78143DE21406","62DA4EDF-FBE4-4D01-834D-C3E763CF55DE"],"__LivelyClassName__":"lively.morphic.WindowControl"},"11225":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11226},"id":"164C2161-14BD-4085-A7F2-FE95AAB835F5","renderContextTable":{"__isSmartRef__":true,"id":11231},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11232}],"eventHandler":{"__isSmartRef__":true,"id":11234},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":11235},"priorExtent":{"__isSmartRef__":true,"id":11236},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11224},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[379,"9C08820E-6B60-44C2-9150-BD546391671F","36F5662C-375A-4549-B94E-F150DCBCE3F8","030ACD5E-7567-45E7-928D-24821846DBD3","B1DB7B8C-99F5-44D9-8312-ADD58545154E","9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0","353D5A24-E404-457D-93C4-BC195B094724"],"__LivelyClassName__":"lively.morphic.Text"},"11226":{"_Position":{"__isSmartRef__":true,"id":11227},"renderContextTable":{"__isSmartRef__":true,"id":11228},"_Extent":{"__isSmartRef__":true,"id":11229},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11230},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11169},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11227":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11228":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11229":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11230":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11232":{"style":{"__isSmartRef__":true,"id":11233},"chunkOwner":{"__isSmartRef__":true,"id":11225},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"11233":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"11234":{"morph":{"__isSmartRef__":true,"id":11225},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11235":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11236":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11237":{"_Position":{"__isSmartRef__":true,"id":11238},"renderContextTable":{"__isSmartRef__":true,"id":11239},"_Extent":{"__isSmartRef__":true,"id":11240},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11241},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11195},"_Fill":{"__isSmartRef__":true,"id":11196},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11238":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11239":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11240":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11241":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11242":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11243":{"morph":{"__isSmartRef__":true,"id":11224},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11244":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11245":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11246":{"stops":[{"__isSmartRef__":true,"id":11247},{"__isSmartRef__":true,"id":11249},{"__isSmartRef__":true,"id":11251},{"__isSmartRef__":true,"id":11253}],"vector":{"__isSmartRef__":true,"id":11205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"11247":{"offset":0,"color":{"__isSmartRef__":true,"id":11248}},"11248":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11249":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11250}},"11250":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11251":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11252}},"11252":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11253":{"offset":1,"color":{"__isSmartRef__":true,"id":11254}},"11254":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11255":{"sourceObj":{"__isSmartRef__":true,"id":11224},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11256},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11256":{"source":{"__isSmartRef__":true,"id":11224},"target":{"__isSmartRef__":true,"id":8004}},"11257":{"sourceObj":{"__isSmartRef__":true,"id":11224},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11258},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11258":{"source":{"__isSmartRef__":true,"id":11224},"target":{"__isSmartRef__":true,"id":8004}},"11259":{"submorphs":[{"__isSmartRef__":true,"id":11260}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11272},"id":"31EF845D-186E-419B-8EBC-91519E56DF5A","renderContextTable":{"__isSmartRef__":true,"id":11277},"eventHandler":{"__isSmartRef__":true,"id":11278},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":11279},"priorExtent":{"__isSmartRef__":true,"id":11280},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":11196},"lighterFill":{"__isSmartRef__":true,"id":11281},"label":{"__isSmartRef__":true,"id":11260},"owner":{"__isSmartRef__":true,"id":11162},"layout":{"__isSmartRef__":true,"id":11290},"attributeConnections":[{"__isSmartRef__":true,"id":11291},{"__isSmartRef__":true,"id":11293}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[380,"B603C6F6-E6E9-4618-BF46-1521ADDE21FE","7D67707D-A36A-46C7-AF4E-DBA063259CD8","0CE8DB38-9500-4B3D-BA30-191E72ABDE7C","9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC","27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744","B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C"],"__LivelyClassName__":"lively.morphic.WindowControl"},"11260":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11261},"id":"AF88D698-5267-42C3-A61A-29D065453E80","renderContextTable":{"__isSmartRef__":true,"id":11266},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11267}],"eventHandler":{"__isSmartRef__":true,"id":11269},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":11270},"priorExtent":{"__isSmartRef__":true,"id":11271},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11259},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[381,"B48F0AA9-A9AE-4316-865F-D969FFFD4C87","3CE2E949-41E5-4680-ADB0-8AF865F87CA7","C865C749-7005-416E-B5A2-0FB224AB308E","CAED6589-594E-438B-ADB7-264F9B9D92B0","A391E593-03B1-4FDA-B6B3-978336437357","40913CEC-D4ED-4CA1-97B2-858D96CDC1F3"],"__LivelyClassName__":"lively.morphic.Text"},"11261":{"_Position":{"__isSmartRef__":true,"id":11262},"renderContextTable":{"__isSmartRef__":true,"id":11263},"_Extent":{"__isSmartRef__":true,"id":11264},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11265},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11169},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11262":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11263":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11264":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11265":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11266":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11267":{"style":{"__isSmartRef__":true,"id":11268},"chunkOwner":{"__isSmartRef__":true,"id":11260},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"11268":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"11269":{"morph":{"__isSmartRef__":true,"id":11260},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11270":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11271":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11272":{"_Position":{"__isSmartRef__":true,"id":11273},"renderContextTable":{"__isSmartRef__":true,"id":11274},"_Extent":{"__isSmartRef__":true,"id":11275},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11276},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":11195},"_Fill":{"__isSmartRef__":true,"id":11196},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11273":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11274":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11275":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11276":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11278":{"morph":{"__isSmartRef__":true,"id":11259},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11279":{"x":271.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11280":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11281":{"stops":[{"__isSmartRef__":true,"id":11282},{"__isSmartRef__":true,"id":11284},{"__isSmartRef__":true,"id":11286},{"__isSmartRef__":true,"id":11288}],"vector":{"__isSmartRef__":true,"id":11205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"11282":{"offset":0,"color":{"__isSmartRef__":true,"id":11283}},"11283":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11284":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11285}},"11285":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11286":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11287}},"11287":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11288":{"offset":1,"color":{"__isSmartRef__":true,"id":11289}},"11289":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11290":{"moveHorizontal":true},"11291":{"sourceObj":{"__isSmartRef__":true,"id":11259},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11292},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11292":{"source":{"__isSmartRef__":true,"id":11259},"target":{"__isSmartRef__":true,"id":8004}},"11293":{"sourceObj":{"__isSmartRef__":true,"id":11259},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8004},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11294},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"11294":{"source":{"__isSmartRef__":true,"id":11259},"target":{"__isSmartRef__":true,"id":8004}},"11295":{"_Position":{"__isSmartRef__":true,"id":11296},"renderContextTable":{"__isSmartRef__":true,"id":11297},"_Extent":{"__isSmartRef__":true,"id":11298},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11299},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":11300},"_Fill":{"__isSmartRef__":true,"id":11301},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11296":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11297":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11298":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11299":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11300":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11301":{"stops":[{"__isSmartRef__":true,"id":11302},{"__isSmartRef__":true,"id":11304}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11302":{"offset":0,"color":{"__isSmartRef__":true,"id":11303}},"11303":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11304":{"offset":1,"color":{"__isSmartRef__":true,"id":11305}},"11305":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11307":{"morph":{"__isSmartRef__":true,"id":11162},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11308":{"resizeWidth":true,"adjustForNewBounds":true},"11309":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11310":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11311":{"renderContextTable":{"__isSmartRef__":true,"id":11312},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11313},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":11314},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11312":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11313":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11314":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11315":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11316":{"morph":{"__isSmartRef__":true,"id":8004},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11317":{"adjustForNewBounds":true},"11318":{"x":406.3877838765295,"y":191.07769545390755,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11319":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11320":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11321":{"x":488,"y":252,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11322":{"x":178,"y":269,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11323":{"explore":{"__isSmartRef__":true,"id":11324},"reset":{"__isSmartRef__":true,"id":11328},"inspect":{"__isSmartRef__":true,"id":11332},"toggleAll":{"__isSmartRef__":true,"id":11336}},"11324":{"varMapping":{"__isSmartRef__":true,"id":11325},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":11326},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11325":{"this":{"__isSmartRef__":true,"id":8004}},"11326":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11327}},"11327":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (W. Europe Daylight Time)"},"11328":{"varMapping":{"__isSmartRef__":true,"id":11329},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":11330},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11329":{"this":{"__isSmartRef__":true,"id":8004}},"11330":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11331}},"11331":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (W. Europe Daylight Time)"},"11332":{"varMapping":{"__isSmartRef__":true,"id":11333},"source":"function inspect(object) {\n // alias for explore\n this.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":11334},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11333":{"this":{"__isSmartRef__":true,"id":8004}},"11334":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":11335}},"11335":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:04:54 GMT+0100 (W. Europe Standard Time)"},"11336":{"varMapping":{"__isSmartRef__":true,"id":11337},"source":"function toggleAll() {\n this.explorer.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":11338},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"11337":{"this":{"__isSmartRef__":true,"id":8004}},"11338":{"timestamp":{"__isSmartRef__":true,"id":11339},"user":"lauritz","tags":[]},"11339":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:45 GMT+0100 (W. Europe Standard Time)"},"11340":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":11341},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"renderContextTable":{"__isSmartRef__":true,"id":11347},"eventHandler":{"__isSmartRef__":true,"id":11348},"scrollFocusMorph":{"__isSmartRef__":true,"id":11349},"lastScrollTime":1318553496851,"internalClickedOnMorph":{"__isSmartRef__":true,"id":11350},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":11463},"_Scale":1.002003004005006,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"11341":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":11342},"_Extent":{"__isSmartRef__":true,"id":11343},"_Fill":{"__isSmartRef__":true,"id":11344},"renderContextTable":{"__isSmartRef__":true,"id":11345},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11346},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11342":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11343":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11344":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11345":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11346":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11348":{"morph":{"__isSmartRef__":true,"id":11340},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11349":{"submorphs":[{"__isSmartRef__":true,"id":11350}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11362},"derivationIds":[null],"id":"B8B570FB-D902-43A2-B89F-0321C56E0921","renderContextTable":{"__isSmartRef__":true,"id":11377},"eventHandler":{"__isSmartRef__":true,"id":11378},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11379},"priorExtent":{"__isSmartRef__":true,"id":11380},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":11381},"lighterFill":{"__isSmartRef__":true,"id":11368},"label":{"__isSmartRef__":true,"id":11350},"layout":{"__isSmartRef__":true,"id":11390},"owner":{"__isSmartRef__":true,"id":11391},"attributeConnections":[{"__isSmartRef__":true,"id":11457},{"__isSmartRef__":true,"id":11458}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"11350":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11351},"derivationIds":[null],"id":"831EC560-9C14-4EC6-BD46-FC49A97CA3B3","renderContextTable":{"__isSmartRef__":true,"id":11356},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11357}],"eventHandler":{"__isSmartRef__":true,"id":11359},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":11360},"priorExtent":{"__isSmartRef__":true,"id":11361},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11349},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":12},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11351":{"_Position":{"__isSmartRef__":true,"id":11352},"renderContextTable":{"__isSmartRef__":true,"id":11353},"_Extent":{"__isSmartRef__":true,"id":11354},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11355},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11352":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11354":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11355":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11356":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11357":{"style":{"__isSmartRef__":true,"id":11358},"chunkOwner":{"__isSmartRef__":true,"id":11350},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11358":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11359":{"morph":{"__isSmartRef__":true,"id":11350},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11360":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11361":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11362":{"_Position":{"__isSmartRef__":true,"id":11363},"renderContextTable":{"__isSmartRef__":true,"id":11364},"_Extent":{"__isSmartRef__":true,"id":11365},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11366},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":11367},"_Fill":{"__isSmartRef__":true,"id":11368},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11363":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11364":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11365":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11366":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11367":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11368":{"stops":[{"__isSmartRef__":true,"id":11369},{"__isSmartRef__":true,"id":11371},{"__isSmartRef__":true,"id":11373},{"__isSmartRef__":true,"id":11375}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11369":{"offset":0,"color":{"__isSmartRef__":true,"id":11370}},"11370":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11371":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11372}},"11372":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11373":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11374}},"11374":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11375":{"offset":1,"color":{"__isSmartRef__":true,"id":11376}},"11376":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11378":{"morph":{"__isSmartRef__":true,"id":11349},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11379":{"x":535,"y":36,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11380":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11381":{"stops":[{"__isSmartRef__":true,"id":11382},{"__isSmartRef__":true,"id":11384},{"__isSmartRef__":true,"id":11386},{"__isSmartRef__":true,"id":11388}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11382":{"offset":0,"color":{"__isSmartRef__":true,"id":11383}},"11383":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11384":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11385}},"11385":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11386":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11387}},"11387":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11388":{"offset":1,"color":{"__isSmartRef__":true,"id":11389}},"11389":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11390":{"moveVertical":true,"moveHorizontal":true},"11391":{"submorphs":[{"__isSmartRef__":true,"id":11392},{"__isSmartRef__":true,"id":11404},{"__isSmartRef__":true,"id":11349}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11441},"derivationIds":[null],"id":"C6AF8715-F016-4317-9AC2-8669C107671F","renderContextTable":{"__isSmartRef__":true,"id":11448},"eventHandler":{"__isSmartRef__":true,"id":11449},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11450},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":11451},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":11452},{"__isSmartRef__":true,"id":11454}],"ownerApp":{"__isSmartRef__":true,"id":11437},"owner":null,"priorExtent":{"__isSmartRef__":true,"id":11456},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"11392":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11393},"derivationIds":[null],"id":"CE9603E2-0888-4DED-9163-DB4915B21D68","renderContextTable":{"__isSmartRef__":true,"id":11398},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":11399}],"eventHandler":{"__isSmartRef__":true,"id":11401},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":11402},"priorExtent":{"__isSmartRef__":true,"id":11403},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11391},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11393":{"_Position":{"__isSmartRef__":true,"id":11394},"renderContextTable":{"__isSmartRef__":true,"id":11395},"_Extent":{"__isSmartRef__":true,"id":11396},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11397},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11394":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11395":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11396":{"x":663,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11397":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11398":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11399":{"style":{"__isSmartRef__":true,"id":11400},"chunkOwner":{"__isSmartRef__":true,"id":11392},"storedString":"http://lively-kernel.org/repository/webwerkstatt/users/Rob/start.xhtml was changed since loading it. Overwrite?","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11400":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11401":{"morph":{"__isSmartRef__":true,"id":11392},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11402":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11403":{"x":252,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11404":{"submorphs":[{"__isSmartRef__":true,"id":11405}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11417},"derivationIds":[null],"id":"DD91CCC9-A000-400F-A66A-102B1E3195A5","renderContextTable":{"__isSmartRef__":true,"id":11422},"eventHandler":{"__isSmartRef__":true,"id":11423},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11424},"priorExtent":{"__isSmartRef__":true,"id":11425},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":11381},"lighterFill":{"__isSmartRef__":true,"id":11426},"label":{"__isSmartRef__":true,"id":11405},"layout":{"__isSmartRef__":true,"id":11435},"owner":{"__isSmartRef__":true,"id":11391},"attributeConnections":[{"__isSmartRef__":true,"id":11436},{"__isSmartRef__":true,"id":11439}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"11405":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11406},"derivationIds":[null],"id":"EE72BDC1-DAC1-4DD8-A2AB-90D586A6FE61","renderContextTable":{"__isSmartRef__":true,"id":11411},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":11412}],"eventHandler":{"__isSmartRef__":true,"id":11414},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":11415},"priorExtent":{"__isSmartRef__":true,"id":11416},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":11404},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":12},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11406":{"_Position":{"__isSmartRef__":true,"id":11407},"renderContextTable":{"__isSmartRef__":true,"id":11408},"_Extent":{"__isSmartRef__":true,"id":11409},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":11410},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11407":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11408":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11409":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11410":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"11412":{"style":{"__isSmartRef__":true,"id":11413},"chunkOwner":{"__isSmartRef__":true,"id":11405},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11413":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11414":{"morph":{"__isSmartRef__":true,"id":11405},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11415":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11416":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11417":{"_Position":{"__isSmartRef__":true,"id":11418},"renderContextTable":{"__isSmartRef__":true,"id":11419},"_Extent":{"__isSmartRef__":true,"id":11420},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11421},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":11367},"_Fill":{"__isSmartRef__":true,"id":11381},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11418":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11419":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11420":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11421":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11422":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11423":{"morph":{"__isSmartRef__":true,"id":11404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11424":{"x":599,"y":36,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11425":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11426":{"stops":[{"__isSmartRef__":true,"id":11427},{"__isSmartRef__":true,"id":11429},{"__isSmartRef__":true,"id":11431},{"__isSmartRef__":true,"id":11433}],"vector":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11427":{"offset":0,"color":{"__isSmartRef__":true,"id":11428}},"11428":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11429":{"offset":0.4,"color":{"__isSmartRef__":true,"id":11430}},"11430":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11431":{"offset":0.6,"color":{"__isSmartRef__":true,"id":11432}},"11432":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11433":{"offset":1,"color":{"__isSmartRef__":true,"id":11434}},"11434":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11435":{"moveVertical":true,"moveHorizontal":true},"11436":{"sourceObj":{"__isSmartRef__":true,"id":11404},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11437":{"message":"http://lively-kernel.org/repository/webwerkstatt/users/Rob/start.xhtml was changed since loading it. Overwrite?","attributeConnections":[{"__isSmartRef__":true,"id":11438}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"result":true,"panel":{"__isSmartRef__":true,"id":11391},"label":{"__isSmartRef__":true,"id":11392},"cancelButton":{"__isSmartRef__":true,"id":11404},"okButton":{"__isSmartRef__":true,"id":11349},"view":{"__isSmartRef__":true,"id":11391},"__LivelyClassName__":"lively.morphic.ConfirmDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"11438":{"sourceObj":{"__isSmartRef__":true,"id":11437},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11439":{"sourceObj":{"__isSmartRef__":true,"id":11404},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"result","converter":null,"converterString":"function () { return false }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11440},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11440":{"source":{"__isSmartRef__":true,"id":11404},"target":{"__isSmartRef__":true,"id":11437}},"11441":{"_Position":{"__isSmartRef__":true,"id":11442},"renderContextTable":{"__isSmartRef__":true,"id":11443},"_Extent":{"__isSmartRef__":true,"id":11444},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11445},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":11446},"_Fill":{"__isSmartRef__":true,"id":11447},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11442":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11443":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11444":{"x":663,"y":70,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11445":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"11446":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11447":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11449":{"morph":{"__isSmartRef__":true,"id":11391},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11450":{"x":642,"y":316,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11451":{"adjustForNewBounds":true},"11452":{"sourceObj":{"__isSmartRef__":true,"id":11391},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"result","converter":null,"converterString":"function () { return false }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11453},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11453":{"source":{"__isSmartRef__":true,"id":11391},"target":{"__isSmartRef__":true,"id":11437}},"11454":{"sourceObj":{"__isSmartRef__":true,"id":11391},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"result","converter":null,"converterString":"function () { return true }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11455},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11455":{"source":{"__isSmartRef__":true,"id":11391},"target":{"__isSmartRef__":true,"id":11437}},"11456":{"x":663,"y":70,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11457":{"sourceObj":{"__isSmartRef__":true,"id":11349},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11458":{"sourceObj":{"__isSmartRef__":true,"id":11349},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":11437},"targetMethodName":"result","converterString":"function () { return true }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":11459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11460},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"11459":{"source":{"__isSmartRef__":true,"id":11349},"target":{"__isSmartRef__":true,"id":11437}},"11460":{"converter":{"__isSmartRef__":true,"id":11461}},"11461":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":11459},"source":"function () { return true }","funcProperties":{"__isSmartRef__":true,"id":11462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"11462":{},"11463":{"x":1210,"y":368,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11464":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":11465},"_Extent":{"__isSmartRef__":true,"id":11466},"_Fill":{"__isSmartRef__":true,"id":11467},"renderContextTable":{"__isSmartRef__":true,"id":11468},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":11469},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"11465":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11466":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11467":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"11468":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"11469":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"11470":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"11471":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"11472":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"11473":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"11474":{"x":1208,"y":366,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"11475":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":11476},"__SourceModuleName__":"Global.lively.bindings","updater":null,"__LivelyClassName__":"AttributeConnection"},"11476":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"isSimplifiedRegistry":true}}]]>