{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":280}],"scripts":[],"shape":{"__isSmartRef__":true,"id":305},"eventHandler":{"__isSmartRef__":true,"id":306},"_ClipMode":"visible","derivationIds":[],"id":"B7B4D3AC-2682-4E79-8B2E-17E9C1502484","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":307},"LK2":true,"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"targetMorph":{"__isSmartRef__":true,"id":1},"reframeHandle":{"__isSmartRef__":true,"id":280},"bottomReframeHandle":{"__isSmartRef__":true,"id":182},"rightReframeHandle":{"__isSmartRef__":true,"id":207},"titleBar":{"__isSmartRef__":true,"id":232},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":86},"name":"WorldLoaderPane","highlighted":false,"isBeingDragged":false,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(0.0,0.0)","contentOffset":"lively.pt(4.0,22.0)","prevDragPos":"lively.pt(1477.0,38.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":69}],"scripts":[],"id":"8B42CFB8-A051-48EE-AF9A-19AD440A3906","shape":{"__isSmartRef__":true,"id":85},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"WorldLoaderPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":86},"eventHandler":{"__isSmartRef__":true,"id":122},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","6D69FB32-DB34-4691-A863-3A4FB9F6CE86","A27D16D9-824C-4324-9D7B-2531BD3D6F5E","5F96233E-D584-48EF-8608-38DF738BB6CF","8C7DCC74-98F1-47A5-B3D6-791CA994D38F","153E88D9-2DA0-4D8B-8CE4-236113E42594","76AA303F-2666-4792-9C6C-A5EEF978C408"],"partTests":{"__isSmartRef__":true,"id":123},"_ClipMode":"visible","moved":true,"layout":{"__isSmartRef__":true,"id":128},"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"_Visible":true,"worldURL":null,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":129},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(4.0,22.0)","distanceToDragEvent":"lively.pt(572.8,-14.9)"},"2":{"submorphs":[],"scripts":[],"id":"1907D114-B092-4D8C-9D29-69714240BA46","shape":{"__isSmartRef__":true,"id":3},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"WorldContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4},"eventHandler":{"__isSmartRef__":true,"id":28},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","B1123EE0-14CA-478A-ACB1-1384CB95AB8E","04664F59-14CB-4730-9672-E89CD04B919E","F9A061E0-172B-4FB1-80A4-3FE9A829E4FB","840E113A-EDAD-451D-A8CF-2A18678E29B2","ACE1A6D1-480D-4F84-ABD7-F0B6543F5279","26955098-99EC-4A73-8063-27683A650013"],"partTests":{"__isSmartRef__":true,"id":29},"_ClipMode":"scroll","moved":true,"owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,10],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":34},"grabbingEnabled":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,20.0)","distanceToDragEvent":"lively.pt(579.8,-14.4)"},"3":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(862.0,509.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"4":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":25}],"lastModifiedDate":{"__isSmartRef__":true,"id":27},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5":{"date":{"__isSmartRef__":true,"id":6},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"6":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"7":{"date":{"__isSmartRef__":true,"id":8},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"8":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"9":{"date":{"__isSmartRef__":true,"id":10},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"10":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"11":{"date":{"__isSmartRef__":true,"id":12},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"12":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"13":{"date":{"__isSmartRef__":true,"id":14},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"14":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"15":{"date":{"__isSmartRef__":true,"id":16},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"16":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"17":{"date":{"__isSmartRef__":true,"id":18},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"18":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"19":{"date":{"__isSmartRef__":true,"id":20},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"20":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"21":{"date":{"__isSmartRef__":true,"id":22},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"22":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"23":{"date":{"__isSmartRef__":true,"id":24},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"24":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"25":{"date":{"__isSmartRef__":true,"id":26},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"26":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"27":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"28":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"29":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":30}},"30":{"test01IsMorph":{"__isSmartRef__":true,"id":31}},"31":{"varMapping":{"__isSmartRef__":true,"id":32},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":33},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"32":{"this":{"__isSmartRef__":true,"id":29}},"33":{},"34":{"resizeWidth":true,"resizeHeight":true},"35":{"submorphs":[],"scripts":[],"id":"9714013A-16C3-4129-8BEF-7FB3404E01A8","shape":{"__isSmartRef__":true,"id":36},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":37},"textChunks":[{"__isSmartRef__":true,"id":49}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":51},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","926DECD6-9AAF-4EE2-9FD3-21A2E77970A5","6693ED44-ECE8-4419-9FC4-0C00AC90A290","CF25F73A-478B-4DEE-8B0A-DFC2F03E946E","D4550D24-962B-46AD-A4EA-BAAB345CD704","F62176DC-E56E-423C-A003-98CA09F1100B"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":52},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(3.3,507.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(433.7,-18.0)"},"36":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(643.6,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"37":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":44},{"__isSmartRef__":true,"id":46}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":48},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"38":{"date":{"__isSmartRef__":true,"id":39},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"39":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"40":{"date":{"__isSmartRef__":true,"id":41},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"41":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"42":{"date":{"__isSmartRef__":true,"id":43},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"43":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"44":{"date":{"__isSmartRef__":true,"id":45},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"45":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"46":{"date":{"__isSmartRef__":true,"id":47},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"47":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"48":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"49":{"style":{"__isSmartRef__":true,"id":50},"chunkOwner":{"__isSmartRef__":true,"id":35},"_id":"_37253","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"50":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"51":{"morph":{"__isSmartRef__":true,"id":35},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"52":{"moveVertical":true},"53":{"submorphs":[{"__isSmartRef__":true,"id":54}],"scripts":[],"shape":{"__isSmartRef__":true,"id":59},"eventHandler":{"__isSmartRef__":true,"id":60},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","D997CBB8-1A36-4D1F-A5CD-75A0BC638071","A8A3A739-815C-4DC8-9CEC-27FC1BC48203"],"id":"3894BCB3-E70B-4904-8C80-510686D339F1","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":54},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"name":"Button3","partsBinMetaInfo":{"__isSmartRef__":true,"id":61},"owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":67}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1.1,0.0)","distanceToDragEvent":"lively.pt(39.5,-15.4)"},"54":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":55},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":56}],"eventHandler":{"__isSmartRef__":true,"id":58},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","BAB5BB19-80EE-4E66-8097-5E2E06A5722F","03A9409E-BFD2-4FB0-ADAB-5A90FB126130"],"id":"63413516-4E50-4323-AA27-13148EAC95A3","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":53},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"55":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"56":{"style":{"__isSmartRef__":true,"id":57},"chunkOwner":{"__isSmartRef__":true,"id":54},"_id":"_3135","storedString":"visit","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"57":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"58":{"morph":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"59":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"60":{"morph":{"__isSmartRef__":true,"id":53},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"61":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":64}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":66},"revisionOnLoad":186411,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"62":{"date":{"__isSmartRef__":true,"id":63},"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811"},"63":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"64":{"date":{"__isSmartRef__":true,"id":65},"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB"},"65":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"66":{"isSerializedDate":true,"string":"Thu Feb 28 2013 11:51:13 GMT+0100 (CET)"},"67":{"sourceObj":{"__isSmartRef__":true,"id":53},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"visitWorld","varMapping":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"68":{"source":{"__isSmartRef__":true,"id":53},"target":{"__isSmartRef__":true,"id":1}},"69":{"submorphs":[{"__isSmartRef__":true,"id":70}],"scripts":[],"shape":{"__isSmartRef__":true,"id":75},"eventHandler":{"__isSmartRef__":true,"id":76},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","D997CBB8-1A36-4D1F-A5CD-75A0BC638071","A8A3A739-815C-4DC8-9CEC-27FC1BC48203","3894BCB3-E70B-4904-8C80-510686D339F1"],"id":"030E3B70-5F95-4553-B136-BA212ABE0758","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":70},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"name":"Button5","partsBinMetaInfo":{"__isSmartRef__":true,"id":77},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"attributeConnections":[{"__isSmartRef__":true,"id":83}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(52.1,1.0)","distanceToDragEvent":"lively.pt(28.9,-12.0)"},"70":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":71},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":72}],"eventHandler":{"__isSmartRef__":true,"id":74},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","BAB5BB19-80EE-4E66-8097-5E2E06A5722F","03A9409E-BFD2-4FB0-ADAB-5A90FB126130","63413516-4E50-4323-AA27-13148EAC95A3"],"id":"21C7D61D-2B07-4C51-BFFF-4370A6CCB35C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":69},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"71":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"72":{"style":{"__isSmartRef__":true,"id":73},"chunkOwner":{"__isSmartRef__":true,"id":70},"_id":"_48366","storedString":"save","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"73":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"74":{"morph":{"__isSmartRef__":true,"id":70},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"75":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"76":{"morph":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"77":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":82},"revisionOnLoad":186411,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"78":{"date":{"__isSmartRef__":true,"id":79},"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811"},"79":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"80":{"date":{"__isSmartRef__":true,"id":81},"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB"},"81":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"82":{"isSerializedDate":true,"string":"Thu Feb 28 2013 11:51:13 GMT+0100 (CET)"},"83":{"sourceObj":{"__isSmartRef__":true,"id":69},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"onSaveWorld","varMapping":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"84":{"source":{"__isSmartRef__":true,"id":69},"target":{"__isSmartRef__":true,"id":1}},"85":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(862.5,528.2)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"86":{"partsSpaceName":"PartsBin/Jens/","comment":"A tool to load directly as submorphs and ignoring deserialization errors while doing so. ","migrationLevel":4,"partName":"WorldLoaderPane","changes":[{"__isSmartRef__":true,"id":87},{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":95},{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":101},{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":107},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":111},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":119}],"lastModifiedDate":{"__isSmartRef__":true,"id":121},"revisionOnLoad":192837,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"87":{"date":{"__isSmartRef__":true,"id":88},"author":"jenslincke","message":"no comment","id":"325FACD1-CEC4-48C7-AA97-9B7D3F27BE6D"},"88":{"isSerializedDate":true,"string":"Tue Feb 26 2013 13:45:27 GMT+0100 (CET)"},"89":{"date":{"__isSmartRef__":true,"id":90},"author":"jenslincke","message":"no comment","id":"557ECA70-DAA6-47B1-91C4-C9E2ED813882"},"90":{"isSerializedDate":true,"string":"Thu Feb 07 2013 11:02:32 GMT+0100 (CET)"},"91":{"date":{"__isSmartRef__":true,"id":92},"author":"jenslincke","message":"no comment","id":"2436D6EC-B1C4-49DF-9DAA-ADCF0777A0BD"},"92":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:51:36 GMT+0100 (CET)"},"93":{"date":{"__isSmartRef__":true,"id":94},"author":"jenslincke","message":"no comment","id":"E3F79ED1-00B4-4F2F-86B6-E23EA89FEA0B"},"94":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:50:42 GMT+0100 (CET)"},"95":{"date":{"__isSmartRef__":true,"id":96},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"96":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"97":{"date":{"__isSmartRef__":true,"id":98},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"98":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"99":{"date":{"__isSmartRef__":true,"id":100},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"100":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"101":{"date":{"__isSmartRef__":true,"id":102},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"102":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"103":{"date":{"__isSmartRef__":true,"id":104},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"104":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"105":{"date":{"__isSmartRef__":true,"id":106},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"106":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"107":{"date":{"__isSmartRef__":true,"id":108},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"108":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"109":{"date":{"__isSmartRef__":true,"id":110},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"110":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"111":{"date":{"__isSmartRef__":true,"id":112},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"112":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"113":{"date":{"__isSmartRef__":true,"id":114},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"114":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"115":{"date":{"__isSmartRef__":true,"id":116},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"116":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"117":{"date":{"__isSmartRef__":true,"id":118},"author":"jenslincke","message":"no comment","id":"9F14C4A1-232A-4902-B892-CB9F23562B52"},"118":{"isSerializedDate":true,"string":"Tue Feb 26 2013 13:47:04 GMT+0100 (CET)"},"119":{"date":{"__isSmartRef__":true,"id":120},"author":"jenslincke","message":"implemented saving an external world!","id":"065197AB-74A3-49C4-A09A-30A928E35C9D"},"120":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:53:45 GMT+0100 (CET)"},"121":{"isSerializedDate":true,"string":"Tue Feb 26 2013 13:43:08 GMT+0100 (CET)"},"122":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"123":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":124}},"124":{"test01IsMorph":{"__isSmartRef__":true,"id":125}},"125":{"varMapping":{"__isSmartRef__":true,"id":126},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"126":{"this":{"__isSmartRef__":true,"id":123}},"127":{},"128":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"129":{"onrestore":{"__isSmartRef__":true,"id":130},"installLayers":{"__isSmartRef__":true,"id":138},"loadWorld":{"__isSmartRef__":true,"id":142},"clearWorldContainer":{"__isSmartRef__":true,"id":146},"getWorldURL":{"__isSmartRef__":true,"id":150},"becomeWorld":{"__isSmartRef__":true,"id":154},"getSubWorld":{"__isSmartRef__":true,"id":158},"navigateTo":{"__isSmartRef__":true,"id":162},"onSaveWorld":{"__isSmartRef__":true,"id":166},"visitWorld":{"__isSmartRef__":true,"id":170},"reset":{"__isSmartRef__":true,"id":174},"saveExternalWorld":{"__isSmartRef__":true,"id":178}},"130":{"varMapping":{"__isSmartRef__":true,"id":131},"source":"function onrestore() {\n    this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"131":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":132}},"132":{"$super":{"__isSmartRef__":true,"id":133}},"133":{"varMapping":{"__isSmartRef__":true,"id":134},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"134":{"obj":{"__isSmartRef__":true,"id":1},"name":"onrestore"},"135":{},"136":{"timestamp":{"__isSmartRef__":true,"id":137},"user":"jenslincke","tags":[]},"137":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:10:53 GMT+0100 (CET)"},"138":{"varMapping":{"__isSmartRef__":true,"id":139},"source":"function installLayers() {\n    cop.create(\"DevLayer\").refineClass(ObjectGraphLinearizer, {\n    recreateFromId: function(id) {\n        // Alernative versioin that catches errors!\n        var recreated = this.getRecreatedObjectFromId(id);\n        if (recreated) return recreated;\n        // take the registered object (which has unresolveed references) and\n        // create a new similiar object with patched references\n        var registeredObj = this.getRegisteredObjectFromId(id);\n        recreated = this.somePlugin('deserializeObj', [registeredObj]) || {};\n        this.setRecreatedObject(recreated, id); // important to set recreated before patching refs!\n        for (var key in registeredObj) {\n            var value = registeredObj[key];\n            try {\n                if (this.somePlugin('ignorePropDeserialization', [registeredObj, key, value])) continue;\n                this.path.push(key); // for debugging\n                recreated[key] = this.patchObj(value);\n                this.path.pop();\n            } catch(e) {\n                alert(\"error but continue \" + e)\n            }\n        };\n        this.letAllPlugins('afterDeserializeObj', [recreated, registeredObj]);\n        return recreated;\n    },\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"139":{"this":{"__isSmartRef__":true,"id":1}},"140":{"timestamp":{"__isSmartRef__":true,"id":141},"user":"jenslincke","tags":[]},"141":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:10:38 GMT+0100 (CET)"},"142":{"varMapping":{"__isSmartRef__":true,"id":143},"source":"function loadWorld() {\n    this.get('Status').textString = 'loading ... ' \n    var url = this.getWorldURL(),\n        wr = new WebResource(url),\n        xml = wr.get().contentDocument,\n        json = $(xml).find(\"#LivelyJSONWorld\").text();\n    \n    if (!json) {\n        this.clearWorldContainer();\n        this.get('Status').textString = 'no world found!' \n        return\n    }\n\n    var jso = JSON.parse(json);\n\n    var world;\n    cop.withLayers([DevLayer], function() {\n        world = lively.persistence.Serializer.deserializeWorldFromJso(jso);\n    })\n    this.clearWorldContainer()\n    this.get(\"WorldContainer\").addMorph(world)\n    this.get('Status').textString = '' \n}","funcProperties":{"__isSmartRef__":true,"id":144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"143":{"this":{"__isSmartRef__":true,"id":1}},"144":{"timestamp":{"__isSmartRef__":true,"id":145},"user":"jenslincke","tags":[]},"145":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:35:52 GMT+0100 (CET)"},"146":{"varMapping":{"__isSmartRef__":true,"id":147},"source":"function clearWorldContainer() {\n    this.get(\"WorldContainer\").submorphs.clone().invoke('remove')\n}","funcProperties":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"147":{"this":{"__isSmartRef__":true,"id":1}},"148":{"timestamp":{"__isSmartRef__":true,"id":149},"user":"jenslincke","tags":[]},"149":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:14:54 GMT+0100 (CET)"},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function getWorldURL() {\n    return this.worldURL\n}","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":1}},"152":{"timestamp":{"__isSmartRef__":true,"id":153},"user":"jenslincke","tags":[]},"153":{"isSerializedDate":true,"string":"Thu Feb 07 2013 11:10:01 GMT+0100 (CET)"},"154":{"varMapping":{"__isSmartRef__":true,"id":155},"source":"function becomeWorld() {\n    // Ok, lets do a magic trick!\n    \n    var targetWorld = this.world()\n    var sourceWorld = this.get(\"WorldContainer\").submorphs[0]\n\n    var tmp = targetWorld.submorphs.clone();\n    targetWorld.submorphs.clone().invoke('remove')\n\n    sourceWorld.submorphs.clone().forEach(function(ea) {\n        targetWorld.addMorph(ea)\n    })\n    tmp.forEach(function(ea) {\n        sourceWorld.addMorph(ea)\n    })\n    targetWorld.addMorph(this.owner)\n\n}","funcProperties":{"__isSmartRef__":true,"id":156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"155":{"this":{"__isSmartRef__":true,"id":1}},"156":{"timestamp":{"__isSmartRef__":true,"id":157},"user":"jenslincke","tags":[]},"157":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:56:38 GMT+0100 (CET)"},"158":{"varMapping":{"__isSmartRef__":true,"id":159},"source":"function getSubWorld() {\n    return this.get(\"WorldContainer\").submorphs[0]\n}","funcProperties":{"__isSmartRef__":true,"id":160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"159":{"this":{"__isSmartRef__":true,"id":1}},"160":{"timestamp":{"__isSmartRef__":true,"id":161},"user":"jenslincke","tags":[]},"161":{"isSerializedDate":true,"string":"Wed Feb 06 2013 19:53:00 GMT+0100 (CET)"},"162":{"varMapping":{"__isSmartRef__":true,"id":163},"source":"function navigateTo(url) {\n    this.worldURL = new URL(url)\n    this.loadWorld()\n}","funcProperties":{"__isSmartRef__":true,"id":164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"163":{"this":{"__isSmartRef__":true,"id":1}},"164":{"timestamp":{"__isSmartRef__":true,"id":165},"user":"jenslincke","tags":[]},"165":{"isSerializedDate":true,"string":"Thu Feb 07 2013 11:17:08 GMT+0100 (CET)"},"166":{"varMapping":{"__isSmartRef__":true,"id":167},"source":"function onSaveWorld() {\n    var world = this.get('WorldContainer').submorphs[0]\n    if(!world) {\n        alertOK('no world to save!'); \n        return\n    }\n    var url = this.getWorldURL(),\n        wr = new WebResource(url),\n        doc = wr.get().contentDocument;\n    world.remove()\n    try {\n        this.saveExternalWorld(url, world, doc)\n    } finally {\n        this.get('WorldContainer').addMorph(world)\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"167":{"this":{"__isSmartRef__":true,"id":1}},"168":{"timestamp":{"__isSmartRef__":true,"id":169},"user":"jenslincke","tags":[]},"169":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:06:06 GMT+0100 (CET)"},"170":{"varMapping":{"__isSmartRef__":true,"id":171},"source":"function visitWorld() {\n    window.open(this.getWorldURL())\n}","funcProperties":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"171":{"this":{"__isSmartRef__":true,"id":1}},"172":{"timestamp":{"__isSmartRef__":true,"id":173},"user":"jenslincke","tags":[]},"173":{"isSerializedDate":true,"string":"Tue Mar 05 2013 13:54:34 GMT+0100 (CET)"},"174":{"varMapping":{"__isSmartRef__":true,"id":175},"source":"function reset() {\n    this.clearWorldContainer()\n    this.worldURL = null\n}","funcProperties":{"__isSmartRef__":true,"id":176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"175":{"this":{"__isSmartRef__":true,"id":1}},"176":{"timestamp":{"__isSmartRef__":true,"id":177},"user":"jenslincke","tags":[]},"177":{"isSerializedDate":true,"string":"Tue Mar 05 2013 13:55:23 GMT+0100 (CET)"},"178":{"varMapping":{"__isSmartRef__":true,"id":179},"source":"function saveExternalWorld(url, world, doc) {\n    var serializer = ObjectGraphLinearizer.forNewLively(),\n        start = new Date().getTime();\n    lively.persistence.Serializer.serializeWorldToDocumentWithSerializer(world, doc, serializer);\n\n\n    var titleTag = doc.getElementsByTagName('title')[0];\n        if (titleTag) titleTag.textContent = url.filename().replace('.xhtml', '');\n\n    new WebResource(url).beAsync().put(doc)\n}","funcProperties":{"__isSmartRef__":true,"id":180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"179":{"this":{"__isSmartRef__":true,"id":1}},"180":{"timestamp":{"__isSmartRef__":true,"id":181},"user":"jenslincke","tags":[]},"181":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:02:54 GMT+0100 (CET)"},"182":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":183},"eventHandler":{"__isSmartRef__":true,"id":184},"_ClipMode":"visible","derivationIds":[],"id":"D611E2B7-61D4-4EA5-98C8-9A20FF14E4B8","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":185},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,551.0)"},"183":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(856.5,4.0)","_Padding":"lively.rect(0,0,0,0)"},"184":{"morph":{"__isSmartRef__":true,"id":182},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"185":{"onDragStart":{"__isSmartRef__":true,"id":186},"onDrag":{"__isSmartRef__":true,"id":193},"onDragEnd":{"__isSmartRef__":true,"id":200}},"186":{"varMapping":{"__isSmartRef__":true,"id":187},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"187":{"this":{"__isSmartRef__":true,"id":182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":188}},"188":{"$super":{"__isSmartRef__":true,"id":189}},"189":{"varMapping":{"__isSmartRef__":true,"id":190},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"190":{"obj":{"__isSmartRef__":true,"id":182},"name":"onDragStart"},"191":{},"192":{},"193":{"varMapping":{"__isSmartRef__":true,"id":194},"source":"function onDrag(evt) {\n            var moveDelta = pt(0,evt.mousePoint.subPt(this.dragStartPoint).y);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n\n            this.align(this.bounds().bottomLeft(), pt(0,this.owner.getExtent().y));\n        }","funcProperties":{"__isSmartRef__":true,"id":199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"194":{"this":{"__isSmartRef__":true,"id":182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":195}},"195":{"$super":{"__isSmartRef__":true,"id":196}},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"197":{"obj":{"__isSmartRef__":true,"id":182},"name":"onDrag"},"198":{},"199":{},"200":{"varMapping":{"__isSmartRef__":true,"id":201},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"201":{"this":{"__isSmartRef__":true,"id":182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":202}},"202":{"$super":{"__isSmartRef__":true,"id":203}},"203":{"varMapping":{"__isSmartRef__":true,"id":204},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"204":{"obj":{"__isSmartRef__":true,"id":182},"name":"onDragEnd"},"205":{},"206":{},"207":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":208},"eventHandler":{"__isSmartRef__":true,"id":209},"_ClipMode":"visible","derivationIds":[],"id":"ECE1F40C-FB97-4AA3-B9D2-165CE49A0605","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(866.5,0.0)"},"208":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,541.0)","_Padding":"lively.rect(0,0,0,0)"},"209":{"morph":{"__isSmartRef__":true,"id":207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"210":{"onDragStart":{"__isSmartRef__":true,"id":211},"onDrag":{"__isSmartRef__":true,"id":218},"onDragEnd":{"__isSmartRef__":true,"id":225}},"211":{"varMapping":{"__isSmartRef__":true,"id":212},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"212":{"this":{"__isSmartRef__":true,"id":207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":213}},"213":{"$super":{"__isSmartRef__":true,"id":214}},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"215":{"obj":{"__isSmartRef__":true,"id":207},"name":"onDragStart"},"216":{},"217":{},"218":{"varMapping":{"__isSmartRef__":true,"id":219},"source":"function onDrag(evt) {\n            var moveDelta = pt(evt.mousePoint.subPt(this.dragStartPoint).x,0);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n\n            this.owner.setExtent(newExtent);\n            this.align(this.bounds().topRight(), pt(this.owner.getExtent().x,0));\n        }","funcProperties":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"219":{"this":{"__isSmartRef__":true,"id":207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":220}},"220":{"$super":{"__isSmartRef__":true,"id":221}},"221":{"varMapping":{"__isSmartRef__":true,"id":222},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"222":{"obj":{"__isSmartRef__":true,"id":207},"name":"onDrag"},"223":{},"224":{},"225":{"varMapping":{"__isSmartRef__":true,"id":226},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignBottomReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"226":{"this":{"__isSmartRef__":true,"id":207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":227}},"227":{"$super":{"__isSmartRef__":true,"id":228}},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"229":{"obj":{"__isSmartRef__":true,"id":207},"name":"onDragEnd"},"230":{},"231":{},"232":{"submorphs":[{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":264}],"scripts":[],"shape":{"__isSmartRef__":true,"id":277},"eventHandler":{"__isSmartRef__":true,"id":278},"_ClipMode":"visible","derivationIds":[],"id":"D2196C72-293A-40CC-B56B-ED39B54F2BF6","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":279},"__serializedExpressions__":["_Position"],"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":233},"closeButton":{"__isSmartRef__":true,"id":239},"menuButton":{"__isSmartRef__":true,"id":252},"collapseButton":{"__isSmartRef__":true,"id":264},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"233":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":234},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":235}],"eventHandler":{"__isSmartRef__":true,"id":237},"_ClipMode":"hidden","derivationIds":[],"id":"8DB0A135-EA41-4F27-B023-29AFC927CC3C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":238},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":232},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(20.0,3.0)"},"234":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(811.5,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"235":{"style":{"__isSmartRef__":true,"id":236},"chunkOwner":{"__isSmartRef__":true,"id":233},"_id":"_40788","storedString":"WorldLoaderPane","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"236":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"morph":{"__isSmartRef__":true,"id":233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"238":{"resizeWidth":true},"239":{"submorphs":[{"__isSmartRef__":true,"id":240}],"scripts":[],"shape":{"__isSmartRef__":true,"id":245},"eventHandler":{"__isSmartRef__":true,"id":246},"_ClipMode":"visible","derivationIds":[],"id":"50D4F28C-9BA3-4871-9E61-080545268469","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":240},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":232},"layout":{"__isSmartRef__":true,"id":247},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":250}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(850.5,3.0)"},"240":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":241},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":242}],"eventHandler":{"__isSmartRef__":true,"id":244},"_ClipMode":"hidden","derivationIds":[],"id":"0D5EBCC4-B588-4776-95EF-BAB52C2C219A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":239},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"241":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"242":{"style":{"__isSmartRef__":true,"id":243},"chunkOwner":{"__isSmartRef__":true,"id":240},"_id":"_40783","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"243":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"244":{"morph":{"__isSmartRef__":true,"id":240},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"245":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"246":{"morph":{"__isSmartRef__":true,"id":239},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"247":{"moveHorizontal":true},"248":{"sourceObj":{"__isSmartRef__":true,"id":239},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":249},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"249":{"source":{"__isSmartRef__":true,"id":239},"target":{"__isSmartRef__":true,"id":0}},"250":{"sourceObj":{"__isSmartRef__":true,"id":239},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"251":{"source":{"__isSmartRef__":true,"id":239},"target":{"__isSmartRef__":true,"id":0}},"252":{"submorphs":[{"__isSmartRef__":true,"id":253}],"scripts":[],"shape":{"__isSmartRef__":true,"id":258},"eventHandler":{"__isSmartRef__":true,"id":259},"_ClipMode":"visible","derivationIds":[],"id":"07D26AA4-E978-4BFD-A590-9D5996D00893","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":253},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":232},"attributeConnections":[{"__isSmartRef__":true,"id":260},{"__isSmartRef__":true,"id":262}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"253":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":254},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":255}],"eventHandler":{"__isSmartRef__":true,"id":257},"_ClipMode":"hidden","derivationIds":[],"id":"A403D2AA-2E37-49D2-A2F6-888BC61202C6","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":252},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"254":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"255":{"style":{"__isSmartRef__":true,"id":256},"chunkOwner":{"__isSmartRef__":true,"id":253},"_id":"_40785","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"256":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"257":{"morph":{"__isSmartRef__":true,"id":253},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"258":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"259":{"morph":{"__isSmartRef__":true,"id":252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"260":{"sourceObj":{"__isSmartRef__":true,"id":252},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":261},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"261":{"source":{"__isSmartRef__":true,"id":252},"target":{"__isSmartRef__":true,"id":0}},"262":{"sourceObj":{"__isSmartRef__":true,"id":252},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":263},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"263":{"source":{"__isSmartRef__":true,"id":252},"target":{"__isSmartRef__":true,"id":0}},"264":{"submorphs":[{"__isSmartRef__":true,"id":265}],"scripts":[],"shape":{"__isSmartRef__":true,"id":270},"eventHandler":{"__isSmartRef__":true,"id":271},"_ClipMode":"visible","derivationIds":[],"id":"C34B6486-111D-4B03-89A3-9A05BD3D09E1","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":265},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":232},"layout":{"__isSmartRef__":true,"id":272},"attributeConnections":[{"__isSmartRef__":true,"id":273},{"__isSmartRef__":true,"id":275}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(831.5,3.0)"},"265":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":266},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":267}],"eventHandler":{"__isSmartRef__":true,"id":269},"_ClipMode":"hidden","derivationIds":[],"id":"498088D7-9BEB-4667-9DAE-4DD04B5F8BB4","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":264},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"266":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"267":{"style":{"__isSmartRef__":true,"id":268},"chunkOwner":{"__isSmartRef__":true,"id":265},"_id":"_40787","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"268":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"269":{"morph":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"270":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"271":{"morph":{"__isSmartRef__":true,"id":264},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"272":{"moveHorizontal":true},"273":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":274},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"274":{"source":{"__isSmartRef__":true,"id":264},"target":{"__isSmartRef__":true,"id":0}},"275":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"276":{"source":{"__isSmartRef__":true,"id":264},"target":{"__isSmartRef__":true,"id":0}},"277":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(870.5,22.0)","_Padding":"lively.rect(0,0,0,0)"},"278":{"morph":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"279":{"resizeWidth":true,"adjustForNewBounds":true},"280":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":281},"eventHandler":{"__isSmartRef__":true,"id":282},"_ClipMode":"visible","derivationIds":[],"id":"613BD5ED-4885-491F-A4DA-2EFD717AE532","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle corner"],"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":283},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(856.5,541.0)"},"281":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"282":{"morph":{"__isSmartRef__":true,"id":280},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"283":{"onDragStart":{"__isSmartRef__":true,"id":284},"onDrag":{"__isSmartRef__":true,"id":291},"onDragEnd":{"__isSmartRef__":true,"id":298}},"284":{"varMapping":{"__isSmartRef__":true,"id":285},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"285":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":286}},"286":{"$super":{"__isSmartRef__":true,"id":287}},"287":{"varMapping":{"__isSmartRef__":true,"id":288},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"288":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDragStart"},"289":{},"290":{},"291":{"varMapping":{"__isSmartRef__":true,"id":292},"source":"function onDrag(evt) {\n            var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n            //console.log(\"WindowExtent: \"+this.owner.getExtent().x+\" ,  \"+this.owner.getExtent().y);\n            this.align(this.bounds().bottomRight(), this.owner.getExtent());\n        }","funcProperties":{"__isSmartRef__":true,"id":297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"292":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":293}},"293":{"$super":{"__isSmartRef__":true,"id":294}},"294":{"varMapping":{"__isSmartRef__":true,"id":295},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"295":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDrag"},"296":{},"297":{},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignBottomReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"299":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":300}},"300":{"$super":{"__isSmartRef__":true,"id":301}},"301":{"varMapping":{"__isSmartRef__":true,"id":302},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"302":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDragEnd"},"303":{},"304":{},"305":{"__serializedExpressions__":["_Padding","_Extent"],"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(870.5,555.0)"},"306":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"307":{"adjustForNewBounds":true},"isSimplifiedRegistry":true}}