{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"id":"626B0FEF-EFEE-4166-BE6B-93D2F8F47195","shape":{"__isSmartRef__":true,"id":16},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"FunctionInvoker","partsBinMetaInfo":{"__isSmartRef__":true,"id":17},"eventHandler":{"__isSmartRef__":true,"id":40},"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","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AA123B1B-3282-4DE0-816A-A2D0D638D293"],"partTests":{"__isSmartRef__":true,"id":41},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"_Rotation":0,"_Scale":1,"attributeConnections":[{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":51},{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":183}],"doNotSerialize":["$$_Rotation","$$_Scale"],"doNotCopyProperties":["$$_Rotation","$$_Scale"],"__serializedExpressions__":["_Position","distanceToDragEvent","previousPosition"],"oldOwner":{"__isSmartRef__":true,"id":211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(124.0,-8.0)","previousPosition":"lively.pt(817.0,5.0)"},"1":{"submorphs":[],"scripts":[],"id":"F439A62D-8AF9-4F58-9D1E-E228DC343EBD","shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"textChunks":[{"__isSmartRef__":true,"id":12}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":14},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0","C16FC730-A015-44BF-9788-2C7AC9E35F65"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":15},"owner":{"__isSmartRef__":true,"id":0},"draggingEnabled":false,"priorSelectionRange":[8,8],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.0,29.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(79.0,-18.0)"},"2":{"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(107.7,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3":{"partsSpaceName":"PartsBin/Basic","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4},{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (Pacific Daylight Time)\")"},"4":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (Pacific Daylight Time)\")"},"5":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)\")"},"6":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)\")"},"7":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)\")"},"8":{"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","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)\")"},"9":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)\")"},"10":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (Pacific Daylight Time)\")"},"11":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (Pacific Daylight Time)\")"},"12":{"style":{"__isSmartRef__":true,"id":13},"morph":{"__isSmartRef__":true,"id":1},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"disableGrabbing","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15":{"resizeWidth":true},"16":{"_BorderWidth":2.924,"_ClipMode":"visible","_BorderRadius":8.14,"_Opacity":1,"_BorderStyle":"solid","__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(175.0,65.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(186,186,186)","_Padding":"lively.rect(0,0,0,0)"},"17":{"partsSpaceName":"PartsBin/Controls/","comment":"Drag&Drop this little helper on any morph (except the world) and it will invoke the displayed function on it.","migrationLevel":8,"partName":"FunctionInvoker","changes":[{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":39}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Apr 15 2014 13:47:34 GMT-0700 (Pacific Daylight Time)\")"},"18":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (Pacific Standard Time)\")"},"19":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (Pacific Daylight Time)\")"},"20":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (Pacific Daylight Time)\")"},"21":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (Pacific Daylight Time)\")"},"22":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (Pacific Standard Time)\")"},"23":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (Pacific Standard Time)\")"},"24":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (Pacific Standard Time)\")"},"25":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (Pacific Daylight Time)\")"},"26":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)\")"},"27":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)\")"},"28":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)\")"},"29":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)\")"},"30":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)\")"},"31":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)\")"},"32":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (Pacific Standard Time)\")"},"33":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (Pacific Daylight Time)\")"},"34":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (Pacific Daylight Time)\")"},"35":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (Pacific Standard Time)\")"},"36":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (Pacific Daylight Time)\")"},"37":{"author":"athomschke","message":"created it","id":"D6F9930C-ED53-4043-8749-6F5F12AE2838","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 15 2014 13:35:59 GMT-0700 (Pacific Daylight Time)\")"},"38":{"__serializedExpressions__":["date"],"author":"athomschke","message":"deleted onDropOn Script","id":"17296E46-3548-46C1-A40F-467221DE1ECC","date":"new Date(\"Tue Apr 15 2014 13:47:30 GMT-0700 (Pacific Daylight Time)\")"},"39":{"__serializedExpressions__":["date"],"author":"athomschke","message":"fixed bug where the morph got added to the handmorph in between","id":"95A92199-F9F9-40CE-AF60-A2E608886026","date":"new Date(\"Tue Apr 15 2014 13:51:18 GMT-0700 (Pacific Daylight Time)\")"},"40":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"41":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":42}},"42":{"test01IsMorph":{"__isSmartRef__":true,"id":43}},"43":{"varMapping":{"__isSmartRef__":true,"id":44},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":45},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"44":{"this":{"__isSmartRef__":true,"id":41}},"45":{},"46":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":47},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":70},"dependendConnections":[{"__isSmartRef__":true,"id":71}],"attributeConnections":[{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":77}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"47":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":48},"_ClipMode":"visible","derivationIds":[],"id":"AA1065E4-8709-40D6-8D36-05722703C47A","droppingEnabled":false,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":49}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(244.0,8.0)"},"48":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":null,"__serializedExpressions__":["position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Fill":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"49":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":47},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":50},"dependendConnections":[{"__isSmartRef__":true,"id":51}],"attributeConnections":[{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":57}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"50":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":47}},"51":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":47},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":52},"dependedBy":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"52":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":47}},"53":{"sourceObj":{"__isSmartRef__":true,"id":49},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":51},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"54":{"source":{"__isSmartRef__":true,"id":49},"target":{"__isSmartRef__":true,"id":51}},"55":{"sourceObj":{"__isSmartRef__":true,"id":49},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":51},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":56},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"56":{"source":{"__isSmartRef__":true,"id":49},"target":{"__isSmartRef__":true,"id":51}},"57":{"sourceObj":{"__isSmartRef__":true,"id":49},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":51},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"58":{"source":{"__isSmartRef__":true,"id":49},"target":{"__isSmartRef__":true,"id":51}},"59":{"remove":{"__isSmartRef__":true,"id":60},"reconnect":{"__isSmartRef__":true,"id":67}},"60":{"varMapping":{"__isSmartRef__":true,"id":61},"source":"function remove() {\n            $super();\n            this.connections.invoke('disconnect');\n            this.submorphsForReconnect = this.submorphs.clone();\n            this.submorphs.invoke('remove');\n            lively.bindings.callWhenNotNull(this, 'owner', this, 'reconnect');\n        }","funcProperties":{"__isSmartRef__":true,"id":66},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"61":{"this":{"__isSmartRef__":true,"id":47},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":62}},"62":{"$super":{"__isSmartRef__":true,"id":63}},"63":{"varMapping":{"__isSmartRef__":true,"id":64},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":65},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"64":{"obj":{"__isSmartRef__":true,"id":47},"name":"remove"},"65":{},"66":{},"67":{"varMapping":{"__isSmartRef__":true,"id":68},"source":"function reconnect(newOwner) {\n            this.connections.invoke('connect');\n            this.submorphsForReconnect.forEach(function(ea) { this.addMorph(ea) }, this);\n            delete this.submorphsForReconnect;\n        }","funcProperties":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"68":{"this":{"__isSmartRef__":true,"id":47}},"69":{},"70":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":47}},"71":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":47},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":72},"dependedBy":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"72":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":47}},"73":{"sourceObj":{"__isSmartRef__":true,"id":46},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":71},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":74},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"74":{"source":{"__isSmartRef__":true,"id":46},"target":{"__isSmartRef__":true,"id":71}},"75":{"sourceObj":{"__isSmartRef__":true,"id":46},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":71},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"76":{"source":{"__isSmartRef__":true,"id":46},"target":{"__isSmartRef__":true,"id":71}},"77":{"sourceObj":{"__isSmartRef__":true,"id":46},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":71},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":78},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"78":{"source":{"__isSmartRef__":true,"id":46},"target":{"__isSmartRef__":true,"id":71}},"79":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":80},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":103},"dependendConnections":[{"__isSmartRef__":true,"id":104}],"attributeConnections":[{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":110}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"80":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":81},"_ClipMode":"visible","derivationIds":[],"id":"CD37C306-72CB-4590-813D-8E69C7BAE2A3","droppingEnabled":false,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":82}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(291.0,10.0)"},"81":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":null,"__serializedExpressions__":["position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Fill":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"82":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":80},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":83},"dependendConnections":[{"__isSmartRef__":true,"id":84}],"attributeConnections":[{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":90}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"83":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":80}},"84":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":80},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":85},"dependedBy":{"__isSmartRef__":true,"id":82},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"85":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":80}},"86":{"sourceObj":{"__isSmartRef__":true,"id":82},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":84},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":87},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"87":{"source":{"__isSmartRef__":true,"id":82},"target":{"__isSmartRef__":true,"id":84}},"88":{"sourceObj":{"__isSmartRef__":true,"id":82},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":84},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":89},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"89":{"source":{"__isSmartRef__":true,"id":82},"target":{"__isSmartRef__":true,"id":84}},"90":{"sourceObj":{"__isSmartRef__":true,"id":82},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":84},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"91":{"source":{"__isSmartRef__":true,"id":82},"target":{"__isSmartRef__":true,"id":84}},"92":{"remove":{"__isSmartRef__":true,"id":93},"reconnect":{"__isSmartRef__":true,"id":100}},"93":{"varMapping":{"__isSmartRef__":true,"id":94},"source":"function remove() {\n            $super();\n            this.connections.invoke('disconnect');\n            this.submorphsForReconnect = this.submorphs.clone();\n            this.submorphs.invoke('remove');\n            lively.bindings.callWhenNotNull(this, 'owner', this, 'reconnect');\n        }","funcProperties":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"94":{"this":{"__isSmartRef__":true,"id":80},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":95}},"95":{"$super":{"__isSmartRef__":true,"id":96}},"96":{"varMapping":{"__isSmartRef__":true,"id":97},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":98},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"97":{"obj":{"__isSmartRef__":true,"id":80},"name":"remove"},"98":{},"99":{},"100":{"varMapping":{"__isSmartRef__":true,"id":101},"source":"function reconnect(newOwner) {\n            this.connections.invoke('connect');\n            this.submorphsForReconnect.forEach(function(ea) { this.addMorph(ea) }, this);\n            delete this.submorphsForReconnect;\n        }","funcProperties":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"101":{"this":{"__isSmartRef__":true,"id":80}},"102":{},"103":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":80}},"104":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":80},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":105},"dependedBy":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"105":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":80}},"106":{"sourceObj":{"__isSmartRef__":true,"id":79},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":104},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"107":{"source":{"__isSmartRef__":true,"id":79},"target":{"__isSmartRef__":true,"id":104}},"108":{"sourceObj":{"__isSmartRef__":true,"id":79},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":104},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":109},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"109":{"source":{"__isSmartRef__":true,"id":79},"target":{"__isSmartRef__":true,"id":104}},"110":{"sourceObj":{"__isSmartRef__":true,"id":79},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":104},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":111},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"111":{"source":{"__isSmartRef__":true,"id":79},"target":{"__isSmartRef__":true,"id":104}},"112":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":113},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":136},"dependendConnections":[{"__isSmartRef__":true,"id":137}],"attributeConnections":[{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":143}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"113":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":114},"_ClipMode":"visible","derivationIds":[],"id":"772860F3-E80B-4982-8B9D-8084997D7B9C","droppingEnabled":false,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":115}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(217.0,8.0)"},"114":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":null,"__serializedExpressions__":["position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Fill":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"115":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":113},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":116},"dependendConnections":[{"__isSmartRef__":true,"id":117}],"attributeConnections":[{"__isSmartRef__":true,"id":119},{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":123}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"116":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":113}},"117":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":113},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":118},"dependedBy":{"__isSmartRef__":true,"id":115},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"118":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":113}},"119":{"sourceObj":{"__isSmartRef__":true,"id":115},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":117},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"120":{"source":{"__isSmartRef__":true,"id":115},"target":{"__isSmartRef__":true,"id":117}},"121":{"sourceObj":{"__isSmartRef__":true,"id":115},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":117},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":122},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"122":{"source":{"__isSmartRef__":true,"id":115},"target":{"__isSmartRef__":true,"id":117}},"123":{"sourceObj":{"__isSmartRef__":true,"id":115},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":117},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"124":{"source":{"__isSmartRef__":true,"id":115},"target":{"__isSmartRef__":true,"id":117}},"125":{"remove":{"__isSmartRef__":true,"id":126},"reconnect":{"__isSmartRef__":true,"id":133}},"126":{"varMapping":{"__isSmartRef__":true,"id":127},"source":"function remove() {\n            $super();\n            this.connections.invoke('disconnect');\n            this.submorphsForReconnect = this.submorphs.clone();\n            this.submorphs.invoke('remove');\n            lively.bindings.callWhenNotNull(this, 'owner', this, 'reconnect');\n        }","funcProperties":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"127":{"this":{"__isSmartRef__":true,"id":113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":128}},"128":{"$super":{"__isSmartRef__":true,"id":129}},"129":{"varMapping":{"__isSmartRef__":true,"id":130},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"130":{"obj":{"__isSmartRef__":true,"id":113},"name":"remove"},"131":{},"132":{},"133":{"varMapping":{"__isSmartRef__":true,"id":134},"source":"function reconnect(newOwner) {\n            this.connections.invoke('connect');\n            this.submorphsForReconnect.forEach(function(ea) { this.addMorph(ea) }, this);\n            delete this.submorphsForReconnect;\n        }","funcProperties":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"134":{"this":{"__isSmartRef__":true,"id":113}},"135":{},"136":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":113}},"137":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":113},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":138},"dependedBy":{"__isSmartRef__":true,"id":112},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"138":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":113}},"139":{"sourceObj":{"__isSmartRef__":true,"id":112},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":137},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"140":{"source":{"__isSmartRef__":true,"id":112},"target":{"__isSmartRef__":true,"id":137}},"141":{"sourceObj":{"__isSmartRef__":true,"id":112},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":137},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":142},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"142":{"source":{"__isSmartRef__":true,"id":112},"target":{"__isSmartRef__":true,"id":137}},"143":{"sourceObj":{"__isSmartRef__":true,"id":112},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":137},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":144},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"144":{"source":{"__isSmartRef__":true,"id":112},"target":{"__isSmartRef__":true,"id":137}},"145":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":146},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":169},"dependendConnections":[{"__isSmartRef__":true,"id":170}],"attributeConnections":[{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":176}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"146":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":147},"_ClipMode":"visible","derivationIds":[],"id":"DDC48E70-D5DE-409E-8D93-D91FA95480F3","droppingEnabled":false,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":148}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":158},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(666.0,25.0)"},"147":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":null,"__serializedExpressions__":["position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Fill":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"148":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":146},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":149},"dependendConnections":[{"__isSmartRef__":true,"id":150}],"attributeConnections":[{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":156}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"149":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":146}},"150":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":146},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":151},"dependedBy":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"151":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":146}},"152":{"sourceObj":{"__isSmartRef__":true,"id":148},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":150},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":153},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"153":{"source":{"__isSmartRef__":true,"id":148},"target":{"__isSmartRef__":true,"id":150}},"154":{"sourceObj":{"__isSmartRef__":true,"id":148},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":150},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"155":{"source":{"__isSmartRef__":true,"id":148},"target":{"__isSmartRef__":true,"id":150}},"156":{"sourceObj":{"__isSmartRef__":true,"id":148},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":150},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":157},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"157":{"source":{"__isSmartRef__":true,"id":148},"target":{"__isSmartRef__":true,"id":150}},"158":{"remove":{"__isSmartRef__":true,"id":159},"reconnect":{"__isSmartRef__":true,"id":166}},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"source":"function remove() {\n            $super();\n            this.connections.invoke('disconnect');\n            this.submorphsForReconnect = this.submorphs.clone();\n            this.submorphs.invoke('remove');\n            lively.bindings.callWhenNotNull(this, 'owner', this, 'reconnect');\n        }","funcProperties":{"__isSmartRef__":true,"id":165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"160":{"this":{"__isSmartRef__":true,"id":146},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":161}},"161":{"$super":{"__isSmartRef__":true,"id":162}},"162":{"varMapping":{"__isSmartRef__":true,"id":163},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"163":{"obj":{"__isSmartRef__":true,"id":146},"name":"remove"},"164":{},"165":{},"166":{"varMapping":{"__isSmartRef__":true,"id":167},"source":"function reconnect(newOwner) {\n            this.connections.invoke('connect');\n            this.submorphsForReconnect.forEach(function(ea) { this.addMorph(ea) }, this);\n            delete this.submorphsForReconnect;\n        }","funcProperties":{"__isSmartRef__":true,"id":168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"167":{"this":{"__isSmartRef__":true,"id":146}},"168":{},"169":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":146}},"170":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":146},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":171},"dependedBy":{"__isSmartRef__":true,"id":145},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"171":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":146}},"172":{"sourceObj":{"__isSmartRef__":true,"id":145},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":170},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":173},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"173":{"source":{"__isSmartRef__":true,"id":145},"target":{"__isSmartRef__":true,"id":170}},"174":{"sourceObj":{"__isSmartRef__":true,"id":145},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":170},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":175},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"175":{"source":{"__isSmartRef__":true,"id":145},"target":{"__isSmartRef__":true,"id":170}},"176":{"sourceObj":{"__isSmartRef__":true,"id":145},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":170},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":177},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"177":{"source":{"__isSmartRef__":true,"id":145},"target":{"__isSmartRef__":true,"id":170}},"178":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":179},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":202},"dependendConnections":[{"__isSmartRef__":true,"id":203}],"attributeConnections":[{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":209}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"179":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":180},"_ClipMode":"visible","derivationIds":[],"id":"7F31848F-E8E8-437F-869B-506DCD8C5623","droppingEnabled":false,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":181}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(354.0,35.0)"},"180":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":null,"__serializedExpressions__":["position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Fill":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"181":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":179},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":182},"dependendConnections":[{"__isSmartRef__":true,"id":183}],"attributeConnections":[{"__isSmartRef__":true,"id":185},{"__isSmartRef__":true,"id":187},{"__isSmartRef__":true,"id":189}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"182":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":179}},"183":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":179},"targetMethodName":"setScale","varMapping":{"__isSmartRef__":true,"id":184},"dependedBy":{"__isSmartRef__":true,"id":181},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"184":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":179}},"185":{"sourceObj":{"__isSmartRef__":true,"id":181},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":183},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"186":{"source":{"__isSmartRef__":true,"id":181},"target":{"__isSmartRef__":true,"id":183}},"187":{"sourceObj":{"__isSmartRef__":true,"id":181},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":183},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":188},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"188":{"source":{"__isSmartRef__":true,"id":181},"target":{"__isSmartRef__":true,"id":183}},"189":{"sourceObj":{"__isSmartRef__":true,"id":181},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":183},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":190},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"190":{"source":{"__isSmartRef__":true,"id":181},"target":{"__isSmartRef__":true,"id":183}},"191":{"remove":{"__isSmartRef__":true,"id":192},"reconnect":{"__isSmartRef__":true,"id":199}},"192":{"varMapping":{"__isSmartRef__":true,"id":193},"source":"function remove() {\n            $super();\n            this.connections.invoke('disconnect');\n            this.submorphsForReconnect = this.submorphs.clone();\n            this.submorphs.invoke('remove');\n            lively.bindings.callWhenNotNull(this, 'owner', this, 'reconnect');\n        }","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"193":{"this":{"__isSmartRef__":true,"id":179},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":194}},"194":{"$super":{"__isSmartRef__":true,"id":195}},"195":{"varMapping":{"__isSmartRef__":true,"id":196},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"196":{"obj":{"__isSmartRef__":true,"id":179},"name":"remove"},"197":{},"198":{},"199":{"varMapping":{"__isSmartRef__":true,"id":200},"source":"function reconnect(newOwner) {\n            this.connections.invoke('connect');\n            this.submorphsForReconnect.forEach(function(ea) { this.addMorph(ea) }, this);\n            delete this.submorphsForReconnect;\n        }","funcProperties":{"__isSmartRef__":true,"id":201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"200":{"this":{"__isSmartRef__":true,"id":179}},"201":{},"202":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":179}},"203":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":179},"targetMethodName":"setRotation","varMapping":{"__isSmartRef__":true,"id":204},"dependedBy":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"204":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":179}},"205":{"sourceObj":{"__isSmartRef__":true,"id":178},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":203},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"206":{"source":{"__isSmartRef__":true,"id":178},"target":{"__isSmartRef__":true,"id":203}},"207":{"sourceObj":{"__isSmartRef__":true,"id":178},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":203},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":208},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"208":{"source":{"__isSmartRef__":true,"id":178},"target":{"__isSmartRef__":true,"id":203}},"209":{"sourceObj":{"__isSmartRef__":true,"id":178},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":203},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"210":{"source":{"__isSmartRef__":true,"id":178},"target":{"__isSmartRef__":true,"id":203}},"211":{"_ClipMode":"visible","_HandStyle":"default","_PointerEvents":"none","carriesGrabbedMorphs":false,"droppingEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":212},"eventsAreIgnored":true,"halosEnabled":false,"id":2,"lastScrollTime":1359763263838,"scripts":[],"shape":{"__isSmartRef__":true,"id":213},"submorphs":[],"haloTarget":null,"magnets":[{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":215},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":217},{"__isSmartRef__":true,"id":218},{"__isSmartRef__":true,"id":219},{"__isSmartRef__":true,"id":220},{"__isSmartRef__":true,"id":221},{"__isSmartRef__":true,"id":222}],"_Scale":1,"_Rotation":0,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(838.0,675.0)"},"212":{"morph":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"213":{"_ClipMode":"visible","__serializedExpressions__":["_Extent","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(2.0,2.0)","_Fill":"Color.rgb(204,0,0)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"214":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(439.0,369.0)"},"215":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(440.0,369.0)"},"216":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(441.0,369.0)"},"217":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(441.0,370.0)"},"218":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(441.0,371.0)"},"219":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(440.0,371.0)"},"220":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(439.0,371.0)"},"221":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(439.0,370.0)"},"222":{"morph":{"__isSmartRef__":true,"id":211},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.5)","cachedGlobalPosition":"lively.pt(440.0,370.0)"},"223":{"getGrabShadow":{"__isSmartRef__":true,"id":224},"dropOn":{"__isSmartRef__":true,"id":231}},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"source":"function getGrabShadow() {\n    if (this.owner.isWorld) {\n        this.oldPosition = this.getPosition();\n    }\n    return $super.apply(arguments);\n}","funcProperties":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":226}},"226":{"$super":{"__isSmartRef__":true,"id":227}},"227":{"varMapping":{"__isSmartRef__":true,"id":228},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"228":{"obj":{"__isSmartRef__":true,"id":0},"name":"getGrabShadow"},"229":{},"230":{"__serializedExpressions__":["timestamp"],"user":"athomschke","tags":[],"timestamp":"new Date(\"Tue Apr 15 2014 13:49:59 GMT-0700 (Pacific Daylight Time)\")"},"231":{"varMapping":{"__isSmartRef__":true,"id":232},"source":"function dropOn(newOwner) {\n    if (newOwner.isWorld) {\n        $super(newOwner);\n    } else {\n        var funcName = this.submorphs.first().getTextString();\n        newOwner[funcName]();\n        $world.addMorph(this);\n        this.setPositionAnimated(this.oldPosition, 500);\n        delete this.oldPosition;\n    }\n    \n}","funcProperties":{"__isSmartRef__":true,"id":237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"232":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":233}},"233":{"$super":{"__isSmartRef__":true,"id":234}},"234":{"varMapping":{"__isSmartRef__":true,"id":235},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"235":{"obj":{"__isSmartRef__":true,"id":0},"name":"dropOn"},"236":{},"237":{"__serializedExpressions__":["timestamp"],"user":"athomschke","tags":[],"timestamp":"new Date(\"Tue Apr 15 2014 13:49:30 GMT-0700 (Pacific Daylight Time)\")"},"isSimplifiedRegistry":true}}