{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":204}],"scripts":[],"id":"8B716EDA-88EC-4835-9722-AB69F4BB32A6","shape":{"__isSmartRef__":true,"id":227},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"SoSaruGame","partsBinMetaInfo":{"__isSmartRef__":true,"id":228},"eventHandler":{"__isSmartRef__":true,"id":258},"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","0EA58E69-7C2C-4022-80BD-1A443C5A276B"],"partTests":{"__isSmartRef__":true,"id":259},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(205.0,-4.0)"},"1":{"submorphs":[],"scripts":[],"id":"10900D19-D6CF-4F53-A195-FAB2B5E25DFA","shape":{"__isSmartRef__":true,"id":2},"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":14,"name":"trials","partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"textChunks":[{"__isSmartRef__":true,"id":15}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":17},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","2F4E17F0-BD7F-4048-9A78-F7CB1EB4EEE8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[5,9],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(4.0,306.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(93.0,-6.0)"},"2":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__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(128.7,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4},{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":12}],"lastModifiedDate":{"__isSmartRef__":true,"id":14},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4":{"date":{"__isSmartRef__":true,"id":5},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"5":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)"},"6":{"date":{"__isSmartRef__":true,"id":7},"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"},"7":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)"},"8":{"date":{"__isSmartRef__":true,"id":9},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)"},"10":{"date":{"__isSmartRef__":true,"id":11},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"11":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)"},"12":{"date":{"__isSmartRef__":true,"id":13},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"13":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (PDT)"},"14":{"isSerializedDate":true,"string":"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)"},"15":{"style":{"__isSmartRef__":true,"id":16},"chunkOwner":{"__isSmartRef__":true,"id":1},"_id":"_174396","storedString":"trials: 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18":{"submorphs":[],"scripts":[],"id":"F8125036-EC52-4F53-AC9A-0D04D50E01B0","shape":{"__isSmartRef__":true,"id":19},"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":14,"name":"greens","partsBinMetaInfo":{"__isSmartRef__":true,"id":20},"textChunks":[{"__isSmartRef__":true,"id":32}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":34},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","0F5FAC78-011B-4B13-9FF0-E32933DCC108"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(94.0,305.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(82.0,-9.0)"},"19":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__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(110.7,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"20":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":29}],"lastModifiedDate":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"21":{"date":{"__isSmartRef__":true,"id":22},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"22":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)"},"23":{"date":{"__isSmartRef__":true,"id":24},"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"},"24":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)"},"25":{"date":{"__isSmartRef__":true,"id":26},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"26":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)"},"27":{"date":{"__isSmartRef__":true,"id":28},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"28":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)"},"29":{"date":{"__isSmartRef__":true,"id":30},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"30":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (PDT)"},"31":{"isSerializedDate":true,"string":"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)"},"32":{"style":{"__isSmartRef__":true,"id":33},"chunkOwner":{"__isSmartRef__":true,"id":18},"_id":"_174395","storedString":"green: 5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"33":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"34":{"morph":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"35":{"submorphs":[{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":124}],"scripts":[],"id":"4082FB4F-7CE6-4ABE-AB72-62B013EC01B3","shape":{"__isSmartRef__":true,"id":135},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"board","partsBinMetaInfo":{"__isSmartRef__":true,"id":136},"eventHandler":{"__isSmartRef__":true,"id":160},"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","2BE393F9-11D4-4C39-92F6-2367E5103064"],"partTests":{"__isSmartRef__":true,"id":161},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"flipMap":[[0,1,3],[0,1,2,4],[1,2,5],[0,3,4,6],[1,3,4,5,7],[2,4,5,8],[3,6,7],[4,6,7,8],[5,7,8]],"flipStartTime":1366147681165,"flipState":null,"flipper":null,"isBeingDragged":false,"trials":0,"yay":{"__isSmartRef__":true,"id":166},"grabbingEnabled":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"#startLetters":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":171},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-0.4,0.2)","distanceToDragEvent":"lively.pt(197.4,-18.2)"},"36":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":37},"_ClipMode":"visible","derivationIds":["0CF17824-94AD-4A48-AE12-9B4EC4B1623A"],"id":"5F3ECB43-6619-4CFC-89AB-B7C3F4075115","droppingEnabled":true,"halosEnabled":true,"head":true,"grabbingEnabled":false,"index":0,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":38},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":39},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(50.0,50.0)"},"37":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,204,0)"},"38":{"morph":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"39":{"onMouseDown":{"__isSmartRef__":true,"id":40}},"40":{"varMapping":{"__isSmartRef__":true,"id":41},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"41":{"this":{"__isSmartRef__":true,"id":36},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":42}},"42":{"$super":{"__isSmartRef__":true,"id":43}},"43":{"varMapping":{"__isSmartRef__":true,"id":44},"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":45},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"44":{"obj":{"__isSmartRef__":true,"id":36},"name":"onMouseDown"},"45":{},"46":{},"47":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":48},"_ClipMode":"visible","derivationIds":["9C422B1C-C206-4D6E-B86C-8E99B62AD583"],"id":"E0B4105E-BEF6-4662-AD00-F5633734BB07","droppingEnabled":true,"halosEnabled":true,"head":true,"grabbingEnabled":false,"index":1,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":49},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(150.0,50.0)"},"48":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,204,0)"},"49":{"morph":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"50":{"onMouseDown":{"__isSmartRef__":true,"id":51}},"51":{"varMapping":{"__isSmartRef__":true,"id":52},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":57},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"52":{"this":{"__isSmartRef__":true,"id":47},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":53}},"53":{"$super":{"__isSmartRef__":true,"id":54}},"54":{"varMapping":{"__isSmartRef__":true,"id":55},"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":56},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"55":{"obj":{"__isSmartRef__":true,"id":47},"name":"onMouseDown"},"56":{},"57":{},"58":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":59},"_ClipMode":"visible","derivationIds":["1360A671-1FA6-4D57-97A3-A3E4C7C846DD"],"id":"7BB4F936-7C04-4E37-9507-FC208D019179","droppingEnabled":true,"halosEnabled":true,"head":true,"grabbingEnabled":false,"index":2,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":60},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(250.0,50.0)"},"59":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,204,0)"},"60":{"morph":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"61":{"onMouseDown":{"__isSmartRef__":true,"id":62}},"62":{"varMapping":{"__isSmartRef__":true,"id":63},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"63":{"this":{"__isSmartRef__":true,"id":58},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":64}},"64":{"$super":{"__isSmartRef__":true,"id":65}},"65":{"varMapping":{"__isSmartRef__":true,"id":66},"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":67},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"66":{"obj":{"__isSmartRef__":true,"id":58},"name":"onMouseDown"},"67":{},"68":{},"69":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":70},"_ClipMode":"visible","derivationIds":["DFEF7A3E-587D-409E-8DE1-684D1579BCDE"],"id":"AC77433D-4F5E-4B5A-ABE2-56D8AD5D4F25","droppingEnabled":true,"halosEnabled":true,"head":false,"grabbingEnabled":false,"index":3,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":71},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(50.0,150.0)"},"70":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,0,0)"},"71":{"morph":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"72":{"onMouseDown":{"__isSmartRef__":true,"id":73}},"73":{"varMapping":{"__isSmartRef__":true,"id":74},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"74":{"this":{"__isSmartRef__":true,"id":69},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":75}},"75":{"$super":{"__isSmartRef__":true,"id":76}},"76":{"varMapping":{"__isSmartRef__":true,"id":77},"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":78},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"77":{"obj":{"__isSmartRef__":true,"id":69},"name":"onMouseDown"},"78":{},"79":{},"80":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":81},"_ClipMode":"visible","derivationIds":["B6354538-C5A2-43CE-BD9E-3973479A5CC5"],"id":"BEEC48E9-F9E8-45B3-B70C-E4BCBD1BF6D7","droppingEnabled":true,"halosEnabled":true,"head":false,"grabbingEnabled":false,"index":4,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":82},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(150.0,150.0)"},"81":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,0,0)"},"82":{"morph":{"__isSmartRef__":true,"id":80},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"83":{"onMouseDown":{"__isSmartRef__":true,"id":84}},"84":{"varMapping":{"__isSmartRef__":true,"id":85},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":90},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"85":{"this":{"__isSmartRef__":true,"id":80},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":86}},"86":{"$super":{"__isSmartRef__":true,"id":87}},"87":{"varMapping":{"__isSmartRef__":true,"id":88},"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":89},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"88":{"obj":{"__isSmartRef__":true,"id":80},"name":"onMouseDown"},"89":{},"90":{},"91":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":92},"_ClipMode":"visible","derivationIds":["A088B4BA-6F35-4B5D-BB2C-DD361E7A1392"],"id":"59F9171E-464E-4DBE-8DC1-20623BE95FC5","droppingEnabled":true,"halosEnabled":true,"head":false,"grabbingEnabled":false,"index":5,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":93},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(250.0,150.0)"},"92":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,0,0)"},"93":{"morph":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"94":{"onMouseDown":{"__isSmartRef__":true,"id":95}},"95":{"varMapping":{"__isSmartRef__":true,"id":96},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":101},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"96":{"this":{"__isSmartRef__":true,"id":91},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":97}},"97":{"$super":{"__isSmartRef__":true,"id":98}},"98":{"varMapping":{"__isSmartRef__":true,"id":99},"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":100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"99":{"obj":{"__isSmartRef__":true,"id":91},"name":"onMouseDown"},"100":{},"101":{},"102":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":103},"_ClipMode":"visible","derivationIds":["7994BA1E-E7DB-498A-885E-AB801E155C35"],"id":"C5354B17-6A54-4CA0-AEEC-4225D347AEBF","droppingEnabled":true,"halosEnabled":true,"head":true,"grabbingEnabled":false,"index":6,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":104},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":105},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(50.0,250.0)"},"103":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,204,0)"},"104":{"morph":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"105":{"onMouseDown":{"__isSmartRef__":true,"id":106}},"106":{"varMapping":{"__isSmartRef__":true,"id":107},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"107":{"this":{"__isSmartRef__":true,"id":102},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":108}},"108":{"$super":{"__isSmartRef__":true,"id":109}},"109":{"varMapping":{"__isSmartRef__":true,"id":110},"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":111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"110":{"obj":{"__isSmartRef__":true,"id":102},"name":"onMouseDown"},"111":{},"112":{},"113":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":114},"_ClipMode":"visible","derivationIds":["34A56A28-8F71-4C78-8CD1-58270A03A65F"],"id":"668FF472-501F-4B66-AD87-2D9F3C4A7208","droppingEnabled":true,"halosEnabled":true,"head":false,"grabbingEnabled":false,"index":7,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":115},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":116},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(150.0,250.0)"},"114":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,0,0)"},"115":{"morph":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"116":{"onMouseDown":{"__isSmartRef__":true,"id":117}},"117":{"varMapping":{"__isSmartRef__":true,"id":118},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"118":{"this":{"__isSmartRef__":true,"id":113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":119}},"119":{"$super":{"__isSmartRef__":true,"id":120}},"120":{"varMapping":{"__isSmartRef__":true,"id":121},"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":122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"121":{"obj":{"__isSmartRef__":true,"id":113},"name":"onMouseDown"},"122":{},"123":{},"124":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":125},"_ClipMode":"visible","derivationIds":["D54E127A-4510-418C-AB83-83E89DCF8706"],"id":"882613AF-56D2-4ECE-8544-DC82198328F5","droppingEnabled":true,"halosEnabled":true,"head":true,"grabbingEnabled":false,"index":8,"owner":{"__isSmartRef__":true,"id":35},"eventHandler":{"__isSmartRef__":true,"id":126},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":127},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(250.0,250.0)"},"125":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,204,0)"},"126":{"morph":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"127":{"onMouseDown":{"__isSmartRef__":true,"id":128}},"128":{"varMapping":{"__isSmartRef__":true,"id":129},"source":"function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            }","funcProperties":{"__isSmartRef__":true,"id":134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"129":{"this":{"__isSmartRef__":true,"id":124},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":130}},"130":{"$super":{"__isSmartRef__":true,"id":131}},"131":{"varMapping":{"__isSmartRef__":true,"id":132},"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":133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"132":{"obj":{"__isSmartRef__":true,"id":124},"name":"onMouseDown"},"133":{},"134":{},"135":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__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(300.0,300.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"136":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":157}],"lastModifiedDate":{"__isSmartRef__":true,"id":159},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"137":{"date":{"__isSmartRef__":true,"id":138},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"138":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"139":{"date":{"__isSmartRef__":true,"id":140},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"140":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"141":{"date":{"__isSmartRef__":true,"id":142},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"142":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"143":{"date":{"__isSmartRef__":true,"id":144},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"144":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"145":{"date":{"__isSmartRef__":true,"id":146},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"146":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"147":{"date":{"__isSmartRef__":true,"id":148},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"148":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"149":{"date":{"__isSmartRef__":true,"id":150},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"150":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"151":{"date":{"__isSmartRef__":true,"id":152},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"152":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"153":{"date":{"__isSmartRef__":true,"id":154},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"154":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"155":{"date":{"__isSmartRef__":true,"id":156},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"156":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"157":{"date":{"__isSmartRef__":true,"id":158},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"158":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"159":{"isSerializedDate":true,"string":"Wed Feb 06 2013 21:44:53 GMT-0800 (PST)"},"160":{"morph":{"__isSmartRef__":true,"id":35},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"161":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":162}},"162":{"test01IsMorph":{"__isSmartRef__":true,"id":163}},"163":{"varMapping":{"__isSmartRef__":true,"id":164},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"164":{"this":{"__isSmartRef__":true,"id":161}},"165":{},"166":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":167},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":168}],"_ClipMode":"hidden","derivationIds":[],"id":"08391E6E-D83F-49C7-B91B-D6227DCB3F67","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":false,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":80,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_Rotation":-0.2,"owner":null,"eventHandler":{"__isSmartRef__":true,"id":170},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(-24.0,42.0)"},"167":{"_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(223.0,143.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"168":{"style":{"__isSmartRef__":true,"id":169},"chunkOwner":{"__isSmartRef__":true,"id":166},"_id":"_174125","storedString":"Yay!","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"169":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"170":{"morph":{"__isSmartRef__":true,"id":166},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"171":{"makePieces":{"__isSmartRef__":true,"id":172},"forEachIn":{"__isSmartRef__":true,"id":176},"flip":{"__isSmartRef__":true,"id":180},"scaler":{"__isSmartRef__":true,"id":184},"updateLabels":{"__isSmartRef__":true,"id":188},"addCount":{"__isSmartRef__":true,"id":192},"makeYay":{"__isSmartRef__":true,"id":196},"onLoad":{"__isSmartRef__":true,"id":200}},"172":{"varMapping":{"__isSmartRef__":true,"id":173},"source":"function makePieces() {\n    this.submorphs.invoke('remove');    \n    this.owner.flipper = this.index\n\n    this.flipMap = [\n        [0, 1, 3],\t\t[0, 1, 2, 4],\t\t[1, 2, 5],\n\t\t[0, 3, 4, 6],\t[1, 3, 4, 5, 7],\t[2, 4, 5, 8],\n\t\t[3, 6, 7],\t\t[4, 6, 7, 8],\t\t[5, 7, 8]]\n\n    for (i = 0; i < 3; i++) {\n        for (j = 0; j < 3; j++) {\n            var box = lively.morphic.Morph.makeCircle(pt(100, 100), 50)\n            box.setPosition(pt(j * 100 + 50, i * 100 + 50))\n            box.head = Math.random() > 0.5\n            box.disableGrabbing()\n            box.setFill(box.head ? Color.green : Color.red)\n            box.index = i * 3 + j\n            box.addScript(function onMouseDown(evt) {\n                if (this.owner.scripts.length > 0)\n                    return true\n                this.owner.flipStartTime = Date.now()\n                this.owner.flipState = \"up\"\n                this.owner.flipper = this.index\n                this.owner.startStepping(20, \"flip\")\n                return true\n            });\n            this.addMorph(box)\n        }\n    }\n    if (this.yay)\n        this.yay.remove()\n    var nowCount= this.submorphs.pluck('head').select(Functions.K).length\n    if (nowCount === 0 || nowCount === 9)\n        this.makePieces()\n    this.trials = 0\n    this.updateLabels()\n}","funcProperties":{"__isSmartRef__":true,"id":174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"173":{"this":{"__isSmartRef__":true,"id":35}},"174":{"timestamp":{"__isSmartRef__":true,"id":175},"tags":[]},"175":{"isSerializedDate":true,"string":"Tue Apr 16 2013 13:56:31 GMT-0700 (PDT)"},"176":{"varMapping":{"__isSmartRef__":true,"id":177},"source":"function forEachIn(ind, aFunc) {\n    this.flipMap[ind].forEach(function(i) {\n        var b = this.submorphs[i];\n        aFunc(b, i)}, this)}","funcProperties":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"177":{"this":{"__isSmartRef__":true,"id":35}},"178":{"timestamp":{"__isSmartRef__":true,"id":179},"tags":[]},"179":{"isSerializedDate":true,"string":"Tue Apr 16 2013 10:38:52 GMT-0700 (PDT)"},"180":{"varMapping":{"__isSmartRef__":true,"id":181},"source":"function flip() {\n    var now = Date.now();\n    var elapsed = now - this.flipStartTime\n    if (!Object.isNumber(this.flipper))\n        return;\n    this.forEachIn(this.flipper, function(morph, ind) {\n        morph.setScale(this.scaler(elapsed))\n    }.bind(this))\n    if (this.flipState == \"up\" && elapsed >= 500) {\n        this.flipState = \"down\"\n        this.forEachIn(this.flipper, function(morph, ind) {\n            morph.setFill(morph.head ? Color.red : Color.green)\n            morph.head = !morph.head\n        })\n    }\n    if (this.flipState == \"down\" && elapsed >= 1000) {\n        this.flipper = null\n        this.flipState = null\n        this.stopStepping()\n        this.addCount()\n        this.updateLabels()\n        return;\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"181":{"this":{"__isSmartRef__":true,"id":35}},"182":{"timestamp":{"__isSmartRef__":true,"id":183},"tags":[]},"183":{"isSerializedDate":true,"string":"Tue Apr 16 2013 13:57:08 GMT-0700 (PDT)"},"184":{"varMapping":{"__isSmartRef__":true,"id":185},"source":"function scaler(val) {\n    if (val < 500)\n        return pt((500 - val) / 500, 1)\n    if (val < 1000)\n        return pt((val - 500) / 500, 1)\n    if (val >= 1000)\n        return pt(1, 1)\n}","funcProperties":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"185":{"this":{"__isSmartRef__":true,"id":35}},"186":{"timestamp":{"__isSmartRef__":true,"id":187},"tags":[]},"187":{"isSerializedDate":true,"string":"Tue Apr 16 2013 11:34:28 GMT-0700 (PDT)"},"188":{"varMapping":{"__isSmartRef__":true,"id":189},"source":"function updateLabels() {\n    var count = this.submorphs.pluck('head').select(Functions.K).length\n    this.get(\"greens\").textString = \"green: \" + count\n    this.get(\"trials\").textString = \"trials: \" + this.trials\n    if (count == 9) {\n        if (this.yay)\n            this.yay.remove()\n        this.yay = this.makeYay()\n        this.owner.addMorphFront(this.yay)\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"189":{"this":{"__isSmartRef__":true,"id":35}},"190":{"timestamp":{"__isSmartRef__":true,"id":191},"tags":[]},"191":{"isSerializedDate":true,"string":"Tue Apr 16 2013 13:25:33 GMT-0700 (PDT)"},"192":{"varMapping":{"__isSmartRef__":true,"id":193},"source":"function addCount() {\n    this.trials++\n}","funcProperties":{"__isSmartRef__":true,"id":194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"193":{"this":{"__isSmartRef__":true,"id":35}},"194":{"timestamp":{"__isSmartRef__":true,"id":195},"tags":[]},"195":{"isSerializedDate":true,"string":"Tue Apr 16 2013 12:21:38 GMT-0700 (PDT)"},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"source":"function makeYay() {\n    var yay = lively.morphic.Text.makeLabel(\"Yay!\", {\n        fill: null, textColor: Color.black,\n        fixedWidth: false, fixedHeight: false, fontSize: 80})\n    yay.setPosition(pt(-24, 42))\n    yay.setRotation(-0.2)\n    return yay\n}","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"197":{"this":{"__isSmartRef__":true,"id":35}},"198":{"timestamp":{"__isSmartRef__":true,"id":199},"tags":[]},"199":{"isSerializedDate":true,"string":"Tue Apr 16 2013 12:56:36 GMT-0700 (PDT)"},"200":{"varMapping":{"__isSmartRef__":true,"id":201},"source":"function onLoad() {\n    this.makePieces();\n}","funcProperties":{"__isSmartRef__":true,"id":202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"201":{"this":{"__isSmartRef__":true,"id":35}},"202":{"timestamp":{"__isSmartRef__":true,"id":203},"user":"ohshima","tags":[]},"203":{"isSerializedDate":true,"string":"Mon Jun 10 2013 16:02:18 GMT-0700 (PDT)"},"204":{"submorphs":[{"__isSmartRef__":true,"id":205}],"scripts":[],"shape":{"__isSmartRef__":true,"id":210},"eventHandler":{"__isSmartRef__":true,"id":211},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","1D623E8F-62D5-4C07-8EA1-A269109CB08F"],"id":"A78C4881-6E0C-421A-BFA6-0AB0D35436C5","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":205},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":214}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button2","partsBinMetaInfo":{"__isSmartRef__":true,"id":216},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(195.0,311.0)","distanceToDragEvent":"lively.pt(74.0,7.0)"},"205":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":206},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":207}],"eventHandler":{"__isSmartRef__":true,"id":209},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","0BB513A6-D4E4-485B-B0D8-D9FD4BE3A45C"],"id":"C8D93C6A-1A4D-4E54-A460-6498763F2442","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":204},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"206":{"_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(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"207":{"style":{"__isSmartRef__":true,"id":208},"chunkOwner":{"__isSmartRef__":true,"id":205},"_id":"_74156","storedString":"Reset","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"208":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"209":{"morph":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"210":{"_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(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"211":{"morph":{"__isSmartRef__":true,"id":204},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"212":{"sourceObj":{"__isSmartRef__":true,"id":204},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":204},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"213":{"source":{"__isSmartRef__":true,"id":204},"target":{"__isSmartRef__":true,"id":204}},"214":{"sourceObj":{"__isSmartRef__":true,"id":204},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":35},"targetMethodName":"makePieces","varMapping":{"__isSmartRef__":true,"id":215},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"215":{"source":{"__isSmartRef__":true,"id":204},"target":{"__isSmartRef__":true,"id":35}},"216":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":217},{"__isSmartRef__":true,"id":219}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":221},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"217":{"date":{"__isSmartRef__":true,"id":218},"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811"},"218":{"isSerializedDate":true,"string":"Tue Dec 11 2012 13:15:42 GMT-0800 (PST)"},"219":{"date":{"__isSmartRef__":true,"id":220},"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB"},"220":{"isSerializedDate":true,"string":"Tue Dec 11 2012 13:53:16 GMT-0800 (PST)"},"221":{"isSerializedDate":true,"string":"Wed Feb 06 2013 21:45:01 GMT-0800 (PST)"},"222":{"doAction":{"__isSmartRef__":true,"id":223}},"223":{"varMapping":{"__isSmartRef__":true,"id":224},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"224":{"this":{"__isSmartRef__":true,"id":204}},"225":{"timestamp":{"__isSmartRef__":true,"id":226},"user":"undefined","tags":[]},"226":{"isSerializedDate":true,"string":"Tue Dec 11 2012 13:14:29 GMT-0800 (PST)"},"227":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_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(300.0,340.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"228":{"comment":"A simple game where you try to flip all coins to be green.","migrationLevel":7,"partName":"SoSaruGame","changes":[{"__isSmartRef__":true,"id":229},{"__isSmartRef__":true,"id":231},{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":235},{"__isSmartRef__":true,"id":237},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":243},{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":249},{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":255}],"lastModifiedDate":{"__isSmartRef__":true,"id":257},"partsSpaceName":"PartsBin/Games/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"229":{"date":{"__isSmartRef__":true,"id":230},"author":null,"message":"no comment","id":"BFB1B7EA-EF44-49CF-A64A-6606F5751B13"},"230":{"isSerializedDate":true,"string":"Tue Apr 16 2013 15:49:21 GMT-0700 (PDT)"},"231":{"date":{"__isSmartRef__":true,"id":232},"author":null,"message":"no comment","id":"47673339-2AA3-432E-83FD-34D6543EC263"},"232":{"isSerializedDate":true,"string":"Tue Apr 16 2013 14:35:11 GMT-0700 (PDT)"},"233":{"date":{"__isSmartRef__":true,"id":234},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"234":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"235":{"date":{"__isSmartRef__":true,"id":236},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"236":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"237":{"date":{"__isSmartRef__":true,"id":238},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"238":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"239":{"date":{"__isSmartRef__":true,"id":240},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"240":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"241":{"date":{"__isSmartRef__":true,"id":242},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"242":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"243":{"date":{"__isSmartRef__":true,"id":244},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"244":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"245":{"date":{"__isSmartRef__":true,"id":246},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"246":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"247":{"date":{"__isSmartRef__":true,"id":248},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"248":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"249":{"date":{"__isSmartRef__":true,"id":250},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"250":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"251":{"date":{"__isSmartRef__":true,"id":252},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"252":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"253":{"date":{"__isSmartRef__":true,"id":254},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"254":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"255":{"date":{"__isSmartRef__":true,"id":256},"author":"ohshima","message":"no comment","id":"70CF2711-C7EB-4B7C-A06D-FDBC4639D748"},"256":{"isSerializedDate":true,"string":"Mon Jun 10 2013 16:02:42 GMT-0700 (PDT)"},"257":{"isSerializedDate":true,"string":"Tue Apr 16 2013 15:49:21 GMT-0700 (PDT)"},"258":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"259":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":260}},"260":{"test01IsMorph":{"__isSmartRef__":true,"id":261}},"261":{"varMapping":{"__isSmartRef__":true,"id":262},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"262":{"this":{"__isSmartRef__":true,"id":259}},"263":{},"isSimplifiedRegistry":true}}