= 5){\n lively.bindings.signal(this, \"finished\", true);\n this.timeout = false;\n this.remove();\n } else if(this.state === 0){\n this.timeout = window.setTimeout(this.nextState.bind(this), 1);\n } else if(this.state === 4){\n this.get(\"frame\"+this.state).setVisible(true);\n this.timeout = window.setTimeout(this.nextState.bind(this), 1);\n } else {\n this.get(\"frame\"+this.state).setVisible(true);\n this.timeout = window.setTimeout(this.nextState.bind(this), 87);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":672},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"671":{"this":{"__isSmartRef__":true,"id":434}},"672":{"timestamp":{"__isSmartRef__":true,"id":673},"user":"bsiegmund","tags":[]},"673":{"isSerializedDate":true,"string":"Tue Feb 21 2012 11:54:01 GMT+0100 (W. Europe Standard Time)"},"674":{"varMapping":{"__isSmartRef__":true,"id":675},"source":"function start(morph) {\n\n this.setScale(1/$world.getZoomLevel());\n\n this.state = -1;\n for(var i=1; i<5; i++){\n this.get(\"frame\"+i).setVisible(false);\n }\n if(this.target) {\n disconnect(this, \"finished\", this.target, \"hold\");\n }\n this.target = morph;\n connect(this, \"finished\", this.target, \"triggerHold\");\n this.nextState();\n}","funcProperties":{"__isSmartRef__":true,"id":676},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"675":{"this":{"__isSmartRef__":true,"id":434}},"676":{"timestamp":{"__isSmartRef__":true,"id":677},"user":"sstamm","tags":[]},"677":{"isSerializedDate":true,"string":"Mon Mar 12 2012 15:56:08 GMT+0100 (W. Europe Standard Time)"},"678":{"varMapping":{"__isSmartRef__":true,"id":679},"source":"function resumeSteppingAll() {\n this.setFill(Color.rgba(0,0,0,0));\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"679":{"this":{"__isSmartRef__":true,"id":434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":680}},"680":{"$super":{"__isSmartRef__":true,"id":681}},"681":{"varMapping":{"__isSmartRef__":true,"id":682},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":683},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"682":{"obj":{"__isSmartRef__":true,"id":434},"name":"resumeSteppingAll"},"683":{},"684":{"timestamp":{"__isSmartRef__":true,"id":685},"user":"bsiegmund","tags":[]},"685":{"isSerializedDate":true,"string":"Fri Feb 03 2012 17:50:27 GMT+0100 (W. Europe Standard Time)"},"686":{"varMapping":{"__isSmartRef__":true,"id":687},"source":"function remove() {\n if(this.timeout && this.state < 4){\n window.clearTimeout(this.timeout);\n }\n if(this.target) {\n disconnect(this, \"finished\", this.target, \"hold\");\n }\n this.target = undefined;\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":692},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"687":{"this":{"__isSmartRef__":true,"id":434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":688}},"688":{"$super":{"__isSmartRef__":true,"id":689}},"689":{"varMapping":{"__isSmartRef__":true,"id":690},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":691},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"690":{"obj":{"__isSmartRef__":true,"id":434},"name":"remove"},"691":{},"692":{"timestamp":{"__isSmartRef__":true,"id":693},"user":"bsiegmund","tags":[]},"693":{"isSerializedDate":true,"string":"Tue Feb 21 2012 11:45:55 GMT+0100 (W. Europe Standard Time)"},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"source":"function onTouchEnd(evt) {\n\n}","funcProperties":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"695":{"this":{"__isSmartRef__":true,"id":434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":696}},"696":{"$super":{"__isSmartRef__":true,"id":697}},"697":{"varMapping":{"__isSmartRef__":true,"id":698},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":699},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"698":{"obj":{"__isSmartRef__":true,"id":434},"name":"onTouchEnd"},"699":{},"700":{"timestamp":{"__isSmartRef__":true,"id":701},"user":"bsiegmund","tags":[]},"701":{"isSerializedDate":true,"string":"Thu Feb 16 2012 16:41:28 GMT+0100 (W. Europe Standard Time)"},"702":{"varMapping":{"__isSmartRef__":true,"id":703},"source":"function onTouchMove(evt) {\n\n}","funcProperties":{"__isSmartRef__":true,"id":708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"703":{"this":{"__isSmartRef__":true,"id":434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":704}},"704":{"$super":{"__isSmartRef__":true,"id":705}},"705":{"varMapping":{"__isSmartRef__":true,"id":706},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":707},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"706":{"obj":{"__isSmartRef__":true,"id":434},"name":"onTouchMove"},"707":{},"708":{"timestamp":{"__isSmartRef__":true,"id":709},"user":"bsiegmund","tags":[]},"709":{"isSerializedDate":true,"string":"Thu Feb 16 2012 16:41:28 GMT+0100 (W. Europe Standard Time)"},"710":{"varMapping":{"__isSmartRef__":true,"id":711},"source":"function onTouchStart(evt) {\n\n}","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"711":{"this":{"__isSmartRef__":true,"id":434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":712}},"712":{"$super":{"__isSmartRef__":true,"id":713}},"713":{"varMapping":{"__isSmartRef__":true,"id":714},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":715},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"714":{"obj":{"__isSmartRef__":true,"id":434},"name":"onTouchStart"},"715":{},"716":{"timestamp":{"__isSmartRef__":true,"id":717},"user":"bsiegmund","tags":[]},"717":{"isSerializedDate":true,"string":"Thu Feb 16 2012 16:41:28 GMT+0100 (W. Europe Standard Time)"},"718":{"submorphs":[{"__isSmartRef__":true,"id":719},{"__isSmartRef__":true,"id":978}],"scripts":[],"id":"55E2979F-DC3B-486D-9718-8B6F9786C469","shape":{"__isSmartRef__":true,"id":2596},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2604},"showsHalos":false,"name":"TouchMenu","partsBinMetaInfo":{"__isSmartRef__":true,"id":2605},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2822},"eventHandler":{"__isSmartRef__":true,"id":2823},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"A76FBC6E-B894-4737-AFE6-2025D367E30A","5484CBBA-3E42-4542-8A5F-9B4E81369181","039B1EA6-D9E2-4FF7-8318-4AF84B6AFDF3","8DA954A4-09B5-4900-89DE-F91A39BD398A","A79CDC87-8485-4BF0-8EAF-8A42A779D1AA","B3E1FD16-D895-4908-A601-424254E67170","7ED86119-18AE-44EC-B5D4-961C93982561","9CF41223-55A4-42CE-85FB-A6D06238A972","AA33BCC7-7C65-421E-A2D4-A3082E606E43","72CEFFA4-1030-4DF0-8B12-F5CBE3144C9A","99DD5984-28D9-4334-A5D1-8FCC0B644F91","B1A0A0AA-C3F5-4D31-B60E-182A24205521","0ACA9E49-26BA-40BD-9AB6-EE603DF7D177","43D49439-3E5F-43C5-9C42-02650D958AE9","19F9429D-13D9-4288-B10E-0981ACE23473","093AAEA1-0E18-4883-B1A4-EF3DE72E8FF7","7E53931D-0403-4E1A-8184-073E54B10DD3","12518F9A-56EC-41EE-B6B2-2C9BAF00CF58","003BEC4A-FB61-47F8-9BBD-2629CD9B7A41","43ED2973-FEB7-4F3E-84A6-8B17FA6DAD98","1333C74E-713B-46DC-9DA8-12869CF4F213","CA8DDED8-CFA4-4366-BF00-7627588B4C0D","B0F3E6D1-9550-47F1-96B4-AAAD28D4E2A8","DAE82238-E350-4D6B-8FDD-92B74EA7ED90","26B158D5-5359-4FB1-9895-85E2137E419F","8C93031A-1120-4ED3-AD19-E1AFE68DB410","9046F973-0372-424F-8B6C-302220D62F34","4B6E3ACD-1A00-4DC6-872A-DD678A513847","ABD003D9-EA63-4910-826F-8803FCE1601F","B6C9A6D1-86C3-453C-ACFF-F335713AABD3","3831D24A-25BE-4BF4-B671-3AB84F0EFF3A"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2824},"prevScroll":[0,0],"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":2825},"layout":{"__isSmartRef__":true,"id":2826},"isLockOwner":true,"_Visible":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":2827},"pinned":true,"moved":true,"headRevision":147711,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2828},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"719":{"submorphs":[{"__isSmartRef__":true,"id":720},{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":838},{"__isSmartRef__":true,"id":855}],"scripts":[],"id":"67B485C7-47F6-4DCC-BE30-3243FBD7D064","shape":{"__isSmartRef__":true,"id":951},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":965},"showsHalos":false,"name":"Header","partsBinMetaInfo":{"__isSmartRef__":true,"id":966},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":967},"eventHandler":{"__isSmartRef__":true,"id":968},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"ACBC75B3-2117-4599-88DF-98DE3A01B945","9F026C00-2906-4517-84AF-5074606A0111","CCAAB5EF-E2C7-4C26-BC98-8814BBE7816E","2503728C-6E3D-41EC-A9E7-D62F0A101BD3","26D66BEF-833F-492F-91A1-A566527FD073","91ABF2E8-887F-4E30-A51B-9CA909FA0B8F","27B3B527-0488-4989-8A6C-2247B31CF3B9","1BA4D6B6-8FBD-4F8E-BD88-A205A6EBFE4F","19818871-2C05-486B-8CB0-1B8CB8901216","52DC24F1-D515-4A83-8AB4-3A5F96B367D3","3F32BF3A-01F4-473C-823F-D797DB426F2E","DF9E1612-6D05-4B55-821B-AF6F0CB19EB3","5629A044-0874-41F6-993E-344771194369","FA604ECA-4CDA-4882-9EA3-BE2A27FA547A","1EEA3D2C-72BB-4767-B77E-7FCD2B7096BF","5F820F0F-87D3-4CE1-8D45-EC25645EDD07","C7B02627-A7DF-4D4D-BA0E-846B617D386E","0B191178-B55E-46DE-8D25-E3CA15689681","E747F2B3-3B50-4E44-9C72-994B33BF862C","CC148BD5-832E-4A0A-A944-2C4CF4478F43","AD58D4EC-B2CF-442F-B591-F195B5F46332","61C9CDE8-EA00-423D-855B-C35C7DD50B27","A49B523D-5A79-430F-AF89-2C0DDC4C6ABA","7E25D4D1-C9BC-4D32-96AC-47B4302B1BF0","AAFE18DE-4117-49CD-B315-8D3A3C77C6F8","52A75D61-7E66-47BC-9600-E3A650DA477B","303FAE26-7B33-499A-9945-777943F964F8","B0868965-86B1-4F9A-8F62-72A880788A0B","6243E982-28E0-468B-8A78-00FD2C6CC913","DF4F4341-1BE9-4996-A403-C9BD42B929F3","E18B9E66-A1AA-4FAA-A92D-8C1C491C454D"],"owner":{"__isSmartRef__":true,"id":718},"priorExtent":{"__isSmartRef__":true,"id":969},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":970},"prevScroll":[0,0],"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":971},"layout":{"__isSmartRef__":true,"id":972},"isLockOwner":false,"selectionDisabled":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":973},"__LivelyClassName__":"lively.morphic.Box"},"720":{"submorphs":[],"scripts":[],"id":"DC710DA0-5E25-4757-9885-207B97F0E06D","renderContextTable":{"__isSmartRef__":true,"id":721},"shape":{"__isSmartRef__":true,"id":722},"droppingEnabled":false,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":733},"_Position":{"__isSmartRef__":true,"id":734},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":735},{"__isSmartRef__":true,"id":736},{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":738}],"layout":{"__isSmartRef__":true,"id":739},"name":"Triangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":740},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","derivationIds":[147,"575E3F5D-BC3D-42C8-8680-9541C7BF6881","9C6E5AB2-19B1-4C7F-9B10-6CC886B46194","971DB08F-AB3C-4745-AD17-9A3C0B6052BB","CA692846-84ED-4219-9A0A-868F4F82DD00","204F7361-7FE3-4187-B57F-5B501E49FF3F","6D77D042-F30D-421F-B720-6C94AFDAE6D4","A8F08E38-06C0-4705-8BF7-7363C6B9BB7E","8D726D2F-738F-4C35-88C0-4C1CFF74E40F","F8B6F059-9BF9-4A59-863A-3BF43AEB1F52","659E6C6F-CE1B-4825-A3B7-0593E4AAFA34","186D95AA-60FE-44C3-8248-3485B5ED7743","511DA7AF-9CD9-4A42-A7B8-021E35576829","FCB27639-0E32-483C-B9FA-6E5EAA2A05F1","45FC9BC1-F3B0-4294-A117-DBDC6746F75B","7DC0F310-1583-471C-A25B-501DE40B1031","9D56A050-D717-4B66-BAD3-36B044528A03","FD889B0F-26CE-495F-A9B3-9E5F1B1ABB4E","E10A093A-6F73-4440-A56D-718EC667063C","427FD891-1B76-4CAD-AB2B-9C905A9E1718","FDBFE7B2-0C1B-42D0-B792-28D684DB24AE","C6DD38B1-12CA-49D6-A72E-4282AE0F5254","D372CD85-091A-4D6D-A13D-7CB3918B826C","E9373E17-CFF2-46F6-A6D0-47C595D2DA47","400E4127-4EC7-492B-9301-8EDA0FA9AF25","D8A15BE9-3E6B-49AA-BE37-65B949D69BA8","DA1607FD-FF93-4408-B1A6-0D031393B124","EDDD999D-9FAC-4AC8-A865-6A26411DA6CA","5F23E998-5C80-4419-A949-38CC0BF9AD80","30842F45-926E-43BF-96BD-39EA9EE05CB3","813831BA-164E-4EA1-BC31-1260A35BF5B9","F77ED89F-69FE-496D-8004-0354F6ACB3A4"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":719},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":741},"isLockOwner":false,"selectionDisabled":true,"_ClipMode":"visible","_Rotation":-1.5707963267948966,"_Scale":0.4385859783684906,"__LivelyClassName__":"lively.morphic.Path"},"721":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"722":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":723},{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":726}],"renderContextTable":{"__isSmartRef__":true,"id":727},"_Position":{"__isSmartRef__":true,"id":728},"_Extent":{"__isSmartRef__":true,"id":729},"_Fill":{"__isSmartRef__":true,"id":730},"_BorderWidth":2.8160000000000003,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":731},"__SourceModuleName__":"Global.lively.morphic.PathShapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":732},"__LivelyClassName__":"lively.morphic.Shapes.Path"},"723":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"724":{"isAbsolute":true,"x":84,"y":43,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"725":{"isAbsolute":true,"x":0,"y":88,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"726":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"727":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"728":{"x":-2,"y":-2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"729":{"x":87,"y":91,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"730":{"r":0.30980392156862746,"g":0.3411764705882353,"b":0.40784313725490196,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"731":{"r":0.30980392156862746,"g":0.3411764705882353,"b":0.40784313725490196,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"732":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"733":{"morph":{"__isSmartRef__":true,"id":720},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"734":{"x":161.42150994097068,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"735":{"morph":{"__isSmartRef__":true,"id":720},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"736":{"morph":{"__isSmartRef__":true,"id":720},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint"},"737":{"morph":{"__isSmartRef__":true,"id":720},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint"},"738":{"morph":{"__isSmartRef__":true,"id":720},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"739":{"adjustForNewBounds":true,"centeredHorizontal":true},"740":{"partName":"Triangle","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A triangle formed polygon.\nCreate other polygons out of it by dragging the round handles.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"741":{"x":35.95566201576631,"y":-46.87717195673699,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"742":{"submorphs":[{"__isSmartRef__":true,"id":743}],"scripts":[],"id":"F69184D8-A920-42A4-975A-7A5FED210693","shape":{"__isSmartRef__":true,"id":766},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":782},"showsHalos":false,"name":"BackButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":783},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":784},"eventHandler":{"__isSmartRef__":true,"id":785},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"54A98D36-AF98-459D-B1D9-184272C0D882","D5D17E25-2F66-410C-BD31-4C59A1D64539","C1B45DE1-CBA7-4D01-9DB4-1006C503BE83","1D7268E9-D627-473A-87E0-E5DC88F22123","59785A6D-55EF-40A2-965A-512562B9F4C7","A18F4323-B713-436E-A24E-6F36DC5030CC","A820A607-306F-4F31-9D5C-6AFBFB0016DB","E8553A3C-BE41-4392-BE36-7C5C00D047A1","A2264376-4542-4A9E-8400-DBB38EC0D18F","3C1DE3B2-C60B-4AFA-B526-3C9670783CBA","07214A9D-88D6-47BC-9B67-3E89C33E2F22","F9A259AF-2D20-48B5-8C06-3CB733D93B12","0F5D16BA-B526-4C1D-92C5-384CA2E0B75D","1711E5AF-41BF-4424-B734-A90C8071EC74","AE584C4D-BB84-41DF-9216-E5E48346F3BD","89F8B0E4-739A-47BD-A3F0-9255EF8397FE","3CE00E61-6634-41B4-AD26-AD16293357DE","8C311003-D0B8-4DDF-A343-502E69CB0248","B43D6637-F44F-42BC-9529-AAE7A2D4B319","2B6A7F01-0E0B-4896-A1B4-01ED6D25F9D4","BFF14BE0-75BB-4378-85F5-95A8E1F6F92A","BF1DD446-680A-4A3F-BB23-A10CF59585B6","CCADC065-1D26-4DDA-8B53-D7BBFD6E3FB6","5EEE5203-8B20-4D2A-A024-881EB5DF5425","9DF76780-D519-4588-82D9-3CF2556A8E83","31BAEE91-22DE-4938-A000-87D7518171DB","C56FD538-CDAE-4D21-9377-385AA2FFC26D","F7B24208-2B44-4BC1-A522-F8A0612927FB","275FAB6E-93AA-49C9-A231-4E6A9B4EF222","F1556276-80A1-41CA-8E98-7B54B5F264D8","3C9541A6-4A5C-4EDE-A2CF-9D88D3AF7948"],"owner":{"__isSmartRef__":true,"id":719},"active":false,"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":786},"distanceToDragEvent":{"__isSmartRef__":true,"id":787},"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":788},"isLockOwner":false,"_Visible":false,"selectionDisabled":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":789},"__LivelyClassName__":"lively.morphic.Box"},"743":{"submorphs":[],"scripts":[],"id":"3A0D434C-33CD-4D78-87E2-B22BCCA5B4C4","shape":{"__isSmartRef__":true,"id":744},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":750},"_MaxTextWidth":47,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":747},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text9","partsBinMetaInfo":{"__isSmartRef__":true,"id":751},"textChunks":[{"__isSmartRef__":true,"id":752}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[2,2],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":754},"renderContextTable":{"__isSmartRef__":true,"id":755},"eventHandler":{"__isSmartRef__":true,"id":756},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":757},"_ClipMode":"visible","derivationIds":[355,"9D8FAA29-B745-42F5-947B-4A00BC79EBC7","949D8CA1-6041-4793-83A6-93679C799DD9","A6CA894F-3518-4C2A-8D90-335DD87C1149","08CD7125-D29A-483E-B336-E1C8C82D35ED","F566B529-114D-40B3-99D1-92944F417A44","953462B8-3C99-4993-AB44-38F79ADF275F","768ED706-044A-4821-B505-54EB7B723429","EF3E326B-48ED-4911-8A05-4113A056E816","619C3354-4BBC-479C-97B4-03B48F910D8C","4EE1E692-E7A6-4F33-8040-CE4E5A2BB019","04F47153-6D04-4A1A-8E84-CABA6CCFE9E0","31A62B25-C1AF-439D-BD9A-E83FCAB061AE","80A032A3-0145-47ED-85A1-A5DFBCA0B023","278888DA-3800-44C8-A493-3E9A86C49841","AC40482C-9CC3-436E-9DB0-F09DAC0C05CA","37177116-2646-4066-B99F-1AB2CADE1258","B9D1D0AA-4284-4160-A486-8D3A3658F261","F7EDE0E6-15BF-41D4-B551-CE754B12FE45","35A0D333-B73D-44FE-BBB2-3CA246455E26","1BD6C927-CE0B-4369-8D67-B435E8CDA01A","A2DCBDEA-49E7-45FF-805E-FA5ADAA4CB32","6D4660EF-A0D8-4245-9FE8-1DE68FF7E906","E903B1F3-B5A3-474F-BE16-D2BB86AB4537","54637AE0-58D7-4ED4-9993-0E0127407F00","29B0F530-3F87-4ED3-B9E9-12E89E780F1A","C60F8FFD-8340-40E7-8387-086ACEDD7A3C","38D98EE0-1F81-4BCF-9232-67B0952ADF8E","DE575624-70FF-46B9-AB5E-87269B1C918C","33E859C4-1E5F-40BD-9B4E-3D0AAADA509D","612A44EF-2EFC-4345-BAFF-B374BD65A5A2","BD7A4A71-96AD-4ED1-92F1-2EE25005A603"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":742},"_MinTextWidth":47,"_MinTextHeight":null,"previousSelection":[1,1],"distanceToDragEvent":{"__isSmartRef__":true,"id":758},"_TextColor":{"__isSmartRef__":true,"id":759},"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":760},"isLockOwner":false,"eventsAreIgnored":true,"selectionDisabled":true,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":761},"__LivelyClassName__":"lively.morphic.Text"},"744":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":745},"_Extent":{"__isSmartRef__":true,"id":746},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":747},"renderContextTable":{"__isSmartRef__":true,"id":748},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":749},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"745":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"746":{"x":47,"y":19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"747":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"748":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"749":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"750":{"x":13,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"751":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"752":{"style":{"__isSmartRef__":true,"id":753},"morph":{"__isSmartRef__":true,"id":743},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":743},"storedString":"Back","__LivelyClassName__":"lively.morphic.TextChunk"},"753":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"754":{"x":47,"y":19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"756":{"morph":{"__isSmartRef__":true,"id":743},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"757":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"758":{"x":34,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"759":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"760":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:09:48 GMT+0100 (W. Europe Standard Time)"},"761":{"onClick":{"__isSmartRef__":true,"id":762}},"762":{"varMapping":{"__isSmartRef__":true,"id":763},"source":"function onClick(evt) {\n //this.owner.onClick(evt);\n evt.preventDefault();\n evt.stop();\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":764},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"763":{"this":{"__isSmartRef__":true,"id":743}},"764":{"timestamp":{"__isSmartRef__":true,"id":765},"user":"conradcalmez","tags":[]},"765":{"isSerializedDate":true,"string":"Tue Jan 31 2012 15:52:59 GMT+0100 (W. Europe Standard Time)"},"766":{"position":{"__isSmartRef__":true,"id":767},"_Extent":{"__isSmartRef__":true,"id":768},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":769},"_Fill":{"__isSmartRef__":true,"id":770},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":780},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":781},"_BorderRadius":6,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"767":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"768":{"x":65,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"769":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"770":{"stops":[{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":777}],"vector":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"771":{"offset":0,"color":{"__isSmartRef__":true,"id":772}},"772":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"773":{"offset":0.59,"color":{"__isSmartRef__":true,"id":774}},"774":{"r":0.23137254901960785,"g":0.23137254901960785,"b":0.23137254901960785,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"775":{"offset":0.63,"color":{"__isSmartRef__":true,"id":776}},"776":{"r":0.33725490196078434,"g":0.33725490196078434,"b":0.33725490196078434,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"777":{"offset":1,"color":{"__isSmartRef__":true,"id":778}},"778":{"r":0.5450980392156862,"g":0.5450980392156862,"b":0.5450980392156862,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"779":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"780":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"781":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"782":{"x":11,"y":4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"783":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"785":{"morph":{"__isSmartRef__":true,"id":742},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"786":{"x":63,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"787":{"x":49,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"788":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (W. Europe Standard Time)"},"789":{"activeBackground":{"__isSmartRef__":true,"id":790},"inactiveBackground":{"__isSmartRef__":true,"id":794},"initCss":{"__isSmartRef__":true,"id":798},"onMouseDown":{"__isSmartRef__":true,"id":802},"onMouseUp":{"__isSmartRef__":true,"id":810},"onTouchStart":{"__isSmartRef__":true,"id":818},"onTouchMove":{"__isSmartRef__":true,"id":826},"onTouchEnd":{"__isSmartRef__":true,"id":830}},"790":{"varMapping":{"__isSmartRef__":true,"id":791},"source":"function activeBackground() { \n\n this.setFill( new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(49,79,255)},\n {offset: 0.59, color: Color.rgb(53,83,255)},\n {offset: 0.63, color: Color.rgb(79,105,255)},\n {offset: 1, color: Color.rgb(112,134,255)}\n ],\n 'southNorth'\n ))\n}","funcProperties":{"__isSmartRef__":true,"id":792},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"791":{"this":{"__isSmartRef__":true,"id":742}},"792":{"timestamp":{"__isSmartRef__":true,"id":793},"user":"conradcalmez","tags":[]},"793":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:01:50 GMT+0100 (W. Europe Standard Time)"},"794":{"varMapping":{"__isSmartRef__":true,"id":795},"source":"function inactiveBackground() { \n\n this.setFill( new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(0,0,0)},\n {offset: 0.59, color: Color.rgb(59,59,59)},\n {offset: 0.63, color: Color.rgb(86,86,86)},\n {offset: 1, color: Color.rgb(139,139,139)}\n ],\n 'southNorth'\n ))\n\n}","funcProperties":{"__isSmartRef__":true,"id":796},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"795":{"this":{"__isSmartRef__":true,"id":742}},"796":{"timestamp":{"__isSmartRef__":true,"id":797},"user":"conradcalmez","tags":[]},"797":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:01:54 GMT+0100 (W. Europe Standard Time)"},"798":{"varMapping":{"__isSmartRef__":true,"id":799},"source":"function initCss() {\n \n var box_shadow_name = this._renderContext.domInterface.html5CssPrefix + \"box-shadow\"\n\n this._renderContext.shapeNode.style[box_shadow_name] =\n \"0px 3px 4px 0px rgba(0,0,0,0.55),\"+\n \"0px 1px rgba(255,255,255,0.5) inset\";\n this.inactiveBackground();\n this.setBorderWidth(1);\n this.setBorderColor(Color.rgb(0,0,0));\n this.setBorderRadius(6);\n\n}","funcProperties":{"__isSmartRef__":true,"id":800},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"799":{"this":{"__isSmartRef__":true,"id":742}},"800":{"timestamp":{"__isSmartRef__":true,"id":801},"user":"conradcalmez","tags":[]},"801":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:00:14 GMT+0100 (W. Europe Standard Time)"},"802":{"varMapping":{"__isSmartRef__":true,"id":803},"source":"function onMouseDown(evt) {\n if(!this.active && evt.isLeftMouseButtonDown()){\n this.activeBackground();\n this.active=true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":808},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"803":{"this":{"__isSmartRef__":true,"id":742},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":804}},"804":{"$super":{"__isSmartRef__":true,"id":805}},"805":{"varMapping":{"__isSmartRef__":true,"id":806},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":807},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"806":{"obj":{"__isSmartRef__":true,"id":742},"name":"onMouseDown"},"807":{},"808":{"timestamp":{"__isSmartRef__":true,"id":809},"user":"sstamm","tags":[]},"809":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:40:47 GMT+0100 (W. Europe Standard Time)"},"810":{"varMapping":{"__isSmartRef__":true,"id":811},"source":"function onMouseUp(evt) {\n if(this.active && evt.isLeftMouseButtonDown()){\n this.inactiveBackground();\n this.active=false;\n }\n var list = this.owner.owner.get(\"TouchList\");\n list.openSuperMenu();\n}","funcProperties":{"__isSmartRef__":true,"id":816},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"811":{"this":{"__isSmartRef__":true,"id":742},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":812}},"812":{"$super":{"__isSmartRef__":true,"id":813}},"813":{"varMapping":{"__isSmartRef__":true,"id":814},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":815},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"814":{"obj":{"__isSmartRef__":true,"id":742},"name":"onMouseUp"},"815":{},"816":{"timestamp":{"__isSmartRef__":true,"id":817},"user":"sstamm","tags":[]},"817":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:40:43 GMT+0100 (W. Europe Standard Time)"},"818":{"varMapping":{"__isSmartRef__":true,"id":819},"source":"function onTouchStart(evt) {\n return true\n}","funcProperties":{"__isSmartRef__":true,"id":824},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"819":{"this":{"__isSmartRef__":true,"id":742},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":820}},"820":{"$super":{"__isSmartRef__":true,"id":821}},"821":{"varMapping":{"__isSmartRef__":true,"id":822},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":823},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"822":{"obj":{"__isSmartRef__":true,"id":742},"name":"onTouchStart"},"823":{},"824":{"timestamp":{"__isSmartRef__":true,"id":825},"user":"conradcalmez","tags":[]},"825":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:28:21 GMT+0100 (W. Europe Standard Time)"},"826":{"varMapping":{"__isSmartRef__":true,"id":827},"source":"function onTouchMove(evt) {\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":828},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"827":{"this":{"__isSmartRef__":true,"id":742}},"828":{"timestamp":{"__isSmartRef__":true,"id":829},"user":"conradcalmez","tags":[]},"829":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:25:43 GMT+0100 (W. Europe Standard Time)"},"830":{"varMapping":{"__isSmartRef__":true,"id":831},"source":"function onTouchEnd(evt) {\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":836},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"831":{"this":{"__isSmartRef__":true,"id":742},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":832}},"832":{"$super":{"__isSmartRef__":true,"id":833}},"833":{"varMapping":{"__isSmartRef__":true,"id":834},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"834":{"obj":{"__isSmartRef__":true,"id":742},"name":"onTouchEnd"},"835":{},"836":{"timestamp":{"__isSmartRef__":true,"id":837},"user":"conradcalmez","tags":[]},"837":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:27:54 GMT+0100 (W. Europe Standard Time)"},"838":{"submorphs":[],"scripts":[],"id":"FA1D8122-ABD2-4106-A8EB-89433465E145","shape":{"__isSmartRef__":true,"id":839},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":845},"_MaxTextWidth":187,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":842},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"MenuPosition","partsBinMetaInfo":{"__isSmartRef__":true,"id":846},"textChunks":[{"__isSmartRef__":true,"id":847}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[3,3],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":849},"renderContextTable":{"__isSmartRef__":true,"id":850},"eventHandler":{"__isSmartRef__":true,"id":851},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":852},"_ClipMode":"visible","derivationIds":[355,"22ECB8AE-0B8B-48BE-B3F3-49A4E466081E","3BE478F2-0096-46B5-86B2-6E684B964099","33197E27-2287-4038-ADB6-8821407CA6BB","5C8F4C86-D4D2-434E-A10B-935F98CB2048","65CB19B8-1C21-4964-BE75-112332487E61","A818083A-17F7-468B-80DE-E52DBE4B9739","AE3F7F20-1847-4DB2-B69F-F98A6E3F5B52","2DAD8790-4DA3-43AD-96BD-2C9446C6307E","3578245B-D8E8-430D-8222-FC95BF5A320E","5CEFD686-A401-42A9-9B18-AF536AF6AC31","8DB3E8AD-339C-4FCE-BADE-8EA3929B88D6","3B9E57D4-B753-47E1-9887-6B4709C71CB5","002EECC7-F9ED-4055-BD71-209AE18F76DE","61149D09-440D-4F62-B80A-F248D258826C","72CB72DB-A7C8-41F0-AA52-01971D8D3BA3","06DD5C21-EA9A-4676-83B5-B624A9BE05FC","71D79729-FBFA-44B1-9363-9B42307B9DAF","34E77183-5BA8-41CB-BF11-3C45CB65CF6C","DEAC4D7D-2C35-44D0-97AB-8275C93F7DB5","46C6953A-7553-4EC1-B75E-C0A3B406771D","FF7923D5-920F-4915-986C-6B42A4065A21","74B712AF-52F0-40BA-80D1-13C85812A91D","C4418201-0D27-4C21-9332-4073CBE2D4C7","91CD046D-0D41-47FB-A03F-CCF0C7A8DC0E","D27485EF-3745-48D9-9BF3-9625BBC92377","2FCA2E52-DC13-4A75-A60A-DEB2F31B7D63","4FC62074-A127-4FF5-908D-E274D110BD25","B506E9D8-AAE5-4870-9151-598954F63C01","9EDA9E34-3792-42C2-9B9F-86372E8E72BA"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":719},"_MinTextWidth":187,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":853},"distanceToDragEvent":{"__isSmartRef__":true,"id":854},"previousSelection":[6,6],"_Align":"right","eventsAreIgnored":true,"_Visible":true,"isCopyMorphRef":true,"morphRefId":1,"selectionDisabled":true,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"839":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":840},"_Extent":{"__isSmartRef__":true,"id":841},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":842},"renderContextTable":{"__isSmartRef__":true,"id":843},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":844},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"840":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"841":{"x":187,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"842":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"844":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"845":{"x":107,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"846":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"847":{"style":{"__isSmartRef__":true,"id":848},"chunkOwner":{"__isSmartRef__":true,"id":838},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"848":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"849":{"x":187,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"850":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"851":{"morph":{"__isSmartRef__":true,"id":838},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"852":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"853":{"r":0.9686274509803922,"g":0.9686274509803922,"b":0.9686274509803922,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"854":{"x":129,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"855":{"submorphs":[{"__isSmartRef__":true,"id":856}],"scripts":[],"id":"769BAAE2-1C77-4060-B126-7813F7BBC252","shape":{"__isSmartRef__":true,"id":879},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":895},"showsHalos":false,"name":"PinButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":896},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":897},"eventHandler":{"__isSmartRef__":true,"id":898},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"54A98D36-AF98-459D-B1D9-184272C0D882","D5D17E25-2F66-410C-BD31-4C59A1D64539","C1B45DE1-CBA7-4D01-9DB4-1006C503BE83","1D7268E9-D627-473A-87E0-E5DC88F22123","59785A6D-55EF-40A2-965A-512562B9F4C7","A18F4323-B713-436E-A24E-6F36DC5030CC","A820A607-306F-4F31-9D5C-6AFBFB0016DB","E8553A3C-BE41-4392-BE36-7C5C00D047A1","A2264376-4542-4A9E-8400-DBB38EC0D18F","FD100785-21C9-43D8-ABBA-627048B42408","EE62829B-6736-44E4-9F5B-704E95FC0301","88C64092-35B4-44C1-BCDD-28D62485A0F2","75547D1B-34C9-480D-A17C-D24F7C09C581","B9D1B385-013E-4E18-882E-28120737B0A8","70FEDA14-FE4D-4A89-BF94-53DED13158BD","EE55CEAC-955D-468C-879C-7560AE9ED9EC","88DFC31C-5575-408F-A316-22330125D453","EDC1F508-C32D-4E62-80E5-BE473390EF1F","9BB4A4C3-A9A7-4B7F-9A17-420146423028","C0525E40-1B9F-4079-8685-75EC6179EC57","54617302-9945-4B9E-B52D-0C62AEC91F3C","1E09D4D3-B7B5-420C-8AA2-0DD80BD26703","9B700055-B4D5-419E-A265-DCE7C64C94F9","830F8518-CE17-4C95-BFBC-2744D82F43EA","C7542C09-5C00-44D2-A880-E23C68518E56","6B3C87AB-8162-40C7-AE02-2732D31DACF4","9F58595F-2E22-442B-A506-68776A624C96","7AEA7CD2-0DEC-478D-BC64-6CDEA0AFF9F5","130D6774-FE42-4F79-89EA-CACB71F17886","EAEFC7B9-54B7-460E-894B-6FC0ACE6FE39","04CA1CEC-BF9F-413C-B70F-3C226BFE3B8D","D293E1A3-39AE-4164-8D74-17F8EDB200F4"],"active":false,"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":899},"distanceToDragEvent":{"__isSmartRef__":true,"id":900},"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":901},"isLockOwner":false,"_Visible":true,"owner":{"__isSmartRef__":true,"id":719},"prevScroll":[0,0],"selectionDisabled":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":902},"__LivelyClassName__":"lively.morphic.Box"},"856":{"submorphs":[],"scripts":[],"id":"14C6CA4E-3534-4ECF-B7EF-513E3D26B306","shape":{"__isSmartRef__":true,"id":857},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":863},"_MaxTextWidth":47,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":860},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text9","partsBinMetaInfo":{"__isSmartRef__":true,"id":864},"textChunks":[{"__isSmartRef__":true,"id":865}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[2,2],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":867},"renderContextTable":{"__isSmartRef__":true,"id":868},"eventHandler":{"__isSmartRef__":true,"id":869},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":870},"_ClipMode":"visible","derivationIds":[355,"9D8FAA29-B745-42F5-947B-4A00BC79EBC7","949D8CA1-6041-4793-83A6-93679C799DD9","A6CA894F-3518-4C2A-8D90-335DD87C1149","08CD7125-D29A-483E-B336-E1C8C82D35ED","F566B529-114D-40B3-99D1-92944F417A44","953462B8-3C99-4993-AB44-38F79ADF275F","768ED706-044A-4821-B505-54EB7B723429","EF3E326B-48ED-4911-8A05-4113A056E816","619C3354-4BBC-479C-97B4-03B48F910D8C","4F649DCD-4FF9-4007-92D5-D371556459C1","2CFB65DB-2C62-4712-B573-18DC01194DDD","5B8EB9CC-25D1-4E44-8673-760CE9F98BA6","424DCAEB-EE0D-4F1C-80C3-2279A857AC7E","ABC68F18-8F71-4ED6-9A10-77598E0E8F47","C49BAF19-B090-4AAC-8DAE-2357439B005F","CF6FC85C-7431-4189-BB0B-D7630BD55748","333C9AE6-671F-44CA-8D54-0B7EA85EB0C5","EFFC2357-3D32-4E83-A0F0-6188D55E3A51","536CB2BE-0962-4938-BEE4-C4F0D71A9984","0FCC7695-C093-4D29-A813-5EA3E4CB9D97","2266BD89-C492-456F-A316-B7375EDD50E9","D48E2B7B-3F07-422A-A311-CDD72C5ACF94","66E0DB01-023D-421E-B642-418D06BF4488","E05A94A0-EF3C-4442-A60A-A700A24258E6","1357F4C3-02E3-4BA6-AE60-9DA4B579202A","823C71B6-EEBA-4941-A9BF-D6CB981A4196","448D6CF7-7F37-4E15-8C08-BD19EA7AFDD1","9A535724-F7F8-4DF7-ACE0-5B47689FF8D3","06ABCBEB-F07A-4B7F-A3D0-1443F243CCB4","AB25F1BF-049E-4FA1-9660-6B792397CDBB","CFEAB71D-2F13-4B2E-8488-B78E7F2E18E8","6B55F488-2C38-4281-B0FD-8B97AFCAB0FB"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":855},"_MinTextWidth":47,"_MinTextHeight":null,"previousSelection":[1,1],"distanceToDragEvent":{"__isSmartRef__":true,"id":871},"_TextColor":{"__isSmartRef__":true,"id":872},"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":873},"isLockOwner":false,"eventsAreIgnored":true,"selectionDisabled":true,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":874},"__LivelyClassName__":"lively.morphic.Text"},"857":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":858},"_Extent":{"__isSmartRef__":true,"id":859},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":860},"renderContextTable":{"__isSmartRef__":true,"id":861},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":862},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"858":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"859":{"x":47,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"860":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"861":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"862":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"863":{"x":13,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"864":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"865":{"style":{"__isSmartRef__":true,"id":866},"chunkOwner":{"__isSmartRef__":true,"id":856},"storedString":"Pin","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"866":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"867":{"x":47,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"868":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"869":{"morph":{"__isSmartRef__":true,"id":856},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"870":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"871":{"x":34,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"872":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"873":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:09:48 GMT+0100 (W. Europe Standard Time)"},"874":{"onClick":{"__isSmartRef__":true,"id":875}},"875":{"varMapping":{"__isSmartRef__":true,"id":876},"source":"function onClick(evt) {\n //this.owner.onClick(evt);\n evt.preventDefault();\n evt.stop();\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"876":{"this":{"__isSmartRef__":true,"id":856}},"877":{"timestamp":{"__isSmartRef__":true,"id":878},"user":"conradcalmez","tags":[]},"878":{"isSerializedDate":true,"string":"Tue Jan 31 2012 15:52:59 GMT+0100 (W. Europe Standard Time)"},"879":{"position":{"__isSmartRef__":true,"id":880},"_Extent":{"__isSmartRef__":true,"id":881},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":882},"_Fill":{"__isSmartRef__":true,"id":883},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":893},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":894},"_BorderRadius":6,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"880":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"881":{"x":48,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"882":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"883":{"stops":[{"__isSmartRef__":true,"id":884},{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":890}],"vector":{"__isSmartRef__":true,"id":892},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"884":{"offset":0,"color":{"__isSmartRef__":true,"id":885}},"885":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"886":{"offset":0.59,"color":{"__isSmartRef__":true,"id":887}},"887":{"r":0.23137254901960785,"g":0.23137254901960785,"b":0.23137254901960785,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"888":{"offset":0.63,"color":{"__isSmartRef__":true,"id":889}},"889":{"r":0.33725490196078434,"g":0.33725490196078434,"b":0.33725490196078434,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"890":{"offset":1,"color":{"__isSmartRef__":true,"id":891}},"891":{"r":0.5450980392156862,"g":0.5450980392156862,"b":0.5450980392156862,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"892":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"893":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"894":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"895":{"x":302,"y":4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"896":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"897":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"898":{"morph":{"__isSmartRef__":true,"id":855},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"899":{"x":48,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"900":{"x":49,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"901":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (W. Europe Standard Time)"},"902":{"activeBackground":{"__isSmartRef__":true,"id":903},"inactiveBackground":{"__isSmartRef__":true,"id":907},"initCss":{"__isSmartRef__":true,"id":911},"onMouseDown":{"__isSmartRef__":true,"id":915},"onMouseUp":{"__isSmartRef__":true,"id":923},"onTouchStart":{"__isSmartRef__":true,"id":931},"onTouchMove":{"__isSmartRef__":true,"id":939},"onTouchEnd":{"__isSmartRef__":true,"id":943}},"903":{"varMapping":{"__isSmartRef__":true,"id":904},"source":"function activeBackground() { \n\n this.setFill( new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(49,79,255)},\n {offset: 0.59, color: Color.rgb(53,83,255)},\n {offset: 0.63, color: Color.rgb(79,105,255)},\n {offset: 1, color: Color.rgb(112,134,255)}\n ],\n 'southNorth'\n ))\n this.active=true;\n}","funcProperties":{"__isSmartRef__":true,"id":905},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"904":{"this":{"__isSmartRef__":true,"id":855}},"905":{"timestamp":{"__isSmartRef__":true,"id":906},"user":"conradcalmez","tags":[]},"906":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:03:01 GMT+0100 (W. Europe Standard Time)"},"907":{"varMapping":{"__isSmartRef__":true,"id":908},"source":"function inactiveBackground() { \n\n this.setFill( new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(0,0,0)},\n {offset: 0.59, color: Color.rgb(59,59,59)},\n {offset: 0.63, color: Color.rgb(86,86,86)},\n {offset: 1, color: Color.rgb(139,139,139)}\n ],\n 'southNorth'\n ))\n this.active=false;\n}","funcProperties":{"__isSmartRef__":true,"id":909},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"908":{"this":{"__isSmartRef__":true,"id":855}},"909":{"timestamp":{"__isSmartRef__":true,"id":910},"user":"conradcalmez","tags":[]},"910":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:02:46 GMT+0100 (W. Europe Standard Time)"},"911":{"varMapping":{"__isSmartRef__":true,"id":912},"source":"function initCss() {\n \n var box_shadow_name = this._renderContext.domInterface.html5CssPrefix + \"box-shadow\"\n\n this._renderContext.shapeNode.style[box_shadow_name] =\n \"0px 3px 4px 0px rgba(0,0,0,0.55),\"+\n \"0px 1px rgba(255,255,255,0.5) inset\";\n this.inactiveBackground();\n this.setBorderWidth(1);\n this.setBorderColor(Color.rgb(0,0,0));\n this.setBorderRadius(6);\n\n}","funcProperties":{"__isSmartRef__":true,"id":913},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"912":{"this":{"__isSmartRef__":true,"id":855}},"913":{"timestamp":{"__isSmartRef__":true,"id":914},"user":"conradcalmez","tags":[]},"914":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:00:14 GMT+0100 (W. Europe Standard Time)"},"915":{"varMapping":{"__isSmartRef__":true,"id":916},"source":"function onMouseDown(evt) {\n if(!this.active && evt.isLeftMouseButtonDown()){\n this.activeBackground();\n } else {\n this.inactiveBackground();\n }\n this.owner.owner.pin();\n}","funcProperties":{"__isSmartRef__":true,"id":921},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"916":{"this":{"__isSmartRef__":true,"id":855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":917}},"917":{"$super":{"__isSmartRef__":true,"id":918}},"918":{"varMapping":{"__isSmartRef__":true,"id":919},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":920},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"919":{"obj":{"__isSmartRef__":true,"id":855},"name":"onMouseDown"},"920":{},"921":{"timestamp":{"__isSmartRef__":true,"id":922},"user":"conradcalmez","tags":[]},"922":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:34:15 GMT+0100 (W. Europe Standard Time)"},"923":{"varMapping":{"__isSmartRef__":true,"id":924},"source":"function onMouseUp(evt) {\n return;\n}","funcProperties":{"__isSmartRef__":true,"id":929},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"924":{"this":{"__isSmartRef__":true,"id":855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":925}},"925":{"$super":{"__isSmartRef__":true,"id":926}},"926":{"varMapping":{"__isSmartRef__":true,"id":927},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"927":{"obj":{"__isSmartRef__":true,"id":855},"name":"onMouseUp"},"928":{},"929":{"timestamp":{"__isSmartRef__":true,"id":930},"user":"conradcalmez","tags":[]},"930":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:51:03 GMT+0100 (W. Europe Standard Time)"},"931":{"varMapping":{"__isSmartRef__":true,"id":932},"source":"function onTouchStart(evt) {\n return true\n}","funcProperties":{"__isSmartRef__":true,"id":937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"932":{"this":{"__isSmartRef__":true,"id":855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":933}},"933":{"$super":{"__isSmartRef__":true,"id":934}},"934":{"varMapping":{"__isSmartRef__":true,"id":935},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":936},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"935":{"obj":{"__isSmartRef__":true,"id":855},"name":"onTouchStart"},"936":{},"937":{"timestamp":{"__isSmartRef__":true,"id":938},"user":"conradcalmez","tags":[]},"938":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:28:21 GMT+0100 (W. Europe Standard Time)"},"939":{"varMapping":{"__isSmartRef__":true,"id":940},"source":"function onTouchMove(evt) {\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"940":{"this":{"__isSmartRef__":true,"id":855}},"941":{"timestamp":{"__isSmartRef__":true,"id":942},"user":"conradcalmez","tags":[]},"942":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:25:43 GMT+0100 (W. Europe Standard Time)"},"943":{"varMapping":{"__isSmartRef__":true,"id":944},"source":"function onTouchEnd(evt) {\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":949},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"944":{"this":{"__isSmartRef__":true,"id":855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":945}},"945":{"$super":{"__isSmartRef__":true,"id":946}},"946":{"varMapping":{"__isSmartRef__":true,"id":947},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":948},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"947":{"obj":{"__isSmartRef__":true,"id":855},"name":"onTouchEnd"},"948":{},"949":{"timestamp":{"__isSmartRef__":true,"id":950},"user":"conradcalmez","tags":[]},"950":{"isSerializedDate":true,"string":"Wed Jan 25 2012 17:27:54 GMT+0100 (W. Europe Standard Time)"},"951":{"position":{"__isSmartRef__":true,"id":952},"_Extent":{"__isSmartRef__":true,"id":953},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":954},"_Fill":{"__isSmartRef__":true,"id":955},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":963},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":964},"_BorderRadius":10.360000000000001,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"952":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"953":{"x":361,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"954":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"955":{"stops":[{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":960}],"vector":{"__isSmartRef__":true,"id":962},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"956":{"offset":0,"color":{"__isSmartRef__":true,"id":957}},"957":{"r":0.30980392156862746,"g":0.3411764705882353,"b":0.40784313725490196,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"958":{"offset":0.5,"color":{"__isSmartRef__":true,"id":959}},"959":{"r":0.12941176470588237,"g":0.16862745098039217,"b":0.23529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"960":{"offset":0.51,"color":{"__isSmartRef__":true,"id":961}},"961":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"962":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"963":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"964":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"965":{"x":-180.5,"y":46,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"966":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"967":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"968":{"morph":{"__isSmartRef__":true,"id":719},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"969":{"x":361,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"970":{"x":138,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"971":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (W. Europe Standard Time)"},"972":{"adjustForNewBounds":true,"resizeWidth":true},"973":{"reset":{"__isSmartRef__":true,"id":974}},"974":{"varMapping":{"__isSmartRef__":true,"id":975},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}","funcProperties":{"__isSmartRef__":true,"id":976},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"975":{"this":{"__isSmartRef__":true,"id":719}},"976":{"timestamp":{"__isSmartRef__":true,"id":977},"user":"conradcalmez","tags":[]},"977":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:28:52 GMT+0100 (W. Europe Standard Time)"},"978":{"submorphs":[{"__isSmartRef__":true,"id":979}],"scripts":[],"id":"CFE700DC-8109-49AA-8ACC-793CC07E0637","shape":{"__isSmartRef__":true,"id":1492},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1499},"showsHalos":false,"name":"TouchList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1500},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1509},"eventHandler":{"__isSmartRef__":true,"id":1510},"attributeConnections":[{"__isSmartRef__":true,"id":1511},{"__isSmartRef__":true,"id":1512}],"doNotSerialize":["$$selection","$$title"],"doNotCopyProperties":["$$selection","$$title"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","25FEDF3D-759A-4877-AA30-E40EBD0CA853","67C5107B-E74D-4E0A-B900-C6148C75DF9F","6E74F5AE-24AA-47D6-B800-099F4F35A636","B17FFBCE-CDB4-4537-BE9C-8F8E4E439FF5","53410507-8767-40EF-AD11-A16D6308D47B","D735F89A-32C5-42BF-972F-457F007BB539","EA5A6AA4-E132-4E3B-9C77-D193891CBFF4","3C497087-6637-463D-8B92-3412AE7C3826","6D80B0E3-8A2C-4686-A389-8A2997847401","6FFE23A7-A49C-41DA-8FB6-7897668896C0","8400E48F-A922-4158-8161-93D6406320D5","D9EAA300-400A-4F6C-B206-E3BCD7BFE302","0B5D5B26-EFCF-4402-95AE-1885D2A6B2D3","C9EA3BD1-D628-452A-BC96-76FBFEEA1C36","084092EB-093F-4E45-AB00-25151D2981FC","C28626FE-C671-4990-A272-65A6210D0C3E","918ED0BA-D02C-4E06-AD6F-1354CCDC7D01","98BEC0FD-D5B0-4A26-9B1F-F4D92B783FAE","EB1FDDBB-642B-4B63-AE97-79EF5800F1C9","85F0E639-1B46-4495-AC6E-532012CBE81C","C447E375-31F8-4290-93C5-96C5EDAAB2A8","59B2A698-E0BA-4D24-ABEC-65C07EBF853A","6B167729-CE4C-413F-A674-31B779FBB287","A2F59FF8-A3C5-457D-84F4-AD9A9E8F9DA6","F8757A4B-DFEB-4C04-B335-EC2A562B44EB","F0EC7E36-9C78-42E8-BA8C-067BA824CFE4","6ABB9DFE-2122-43EF-9711-E361C24441A9","93F5C844-DDB0-43FC-9DD8-7ABC4A4BE968","52A15D77-C38C-4333-AF05-D9859360174B","1014C7C9-B110-446F-80A0-5320C5ECC754"],"priorExtent":{"__isSmartRef__":true,"id":1513},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1514},"itemList":[],"_ClipMode":"hidden","selectedMorph":null,"owner":{"__isSmartRef__":true,"id":718},"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1515},"_Visible":true,"prevScroll":[0,0],"backStack":[],"items":[],"titleStack":[],"currentContainer":{"__isSmartRef__":true,"id":980},"containerStack":[],"containerPrototype":{"__isSmartRef__":true,"id":1516},"nextContainer":{"__isSmartRef__":true,"id":2004},"selectionDisabled":true,"_Rotation":0,"_Scale":1,"selection":null,"title":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2492},"__LivelyClassName__":"lively.morphic.Box"},"979":{"submorphs":[{"__isSmartRef__":true,"id":980}],"scripts":[],"id":"62AFEA84-25EA-461C-A620-7D0B9130F46E","shape":{"__isSmartRef__":true,"id":1472},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1479},"showsHalos":false,"name":"SubmenuContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1480},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1483},"eventHandler":{"__isSmartRef__":true,"id":1484},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","5D27E6EB-C91C-4849-B699-2413CB16F0F1","332CF0AE-9168-4035-B810-6B52EC25783E","314E9A4E-5BF0-4513-A12E-A78027CCC7B6","16CD18D8-6677-4357-B592-FDBBF4EC4E50","C13E69A3-3A9A-45C3-A178-295C05C204C8","E6E0BD94-857A-4F13-8C63-A0C41A245C35","D6890F7A-EB8E-4D23-9A7F-6CAF0A3F3F70","0FFD9A7D-CA43-4575-8CEF-C90702C20763","9B1DE3C1-4485-4E3F-B6D9-0E7FC8C80F22","A60C43CA-ABE9-48AA-8199-837DF0B768E8","E0713316-45C7-4F1F-84D8-2B8753DC8150","F91009E3-68D1-46F9-BF74-136EFE3F315F","9653749F-9692-4BD6-B284-8E919CEF1C41","7E0F7FB2-B05C-4B1A-8BCC-544BBEC0DE0A","D4362075-ABC3-4CFE-A849-4F97CAB582D2","6B05F973-FBD0-46E0-B4E9-CC21CCC972F0","80B2FA05-84D8-4AE2-A2A8-3FC08E10522D"],"partTests":{"__isSmartRef__":true,"id":1485},"owner":{"__isSmartRef__":true,"id":978},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1490},"priorExtent":{"__isSmartRef__":true,"id":1491},"prevScroll":[0,0],"selectionDisabled":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Box"},"980":{"submorphs":[],"scripts":[],"id":"CFF6A2F7-5174-4DB4-9C7C-B52CCC67CC36","shape":{"__isSmartRef__":true,"id":981},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":988},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":989},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":990},"eventHandler":{"__isSmartRef__":true,"id":991},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","BF6435A6-9E9E-4313-8565-B0C525800A72","2A73CB8B-D42C-4F0C-9942-2677D513BC4C","C055FCB8-AB7F-49CB-9DCA-E2341E0BC2C9","20F9C4F5-6FE8-4245-AEFE-42D3C369A7AF","2CC4F960-AF12-4B37-AD46-407197A00C0A","D2606AB3-560B-4D98-9BEA-52D92833DD07","B40B016C-7E7D-4D67-BB44-D57746AF613A","3689A5D0-FC36-44CF-88EE-497727A88310","9B713C84-32FD-490E-9C90-94BE2AFA1E6B","B1CAD780-3A59-4542-9E78-B2DD618736C0","65E43818-E5F4-4B8C-9514-440BE0EF95CF","EC22CFE0-483D-4D0A-98A2-35A619999209","43C54E0C-3B28-46F5-ABBF-AD0FD2A10599","FAE475ED-E3C5-46E1-AD6E-8295F60CF7A4","45AF7F7D-10EF-46BC-ACF8-7F127AC06B54"],"owner":{"__isSmartRef__":true,"id":979},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":992},"layout":{"__isSmartRef__":true,"id":993},"lists":{"__isSmartRef__":true,"id":994},"prevScroll":[0,0],"itemList":[],"selectionDisabled":true,"_ClipMode":"visible","_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1431},"__LivelyClassName__":"lively.morphic.Box"},"981":{"position":{"__isSmartRef__":true,"id":982},"_Extent":{"__isSmartRef__":true,"id":983},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":984},"_Fill":{"__isSmartRef__":true,"id":985},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":986},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":987},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"982":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"983":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"984":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"985":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"986":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"987":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"988":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"989":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"990":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"991":{"morph":{"__isSmartRef__":true,"id":980},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"992":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"993":{"resizeWidth":true,"adjustForNewBounds":true},"994":{"Parts":{"__isSmartRef__":true,"id":995}},"995":{"submorphs":[{"__isSmartRef__":true,"id":996}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":1371},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1378},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1379},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1388},"eventHandler":{"__isSmartRef__":true,"id":1389},"attributeConnections":[{"__isSmartRef__":true,"id":1390}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":1391},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1392},"itemList":[{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":1045},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1115},{"__isSmartRef__":true,"id":1150},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1255},{"__isSmartRef__":true,"id":1290}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1393},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1394},"__LivelyClassName__":"lively.morphic.Box"},"996":{"submorphs":[{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":1045},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1115},{"__isSmartRef__":true,"id":1150},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1255},{"__isSmartRef__":true,"id":1290}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":1325},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1332},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1333},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1334},"eventHandler":{"__isSmartRef__":true,"id":1335},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":995},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1336},"layout":{"__isSmartRef__":true,"id":1337},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1338},"__LivelyClassName__":"lively.morphic.Box"},"997":{"submorphs":[{"__isSmartRef__":true,"id":998}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":1014},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1026},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":1027},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1028},"eventHandler":{"__isSmartRef__":true,"id":1029},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1030},"layout":{"__isSmartRef__":true,"id":1031},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1032},"__LivelyClassName__":"lively.morphic.Box"},"998":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":999},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1005},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1002},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1006},"textChunks":[{"__isSmartRef__":true,"id":1007}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1009},"renderContextTable":{"__isSmartRef__":true,"id":1010},"eventHandler":{"__isSmartRef__":true,"id":1011},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1012},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1013},"owner":{"__isSmartRef__":true,"id":997},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"999":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1000},"_Extent":{"__isSmartRef__":true,"id":1001},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1002},"renderContextTable":{"__isSmartRef__":true,"id":1003},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1004},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1000":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1001":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1002":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1003":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1004":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1005":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1006":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1007":{"style":{"__isSmartRef__":true,"id":1008},"chunkOwner":{"__isSmartRef__":true,"id":998},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1008":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1009":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1010":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1011":{"morph":{"__isSmartRef__":true,"id":998},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1012":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1013":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1014":{"position":{"__isSmartRef__":true,"id":1015},"_Extent":{"__isSmartRef__":true,"id":1016},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1017},"_Fill":{"__isSmartRef__":true,"id":1018},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1024},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1025},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1015":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1016":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1017":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1018":{"stops":[{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1021}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1019":{"offset":0,"color":{"__isSmartRef__":true,"id":1020}},"1020":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1021":{"offset":1,"color":{"__isSmartRef__":true,"id":1022}},"1022":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1023":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1024":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1025":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1026":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1027":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1028":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1029":{"morph":{"__isSmartRef__":true,"id":997},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1030":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1031":{"resizeWidth":true},"1032":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1033":{"varMapping":{"__isSmartRef__":true,"id":1034},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1035},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1034":{"this":{"__isSmartRef__":true,"id":995}},"1035":{"timestamp":{"__isSmartRef__":true,"id":1036},"user":"sstamm","tags":[]},"1036":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"1037":{"varMapping":{"__isSmartRef__":true,"id":1038},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1038":{"this":{"__isSmartRef__":true,"id":995}},"1039":{"timestamp":{"__isSmartRef__":true,"id":1040},"user":"sstamm","tags":[]},"1040":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"1041":{"varMapping":{"__isSmartRef__":true,"id":1042},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1042":{"this":{"__isSmartRef__":true,"id":995}},"1043":{"timestamp":{"__isSmartRef__":true,"id":1044},"user":"sstamm","tags":[]},"1044":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (W. Europe Standard Time)"},"1045":{"submorphs":[{"__isSmartRef__":true,"id":1046}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":1062},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1073},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":1074},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1075},"eventHandler":{"__isSmartRef__":true,"id":1076},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":1077},"layout":{"__isSmartRef__":true,"id":1078},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.morphic.Box"},"1046":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":1047},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1053},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1050},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1054},"textChunks":[{"__isSmartRef__":true,"id":1055}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1057},"renderContextTable":{"__isSmartRef__":true,"id":1058},"eventHandler":{"__isSmartRef__":true,"id":1059},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1060},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1061},"owner":{"__isSmartRef__":true,"id":1045},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1047":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1048},"_Extent":{"__isSmartRef__":true,"id":1049},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1050},"renderContextTable":{"__isSmartRef__":true,"id":1051},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1052},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1048":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1049":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1050":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1051":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1052":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1053":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1054":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1055":{"style":{"__isSmartRef__":true,"id":1056},"chunkOwner":{"__isSmartRef__":true,"id":1046},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1056":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1057":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1058":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1059":{"morph":{"__isSmartRef__":true,"id":1046},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1060":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1061":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1062":{"position":{"__isSmartRef__":true,"id":1063},"_Extent":{"__isSmartRef__":true,"id":1064},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1065},"_Fill":{"__isSmartRef__":true,"id":1066},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1071},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1072},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1063":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1064":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1065":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1066":{"stops":[{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1069}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1067":{"offset":0,"color":{"__isSmartRef__":true,"id":1068}},"1068":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1069":{"offset":1,"color":{"__isSmartRef__":true,"id":1070}},"1070":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1071":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1072":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1073":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1074":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1075":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1076":{"morph":{"__isSmartRef__":true,"id":1045},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1077":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1078":{"resizeWidth":true},"1079":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1080":{"submorphs":[{"__isSmartRef__":true,"id":1081}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":1097},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1108},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1109},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1110},"eventHandler":{"__isSmartRef__":true,"id":1111},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":1112},"layout":{"__isSmartRef__":true,"id":1113},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1114},"__LivelyClassName__":"lively.morphic.Box"},"1081":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":1082},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1088},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1085},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1089},"textChunks":[{"__isSmartRef__":true,"id":1090}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1092},"renderContextTable":{"__isSmartRef__":true,"id":1093},"eventHandler":{"__isSmartRef__":true,"id":1094},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1095},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1096},"owner":{"__isSmartRef__":true,"id":1080},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1082":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1083},"_Extent":{"__isSmartRef__":true,"id":1084},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1085},"renderContextTable":{"__isSmartRef__":true,"id":1086},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1087},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1083":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1084":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1085":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1086":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1087":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1088":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1089":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1090":{"style":{"__isSmartRef__":true,"id":1091},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1091":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1092":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1093":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1094":{"morph":{"__isSmartRef__":true,"id":1081},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1095":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1096":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1097":{"position":{"__isSmartRef__":true,"id":1098},"_Extent":{"__isSmartRef__":true,"id":1099},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1100},"_Fill":{"__isSmartRef__":true,"id":1101},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1107},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1098":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1099":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1100":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1101":{"stops":[{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1104}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1102":{"offset":0,"color":{"__isSmartRef__":true,"id":1103}},"1103":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1104":{"offset":1,"color":{"__isSmartRef__":true,"id":1105}},"1105":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1106":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1108":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1109":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1111":{"morph":{"__isSmartRef__":true,"id":1080},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1112":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1113":{"resizeWidth":true},"1114":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1115":{"submorphs":[{"__isSmartRef__":true,"id":1116}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":1132},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1143},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1144},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1145},"eventHandler":{"__isSmartRef__":true,"id":1146},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":1147},"layout":{"__isSmartRef__":true,"id":1148},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1149},"__LivelyClassName__":"lively.morphic.Box"},"1116":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":1117},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1123},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1120},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1124},"textChunks":[{"__isSmartRef__":true,"id":1125}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1127},"renderContextTable":{"__isSmartRef__":true,"id":1128},"eventHandler":{"__isSmartRef__":true,"id":1129},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1130},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1131},"owner":{"__isSmartRef__":true,"id":1115},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1117":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1118},"_Extent":{"__isSmartRef__":true,"id":1119},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1120},"renderContextTable":{"__isSmartRef__":true,"id":1121},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1122},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1118":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1119":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1120":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1122":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1123":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1124":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1125":{"style":{"__isSmartRef__":true,"id":1126},"chunkOwner":{"__isSmartRef__":true,"id":1116},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1126":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1127":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1129":{"morph":{"__isSmartRef__":true,"id":1116},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1130":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1131":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1132":{"position":{"__isSmartRef__":true,"id":1133},"_Extent":{"__isSmartRef__":true,"id":1134},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1135},"_Fill":{"__isSmartRef__":true,"id":1136},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1141},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1142},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1133":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1134":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1135":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1136":{"stops":[{"__isSmartRef__":true,"id":1137},{"__isSmartRef__":true,"id":1139}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1137":{"offset":0,"color":{"__isSmartRef__":true,"id":1138}},"1138":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1139":{"offset":1,"color":{"__isSmartRef__":true,"id":1140}},"1140":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1142":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1143":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1144":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1145":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1146":{"morph":{"__isSmartRef__":true,"id":1115},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1147":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1148":{"resizeWidth":true},"1149":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1150":{"submorphs":[{"__isSmartRef__":true,"id":1151}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":1167},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1178},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1179},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1180},"eventHandler":{"__isSmartRef__":true,"id":1181},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1182},"layout":{"__isSmartRef__":true,"id":1183},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1184},"__LivelyClassName__":"lively.morphic.Box"},"1151":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":1152},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1158},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1155},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1159},"textChunks":[{"__isSmartRef__":true,"id":1160}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1162},"renderContextTable":{"__isSmartRef__":true,"id":1163},"eventHandler":{"__isSmartRef__":true,"id":1164},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1165},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1166},"owner":{"__isSmartRef__":true,"id":1150},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1152":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1153},"_Extent":{"__isSmartRef__":true,"id":1154},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1155},"renderContextTable":{"__isSmartRef__":true,"id":1156},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1157},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1153":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1154":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1155":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1156":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1157":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1158":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1159":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1160":{"style":{"__isSmartRef__":true,"id":1161},"chunkOwner":{"__isSmartRef__":true,"id":1151},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1161":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1162":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1163":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1164":{"morph":{"__isSmartRef__":true,"id":1151},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1165":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1166":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1167":{"position":{"__isSmartRef__":true,"id":1168},"_Extent":{"__isSmartRef__":true,"id":1169},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1170},"_Fill":{"__isSmartRef__":true,"id":1171},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1176},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1177},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1168":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1169":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1170":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1171":{"stops":[{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1172":{"offset":0,"color":{"__isSmartRef__":true,"id":1173}},"1173":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1174":{"offset":1,"color":{"__isSmartRef__":true,"id":1175}},"1175":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1176":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1177":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1178":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1179":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1180":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1181":{"morph":{"__isSmartRef__":true,"id":1150},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1182":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1183":{"resizeWidth":true},"1184":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1185":{"submorphs":[{"__isSmartRef__":true,"id":1186}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":1202},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1213},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1214},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1215},"eventHandler":{"__isSmartRef__":true,"id":1216},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":1217},"layout":{"__isSmartRef__":true,"id":1218},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1219},"__LivelyClassName__":"lively.morphic.Box"},"1186":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":1187},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1193},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1190},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1194},"textChunks":[{"__isSmartRef__":true,"id":1195}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1197},"renderContextTable":{"__isSmartRef__":true,"id":1198},"eventHandler":{"__isSmartRef__":true,"id":1199},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1200},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1201},"owner":{"__isSmartRef__":true,"id":1185},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1187":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1188},"_Extent":{"__isSmartRef__":true,"id":1189},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1190},"renderContextTable":{"__isSmartRef__":true,"id":1191},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1188":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1189":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1190":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1191":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1192":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1193":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1194":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1195":{"style":{"__isSmartRef__":true,"id":1196},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1196":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1197":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1198":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1199":{"morph":{"__isSmartRef__":true,"id":1186},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1200":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1201":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1202":{"position":{"__isSmartRef__":true,"id":1203},"_Extent":{"__isSmartRef__":true,"id":1204},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1205},"_Fill":{"__isSmartRef__":true,"id":1206},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1211},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1212},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1204":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1205":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1206":{"stops":[{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1207":{"offset":0,"color":{"__isSmartRef__":true,"id":1208}},"1208":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1209":{"offset":1,"color":{"__isSmartRef__":true,"id":1210}},"1210":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1211":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1212":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1213":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1214":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1216":{"morph":{"__isSmartRef__":true,"id":1185},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1217":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1218":{"resizeWidth":true},"1219":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1220":{"submorphs":[{"__isSmartRef__":true,"id":1221}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":1237},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1248},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1249},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1250},"eventHandler":{"__isSmartRef__":true,"id":1251},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":1252},"layout":{"__isSmartRef__":true,"id":1253},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1254},"__LivelyClassName__":"lively.morphic.Box"},"1221":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":1222},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1228},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1225},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1229},"textChunks":[{"__isSmartRef__":true,"id":1230}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1232},"renderContextTable":{"__isSmartRef__":true,"id":1233},"eventHandler":{"__isSmartRef__":true,"id":1234},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1235},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1236},"owner":{"__isSmartRef__":true,"id":1220},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1222":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1223},"_Extent":{"__isSmartRef__":true,"id":1224},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1225},"renderContextTable":{"__isSmartRef__":true,"id":1226},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1227},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1223":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1224":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1225":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1226":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1227":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1228":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1229":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1230":{"style":{"__isSmartRef__":true,"id":1231},"chunkOwner":{"__isSmartRef__":true,"id":1221},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1231":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1232":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1233":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1234":{"morph":{"__isSmartRef__":true,"id":1221},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1235":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1236":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1237":{"position":{"__isSmartRef__":true,"id":1238},"_Extent":{"__isSmartRef__":true,"id":1239},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1240},"_Fill":{"__isSmartRef__":true,"id":1241},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1246},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1247},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1238":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1239":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1240":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1241":{"stops":[{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1244}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1242":{"offset":0,"color":{"__isSmartRef__":true,"id":1243}},"1243":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1244":{"offset":1,"color":{"__isSmartRef__":true,"id":1245}},"1245":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1246":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1247":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1248":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1249":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1250":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1251":{"morph":{"__isSmartRef__":true,"id":1220},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1252":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1253":{"resizeWidth":true},"1254":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1255":{"submorphs":[{"__isSmartRef__":true,"id":1256}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":1272},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1283},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1284},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1285},"eventHandler":{"__isSmartRef__":true,"id":1286},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":1287},"layout":{"__isSmartRef__":true,"id":1288},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1289},"__LivelyClassName__":"lively.morphic.Box"},"1256":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":1257},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1263},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1260},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1264},"textChunks":[{"__isSmartRef__":true,"id":1265}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1267},"renderContextTable":{"__isSmartRef__":true,"id":1268},"eventHandler":{"__isSmartRef__":true,"id":1269},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1270},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1271},"owner":{"__isSmartRef__":true,"id":1255},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1257":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1258},"_Extent":{"__isSmartRef__":true,"id":1259},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1260},"renderContextTable":{"__isSmartRef__":true,"id":1261},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1262},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1258":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1259":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1260":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1261":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1262":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1263":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1264":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1265":{"style":{"__isSmartRef__":true,"id":1266},"chunkOwner":{"__isSmartRef__":true,"id":1256},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1266":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1267":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1268":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1269":{"morph":{"__isSmartRef__":true,"id":1256},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1270":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1271":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1272":{"position":{"__isSmartRef__":true,"id":1273},"_Extent":{"__isSmartRef__":true,"id":1274},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1275},"_Fill":{"__isSmartRef__":true,"id":1276},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1281},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1282},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1273":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1274":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1275":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1276":{"stops":[{"__isSmartRef__":true,"id":1277},{"__isSmartRef__":true,"id":1279}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1277":{"offset":0,"color":{"__isSmartRef__":true,"id":1278}},"1278":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1279":{"offset":1,"color":{"__isSmartRef__":true,"id":1280}},"1280":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1282":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1283":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1284":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1285":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1286":{"morph":{"__isSmartRef__":true,"id":1255},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1287":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1288":{"resizeWidth":true},"1289":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1290":{"submorphs":[{"__isSmartRef__":true,"id":1291}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":1307},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1318},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1319},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1320},"eventHandler":{"__isSmartRef__":true,"id":1321},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":1322},"layout":{"__isSmartRef__":true,"id":1323},"owner":{"__isSmartRef__":true,"id":996},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1324},"__LivelyClassName__":"lively.morphic.Box"},"1291":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":1292},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1298},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1295},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":1299},"textChunks":[{"__isSmartRef__":true,"id":1300}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1302},"renderContextTable":{"__isSmartRef__":true,"id":1303},"eventHandler":{"__isSmartRef__":true,"id":1304},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1305},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1306},"owner":{"__isSmartRef__":true,"id":1290},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1292":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1293},"_Extent":{"__isSmartRef__":true,"id":1294},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1295},"renderContextTable":{"__isSmartRef__":true,"id":1296},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1297},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1293":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1294":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1295":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1296":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1297":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1298":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1299":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1300":{"style":{"__isSmartRef__":true,"id":1301},"chunkOwner":{"__isSmartRef__":true,"id":1291},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1301":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1302":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1303":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1304":{"morph":{"__isSmartRef__":true,"id":1291},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1305":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1306":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1307":{"position":{"__isSmartRef__":true,"id":1308},"_Extent":{"__isSmartRef__":true,"id":1309},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1310},"_Fill":{"__isSmartRef__":true,"id":1311},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1316},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1317},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1308":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1309":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1310":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1311":{"stops":[{"__isSmartRef__":true,"id":1312},{"__isSmartRef__":true,"id":1314}],"vector":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1312":{"offset":0,"color":{"__isSmartRef__":true,"id":1313}},"1313":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1314":{"offset":1,"color":{"__isSmartRef__":true,"id":1315}},"1315":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1316":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1317":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1318":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1319":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1320":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1321":{"morph":{"__isSmartRef__":true,"id":1290},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1322":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1323":{"resizeWidth":true},"1324":{"onTouchStart":{"__isSmartRef__":true,"id":1033},"onTouchMove":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041}},"1325":{"position":{"__isSmartRef__":true,"id":1326},"_Extent":{"__isSmartRef__":true,"id":1327},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1328},"_Fill":{"__isSmartRef__":true,"id":1329},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1330},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1331},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1326":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1327":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1328":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1329":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1331":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1332":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1333":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1334":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1335":{"morph":{"__isSmartRef__":true,"id":996},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1336":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1337":{"resizeWidth":true,"adjustForNewBounds":true},"1338":{"onTouchStart":{"__isSmartRef__":true,"id":1339},"onTouchMove":{"__isSmartRef__":true,"id":1347},"onTouchEnd":{"__isSmartRef__":true,"id":1355},"stayInBounds":{"__isSmartRef__":true,"id":1363},"isInBounds":{"__isSmartRef__":true,"id":1367}},"1339":{"varMapping":{"__isSmartRef__":true,"id":1340},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1345},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1340":{"this":{"__isSmartRef__":true,"id":996},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1341}},"1341":{"$super":{"__isSmartRef__":true,"id":1342}},"1342":{"varMapping":{"__isSmartRef__":true,"id":1343},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1344},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1343":{"obj":{"__isSmartRef__":true,"id":996},"name":"onTouchStart"},"1344":{},"1345":{"timestamp":{"__isSmartRef__":true,"id":1346},"user":"sstamm","tags":[]},"1346":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"1347":{"varMapping":{"__isSmartRef__":true,"id":1348},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1353},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1348":{"this":{"__isSmartRef__":true,"id":996},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1349}},"1349":{"$super":{"__isSmartRef__":true,"id":1350}},"1350":{"varMapping":{"__isSmartRef__":true,"id":1351},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1352},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1351":{"obj":{"__isSmartRef__":true,"id":996},"name":"onTouchMove"},"1352":{},"1353":{"timestamp":{"__isSmartRef__":true,"id":1354},"user":"sstamm","tags":[]},"1354":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (W. Europe Standard Time)"},"1355":{"varMapping":{"__isSmartRef__":true,"id":1356},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1361},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1356":{"this":{"__isSmartRef__":true,"id":996},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1357}},"1357":{"$super":{"__isSmartRef__":true,"id":1358}},"1358":{"varMapping":{"__isSmartRef__":true,"id":1359},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1360},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1359":{"obj":{"__isSmartRef__":true,"id":996},"name":"onTouchEnd"},"1360":{},"1361":{"timestamp":{"__isSmartRef__":true,"id":1362},"user":"sstamm","tags":[]},"1362":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (W. Europe Standard Time)"},"1363":{"varMapping":{"__isSmartRef__":true,"id":1364},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1365},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1364":{"this":{"__isSmartRef__":true,"id":996}},"1365":{"timestamp":{"__isSmartRef__":true,"id":1366},"user":"sstamm","tags":[]},"1366":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (W. Europe Standard Time)"},"1367":{"varMapping":{"__isSmartRef__":true,"id":1368},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1369},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1368":{"this":{"__isSmartRef__":true,"id":996}},"1369":{"timestamp":{"__isSmartRef__":true,"id":1370},"user":"sstamm","tags":[]},"1370":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (W. Europe Standard Time)"},"1371":{"position":{"__isSmartRef__":true,"id":1372},"_Extent":{"__isSmartRef__":true,"id":1373},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1374},"_Fill":{"__isSmartRef__":true,"id":1375},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1376},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1377},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1372":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1373":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1374":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1375":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1376":{},"1377":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1378":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1379":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1380},{"__isSmartRef__":true,"id":1382},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1386}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1380":{"date":{"__isSmartRef__":true,"id":1381},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1381":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"1382":{"date":{"__isSmartRef__":true,"id":1383},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1383":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"1384":{"date":{"__isSmartRef__":true,"id":1385},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1385":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"1386":{"date":{"__isSmartRef__":true,"id":1387},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1387":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"1388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1389":{"morph":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1390":{"sourceObj":{"__isSmartRef__":true,"id":995},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":995},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1391":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1392":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1393":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1394":{"onrestore":{"__isSmartRef__":true,"id":1395},"initialize":{"__isSmartRef__":true,"id":1403},"addItem":{"__isSmartRef__":true,"id":1411},"createListItem":{"__isSmartRef__":true,"id":1415},"touchstartCallback":{"__isSmartRef__":true,"id":1033},"touchmoveCallback":{"__isSmartRef__":true,"id":1037},"touchendCallback":{"__isSmartRef__":true,"id":1041},"updateSelection":{"__isSmartRef__":true,"id":1419},"handleClick":{"__isSmartRef__":true,"id":1423},"initializeListEntries":{"__isSmartRef__":true,"id":1427}},"1395":{"varMapping":{"__isSmartRef__":true,"id":1396},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1401},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1396":{"this":{"__isSmartRef__":true,"id":995},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1397}},"1397":{"$super":{"__isSmartRef__":true,"id":1398}},"1398":{"varMapping":{"__isSmartRef__":true,"id":1399},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1400},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1399":{"obj":{"__isSmartRef__":true,"id":995},"name":"onrestore"},"1400":{},"1401":{"timestamp":{"__isSmartRef__":true,"id":1402},"user":"sstamm","tags":[]},"1402":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (W. Europe Standard Time)"},"1403":{"varMapping":{"__isSmartRef__":true,"id":1404},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":1409},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1404":{"this":{"__isSmartRef__":true,"id":995},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1405}},"1405":{"$super":{"__isSmartRef__":true,"id":1406}},"1406":{"varMapping":{"__isSmartRef__":true,"id":1407},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1408},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1407":{"obj":{"__isSmartRef__":true,"id":995},"name":"initialize"},"1408":{},"1409":{"timestamp":{"__isSmartRef__":true,"id":1410},"user":"sstamm","tags":[]},"1410":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (W. Europe Standard Time)"},"1411":{"varMapping":{"__isSmartRef__":true,"id":1412},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1412":{"this":{"__isSmartRef__":true,"id":995}},"1413":{"timestamp":{"__isSmartRef__":true,"id":1414},"user":"sstamm","tags":[]},"1414":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (W. Europe Standard Time)"},"1415":{"varMapping":{"__isSmartRef__":true,"id":1416},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1417},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1416":{"this":{"__isSmartRef__":true,"id":995}},"1417":{"timestamp":{"__isSmartRef__":true,"id":1418},"user":"sstamm","tags":[]},"1418":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (W. Europe Standard Time)"},"1419":{"varMapping":{"__isSmartRef__":true,"id":1420},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1421},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1420":{"this":{"__isSmartRef__":true,"id":995}},"1421":{"timestamp":{"__isSmartRef__":true,"id":1422},"user":"sstamm","tags":[]},"1422":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (W. Europe Standard Time)"},"1423":{"varMapping":{"__isSmartRef__":true,"id":1424},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1425},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1424":{"this":{"__isSmartRef__":true,"id":995}},"1425":{"timestamp":{"__isSmartRef__":true,"id":1426},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1426":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (W. Europe Standard Time)"},"1427":{"varMapping":{"__isSmartRef__":true,"id":1428},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1428":{"this":{"__isSmartRef__":true,"id":995}},"1429":{"timestamp":{"__isSmartRef__":true,"id":1430},"user":"conradcalmez","tags":[]},"1430":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (W. Europe Standard Time)"},"1431":{"onTouchStart":{"__isSmartRef__":true,"id":1432},"onTouchMove":{"__isSmartRef__":true,"id":1440},"onTouchEnd":{"__isSmartRef__":true,"id":1448},"stayInBounds":{"__isSmartRef__":true,"id":1456},"isInBounds":{"__isSmartRef__":true,"id":1460},"removeAllMenuItems":{"__isSmartRef__":true,"id":1464},"addItemMorph":{"__isSmartRef__":true,"id":1468}},"1432":{"varMapping":{"__isSmartRef__":true,"id":1433},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1438},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1433":{"this":{"__isSmartRef__":true,"id":980},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1434}},"1434":{"$super":{"__isSmartRef__":true,"id":1435}},"1435":{"varMapping":{"__isSmartRef__":true,"id":1436},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1436":{"obj":{"__isSmartRef__":true,"id":980},"name":"onTouchStart"},"1437":{},"1438":{"timestamp":{"__isSmartRef__":true,"id":1439},"user":"sstamm","tags":[]},"1439":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"1440":{"varMapping":{"__isSmartRef__":true,"id":1441},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n timeDelta = Math.max(1, timeDelta);\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n \n this.velocity = positionDelta*(-10/timeDelta);\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1446},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1441":{"this":{"__isSmartRef__":true,"id":980},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1442}},"1442":{"$super":{"__isSmartRef__":true,"id":1443}},"1443":{"varMapping":{"__isSmartRef__":true,"id":1444},"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":1445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1444":{"obj":{"__isSmartRef__":true,"id":980},"name":"onTouchMove"},"1445":{},"1446":{"timestamp":{"__isSmartRef__":true,"id":1447},"user":"sstamm","tags":[]},"1447":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:45:19 GMT+0100 (W. Europe Standard Time)"},"1448":{"varMapping":{"__isSmartRef__":true,"id":1449},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1454},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1449":{"this":{"__isSmartRef__":true,"id":980},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1450}},"1450":{"$super":{"__isSmartRef__":true,"id":1451}},"1451":{"varMapping":{"__isSmartRef__":true,"id":1452},"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":1453},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1452":{"obj":{"__isSmartRef__":true,"id":980},"name":"onTouchEnd"},"1453":{},"1454":{"timestamp":{"__isSmartRef__":true,"id":1455},"user":"sstamm","tags":[]},"1455":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:02:24 GMT+0200 (W. Europe Daylight Time)"},"1456":{"varMapping":{"__isSmartRef__":true,"id":1457},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta !== 0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1458},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1457":{"this":{"__isSmartRef__":true,"id":980}},"1458":{"timestamp":{"__isSmartRef__":true,"id":1459},"user":"sstamm","tags":[]},"1459":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:30:56 GMT+0100 (W. Europe Standard Time)"},"1460":{"varMapping":{"__isSmartRef__":true,"id":1461},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1462},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1461":{"this":{"__isSmartRef__":true,"id":980}},"1462":{"timestamp":{"__isSmartRef__":true,"id":1463},"user":"sstamm","tags":[]},"1463":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (W. Europe Standard Time)"},"1464":{"varMapping":{"__isSmartRef__":true,"id":1465},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1466},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1465":{"this":{"__isSmartRef__":true,"id":980}},"1466":{"timestamp":{"__isSmartRef__":true,"id":1467},"user":"sstamm","tags":[]},"1467":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (W. Europe Standard Time)"},"1468":{"varMapping":{"__isSmartRef__":true,"id":1469},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":1470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1469":{"this":{"__isSmartRef__":true,"id":980}},"1470":{"timestamp":{"__isSmartRef__":true,"id":1471},"user":"sstamm","tags":[]},"1471":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (W. Europe Standard Time)"},"1472":{"position":{"__isSmartRef__":true,"id":1473},"_Extent":{"__isSmartRef__":true,"id":1474},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1475},"_Fill":{"__isSmartRef__":true,"id":1476},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1477},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1478},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1473":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1474":{"x":100,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1475":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1476":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1478":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1479":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1480":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1481}],"revisionOnLoad":140998,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1481":{"date":{"__isSmartRef__":true,"id":1482},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1482":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (W. Europe Standard Time)"},"1483":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1484":{"morph":{"__isSmartRef__":true,"id":979},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1485":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1486}},"1486":{"test01IsMorph":{"__isSmartRef__":true,"id":1487}},"1487":{"varMapping":{"__isSmartRef__":true,"id":1488},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1488":{"this":{"__isSmartRef__":true,"id":1485}},"1489":{},"1490":{"adjustForNewBounds":true,"resizeWidth":false,"resizeHeight":true},"1491":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1492":{"position":{"__isSmartRef__":true,"id":1493},"_Extent":{"__isSmartRef__":true,"id":1494},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1495},"_Fill":{"__isSmartRef__":true,"id":1496},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1497},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1498},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1493":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1494":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1495":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1496":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1497":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1498":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1499":{"x":-174.5,"y":84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1500":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1501},{"__isSmartRef__":true,"id":1503},{"__isSmartRef__":true,"id":1505},{"__isSmartRef__":true,"id":1507}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1501":{"date":{"__isSmartRef__":true,"id":1502},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1502":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"1503":{"date":{"__isSmartRef__":true,"id":1504},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1504":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"1505":{"date":{"__isSmartRef__":true,"id":1506},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1506":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"1507":{"date":{"__isSmartRef__":true,"id":1508},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1508":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"1509":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1510":{"morph":{"__isSmartRef__":true,"id":978},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1511":{"sourceObj":{"__isSmartRef__":true,"id":978},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":978},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1512":{"sourceObj":{"__isSmartRef__":true,"id":978},"sourceAttrName":"title","targetObj":{"__isSmartRef__":true,"id":838},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1513":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1514":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1515":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1516":{"submorphs":[],"scripts":[],"id":"76730E8E-DDDB-400F-A48D-FA146A3CD680","shape":{"__isSmartRef__":true,"id":1517},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1524},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1525},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1526},"eventHandler":{"__isSmartRef__":true,"id":1527},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","BF6435A6-9E9E-4313-8565-B0C525800A72"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1528},"layout":{"__isSmartRef__":true,"id":1529},"lists":{"__isSmartRef__":true,"id":1530},"prevScroll":[0,0],"itemList":[],"_Rotation":0,"_Scale":0.998001,"owner":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1967},"__LivelyClassName__":"lively.morphic.Box"},"1517":{"position":{"__isSmartRef__":true,"id":1518},"_Extent":{"__isSmartRef__":true,"id":1519},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1520},"_Fill":{"__isSmartRef__":true,"id":1521},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1522},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1523},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1518":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1519":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1520":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1521":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1522":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1523":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1524":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1525":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1526":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1527":{"morph":{"__isSmartRef__":true,"id":1516},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1528":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1529":{"resizeWidth":true,"adjustForNewBounds":true},"1530":{"Parts":{"__isSmartRef__":true,"id":1531}},"1531":{"submorphs":[{"__isSmartRef__":true,"id":1532}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":1907},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1914},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1915},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1924},"eventHandler":{"__isSmartRef__":true,"id":1925},"attributeConnections":[{"__isSmartRef__":true,"id":1926}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":1927},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1928},"itemList":[{"__isSmartRef__":true,"id":1533},{"__isSmartRef__":true,"id":1581},{"__isSmartRef__":true,"id":1616},{"__isSmartRef__":true,"id":1651},{"__isSmartRef__":true,"id":1686},{"__isSmartRef__":true,"id":1721},{"__isSmartRef__":true,"id":1756},{"__isSmartRef__":true,"id":1791},{"__isSmartRef__":true,"id":1826}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1929},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1930},"__LivelyClassName__":"lively.morphic.Box"},"1532":{"submorphs":[{"__isSmartRef__":true,"id":1533},{"__isSmartRef__":true,"id":1581},{"__isSmartRef__":true,"id":1616},{"__isSmartRef__":true,"id":1651},{"__isSmartRef__":true,"id":1686},{"__isSmartRef__":true,"id":1721},{"__isSmartRef__":true,"id":1756},{"__isSmartRef__":true,"id":1791},{"__isSmartRef__":true,"id":1826}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":1861},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1868},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1869},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1870},"eventHandler":{"__isSmartRef__":true,"id":1871},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":1531},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1872},"layout":{"__isSmartRef__":true,"id":1873},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1874},"__LivelyClassName__":"lively.morphic.Box"},"1533":{"submorphs":[{"__isSmartRef__":true,"id":1534}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":1550},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1562},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":1563},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1564},"eventHandler":{"__isSmartRef__":true,"id":1565},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1566},"layout":{"__isSmartRef__":true,"id":1567},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1568},"__LivelyClassName__":"lively.morphic.Box"},"1534":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":1535},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1541},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1538},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1542},"textChunks":[{"__isSmartRef__":true,"id":1543}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1545},"renderContextTable":{"__isSmartRef__":true,"id":1546},"eventHandler":{"__isSmartRef__":true,"id":1547},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1548},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1549},"owner":{"__isSmartRef__":true,"id":1533},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1535":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1536},"_Extent":{"__isSmartRef__":true,"id":1537},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1538},"renderContextTable":{"__isSmartRef__":true,"id":1539},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1540},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1536":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1537":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1538":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1539":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1540":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1541":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1542":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1543":{"style":{"__isSmartRef__":true,"id":1544},"chunkOwner":{"__isSmartRef__":true,"id":1534},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1544":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1545":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1546":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1547":{"morph":{"__isSmartRef__":true,"id":1534},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1548":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1549":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1550":{"position":{"__isSmartRef__":true,"id":1551},"_Extent":{"__isSmartRef__":true,"id":1552},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1553},"_Fill":{"__isSmartRef__":true,"id":1554},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1560},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1561},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1551":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1552":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1553":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1554":{"stops":[{"__isSmartRef__":true,"id":1555},{"__isSmartRef__":true,"id":1557}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1555":{"offset":0,"color":{"__isSmartRef__":true,"id":1556}},"1556":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1557":{"offset":1,"color":{"__isSmartRef__":true,"id":1558}},"1558":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1559":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1560":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1561":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1562":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1563":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1564":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1565":{"morph":{"__isSmartRef__":true,"id":1533},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1566":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1567":{"resizeWidth":true},"1568":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1569":{"varMapping":{"__isSmartRef__":true,"id":1570},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1571},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1570":{"this":{"__isSmartRef__":true,"id":1531}},"1571":{"timestamp":{"__isSmartRef__":true,"id":1572},"user":"sstamm","tags":[]},"1572":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"1573":{"varMapping":{"__isSmartRef__":true,"id":1574},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1575},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1574":{"this":{"__isSmartRef__":true,"id":1531}},"1575":{"timestamp":{"__isSmartRef__":true,"id":1576},"user":"sstamm","tags":[]},"1576":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"1577":{"varMapping":{"__isSmartRef__":true,"id":1578},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1579},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1578":{"this":{"__isSmartRef__":true,"id":1531}},"1579":{"timestamp":{"__isSmartRef__":true,"id":1580},"user":"sstamm","tags":[]},"1580":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (W. Europe Standard Time)"},"1581":{"submorphs":[{"__isSmartRef__":true,"id":1582}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":1598},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1609},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":1610},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1611},"eventHandler":{"__isSmartRef__":true,"id":1612},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":1613},"layout":{"__isSmartRef__":true,"id":1614},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1615},"__LivelyClassName__":"lively.morphic.Box"},"1582":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":1583},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1589},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1586},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1590},"textChunks":[{"__isSmartRef__":true,"id":1591}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1593},"renderContextTable":{"__isSmartRef__":true,"id":1594},"eventHandler":{"__isSmartRef__":true,"id":1595},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1596},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1597},"owner":{"__isSmartRef__":true,"id":1581},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1583":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1584},"_Extent":{"__isSmartRef__":true,"id":1585},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1586},"renderContextTable":{"__isSmartRef__":true,"id":1587},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1588},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1584":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1585":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1586":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1587":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1588":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1589":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1590":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1591":{"style":{"__isSmartRef__":true,"id":1592},"chunkOwner":{"__isSmartRef__":true,"id":1582},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1592":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1593":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1595":{"morph":{"__isSmartRef__":true,"id":1582},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1596":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1597":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1598":{"position":{"__isSmartRef__":true,"id":1599},"_Extent":{"__isSmartRef__":true,"id":1600},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1601},"_Fill":{"__isSmartRef__":true,"id":1602},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1607},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1608},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1599":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1600":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1601":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1602":{"stops":[{"__isSmartRef__":true,"id":1603},{"__isSmartRef__":true,"id":1605}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1603":{"offset":0,"color":{"__isSmartRef__":true,"id":1604}},"1604":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1605":{"offset":1,"color":{"__isSmartRef__":true,"id":1606}},"1606":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1607":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1608":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1609":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1610":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1611":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1612":{"morph":{"__isSmartRef__":true,"id":1581},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1613":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1614":{"resizeWidth":true},"1615":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1616":{"submorphs":[{"__isSmartRef__":true,"id":1617}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":1633},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1644},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1645},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1646},"eventHandler":{"__isSmartRef__":true,"id":1647},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":1648},"layout":{"__isSmartRef__":true,"id":1649},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1650},"__LivelyClassName__":"lively.morphic.Box"},"1617":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":1618},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1624},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1621},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1625},"textChunks":[{"__isSmartRef__":true,"id":1626}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1628},"renderContextTable":{"__isSmartRef__":true,"id":1629},"eventHandler":{"__isSmartRef__":true,"id":1630},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1631},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1632},"owner":{"__isSmartRef__":true,"id":1616},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1618":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1619},"_Extent":{"__isSmartRef__":true,"id":1620},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1621},"renderContextTable":{"__isSmartRef__":true,"id":1622},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1623},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1619":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1620":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1621":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1622":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1623":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1624":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1625":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1626":{"style":{"__isSmartRef__":true,"id":1627},"chunkOwner":{"__isSmartRef__":true,"id":1617},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1627":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1628":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1629":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1630":{"morph":{"__isSmartRef__":true,"id":1617},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1631":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1632":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1633":{"position":{"__isSmartRef__":true,"id":1634},"_Extent":{"__isSmartRef__":true,"id":1635},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1636},"_Fill":{"__isSmartRef__":true,"id":1637},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1642},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1643},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1634":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1635":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1636":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1637":{"stops":[{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1640}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1638":{"offset":0,"color":{"__isSmartRef__":true,"id":1639}},"1639":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1640":{"offset":1,"color":{"__isSmartRef__":true,"id":1641}},"1641":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1642":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1643":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1644":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1645":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1646":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1647":{"morph":{"__isSmartRef__":true,"id":1616},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1648":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1649":{"resizeWidth":true},"1650":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1651":{"submorphs":[{"__isSmartRef__":true,"id":1652}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":1668},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1679},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1680},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1681},"eventHandler":{"__isSmartRef__":true,"id":1682},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":1683},"layout":{"__isSmartRef__":true,"id":1684},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1685},"__LivelyClassName__":"lively.morphic.Box"},"1652":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":1653},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1659},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1656},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1660},"textChunks":[{"__isSmartRef__":true,"id":1661}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1663},"renderContextTable":{"__isSmartRef__":true,"id":1664},"eventHandler":{"__isSmartRef__":true,"id":1665},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1666},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1667},"owner":{"__isSmartRef__":true,"id":1651},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1653":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1654},"_Extent":{"__isSmartRef__":true,"id":1655},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1656},"renderContextTable":{"__isSmartRef__":true,"id":1657},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1658},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1654":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1655":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1656":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1657":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1658":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1659":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1660":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1661":{"style":{"__isSmartRef__":true,"id":1662},"chunkOwner":{"__isSmartRef__":true,"id":1652},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1662":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1663":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1664":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1665":{"morph":{"__isSmartRef__":true,"id":1652},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1666":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1667":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1668":{"position":{"__isSmartRef__":true,"id":1669},"_Extent":{"__isSmartRef__":true,"id":1670},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1671},"_Fill":{"__isSmartRef__":true,"id":1672},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1677},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1678},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1669":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1670":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1671":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1672":{"stops":[{"__isSmartRef__":true,"id":1673},{"__isSmartRef__":true,"id":1675}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1673":{"offset":0,"color":{"__isSmartRef__":true,"id":1674}},"1674":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1675":{"offset":1,"color":{"__isSmartRef__":true,"id":1676}},"1676":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1677":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1678":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1679":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1680":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1681":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1682":{"morph":{"__isSmartRef__":true,"id":1651},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1683":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1684":{"resizeWidth":true},"1685":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1686":{"submorphs":[{"__isSmartRef__":true,"id":1687}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":1703},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1714},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1715},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1716},"eventHandler":{"__isSmartRef__":true,"id":1717},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1718},"layout":{"__isSmartRef__":true,"id":1719},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1720},"__LivelyClassName__":"lively.morphic.Box"},"1687":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":1688},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1694},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1691},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1695},"textChunks":[{"__isSmartRef__":true,"id":1696}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1698},"renderContextTable":{"__isSmartRef__":true,"id":1699},"eventHandler":{"__isSmartRef__":true,"id":1700},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1701},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1702},"owner":{"__isSmartRef__":true,"id":1686},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1688":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1689},"_Extent":{"__isSmartRef__":true,"id":1690},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1691},"renderContextTable":{"__isSmartRef__":true,"id":1692},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1693},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1689":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1690":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1691":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1692":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1693":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1694":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1695":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1696":{"style":{"__isSmartRef__":true,"id":1697},"chunkOwner":{"__isSmartRef__":true,"id":1687},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1697":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1698":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1699":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1700":{"morph":{"__isSmartRef__":true,"id":1687},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1701":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1702":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1703":{"position":{"__isSmartRef__":true,"id":1704},"_Extent":{"__isSmartRef__":true,"id":1705},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1706},"_Fill":{"__isSmartRef__":true,"id":1707},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1712},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1713},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1704":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1705":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1706":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1707":{"stops":[{"__isSmartRef__":true,"id":1708},{"__isSmartRef__":true,"id":1710}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1708":{"offset":0,"color":{"__isSmartRef__":true,"id":1709}},"1709":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1710":{"offset":1,"color":{"__isSmartRef__":true,"id":1711}},"1711":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1712":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1713":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1714":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1715":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1716":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1717":{"morph":{"__isSmartRef__":true,"id":1686},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1718":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1719":{"resizeWidth":true},"1720":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1721":{"submorphs":[{"__isSmartRef__":true,"id":1722}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":1738},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1749},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1750},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1751},"eventHandler":{"__isSmartRef__":true,"id":1752},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":1753},"layout":{"__isSmartRef__":true,"id":1754},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1755},"__LivelyClassName__":"lively.morphic.Box"},"1722":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":1723},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1729},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1726},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1730},"textChunks":[{"__isSmartRef__":true,"id":1731}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1733},"renderContextTable":{"__isSmartRef__":true,"id":1734},"eventHandler":{"__isSmartRef__":true,"id":1735},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1736},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1737},"owner":{"__isSmartRef__":true,"id":1721},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1723":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1724},"_Extent":{"__isSmartRef__":true,"id":1725},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1726},"renderContextTable":{"__isSmartRef__":true,"id":1727},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1728},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1724":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1725":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1726":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1727":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1728":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1729":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1730":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1731":{"style":{"__isSmartRef__":true,"id":1732},"chunkOwner":{"__isSmartRef__":true,"id":1722},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1732":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1733":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1734":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1735":{"morph":{"__isSmartRef__":true,"id":1722},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1736":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1737":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1738":{"position":{"__isSmartRef__":true,"id":1739},"_Extent":{"__isSmartRef__":true,"id":1740},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1741},"_Fill":{"__isSmartRef__":true,"id":1742},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1747},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1748},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1739":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1740":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1741":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1742":{"stops":[{"__isSmartRef__":true,"id":1743},{"__isSmartRef__":true,"id":1745}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1743":{"offset":0,"color":{"__isSmartRef__":true,"id":1744}},"1744":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1745":{"offset":1,"color":{"__isSmartRef__":true,"id":1746}},"1746":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1747":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1748":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1749":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1750":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1751":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1752":{"morph":{"__isSmartRef__":true,"id":1721},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1753":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1754":{"resizeWidth":true},"1755":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1756":{"submorphs":[{"__isSmartRef__":true,"id":1757}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":1773},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1784},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1785},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1786},"eventHandler":{"__isSmartRef__":true,"id":1787},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":1788},"layout":{"__isSmartRef__":true,"id":1789},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1790},"__LivelyClassName__":"lively.morphic.Box"},"1757":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":1758},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1764},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1761},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1765},"textChunks":[{"__isSmartRef__":true,"id":1766}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1768},"renderContextTable":{"__isSmartRef__":true,"id":1769},"eventHandler":{"__isSmartRef__":true,"id":1770},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1771},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1772},"owner":{"__isSmartRef__":true,"id":1756},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1758":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1759},"_Extent":{"__isSmartRef__":true,"id":1760},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1761},"renderContextTable":{"__isSmartRef__":true,"id":1762},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1763},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1759":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1760":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1761":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1762":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1763":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1764":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1765":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1766":{"style":{"__isSmartRef__":true,"id":1767},"chunkOwner":{"__isSmartRef__":true,"id":1757},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1767":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1768":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1769":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1770":{"morph":{"__isSmartRef__":true,"id":1757},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1771":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1772":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1773":{"position":{"__isSmartRef__":true,"id":1774},"_Extent":{"__isSmartRef__":true,"id":1775},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1776},"_Fill":{"__isSmartRef__":true,"id":1777},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1782},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1783},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1774":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1775":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1776":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1777":{"stops":[{"__isSmartRef__":true,"id":1778},{"__isSmartRef__":true,"id":1780}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1778":{"offset":0,"color":{"__isSmartRef__":true,"id":1779}},"1779":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1780":{"offset":1,"color":{"__isSmartRef__":true,"id":1781}},"1781":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1782":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1783":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1784":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1785":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1786":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1787":{"morph":{"__isSmartRef__":true,"id":1756},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1788":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1789":{"resizeWidth":true},"1790":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1791":{"submorphs":[{"__isSmartRef__":true,"id":1792}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":1808},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1819},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1820},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1821},"eventHandler":{"__isSmartRef__":true,"id":1822},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":1823},"layout":{"__isSmartRef__":true,"id":1824},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1825},"__LivelyClassName__":"lively.morphic.Box"},"1792":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":1793},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1799},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1796},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1800},"textChunks":[{"__isSmartRef__":true,"id":1801}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1803},"renderContextTable":{"__isSmartRef__":true,"id":1804},"eventHandler":{"__isSmartRef__":true,"id":1805},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1806},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1807},"owner":{"__isSmartRef__":true,"id":1791},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1793":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1794},"_Extent":{"__isSmartRef__":true,"id":1795},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1796},"renderContextTable":{"__isSmartRef__":true,"id":1797},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1798},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1794":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1795":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1796":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1797":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1798":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1799":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1800":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1801":{"style":{"__isSmartRef__":true,"id":1802},"chunkOwner":{"__isSmartRef__":true,"id":1792},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1802":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1803":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1804":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1805":{"morph":{"__isSmartRef__":true,"id":1792},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1806":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1807":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1808":{"position":{"__isSmartRef__":true,"id":1809},"_Extent":{"__isSmartRef__":true,"id":1810},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1811},"_Fill":{"__isSmartRef__":true,"id":1812},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1817},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1818},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1809":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1810":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1811":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1812":{"stops":[{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1815}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1813":{"offset":0,"color":{"__isSmartRef__":true,"id":1814}},"1814":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1815":{"offset":1,"color":{"__isSmartRef__":true,"id":1816}},"1816":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1818":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1819":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1820":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1821":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1822":{"morph":{"__isSmartRef__":true,"id":1791},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1823":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1824":{"resizeWidth":true},"1825":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1826":{"submorphs":[{"__isSmartRef__":true,"id":1827}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":1843},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1854},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1855},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1856},"eventHandler":{"__isSmartRef__":true,"id":1857},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":1858},"layout":{"__isSmartRef__":true,"id":1859},"owner":{"__isSmartRef__":true,"id":1532},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1860},"__LivelyClassName__":"lively.morphic.Box"},"1827":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":1828},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1834},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1831},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":1835},"textChunks":[{"__isSmartRef__":true,"id":1836}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1838},"renderContextTable":{"__isSmartRef__":true,"id":1839},"eventHandler":{"__isSmartRef__":true,"id":1840},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1841},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1842},"owner":{"__isSmartRef__":true,"id":1826},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1828":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1829},"_Extent":{"__isSmartRef__":true,"id":1830},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1831},"renderContextTable":{"__isSmartRef__":true,"id":1832},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1833},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1829":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1830":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1831":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1832":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1833":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1834":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1835":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1836":{"style":{"__isSmartRef__":true,"id":1837},"chunkOwner":{"__isSmartRef__":true,"id":1827},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1837":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1838":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1839":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1840":{"morph":{"__isSmartRef__":true,"id":1827},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1841":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1842":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1843":{"position":{"__isSmartRef__":true,"id":1844},"_Extent":{"__isSmartRef__":true,"id":1845},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1846},"_Fill":{"__isSmartRef__":true,"id":1847},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1852},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1853},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1844":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1845":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1846":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1847":{"stops":[{"__isSmartRef__":true,"id":1848},{"__isSmartRef__":true,"id":1850}],"vector":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1848":{"offset":0,"color":{"__isSmartRef__":true,"id":1849}},"1849":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1850":{"offset":1,"color":{"__isSmartRef__":true,"id":1851}},"1851":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1852":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1853":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1854":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1855":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1856":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1857":{"morph":{"__isSmartRef__":true,"id":1826},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1858":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1859":{"resizeWidth":true},"1860":{"onTouchStart":{"__isSmartRef__":true,"id":1569},"onTouchMove":{"__isSmartRef__":true,"id":1573},"onTouchEnd":{"__isSmartRef__":true,"id":1577}},"1861":{"position":{"__isSmartRef__":true,"id":1862},"_Extent":{"__isSmartRef__":true,"id":1863},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1864},"_Fill":{"__isSmartRef__":true,"id":1865},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1866},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1867},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1862":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1863":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1864":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1865":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1866":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1867":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1868":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1869":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1870":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1871":{"morph":{"__isSmartRef__":true,"id":1532},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1872":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1873":{"resizeWidth":true,"adjustForNewBounds":true},"1874":{"onTouchStart":{"__isSmartRef__":true,"id":1875},"onTouchMove":{"__isSmartRef__":true,"id":1883},"onTouchEnd":{"__isSmartRef__":true,"id":1891},"stayInBounds":{"__isSmartRef__":true,"id":1899},"isInBounds":{"__isSmartRef__":true,"id":1903}},"1875":{"varMapping":{"__isSmartRef__":true,"id":1876},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1876":{"this":{"__isSmartRef__":true,"id":1532},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1877}},"1877":{"$super":{"__isSmartRef__":true,"id":1878}},"1878":{"varMapping":{"__isSmartRef__":true,"id":1879},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1880},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1879":{"obj":{"__isSmartRef__":true,"id":1532},"name":"onTouchStart"},"1880":{},"1881":{"timestamp":{"__isSmartRef__":true,"id":1882},"user":"sstamm","tags":[]},"1882":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"1883":{"varMapping":{"__isSmartRef__":true,"id":1884},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1889},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1884":{"this":{"__isSmartRef__":true,"id":1532},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1885}},"1885":{"$super":{"__isSmartRef__":true,"id":1886}},"1886":{"varMapping":{"__isSmartRef__":true,"id":1887},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1888},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1887":{"obj":{"__isSmartRef__":true,"id":1532},"name":"onTouchMove"},"1888":{},"1889":{"timestamp":{"__isSmartRef__":true,"id":1890},"user":"sstamm","tags":[]},"1890":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (W. Europe Standard Time)"},"1891":{"varMapping":{"__isSmartRef__":true,"id":1892},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1897},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1892":{"this":{"__isSmartRef__":true,"id":1532},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1893}},"1893":{"$super":{"__isSmartRef__":true,"id":1894}},"1894":{"varMapping":{"__isSmartRef__":true,"id":1895},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1896},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1895":{"obj":{"__isSmartRef__":true,"id":1532},"name":"onTouchEnd"},"1896":{},"1897":{"timestamp":{"__isSmartRef__":true,"id":1898},"user":"sstamm","tags":[]},"1898":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (W. Europe Standard Time)"},"1899":{"varMapping":{"__isSmartRef__":true,"id":1900},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1901},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1900":{"this":{"__isSmartRef__":true,"id":1532}},"1901":{"timestamp":{"__isSmartRef__":true,"id":1902},"user":"sstamm","tags":[]},"1902":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (W. Europe Standard Time)"},"1903":{"varMapping":{"__isSmartRef__":true,"id":1904},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1905},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1904":{"this":{"__isSmartRef__":true,"id":1532}},"1905":{"timestamp":{"__isSmartRef__":true,"id":1906},"user":"sstamm","tags":[]},"1906":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (W. Europe Standard Time)"},"1907":{"position":{"__isSmartRef__":true,"id":1908},"_Extent":{"__isSmartRef__":true,"id":1909},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1910},"_Fill":{"__isSmartRef__":true,"id":1911},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1912},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1913},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1908":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1909":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1910":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1911":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1912":{},"1913":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1914":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1915":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1918},{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1922}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1916":{"date":{"__isSmartRef__":true,"id":1917},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1917":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"1918":{"date":{"__isSmartRef__":true,"id":1919},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1919":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"1920":{"date":{"__isSmartRef__":true,"id":1921},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1921":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"1922":{"date":{"__isSmartRef__":true,"id":1923},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1923":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"1924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1925":{"morph":{"__isSmartRef__":true,"id":1531},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1926":{"sourceObj":{"__isSmartRef__":true,"id":1531},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1531},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1927":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1928":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1929":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1930":{"onrestore":{"__isSmartRef__":true,"id":1931},"initialize":{"__isSmartRef__":true,"id":1939},"addItem":{"__isSmartRef__":true,"id":1947},"createListItem":{"__isSmartRef__":true,"id":1951},"touchstartCallback":{"__isSmartRef__":true,"id":1569},"touchmoveCallback":{"__isSmartRef__":true,"id":1573},"touchendCallback":{"__isSmartRef__":true,"id":1577},"updateSelection":{"__isSmartRef__":true,"id":1955},"handleClick":{"__isSmartRef__":true,"id":1959},"initializeListEntries":{"__isSmartRef__":true,"id":1963}},"1931":{"varMapping":{"__isSmartRef__":true,"id":1932},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1932":{"this":{"__isSmartRef__":true,"id":1531},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1933}},"1933":{"$super":{"__isSmartRef__":true,"id":1934}},"1934":{"varMapping":{"__isSmartRef__":true,"id":1935},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1936},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1935":{"obj":{"__isSmartRef__":true,"id":1531},"name":"onrestore"},"1936":{},"1937":{"timestamp":{"__isSmartRef__":true,"id":1938},"user":"sstamm","tags":[]},"1938":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (W. Europe Standard Time)"},"1939":{"varMapping":{"__isSmartRef__":true,"id":1940},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":1945},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1940":{"this":{"__isSmartRef__":true,"id":1531},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1941}},"1941":{"$super":{"__isSmartRef__":true,"id":1942}},"1942":{"varMapping":{"__isSmartRef__":true,"id":1943},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1944},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1943":{"obj":{"__isSmartRef__":true,"id":1531},"name":"initialize"},"1944":{},"1945":{"timestamp":{"__isSmartRef__":true,"id":1946},"user":"sstamm","tags":[]},"1946":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (W. Europe Standard Time)"},"1947":{"varMapping":{"__isSmartRef__":true,"id":1948},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1949},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1948":{"this":{"__isSmartRef__":true,"id":1531}},"1949":{"timestamp":{"__isSmartRef__":true,"id":1950},"user":"sstamm","tags":[]},"1950":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (W. Europe Standard Time)"},"1951":{"varMapping":{"__isSmartRef__":true,"id":1952},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1953},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1952":{"this":{"__isSmartRef__":true,"id":1531}},"1953":{"timestamp":{"__isSmartRef__":true,"id":1954},"user":"sstamm","tags":[]},"1954":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (W. Europe Standard Time)"},"1955":{"varMapping":{"__isSmartRef__":true,"id":1956},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1957},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1956":{"this":{"__isSmartRef__":true,"id":1531}},"1957":{"timestamp":{"__isSmartRef__":true,"id":1958},"user":"sstamm","tags":[]},"1958":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (W. Europe Standard Time)"},"1959":{"varMapping":{"__isSmartRef__":true,"id":1960},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1961},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1960":{"this":{"__isSmartRef__":true,"id":1531}},"1961":{"timestamp":{"__isSmartRef__":true,"id":1962},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1962":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (W. Europe Standard Time)"},"1963":{"varMapping":{"__isSmartRef__":true,"id":1964},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1965},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1964":{"this":{"__isSmartRef__":true,"id":1531}},"1965":{"timestamp":{"__isSmartRef__":true,"id":1966},"user":"conradcalmez","tags":[]},"1966":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (W. Europe Standard Time)"},"1967":{"onTouchStart":{"__isSmartRef__":true,"id":1968},"onTouchMove":{"__isSmartRef__":true,"id":1976},"onTouchEnd":{"__isSmartRef__":true,"id":1980},"stayInBounds":{"__isSmartRef__":true,"id":1988},"isInBounds":{"__isSmartRef__":true,"id":1992},"removeAllMenuItems":{"__isSmartRef__":true,"id":1996},"addItemMorph":{"__isSmartRef__":true,"id":2000}},"1968":{"varMapping":{"__isSmartRef__":true,"id":1969},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1969":{"this":{"__isSmartRef__":true,"id":1516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1970}},"1970":{"$super":{"__isSmartRef__":true,"id":1971}},"1971":{"varMapping":{"__isSmartRef__":true,"id":1972},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1972":{"obj":{"__isSmartRef__":true,"id":1516},"name":"onTouchStart"},"1973":{},"1974":{"timestamp":{"__isSmartRef__":true,"id":1975},"user":"sstamm","tags":[]},"1975":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"1976":{"varMapping":{"__isSmartRef__":true,"id":1977},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1978},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1977":{"this":{"__isSmartRef__":true,"id":1516}},"1978":{"timestamp":{"__isSmartRef__":true,"id":1979},"user":"sstamm","tags":[]},"1979":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (W. Europe Standard Time)"},"1980":{"varMapping":{"__isSmartRef__":true,"id":1981},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1981":{"this":{"__isSmartRef__":true,"id":1516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1982}},"1982":{"$super":{"__isSmartRef__":true,"id":1983}},"1983":{"varMapping":{"__isSmartRef__":true,"id":1984},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1985},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1984":{"obj":{"__isSmartRef__":true,"id":1516},"name":"onTouchEnd"},"1985":{},"1986":{"timestamp":{"__isSmartRef__":true,"id":1987},"user":"sstamm","tags":[]},"1987":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (W. Europe Standard Time)"},"1988":{"varMapping":{"__isSmartRef__":true,"id":1989},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1990},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1989":{"this":{"__isSmartRef__":true,"id":1516}},"1990":{"timestamp":{"__isSmartRef__":true,"id":1991},"user":"sstamm","tags":[]},"1991":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (W. Europe Standard Time)"},"1992":{"varMapping":{"__isSmartRef__":true,"id":1993},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1993":{"this":{"__isSmartRef__":true,"id":1516}},"1994":{"timestamp":{"__isSmartRef__":true,"id":1995},"user":"sstamm","tags":[]},"1995":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (W. Europe Standard Time)"},"1996":{"varMapping":{"__isSmartRef__":true,"id":1997},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1998},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1997":{"this":{"__isSmartRef__":true,"id":1516}},"1998":{"timestamp":{"__isSmartRef__":true,"id":1999},"user":"sstamm","tags":[]},"1999":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (W. Europe Standard Time)"},"2000":{"varMapping":{"__isSmartRef__":true,"id":2001},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":2002},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2001":{"this":{"__isSmartRef__":true,"id":1516}},"2002":{"timestamp":{"__isSmartRef__":true,"id":2003},"user":"sstamm","tags":[]},"2003":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (W. Europe Standard Time)"},"2004":{"submorphs":[],"scripts":[],"id":"C20C81D5-32CE-44FC-AF44-45BDC8A23D2E","shape":{"__isSmartRef__":true,"id":2005},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2012},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2013},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2014},"eventHandler":{"__isSmartRef__":true,"id":2015},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","BF6435A6-9E9E-4313-8565-B0C525800A72","76730E8E-DDDB-400F-A48D-FA146A3CD680"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2016},"layout":{"__isSmartRef__":true,"id":2017},"lists":{"__isSmartRef__":true,"id":2018},"prevScroll":[0,0],"itemList":[],"_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2455},"__LivelyClassName__":"lively.morphic.Box"},"2005":{"position":{"__isSmartRef__":true,"id":2006},"_Extent":{"__isSmartRef__":true,"id":2007},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2008},"_Fill":{"__isSmartRef__":true,"id":2009},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2010},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2011},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2006":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2007":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2008":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2009":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2010":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2011":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2012":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2013":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2014":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2015":{"morph":{"__isSmartRef__":true,"id":2004},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2016":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2017":{"resizeWidth":true,"adjustForNewBounds":true},"2018":{"Parts":{"__isSmartRef__":true,"id":2019}},"2019":{"submorphs":[{"__isSmartRef__":true,"id":2020}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":2395},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2402},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2403},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2412},"eventHandler":{"__isSmartRef__":true,"id":2413},"attributeConnections":[{"__isSmartRef__":true,"id":2414}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":2415},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2416},"itemList":[{"__isSmartRef__":true,"id":2021},{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2104},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2209},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2279},{"__isSmartRef__":true,"id":2314}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2417},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2418},"__LivelyClassName__":"lively.morphic.Box"},"2020":{"submorphs":[{"__isSmartRef__":true,"id":2021},{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2104},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2209},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2279},{"__isSmartRef__":true,"id":2314}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":2349},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2356},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2357},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2358},"eventHandler":{"__isSmartRef__":true,"id":2359},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":2019},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2360},"layout":{"__isSmartRef__":true,"id":2361},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2362},"__LivelyClassName__":"lively.morphic.Box"},"2021":{"submorphs":[{"__isSmartRef__":true,"id":2022}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":2038},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2050},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":2051},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2052},"eventHandler":{"__isSmartRef__":true,"id":2053},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":2054},"layout":{"__isSmartRef__":true,"id":2055},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2056},"__LivelyClassName__":"lively.morphic.Box"},"2022":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":2023},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2029},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2026},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":2030},"textChunks":[{"__isSmartRef__":true,"id":2031}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2033},"renderContextTable":{"__isSmartRef__":true,"id":2034},"eventHandler":{"__isSmartRef__":true,"id":2035},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2036},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2037},"owner":{"__isSmartRef__":true,"id":2021},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2023":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2024},"_Extent":{"__isSmartRef__":true,"id":2025},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2026},"renderContextTable":{"__isSmartRef__":true,"id":2027},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2028},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2024":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2025":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2026":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2027":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2028":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2029":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2030":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2031":{"style":{"__isSmartRef__":true,"id":2032},"chunkOwner":{"__isSmartRef__":true,"id":2022},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2032":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2033":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2035":{"morph":{"__isSmartRef__":true,"id":2022},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2036":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2037":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2038":{"position":{"__isSmartRef__":true,"id":2039},"_Extent":{"__isSmartRef__":true,"id":2040},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2041},"_Fill":{"__isSmartRef__":true,"id":2042},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2048},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2039":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2040":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2041":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2042":{"stops":[{"__isSmartRef__":true,"id":2043},{"__isSmartRef__":true,"id":2045}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2043":{"offset":0,"color":{"__isSmartRef__":true,"id":2044}},"2044":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2045":{"offset":1,"color":{"__isSmartRef__":true,"id":2046}},"2046":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2047":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2050":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2051":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2053":{"morph":{"__isSmartRef__":true,"id":2021},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2054":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2055":{"resizeWidth":true},"2056":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2057":{"varMapping":{"__isSmartRef__":true,"id":2058},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2059},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2058":{"this":{"__isSmartRef__":true,"id":2019}},"2059":{"timestamp":{"__isSmartRef__":true,"id":2060},"user":"sstamm","tags":[]},"2060":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"2061":{"varMapping":{"__isSmartRef__":true,"id":2062},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":2063},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2062":{"this":{"__isSmartRef__":true,"id":2019}},"2063":{"timestamp":{"__isSmartRef__":true,"id":2064},"user":"sstamm","tags":[]},"2064":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"2065":{"varMapping":{"__isSmartRef__":true,"id":2066},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2066":{"this":{"__isSmartRef__":true,"id":2019}},"2067":{"timestamp":{"__isSmartRef__":true,"id":2068},"user":"sstamm","tags":[]},"2068":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (W. Europe Standard Time)"},"2069":{"submorphs":[{"__isSmartRef__":true,"id":2070}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":2086},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2097},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":2098},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2099},"eventHandler":{"__isSmartRef__":true,"id":2100},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2101},"layout":{"__isSmartRef__":true,"id":2102},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2103},"__LivelyClassName__":"lively.morphic.Box"},"2070":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":2071},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2077},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2074},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":2078},"textChunks":[{"__isSmartRef__":true,"id":2079}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2081},"renderContextTable":{"__isSmartRef__":true,"id":2082},"eventHandler":{"__isSmartRef__":true,"id":2083},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2084},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2085},"owner":{"__isSmartRef__":true,"id":2069},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2071":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2072},"_Extent":{"__isSmartRef__":true,"id":2073},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2074},"renderContextTable":{"__isSmartRef__":true,"id":2075},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2076},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2072":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2073":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2074":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2075":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2076":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2077":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2078":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2079":{"style":{"__isSmartRef__":true,"id":2080},"chunkOwner":{"__isSmartRef__":true,"id":2070},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2080":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2081":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2082":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2083":{"morph":{"__isSmartRef__":true,"id":2070},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2084":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2085":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2086":{"position":{"__isSmartRef__":true,"id":2087},"_Extent":{"__isSmartRef__":true,"id":2088},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2089},"_Fill":{"__isSmartRef__":true,"id":2090},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2095},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2096},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2087":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2088":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2089":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2090":{"stops":[{"__isSmartRef__":true,"id":2091},{"__isSmartRef__":true,"id":2093}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2091":{"offset":0,"color":{"__isSmartRef__":true,"id":2092}},"2092":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2093":{"offset":1,"color":{"__isSmartRef__":true,"id":2094}},"2094":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2095":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2096":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2097":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2098":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2099":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2100":{"morph":{"__isSmartRef__":true,"id":2069},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2101":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2102":{"resizeWidth":true},"2103":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2104":{"submorphs":[{"__isSmartRef__":true,"id":2105}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":2121},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2132},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":2133},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2134},"eventHandler":{"__isSmartRef__":true,"id":2135},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2136},"layout":{"__isSmartRef__":true,"id":2137},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2138},"__LivelyClassName__":"lively.morphic.Box"},"2105":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":2106},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2112},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2109},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":2113},"textChunks":[{"__isSmartRef__":true,"id":2114}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2116},"renderContextTable":{"__isSmartRef__":true,"id":2117},"eventHandler":{"__isSmartRef__":true,"id":2118},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2119},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2120},"owner":{"__isSmartRef__":true,"id":2104},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2106":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2107},"_Extent":{"__isSmartRef__":true,"id":2108},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2109},"renderContextTable":{"__isSmartRef__":true,"id":2110},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2111},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2107":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2108":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2109":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2110":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2111":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2112":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2113":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2114":{"style":{"__isSmartRef__":true,"id":2115},"chunkOwner":{"__isSmartRef__":true,"id":2105},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2115":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2116":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2117":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2118":{"morph":{"__isSmartRef__":true,"id":2105},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2119":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2120":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2121":{"position":{"__isSmartRef__":true,"id":2122},"_Extent":{"__isSmartRef__":true,"id":2123},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2124},"_Fill":{"__isSmartRef__":true,"id":2125},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2130},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2131},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2122":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2123":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2124":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2125":{"stops":[{"__isSmartRef__":true,"id":2126},{"__isSmartRef__":true,"id":2128}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2126":{"offset":0,"color":{"__isSmartRef__":true,"id":2127}},"2127":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2128":{"offset":1,"color":{"__isSmartRef__":true,"id":2129}},"2129":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2130":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2131":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2132":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2133":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2134":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2135":{"morph":{"__isSmartRef__":true,"id":2104},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2136":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2137":{"resizeWidth":true},"2138":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2139":{"submorphs":[{"__isSmartRef__":true,"id":2140}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":2156},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2167},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":2168},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2169},"eventHandler":{"__isSmartRef__":true,"id":2170},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":2171},"layout":{"__isSmartRef__":true,"id":2172},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2173},"__LivelyClassName__":"lively.morphic.Box"},"2140":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":2141},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2147},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2144},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":2148},"textChunks":[{"__isSmartRef__":true,"id":2149}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2151},"renderContextTable":{"__isSmartRef__":true,"id":2152},"eventHandler":{"__isSmartRef__":true,"id":2153},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2154},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2155},"owner":{"__isSmartRef__":true,"id":2139},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2141":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2142},"_Extent":{"__isSmartRef__":true,"id":2143},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2144},"renderContextTable":{"__isSmartRef__":true,"id":2145},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2146},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2142":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2143":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2144":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2145":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2146":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2147":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2148":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2149":{"style":{"__isSmartRef__":true,"id":2150},"chunkOwner":{"__isSmartRef__":true,"id":2140},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2150":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2151":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2153":{"morph":{"__isSmartRef__":true,"id":2140},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2154":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2155":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2156":{"position":{"__isSmartRef__":true,"id":2157},"_Extent":{"__isSmartRef__":true,"id":2158},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2159},"_Fill":{"__isSmartRef__":true,"id":2160},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2165},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2166},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2157":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2158":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2159":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2160":{"stops":[{"__isSmartRef__":true,"id":2161},{"__isSmartRef__":true,"id":2163}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2161":{"offset":0,"color":{"__isSmartRef__":true,"id":2162}},"2162":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2163":{"offset":1,"color":{"__isSmartRef__":true,"id":2164}},"2164":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2165":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2166":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2167":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2168":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2169":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2170":{"morph":{"__isSmartRef__":true,"id":2139},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2171":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2172":{"resizeWidth":true},"2173":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2174":{"submorphs":[{"__isSmartRef__":true,"id":2175}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":2191},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2202},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":2203},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2204},"eventHandler":{"__isSmartRef__":true,"id":2205},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":2206},"layout":{"__isSmartRef__":true,"id":2207},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2208},"__LivelyClassName__":"lively.morphic.Box"},"2175":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":2176},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2182},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2179},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":2183},"textChunks":[{"__isSmartRef__":true,"id":2184}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2186},"renderContextTable":{"__isSmartRef__":true,"id":2187},"eventHandler":{"__isSmartRef__":true,"id":2188},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2189},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2190},"owner":{"__isSmartRef__":true,"id":2174},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2176":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2177},"_Extent":{"__isSmartRef__":true,"id":2178},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2179},"renderContextTable":{"__isSmartRef__":true,"id":2180},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2181},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2177":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2178":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2179":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2180":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2181":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2182":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2183":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2184":{"style":{"__isSmartRef__":true,"id":2185},"chunkOwner":{"__isSmartRef__":true,"id":2175},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2185":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2186":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2187":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2188":{"morph":{"__isSmartRef__":true,"id":2175},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2189":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2190":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2191":{"position":{"__isSmartRef__":true,"id":2192},"_Extent":{"__isSmartRef__":true,"id":2193},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2194},"_Fill":{"__isSmartRef__":true,"id":2195},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2200},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2201},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2192":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2193":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2194":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2195":{"stops":[{"__isSmartRef__":true,"id":2196},{"__isSmartRef__":true,"id":2198}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2196":{"offset":0,"color":{"__isSmartRef__":true,"id":2197}},"2197":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2198":{"offset":1,"color":{"__isSmartRef__":true,"id":2199}},"2199":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2200":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2201":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2202":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2203":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2204":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2205":{"morph":{"__isSmartRef__":true,"id":2174},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2206":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2207":{"resizeWidth":true},"2208":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2209":{"submorphs":[{"__isSmartRef__":true,"id":2210}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":2226},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2237},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":2238},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2239},"eventHandler":{"__isSmartRef__":true,"id":2240},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":2241},"layout":{"__isSmartRef__":true,"id":2242},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2243},"__LivelyClassName__":"lively.morphic.Box"},"2210":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":2211},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2217},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2214},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":2218},"textChunks":[{"__isSmartRef__":true,"id":2219}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2221},"renderContextTable":{"__isSmartRef__":true,"id":2222},"eventHandler":{"__isSmartRef__":true,"id":2223},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2224},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2225},"owner":{"__isSmartRef__":true,"id":2209},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2211":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2212},"_Extent":{"__isSmartRef__":true,"id":2213},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2214},"renderContextTable":{"__isSmartRef__":true,"id":2215},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2216},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2212":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2213":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2214":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2215":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2216":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2217":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2218":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2219":{"style":{"__isSmartRef__":true,"id":2220},"chunkOwner":{"__isSmartRef__":true,"id":2210},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2220":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2221":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2222":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2223":{"morph":{"__isSmartRef__":true,"id":2210},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2224":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2225":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2226":{"position":{"__isSmartRef__":true,"id":2227},"_Extent":{"__isSmartRef__":true,"id":2228},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2235},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2236},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2227":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2228":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2229":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2230":{"stops":[{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2231":{"offset":0,"color":{"__isSmartRef__":true,"id":2232}},"2232":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2233":{"offset":1,"color":{"__isSmartRef__":true,"id":2234}},"2234":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2236":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2237":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2238":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2239":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2240":{"morph":{"__isSmartRef__":true,"id":2209},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2241":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2242":{"resizeWidth":true},"2243":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2244":{"submorphs":[{"__isSmartRef__":true,"id":2245}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":2261},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2272},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":2273},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2274},"eventHandler":{"__isSmartRef__":true,"id":2275},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":2276},"layout":{"__isSmartRef__":true,"id":2277},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2278},"__LivelyClassName__":"lively.morphic.Box"},"2245":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":2246},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2252},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2249},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":2253},"textChunks":[{"__isSmartRef__":true,"id":2254}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2256},"renderContextTable":{"__isSmartRef__":true,"id":2257},"eventHandler":{"__isSmartRef__":true,"id":2258},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2259},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2260},"owner":{"__isSmartRef__":true,"id":2244},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2246":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2247},"_Extent":{"__isSmartRef__":true,"id":2248},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2249},"renderContextTable":{"__isSmartRef__":true,"id":2250},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2251},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2247":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2248":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2249":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2250":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2251":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2252":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2253":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2254":{"style":{"__isSmartRef__":true,"id":2255},"chunkOwner":{"__isSmartRef__":true,"id":2245},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2255":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2256":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2257":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2258":{"morph":{"__isSmartRef__":true,"id":2245},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2259":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2260":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2261":{"position":{"__isSmartRef__":true,"id":2262},"_Extent":{"__isSmartRef__":true,"id":2263},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2264},"_Fill":{"__isSmartRef__":true,"id":2265},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2270},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2271},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2262":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2263":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2264":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2265":{"stops":[{"__isSmartRef__":true,"id":2266},{"__isSmartRef__":true,"id":2268}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2266":{"offset":0,"color":{"__isSmartRef__":true,"id":2267}},"2267":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2268":{"offset":1,"color":{"__isSmartRef__":true,"id":2269}},"2269":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2270":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2271":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2272":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2273":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2274":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2275":{"morph":{"__isSmartRef__":true,"id":2244},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2276":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2277":{"resizeWidth":true},"2278":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2279":{"submorphs":[{"__isSmartRef__":true,"id":2280}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":2296},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2307},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":2308},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2309},"eventHandler":{"__isSmartRef__":true,"id":2310},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":2311},"layout":{"__isSmartRef__":true,"id":2312},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2313},"__LivelyClassName__":"lively.morphic.Box"},"2280":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":2281},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2287},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2284},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":2288},"textChunks":[{"__isSmartRef__":true,"id":2289}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2291},"renderContextTable":{"__isSmartRef__":true,"id":2292},"eventHandler":{"__isSmartRef__":true,"id":2293},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2294},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2295},"owner":{"__isSmartRef__":true,"id":2279},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2281":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2282},"_Extent":{"__isSmartRef__":true,"id":2283},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2284},"renderContextTable":{"__isSmartRef__":true,"id":2285},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2286},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2282":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2283":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2284":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2285":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2286":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2287":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2288":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2289":{"style":{"__isSmartRef__":true,"id":2290},"chunkOwner":{"__isSmartRef__":true,"id":2280},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2290":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2291":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2292":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2293":{"morph":{"__isSmartRef__":true,"id":2280},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2294":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2295":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2296":{"position":{"__isSmartRef__":true,"id":2297},"_Extent":{"__isSmartRef__":true,"id":2298},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2299},"_Fill":{"__isSmartRef__":true,"id":2300},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2305},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2306},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2297":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2298":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2299":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2300":{"stops":[{"__isSmartRef__":true,"id":2301},{"__isSmartRef__":true,"id":2303}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2301":{"offset":0,"color":{"__isSmartRef__":true,"id":2302}},"2302":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2303":{"offset":1,"color":{"__isSmartRef__":true,"id":2304}},"2304":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2306":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2307":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2308":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2309":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2310":{"morph":{"__isSmartRef__":true,"id":2279},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2311":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2312":{"resizeWidth":true},"2313":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2314":{"submorphs":[{"__isSmartRef__":true,"id":2315}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":2331},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2342},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":2343},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2344},"eventHandler":{"__isSmartRef__":true,"id":2345},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":2346},"layout":{"__isSmartRef__":true,"id":2347},"owner":{"__isSmartRef__":true,"id":2020},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2348},"__LivelyClassName__":"lively.morphic.Box"},"2315":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":2316},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2322},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2319},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":2323},"textChunks":[{"__isSmartRef__":true,"id":2324}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2326},"renderContextTable":{"__isSmartRef__":true,"id":2327},"eventHandler":{"__isSmartRef__":true,"id":2328},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2329},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2330},"owner":{"__isSmartRef__":true,"id":2314},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2316":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2317},"_Extent":{"__isSmartRef__":true,"id":2318},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2319},"renderContextTable":{"__isSmartRef__":true,"id":2320},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2321},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2317":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2318":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2319":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2320":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2321":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2322":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2323":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2324":{"style":{"__isSmartRef__":true,"id":2325},"chunkOwner":{"__isSmartRef__":true,"id":2315},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2325":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2326":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2328":{"morph":{"__isSmartRef__":true,"id":2315},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2329":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2330":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2331":{"position":{"__isSmartRef__":true,"id":2332},"_Extent":{"__isSmartRef__":true,"id":2333},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2334},"_Fill":{"__isSmartRef__":true,"id":2335},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2340},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2341},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2332":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2333":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2334":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2335":{"stops":[{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2338}],"vector":{"__isSmartRef__":true,"id":2047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2336":{"offset":0,"color":{"__isSmartRef__":true,"id":2337}},"2337":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2338":{"offset":1,"color":{"__isSmartRef__":true,"id":2339}},"2339":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2340":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2341":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2342":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2343":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2344":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2345":{"morph":{"__isSmartRef__":true,"id":2314},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2346":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2347":{"resizeWidth":true},"2348":{"onTouchStart":{"__isSmartRef__":true,"id":2057},"onTouchMove":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2065}},"2349":{"position":{"__isSmartRef__":true,"id":2350},"_Extent":{"__isSmartRef__":true,"id":2351},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2352},"_Fill":{"__isSmartRef__":true,"id":2353},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2354},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2355},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2350":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2351":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2352":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2353":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2354":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2355":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2356":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2357":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2358":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2359":{"morph":{"__isSmartRef__":true,"id":2020},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2360":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2361":{"resizeWidth":true,"adjustForNewBounds":true},"2362":{"onTouchStart":{"__isSmartRef__":true,"id":2363},"onTouchMove":{"__isSmartRef__":true,"id":2371},"onTouchEnd":{"__isSmartRef__":true,"id":2379},"stayInBounds":{"__isSmartRef__":true,"id":2387},"isInBounds":{"__isSmartRef__":true,"id":2391}},"2363":{"varMapping":{"__isSmartRef__":true,"id":2364},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2369},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2364":{"this":{"__isSmartRef__":true,"id":2020},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2365}},"2365":{"$super":{"__isSmartRef__":true,"id":2366}},"2366":{"varMapping":{"__isSmartRef__":true,"id":2367},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2368},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2367":{"obj":{"__isSmartRef__":true,"id":2020},"name":"onTouchStart"},"2368":{},"2369":{"timestamp":{"__isSmartRef__":true,"id":2370},"user":"sstamm","tags":[]},"2370":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"2371":{"varMapping":{"__isSmartRef__":true,"id":2372},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2377},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2372":{"this":{"__isSmartRef__":true,"id":2020},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2373}},"2373":{"$super":{"__isSmartRef__":true,"id":2374}},"2374":{"varMapping":{"__isSmartRef__":true,"id":2375},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2375":{"obj":{"__isSmartRef__":true,"id":2020},"name":"onTouchMove"},"2376":{},"2377":{"timestamp":{"__isSmartRef__":true,"id":2378},"user":"sstamm","tags":[]},"2378":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (W. Europe Standard Time)"},"2379":{"varMapping":{"__isSmartRef__":true,"id":2380},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2385},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2380":{"this":{"__isSmartRef__":true,"id":2020},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2381}},"2381":{"$super":{"__isSmartRef__":true,"id":2382}},"2382":{"varMapping":{"__isSmartRef__":true,"id":2383},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2384},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2383":{"obj":{"__isSmartRef__":true,"id":2020},"name":"onTouchEnd"},"2384":{},"2385":{"timestamp":{"__isSmartRef__":true,"id":2386},"user":"sstamm","tags":[]},"2386":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (W. Europe Standard Time)"},"2387":{"varMapping":{"__isSmartRef__":true,"id":2388},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2389},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2388":{"this":{"__isSmartRef__":true,"id":2020}},"2389":{"timestamp":{"__isSmartRef__":true,"id":2390},"user":"sstamm","tags":[]},"2390":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (W. Europe Standard Time)"},"2391":{"varMapping":{"__isSmartRef__":true,"id":2392},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2393},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2392":{"this":{"__isSmartRef__":true,"id":2020}},"2393":{"timestamp":{"__isSmartRef__":true,"id":2394},"user":"sstamm","tags":[]},"2394":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (W. Europe Standard Time)"},"2395":{"position":{"__isSmartRef__":true,"id":2396},"_Extent":{"__isSmartRef__":true,"id":2397},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2398},"_Fill":{"__isSmartRef__":true,"id":2399},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2400},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2401},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2396":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2397":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2398":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2399":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2400":{},"2401":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2402":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2403":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2404":{"date":{"__isSmartRef__":true,"id":2405},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2405":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"2406":{"date":{"__isSmartRef__":true,"id":2407},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2407":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"2408":{"date":{"__isSmartRef__":true,"id":2409},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2409":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"2410":{"date":{"__isSmartRef__":true,"id":2411},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2411":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"2412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2413":{"morph":{"__isSmartRef__":true,"id":2019},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2414":{"sourceObj":{"__isSmartRef__":true,"id":2019},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2019},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2415":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2416":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2417":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2418":{"onrestore":{"__isSmartRef__":true,"id":2419},"initialize":{"__isSmartRef__":true,"id":2427},"addItem":{"__isSmartRef__":true,"id":2435},"createListItem":{"__isSmartRef__":true,"id":2439},"touchstartCallback":{"__isSmartRef__":true,"id":2057},"touchmoveCallback":{"__isSmartRef__":true,"id":2061},"touchendCallback":{"__isSmartRef__":true,"id":2065},"updateSelection":{"__isSmartRef__":true,"id":2443},"handleClick":{"__isSmartRef__":true,"id":2447},"initializeListEntries":{"__isSmartRef__":true,"id":2451}},"2419":{"varMapping":{"__isSmartRef__":true,"id":2420},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":2425},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2420":{"this":{"__isSmartRef__":true,"id":2019},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2421}},"2421":{"$super":{"__isSmartRef__":true,"id":2422}},"2422":{"varMapping":{"__isSmartRef__":true,"id":2423},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2424},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2423":{"obj":{"__isSmartRef__":true,"id":2019},"name":"onrestore"},"2424":{},"2425":{"timestamp":{"__isSmartRef__":true,"id":2426},"user":"sstamm","tags":[]},"2426":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (W. Europe Standard Time)"},"2427":{"varMapping":{"__isSmartRef__":true,"id":2428},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":2433},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2428":{"this":{"__isSmartRef__":true,"id":2019},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2429}},"2429":{"$super":{"__isSmartRef__":true,"id":2430}},"2430":{"varMapping":{"__isSmartRef__":true,"id":2431},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2432},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2431":{"obj":{"__isSmartRef__":true,"id":2019},"name":"initialize"},"2432":{},"2433":{"timestamp":{"__isSmartRef__":true,"id":2434},"user":"sstamm","tags":[]},"2434":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (W. Europe Standard Time)"},"2435":{"varMapping":{"__isSmartRef__":true,"id":2436},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2436":{"this":{"__isSmartRef__":true,"id":2019}},"2437":{"timestamp":{"__isSmartRef__":true,"id":2438},"user":"sstamm","tags":[]},"2438":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (W. Europe Standard Time)"},"2439":{"varMapping":{"__isSmartRef__":true,"id":2440},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2441},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2440":{"this":{"__isSmartRef__":true,"id":2019}},"2441":{"timestamp":{"__isSmartRef__":true,"id":2442},"user":"sstamm","tags":[]},"2442":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (W. Europe Standard Time)"},"2443":{"varMapping":{"__isSmartRef__":true,"id":2444},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2444":{"this":{"__isSmartRef__":true,"id":2019}},"2445":{"timestamp":{"__isSmartRef__":true,"id":2446},"user":"sstamm","tags":[]},"2446":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (W. Europe Standard Time)"},"2447":{"varMapping":{"__isSmartRef__":true,"id":2448},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2449},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2448":{"this":{"__isSmartRef__":true,"id":2019}},"2449":{"timestamp":{"__isSmartRef__":true,"id":2450},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2450":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (W. Europe Standard Time)"},"2451":{"varMapping":{"__isSmartRef__":true,"id":2452},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2453},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2452":{"this":{"__isSmartRef__":true,"id":2019}},"2453":{"timestamp":{"__isSmartRef__":true,"id":2454},"user":"conradcalmez","tags":[]},"2454":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (W. Europe Standard Time)"},"2455":{"onTouchStart":{"__isSmartRef__":true,"id":2456},"onTouchMove":{"__isSmartRef__":true,"id":2464},"onTouchEnd":{"__isSmartRef__":true,"id":2468},"stayInBounds":{"__isSmartRef__":true,"id":2476},"isInBounds":{"__isSmartRef__":true,"id":2480},"removeAllMenuItems":{"__isSmartRef__":true,"id":2484},"addItemMorph":{"__isSmartRef__":true,"id":2488}},"2456":{"varMapping":{"__isSmartRef__":true,"id":2457},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2462},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2457":{"this":{"__isSmartRef__":true,"id":2004},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2458}},"2458":{"$super":{"__isSmartRef__":true,"id":2459}},"2459":{"varMapping":{"__isSmartRef__":true,"id":2460},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2461},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2460":{"obj":{"__isSmartRef__":true,"id":2004},"name":"onTouchStart"},"2461":{},"2462":{"timestamp":{"__isSmartRef__":true,"id":2463},"user":"sstamm","tags":[]},"2463":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (W. Europe Standard Time)"},"2464":{"varMapping":{"__isSmartRef__":true,"id":2465},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2466},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2465":{"this":{"__isSmartRef__":true,"id":2004}},"2466":{"timestamp":{"__isSmartRef__":true,"id":2467},"user":"sstamm","tags":[]},"2467":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (W. Europe Standard Time)"},"2468":{"varMapping":{"__isSmartRef__":true,"id":2469},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2474},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2469":{"this":{"__isSmartRef__":true,"id":2004},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2470}},"2470":{"$super":{"__isSmartRef__":true,"id":2471}},"2471":{"varMapping":{"__isSmartRef__":true,"id":2472},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2473},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2472":{"obj":{"__isSmartRef__":true,"id":2004},"name":"onTouchEnd"},"2473":{},"2474":{"timestamp":{"__isSmartRef__":true,"id":2475},"user":"sstamm","tags":[]},"2475":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (W. Europe Standard Time)"},"2476":{"varMapping":{"__isSmartRef__":true,"id":2477},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2478},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2477":{"this":{"__isSmartRef__":true,"id":2004}},"2478":{"timestamp":{"__isSmartRef__":true,"id":2479},"user":"sstamm","tags":[]},"2479":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (W. Europe Standard Time)"},"2480":{"varMapping":{"__isSmartRef__":true,"id":2481},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2482},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2481":{"this":{"__isSmartRef__":true,"id":2004}},"2482":{"timestamp":{"__isSmartRef__":true,"id":2483},"user":"sstamm","tags":[]},"2483":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (W. Europe Standard Time)"},"2484":{"varMapping":{"__isSmartRef__":true,"id":2485},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":2486},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2485":{"this":{"__isSmartRef__":true,"id":2004}},"2486":{"timestamp":{"__isSmartRef__":true,"id":2487},"user":"sstamm","tags":[]},"2487":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (W. Europe Standard Time)"},"2488":{"varMapping":{"__isSmartRef__":true,"id":2489},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":2490},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2489":{"this":{"__isSmartRef__":true,"id":2004}},"2490":{"timestamp":{"__isSmartRef__":true,"id":2491},"user":"sstamm","tags":[]},"2491":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (W. Europe Standard Time)"},"2492":{"addItem":{"__isSmartRef__":true,"id":2493},"createListItem":{"__isSmartRef__":true,"id":2497},"touchstartCallback":{"__isSmartRef__":true,"id":2501},"touchmoveCallback":{"__isSmartRef__":true,"id":2505},"touchendCallback":{"__isSmartRef__":true,"id":2509},"updateSelection":{"__isSmartRef__":true,"id":2513},"handleClick":{"__isSmartRef__":true,"id":2517},"createMenuItems":{"__isSmartRef__":true,"id":2521},"testSimpleCreate":{"__isSmartRef__":true,"id":2525},"removeAllMenuItems":{"__isSmartRef__":true,"id":2529},"setup":{"__isSmartRef__":true,"id":2533},"testCreateMenuItemsWithSubmenus":{"__isSmartRef__":true,"id":2537},"reset":{"__isSmartRef__":true,"id":2541},"openSuperMenu":{"__isSmartRef__":true,"id":2545},"openSubMenu":{"__isSmartRef__":true,"id":2549},"createContainer":{"__isSmartRef__":true,"id":2553},"getCurrentContainer":{"__isSmartRef__":true,"id":2557},"addMenuItems":{"__isSmartRef__":true,"id":2561},"getLevel":{"__isSmartRef__":true,"id":2565},"createContainerPrototype":{"__isSmartRef__":true,"id":2568},"onTouchMove":{"__isSmartRef__":true,"id":2572},"onTouchStart":{"__isSmartRef__":true,"id":2580},"onTouchEnd":{"__isSmartRef__":true,"id":2588}},"2493":{"varMapping":{"__isSmartRef__":true,"id":2494},"source":"function addItem(item) {\n var newMorph = this.createListItem(item);\n this.getCurrentContainer().addItemMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2495},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2494":{"this":{"__isSmartRef__":true,"id":978}},"2495":{"timestamp":{"__isSmartRef__":true,"id":2496},"user":"sstamm","tags":[]},"2496":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:35 GMT+0100 (W. Europe Standard Time)"},"2497":{"varMapping":{"__isSmartRef__":true,"id":2498},"source":"function createListItem(item) {\n var textString = item.string;\n var part = Morph.makeRectangle(0, 0, 10, 10);\n part.disableSelection();\n part.name = \"MenuItem_\" + textString;\n part.item = item;\n\n part.applyStyle({\n extent: pt(this.getExtent().x,44),\n fill: new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ),\n resizeWidth: true,\n borderColor: Color.rgb(138,138,138)\n });\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,44));\n text.applyStyle({fill: null, borderWidth: 0});\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n \n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n text.disableSelection();\n text.ignoreEvents();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2499},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2498":{"this":{"__isSmartRef__":true,"id":978}},"2499":{"timestamp":{"__isSmartRef__":true,"id":2500},"user":"sstamm","tags":[]},"2500":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:06:24 GMT+0200 (W. Europe Daylight Time)"},"2501":{"varMapping":{"__isSmartRef__":true,"id":2502},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2503},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2502":{"this":{"__isSmartRef__":true,"id":978}},"2503":{"timestamp":{"__isSmartRef__":true,"id":2504},"user":"sstamm","tags":[]},"2504":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"2505":{"varMapping":{"__isSmartRef__":true,"id":2506},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":2507},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2506":{"this":{"__isSmartRef__":true,"id":978}},"2507":{"timestamp":{"__isSmartRef__":true,"id":2508},"user":"sstamm","tags":[]},"2508":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"2509":{"varMapping":{"__isSmartRef__":true,"id":2510},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner.owner;\n\n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2511},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2510":{"this":{"__isSmartRef__":true,"id":978}},"2511":{"timestamp":{"__isSmartRef__":true,"id":2512},"user":"sstamm","tags":[]},"2512":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:59:27 GMT+0200 (W. Europe Daylight Time)"},"2513":{"varMapping":{"__isSmartRef__":true,"id":2514},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.item.value;\n } else {\n this.selection = null;\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2515},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2514":{"this":{"__isSmartRef__":true,"id":978}},"2515":{"timestamp":{"__isSmartRef__":true,"id":2516},"user":"conradcalmez","tags":[]},"2516":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:44:22 GMT+0100 (W. Europe Standard Time)"},"2517":{"varMapping":{"__isSmartRef__":true,"id":2518},"source":"function handleClick(selection) {\n if (!selection) return;\n\n if (selection[1] instanceof Array) {\n this.openSubMenu(selection);\n return;\n }\n\n if (selection[1] instanceof Function && this.owner.targetMorph) {\n var evt = document.createEvent('MouseEvents');\n evt.initMouseEvent(\n 'mouseup',\n true,\n true,\n window,\n 1,\n 0,\n 0,\n 0,\n 0,\n false,\n false,\n false,\n false,\n 0,\n null\n );\n lively.morphic.EventHandler.prototype.patchEvent(evt);\n var morph = this.owner;\n var synchron = selection[2] == 'synchron'\n // make the call of the callback function asynchronous, so that complex operations\n // do not block the visual update of the list\n // some operations such as 'save world' need synchron remove of the menu\n if(!morph.isPinned()) {\n if(morph.isFixed) {\n window.setTimeout(function() { \n morph.removeFixed(); }, synchron ? 0 : 200);\n } else {\n window.setTimeout(function() { \n morph.remove(); }, synchron ? 0 : 200); \n }\n }\n window.setTimeout(function() { selection[1](evt, morph); }, synchron ? 0 : 50);\n\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2519},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2518":{"this":{"__isSmartRef__":true,"id":978}},"2519":{"timestamp":{"__isSmartRef__":true,"id":2520},"user":"huberthesse","tags":[""]},"2520":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:18:32 GMT+0200 (W. Europe Daylight Time)"},"2521":{"varMapping":{"__isSmartRef__":true,"id":2522},"source":"function createMenuItems(items) {\n this.removeAllMenuItems();\n this.addMenuItems(items);\n}","funcProperties":{"__isSmartRef__":true,"id":2523},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2522":{"this":{"__isSmartRef__":true,"id":978}},"2523":{"timestamp":{"__isSmartRef__":true,"id":2524},"user":"sstamm","tags":[]},"2524":{"isSerializedDate":true,"string":"Fri Mar 02 2012 13:55:23 GMT+0100 (W. Europe Standard Time)"},"2525":{"varMapping":{"__isSmartRef__":true,"id":2526},"source":"function testSimpleCreate() {\n var helloWasRun = false;\n this.setup([\n [\"hello\", function() {\n helloWasRun = true;}],\n ]);\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n}","funcProperties":{"__isSmartRef__":true,"id":2527},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2526":{"this":{"__isSmartRef__":true,"id":978}},"2527":{"timestamp":{"__isSmartRef__":true,"id":2528},"user":"conradcalmez","tags":["test"]},"2528":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:39:19 GMT+0100 (W. Europe Standard Time)"},"2529":{"varMapping":{"__isSmartRef__":true,"id":2530},"source":"function removeAllMenuItems() {\n this.getCurrentContainer().removeAllMenuItems();\n while(this.containerStack.length > 0){\n this.getCurrentContainer().remove();\n this.currentContainer = containerStack.pop();\n this.currentContainer.removeAllMenuItems();\n }\n this.containerPrototype = this.createContainerPrototype();\n this.nextContainer = this.createContainer();\n this.titleStack = [];\n this.containerStack = [];\n}","funcProperties":{"__isSmartRef__":true,"id":2531},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2530":{"this":{"__isSmartRef__":true,"id":978}},"2531":{"timestamp":{"__isSmartRef__":true,"id":2532},"user":"sstamm","tags":[]},"2532":{"isSerializedDate":true,"string":"Fri Mar 02 2012 17:01:55 GMT+0100 (W. Europe Standard Time)"},"2533":{"varMapping":{"__isSmartRef__":true,"id":2534},"source":"function setup(itemList) {\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.setClipMode(\"hidden\");\n this.titleStack = [];\n this.containerStack = [];\n var container = this.getCurrentContainer();\n this.get(\"SubmenuContainer\").removeAllMorphs();\n this.get(\"SubmenuContainer\").addMorph(container);\n this.currentContainer = container;\n this.get(\"SubmenuContainer\").setPosition(pt(0,0));\n //world menu entries\n this.createMenuItems(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":2535},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2534":{"this":{"__isSmartRef__":true,"id":978}},"2535":{"timestamp":{"__isSmartRef__":true,"id":2536},"user":"sstamm","tags":[]},"2536":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:05:41 GMT+0200 (W. Europe Daylight Time)"},"2537":{"varMapping":{"__isSmartRef__":true,"id":2538},"source":"function testCreateMenuItemsWithSubmenus() {\n var helloWasRun = false;\n this.setup([\n [\"sub\", [\n [\"hello\", function() {\n helloWasRun = true;}] \n ]\n ]\n ]);\n this.updateSelection(this.itemList.first());\n (function () {\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n }).bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":2539},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2538":{"this":{"__isSmartRef__":true,"id":978}},"2539":{"timestamp":{"__isSmartRef__":true,"id":2540},"user":"conradcalmez","tags":["test"]},"2540":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:58:41 GMT+0100 (W. Europe Standard Time)"},"2541":{"varMapping":{"__isSmartRef__":true,"id":2542},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n this.setup([]);\n}","funcProperties":{"__isSmartRef__":true,"id":2543},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2542":{"this":{"__isSmartRef__":true,"id":978}},"2543":{"timestamp":{"__isSmartRef__":true,"id":2544},"user":"conradcalmez","tags":[]},"2544":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:30:08 GMT+0100 (W. Europe Standard Time)"},"2545":{"varMapping":{"__isSmartRef__":true,"id":2546},"source":"function openSuperMenu() {\n this.title = this.titleStack.pop();\n\n var offset = this.getExtent().x * this.getLevel();\n\n if (this.getLevel() === 0){\n this.get(\"BackButton\").setVisible(false);\n }\n\n var that = this;\n var callbackFct = function() {\n that.getCurrentContainer().remove();\n that.currentContainer = that.containerStack.pop();\n };\n\n this.get(\"SubmenuContainer\").setPositionAnimated(pt(-offset, 0), 500, callbackFct);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2547},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2546":{"this":{"__isSmartRef__":true,"id":978}},"2547":{"timestamp":{"__isSmartRef__":true,"id":2548},"user":"sstamm","tags":[]},"2548":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:43:12 GMT+0100 (W. Europe Standard Time)"},"2549":{"varMapping":{"__isSmartRef__":true,"id":2550},"source":"function openSubMenu(selection) {\n (function () {\n this.titleStack.push(this.title);\n this.containerStack.push(this.getCurrentContainer());\n this.get(\"BackButton\").setVisible(true);\n this.title = selection[0];\n\n var offset = this.getExtent().x * this.getLevel();\n\n var container;\n if(this.nextContainer){\n container = this.nextContainer;\n delete this.nextContainer;\n } else {\n container = this.createContainer();\n }\n container.setPosition(pt(offset, 0));\n this.get(\"SubmenuContainer\").addMorph(container);\n \n this.currentContainer = container;\n this.addMenuItems(selection[1]);\n\n var that = this;\n this.get(\"SubmenuContainer\").setPositionAnimated(pt(-offset, 0), 500, function(){\n that.nextContainer = that.createContainer();\n });\n\n }).bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":2551},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2550":{"this":{"__isSmartRef__":true,"id":978}},"2551":{"timestamp":{"__isSmartRef__":true,"id":2552},"user":"sstamm","tags":[]},"2552":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:40:27 GMT+0100 (W. Europe Standard Time)"},"2553":{"varMapping":{"__isSmartRef__":true,"id":2554},"source":"function createContainer() {\n var container = this.containerPrototype.copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":2555},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2554":{"this":{"__isSmartRef__":true,"id":978}},"2555":{"timestamp":{"__isSmartRef__":true,"id":2556},"user":"sstamm","tags":[]},"2556":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:52 GMT+0100 (W. Europe Standard Time)"},"2557":{"varMapping":{"__isSmartRef__":true,"id":2558},"source":"function getCurrentContainer() {\n if(!this.currentContainer){\n this.currentContainer = this.get(\"SubmenuContainer\").submorphs[0];\n }\n return this.currentContainer;\n}","funcProperties":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2558":{"this":{"__isSmartRef__":true,"id":978}},"2559":{"timestamp":{"__isSmartRef__":true,"id":2560},"user":"sstamm","tags":[]},"2560":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:25:13 GMT+0100 (W. Europe Standard Time)"},"2561":{"varMapping":{"__isSmartRef__":true,"id":2562},"source":"function addMenuItems(items) {\n var that = this;\n items.forEach(function (item) {\n that.addItem({string: item[0], value: item, isListItem: true});\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2563},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2562":{"this":{"__isSmartRef__":true,"id":978}},"2563":{"timestamp":{"__isSmartRef__":true,"id":2564},"user":"sstamm","tags":[]},"2564":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:17 GMT+0100 (W. Europe Standard Time)"},"2565":{"varMapping":{"__isSmartRef__":true,"id":2566},"source":"function getLevel() {\n return this.titleStack.length;\n}","funcProperties":{"__isSmartRef__":true,"id":2567},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2566":{"this":{"__isSmartRef__":true,"id":978}},"2567":{},"2568":{"varMapping":{"__isSmartRef__":true,"id":2569},"source":"function createContainerPrototype() {\n var container = this.getCurrentContainer().copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2569":{"this":{"__isSmartRef__":true,"id":978}},"2570":{"timestamp":{"__isSmartRef__":true,"id":2571},"user":"sstamm","tags":[]},"2571":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:30 GMT+0100 (W. Europe Standard Time)"},"2572":{"varMapping":{"__isSmartRef__":true,"id":2573},"source":"function onTouchMove(evt) {\n this.getCurrentContainer().onTouchMove(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":2578},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2573":{"this":{"__isSmartRef__":true,"id":978},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2574}},"2574":{"$super":{"__isSmartRef__":true,"id":2575}},"2575":{"varMapping":{"__isSmartRef__":true,"id":2576},"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":2577},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2576":{"obj":{"__isSmartRef__":true,"id":978},"name":"onTouchMove"},"2577":{},"2578":{"timestamp":{"__isSmartRef__":true,"id":2579},"user":"sstamm","tags":[]},"2579":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:51:49 GMT+0100 (W. Europe Standard Time)"},"2580":{"varMapping":{"__isSmartRef__":true,"id":2581},"source":"function onTouchStart(evt) {\n this.getCurrentContainer().onTouchStart(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":2586},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2581":{"this":{"__isSmartRef__":true,"id":978},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2582}},"2582":{"$super":{"__isSmartRef__":true,"id":2583}},"2583":{"varMapping":{"__isSmartRef__":true,"id":2584},"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":2585},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2584":{"obj":{"__isSmartRef__":true,"id":978},"name":"onTouchStart"},"2585":{},"2586":{"timestamp":{"__isSmartRef__":true,"id":2587},"user":"sstamm","tags":[]},"2587":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:52:02 GMT+0100 (W. Europe Standard Time)"},"2588":{"varMapping":{"__isSmartRef__":true,"id":2589},"source":"function onTouchEnd(evt) {\n this.getCurrentContainer().onTouchEnd(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":2594},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2589":{"this":{"__isSmartRef__":true,"id":978},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2590}},"2590":{"$super":{"__isSmartRef__":true,"id":2591}},"2591":{"varMapping":{"__isSmartRef__":true,"id":2592},"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":2593},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2592":{"obj":{"__isSmartRef__":true,"id":978},"name":"onTouchEnd"},"2593":{},"2594":{"timestamp":{"__isSmartRef__":true,"id":2595},"user":"sstamm","tags":[]},"2595":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:02:08 GMT+0200 (W. Europe Daylight Time)"},"2596":{"position":{"__isSmartRef__":true,"id":2597},"_Extent":{"__isSmartRef__":true,"id":2598},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2599},"_Fill":{"__isSmartRef__":true,"id":2600},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2601},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2602},"_BorderRadius":12.215000000000002,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2597":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2598":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2599":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2600":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2601":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2602":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2603":{"x":-180.5,"y":55,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2604":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2605":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"menu in iPad style","migrationLevel":4,"partName":"TouchMenu","changes":[{"__isSmartRef__":true,"id":2606},{"__isSmartRef__":true,"id":2608},{"__isSmartRef__":true,"id":2610},{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2614},{"__isSmartRef__":true,"id":2616},{"__isSmartRef__":true,"id":2618},{"__isSmartRef__":true,"id":2620},{"__isSmartRef__":true,"id":2622},{"__isSmartRef__":true,"id":2624},{"__isSmartRef__":true,"id":2626},{"__isSmartRef__":true,"id":2628},{"__isSmartRef__":true,"id":2630},{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2650},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2654},{"__isSmartRef__":true,"id":2656},{"__isSmartRef__":true,"id":2658},{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2664},{"__isSmartRef__":true,"id":2666},{"__isSmartRef__":true,"id":2668},{"__isSmartRef__":true,"id":2670},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2674},{"__isSmartRef__":true,"id":2676},{"__isSmartRef__":true,"id":2678},{"__isSmartRef__":true,"id":2680},{"__isSmartRef__":true,"id":2682},{"__isSmartRef__":true,"id":2684},{"__isSmartRef__":true,"id":2686},{"__isSmartRef__":true,"id":2688},{"__isSmartRef__":true,"id":2690},{"__isSmartRef__":true,"id":2692},{"__isSmartRef__":true,"id":2694},{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2700},{"__isSmartRef__":true,"id":2702},{"__isSmartRef__":true,"id":2704},{"__isSmartRef__":true,"id":2706},{"__isSmartRef__":true,"id":2708},{"__isSmartRef__":true,"id":2710},{"__isSmartRef__":true,"id":2712},{"__isSmartRef__":true,"id":2714},{"__isSmartRef__":true,"id":2716},{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2728},{"__isSmartRef__":true,"id":2730},{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2740},{"__isSmartRef__":true,"id":2742},{"__isSmartRef__":true,"id":2744},{"__isSmartRef__":true,"id":2746},{"__isSmartRef__":true,"id":2748},{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2752},{"__isSmartRef__":true,"id":2754},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2758},{"__isSmartRef__":true,"id":2760},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2764},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2770},{"__isSmartRef__":true,"id":2772},{"__isSmartRef__":true,"id":2774},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2778},{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2782},{"__isSmartRef__":true,"id":2784},{"__isSmartRef__":true,"id":2786},{"__isSmartRef__":true,"id":2788},{"__isSmartRef__":true,"id":2790},{"__isSmartRef__":true,"id":2792},{"__isSmartRef__":true,"id":2794},{"__isSmartRef__":true,"id":2796},{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2802},{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2806},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":2810},{"__isSmartRef__":true,"id":2812},{"__isSmartRef__":true,"id":2814},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2818},{"__isSmartRef__":true,"id":2820}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":154018,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2606":{"date":{"__isSmartRef__":true,"id":2607},"author":"sstamm","message":"","id":"34ABFE97-23D6-4496-B2C5-594475CB441D"},"2607":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:07:29 GMT+0200 (W. Europe Daylight Time)"},"2608":{"date":{"__isSmartRef__":true,"id":2609},"author":"huberthesse","message":"","id":"07B81E40-757F-41B7-8E4B-0A937C28F564"},"2609":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:18:51 GMT+0200 (W. Europe Daylight Time)"},"2610":{"date":{"__isSmartRef__":true,"id":2611},"author":"huberthesse","message":"","id":"5C360183-2C53-49ED-A379-8067CA9EB592"},"2611":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:17:23 GMT+0200 (W. Europe Daylight Time)"},"2612":{"date":{"__isSmartRef__":true,"id":2613},"author":"huberthesse","message":"","id":"33047AD5-EB2B-4DEB-9977-05B4EAC833BF"},"2613":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:14:41 GMT+0200 (W. Europe Daylight Time)"},"2614":{"date":{"__isSmartRef__":true,"id":2615},"author":"huberthesse","message":"","id":"F75D0ED0-5618-42BA-8F8B-74E901A1A69F"},"2615":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:14:06 GMT+0200 (W. Europe Daylight Time)"},"2616":{"date":{"__isSmartRef__":true,"id":2617},"author":"huberthesse","message":"","id":"81EF2DF4-9054-4C31-B9C4-62018202CDBB"},"2617":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:12:32 GMT+0200 (W. Europe Daylight Time)"},"2618":{"date":{"__isSmartRef__":true,"id":2619},"author":"huberthesse","message":"restore asynchron version","id":"76CBAE36-5CCF-4237-803C-80ED8ED84BC4"},"2619":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:09:53 GMT+0200 (W. Europe Daylight Time)"},"2620":{"date":{"__isSmartRef__":true,"id":2621},"author":"huberthesse","message":"","id":"3276159B-6BCD-4C51-AEFB-1D02F880A687"},"2621":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:06:16 GMT+0200 (W. Europe Daylight Time)"},"2622":{"date":{"__isSmartRef__":true,"id":2623},"author":"huberthesse","message":"","id":"C26D249D-090C-4A05-9622-5AC0C43620C0"},"2623":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:03:27 GMT+0200 (W. Europe Daylight Time)"},"2624":{"date":{"__isSmartRef__":true,"id":2625},"author":"huberthesse","message":"","id":"F20A8933-04FB-4DBD-B321-F860262A6043"},"2625":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:00:32 GMT+0200 (W. Europe Daylight Time)"},"2626":{"date":{"__isSmartRef__":true,"id":2627},"author":"sstamm","message":"removed lists attribute","id":"D1CD2B11-970D-4E94-9D72-8162732C9A33"},"2627":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:30:28 GMT+0200 (W. Europe Daylight Time)"},"2628":{"date":{"__isSmartRef__":true,"id":2629},"author":"sstamm","message":"removed connections","id":"E5C66E63-0B3E-4978-8E7E-590E6FE23DB3"},"2629":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:49:38 GMT+0200 (W. Europe Daylight Time)"},"2630":{"date":{"__isSmartRef__":true,"id":2631},"author":"huberthesse","message":"","id":"CE4A7A6A-B920-43E5-8795-666855E10180"},"2631":{"isSerializedDate":true,"string":"Wed Mar 28 2012 12:24:19 GMT+0200 (W. Europe Daylight Time)"},"2632":{"date":{"__isSmartRef__":true,"id":2633},"author":"huberthesse","message":"","id":"433C617E-BDBC-48E1-A181-2E4B7E81C5A9"},"2633":{"isSerializedDate":true,"string":"Wed Mar 28 2012 12:20:32 GMT+0200 (W. Europe Daylight Time)"},"2634":{"date":{"__isSmartRef__":true,"id":2635},"author":"huberthesse","message":"","id":"76BB2DAE-6051-4955-99DB-EEEEA0D353D7"},"2635":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:54:24 GMT+0200 (W. Europe Daylight Time)"},"2636":{"date":{"__isSmartRef__":true,"id":2637},"author":"huberthesse","message":"","id":"FAE14DC2-D75C-40AB-B3FB-59717EFE47F8"},"2637":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:46:44 GMT+0200 (W. Europe Daylight Time)"},"2638":{"date":{"__isSmartRef__":true,"id":2639},"author":"huberthesse","message":"added removedFixed for fixed Menus","id":"48E4570C-75FC-4937-80EA-6B0A1B94FDF0"},"2639":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:43:53 GMT+0200 (W. Europe Daylight Time)"},"2640":{"date":{"__isSmartRef__":true,"id":2641},"author":"huberthesse","message":"removed debug output. remove menu after exec a function should work now.","id":"B9A60C47-17F4-4A6C-8659-A87C12530E91"},"2641":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:43:12 GMT+0100 (W. Europe Standard Time)"},"2642":{"date":{"__isSmartRef__":true,"id":2643},"author":"huberthesse","message":"isPinned false to default","id":"3B974DCD-EE74-4165-B6AB-A9116274938B"},"2643":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:40:41 GMT+0100 (W. Europe Standard Time)"},"2644":{"date":{"__isSmartRef__":true,"id":2645},"author":"conradcalmez","message":"setFixed","id":"E9C375E4-2234-4FCC-873D-6F1CC5F84B11"},"2645":{"isSerializedDate":true,"string":"Wed Mar 21 2012 16:37:02 GMT+0100 (W. Europe Standard Time)"},"2646":{"date":{"__isSmartRef__":true,"id":2647},"author":"sstamm","message":"bugfix","id":"D540A228-44D5-419E-A014-652B882C4EEE"},"2647":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:43:55 GMT+0100 (W. Europe Standard Time)"},"2648":{"date":{"__isSmartRef__":true,"id":2649},"author":"sstamm","message":"uses CSS transitions to animate sub menu access","id":"60C8E911-E01E-43EF-A345-80E2012BD832"},"2649":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:44:26 GMT+0100 (W. Europe Standard Time)"},"2650":{"date":{"__isSmartRef__":true,"id":2651},"author":"bsiegmund","message":"whoopsie","id":"D258ACA7-6A86-4856-ABF2-179327225DCF"},"2651":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:50:42 GMT+0100 (W. Europe Standard Time)"},"2652":{"date":{"__isSmartRef__":true,"id":2653},"author":"bsiegmund","message":"using faster list now","id":"F7D13107-E8FC-4D4A-A091-79751F2268B3"},"2653":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:31:14 GMT+0100 (W. Europe Standard Time)"},"2654":{"date":{"__isSmartRef__":true,"id":2655},"author":"sstamm","message":"","id":"4F7CC030-24B2-4F51-9BCB-B251C6FF1AA2"},"2655":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:29:18 GMT+0100 (W. Europe Standard Time)"},"2656":{"date":{"__isSmartRef__":true,"id":2657},"author":"sstamm","message":"","id":"36E4E28E-802C-46BE-97CB-12173F99E76D"},"2657":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:25:23 GMT+0100 (W. Europe Standard Time)"},"2658":{"date":{"__isSmartRef__":true,"id":2659},"author":"sstamm","message":"","id":"B456D301-D6FC-4E4E-A846-485724A62BEB"},"2659":{"isSerializedDate":true,"string":"Wed Feb 22 2012 17:20:54 GMT+0100 (W. Europe Standard Time)"},"2660":{"date":{"__isSmartRef__":true,"id":2661},"author":"conradcalmez","message":"","id":"A6E16772-7FBD-49E6-9964-7B8450F1106E"},"2661":{"isSerializedDate":true,"string":"Tue Feb 21 2012 12:22:57 GMT+0100 (W. Europe Standard Time)"},"2662":{"date":{"__isSmartRef__":true,"id":2663},"author":"conradcalmez","message":"changed method invocation from call to apply (needs this.targetMorph to be set)","id":"8DCF73CB-CF10-44C0-BFA8-7717AA176483"},"2663":{"isSerializedDate":true,"string":"Mon Feb 20 2012 13:01:06 GMT+0100 (W. Europe Standard Time)"},"2664":{"date":{"__isSmartRef__":true,"id":2665},"author":"conradcalmez","message":"set origin to pop over \"nose\"","id":"329961F3-2C7F-4C44-A4A7-81035EA1E614"},"2665":{"isSerializedDate":true,"string":"Tue Feb 07 2012 16:01:37 GMT+0100 (W. Europe Standard Time)"},"2666":{"date":{"__isSmartRef__":true,"id":2667},"author":"conradcalmez","message":"added setup method to menu morph","id":"3CF652E7-5357-4D3B-8FE6-B153DBF67435"},"2667":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:46:00 GMT+0100 (W. Europe Standard Time)"},"2668":{"date":{"__isSmartRef__":true,"id":2669},"author":"conradcalmez","message":"lets try it w/o registering events","id":"0A3D2905-3B19-4207-9310-74A4EFBBE0C9"},"2669":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:30:33 GMT+0100 (W. Europe Standard Time)"},"2670":{"date":{"__isSmartRef__":true,"id":2671},"author":"conradcalmez","message":"fixed test cases ... ;)","id":"0BE6E5BE-28F1-47B7-9B8A-D4CCEDE700EF"},"2671":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:56:19 GMT+0100 (W. Europe Standard Time)"},"2672":{"date":{"__isSmartRef__":true,"id":2673},"author":"conradcalmez","message":"added cleanup methods and refactored setup so that it takes a list for initializing the menu list","id":"3B1317E7-8CF6-4726-9841-B073C6223F94"},"2673":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:28:30 GMT+0100 (W. Europe Standard Time)"},"2674":{"date":{"__isSmartRef__":true,"id":2675},"author":"conradcalmez","message":"removed debug output in TouchList","id":"74DEA054-9267-4622-AC05-D2F63B0F7327"},"2675":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:11:17 GMT+0100 (W. Europe Standard Time)"},"2676":{"date":{"__isSmartRef__":true,"id":2677},"author":"conradcalmez","message":"refactored so that the menu uses actual world menu entries","id":"51FECE38-542D-4FCE-8227-90896E50DA74"},"2677":{"isSerializedDate":true,"string":"Fri Feb 03 2012 13:29:59 GMT+0100 (W. Europe Standard Time)"},"2678":{"date":{"__isSmartRef__":true,"id":2679},"author":"conradcalmez","message":"just exchange between worlds","id":"E9721E6D-E28B-4EEF-B190-F3B428EFA7AF"},"2679":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:57:01 GMT+0100 (W. Europe Standard Time)"},"2680":{"date":{"__isSmartRef__":true,"id":2681},"author":"athomschke","message":"","id":"EEC630B7-8288-4E1C-A3B0-9CC18BACC8C6"},"2681":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:59:13 GMT+0100 (W. Europe Standard Time)"},"2682":{"date":{"__isSmartRef__":true,"id":2683},"author":"conradcalmez","message":"disabled dropping","id":"F84C2DCC-AA8F-4426-8E3A-EF818DCC7A9C"},"2683":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:31:33 GMT+0100 (W. Europe Standard Time)"},"2684":{"date":{"__isSmartRef__":true,"id":2685},"author":"conradcalmez","message":"maaaahhhh","id":"5D242D12-C104-4C53-BBA7-E1122A35766D"},"2685":{"isSerializedDate":true,"string":"Thu Feb 16 2012 15:09:11 GMT+0100 (W. Europe Standard Time)"},"2686":{"date":{"__isSmartRef__":true,"id":2687},"author":"conradcalmez","message":"apply function to morph if a morph is in selection instead of targetMorph","id":"46C194CF-5E98-478C-B7BC-31962C47EC05"},"2687":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:33:39 GMT+0100 (W. Europe Standard Time)"},"2688":{"date":{"__isSmartRef__":true,"id":2689},"author":"conradcalmez","message":"","id":"6F9BA15B-53E6-4CFE-BEFF-DF3B28DEAE84"},"2689":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:35:48 GMT+0100 (W. Europe Standard Time)"},"2690":{"date":{"__isSmartRef__":true,"id":2691},"author":"conradcalmez","message":"","id":"CF048586-404E-4DAE-A8BF-08B45C200E2C"},"2691":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:26:31 GMT+0100 (W. Europe Standard Time)"},"2692":{"date":{"__isSmartRef__":true,"id":2693},"author":"conradcalmez","message":"","id":"A3C4A892-0A0D-4325-A43B-0860E602221B"},"2693":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:49:00 GMT+0100 (W. Europe Standard Time)"},"2694":{"date":{"__isSmartRef__":true,"id":2695},"author":"conradcalmez","message":"","id":"3B42230F-8572-4353-8C69-8B895730ED28"},"2695":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:25:56 GMT+0100 (W. Europe Standard Time)"},"2696":{"date":{"__isSmartRef__":true,"id":2697},"author":"conradcalmez","message":"","id":"A3F60259-5222-4B3F-948F-1B583C83C425"},"2697":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:30:56 GMT+0100 (W. Europe Standard Time)"},"2698":{"date":{"__isSmartRef__":true,"id":2699},"author":"conradcalmez","message":"","id":"2EDCD7A8-A735-432A-96B9-1579C1F75D18"},"2699":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:47:57 GMT+0100 (W. Europe Standard Time)"},"2700":{"date":{"__isSmartRef__":true,"id":2701},"author":"conradcalmez","message":"","id":"A3701A65-D12A-49F3-A5AE-B28DA1045DEE"},"2701":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:50:41 GMT+0100 (W. Europe Standard Time)"},"2702":{"date":{"__isSmartRef__":true,"id":2703},"author":"conradcalmez","message":"","id":"67FB598B-9428-44C9-B475-ADD465C33C41"},"2703":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:52:51 GMT+0100 (W. Europe Standard Time)"},"2704":{"date":{"__isSmartRef__":true,"id":2705},"author":"conradcalmez","message":"","id":"E808BDF4-71FB-4BF2-AC02-06203D7A49B5"},"2705":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:53:56 GMT+0100 (W. Europe Standard Time)"},"2706":{"date":{"__isSmartRef__":true,"id":2707},"author":"conradcalmez","message":"","id":"C1750757-32C4-4D61-8C65-73C33A6762B7"},"2707":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:55:34 GMT+0100 (W. Europe Standard Time)"},"2708":{"date":{"__isSmartRef__":true,"id":2709},"author":"conradcalmez","message":"","id":"15ACB335-1010-4578-A360-7A15F86EC3FC"},"2709":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:57:47 GMT+0100 (W. Europe Standard Time)"},"2710":{"date":{"__isSmartRef__":true,"id":2711},"author":"conradcalmez","message":"","id":"80B706EB-023D-4E85-8A0D-62960873BE1C"},"2711":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:58:19 GMT+0100 (W. Europe Standard Time)"},"2712":{"date":{"__isSmartRef__":true,"id":2713},"author":"conradcalmez","message":"","id":"08455017-118A-49AE-9FB3-4789675CD01B"},"2713":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:01:48 GMT+0100 (W. Europe Standard Time)"},"2714":{"date":{"__isSmartRef__":true,"id":2715},"author":"conradcalmez","message":"","id":"85F46876-CA7B-4FB0-A820-E2F3ED26A0DC"},"2715":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:05:29 GMT+0100 (W. Europe Standard Time)"},"2716":{"date":{"__isSmartRef__":true,"id":2717},"author":"conradcalmez","message":"","id":"34A17848-E7F1-43BF-8F94-5E6B7055CA99"},"2717":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:06:26 GMT+0100 (W. Europe Standard Time)"},"2718":{"date":{"__isSmartRef__":true,"id":2719},"author":"conradcalmez","message":"","id":"8B096776-8212-447B-8D9B-92118B2D8D98"},"2719":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:08:41 GMT+0100 (W. Europe Standard Time)"},"2720":{"date":{"__isSmartRef__":true,"id":2721},"author":"conradcalmez","message":"","id":"89D74A5D-CB75-45DF-971D-90BA8E16B1D6"},"2721":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:10:12 GMT+0100 (W. Europe Standard Time)"},"2722":{"date":{"__isSmartRef__":true,"id":2723},"author":"conradcalmez","message":"","id":"9B53FD05-7C71-4D2C-9969-7B7E07A3D4E1"},"2723":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:11:25 GMT+0100 (W. Europe Standard Time)"},"2724":{"date":{"__isSmartRef__":true,"id":2725},"author":"conradcalmez","message":"added pin button","id":"1F22A05C-0179-4933-A878-30FEBC5B8DC0"},"2725":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:04:01 GMT+0100 (W. Europe Standard Time)"},"2726":{"date":{"__isSmartRef__":true,"id":2727},"author":"conradcalmez","message":"added pinning functionality","id":"D174C7F1-158B-4744-867F-FC5171FAE408"},"2727":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:25:54 GMT+0100 (W. Europe Standard Time)"},"2728":{"date":{"__isSmartRef__":true,"id":2729},"author":"conradcalmez","message":"","id":"1E584269-7648-47BF-AF7F-EECE051ED4A6"},"2729":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:27:55 GMT+0100 (W. Europe Standard Time)"},"2730":{"date":{"__isSmartRef__":true,"id":2731},"author":"conradcalmez","message":"","id":"DA4BEF18-58E7-49F9-8032-C219A9FA256C"},"2731":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:31:32 GMT+0100 (W. Europe Standard Time)"},"2732":{"date":{"__isSmartRef__":true,"id":2733},"author":"conradcalmez","message":"","id":"9606D610-A410-4809-B8C3-45CB9BCA3361"},"2733":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:34:49 GMT+0100 (W. Europe Standard Time)"},"2734":{"date":{"__isSmartRef__":true,"id":2735},"author":"conradcalmez","message":"","id":"98C592AA-919B-4626-A3ED-7B621D777CDA"},"2735":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:36:23 GMT+0100 (W. Europe Standard Time)"},"2736":{"date":{"__isSmartRef__":true,"id":2737},"author":"conradcalmez","message":"","id":"86C17D0B-3877-4E29-A7A6-C2CB33FD0802"},"2737":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:37:07 GMT+0100 (W. Europe Standard Time)"},"2738":{"date":{"__isSmartRef__":true,"id":2739},"author":"conradcalmez","message":"pinning adds menu to the targetMorph of the menu","id":"FA29B13A-7FFE-4CC7-A396-41ABFB626978"},"2739":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:41:52 GMT+0100 (W. Europe Standard Time)"},"2740":{"date":{"__isSmartRef__":true,"id":2741},"author":"conradcalmez","message":"oops a typo has come by","id":"2166ACE7-96B9-4683-AFFD-B0E40E807338"},"2741":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:43:05 GMT+0100 (W. Europe Standard Time)"},"2742":{"date":{"__isSmartRef__":true,"id":2743},"author":"conradcalmez","message":"","id":"23A81326-F016-4435-816C-29711652684D"},"2743":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:15:15 GMT+0100 (W. Europe Standard Time)"},"2744":{"date":{"__isSmartRef__":true,"id":2745},"author":"conradcalmez","message":"","id":"FDFD3D57-4401-4603-BF1C-E0A3AFE0F7D9"},"2745":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:17:01 GMT+0100 (W. Europe Standard Time)"},"2746":{"date":{"__isSmartRef__":true,"id":2747},"author":"conradcalmez","message":"","id":"BC4C2269-9441-4876-B96E-280821720496"},"2747":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:18:29 GMT+0100 (W. Europe Standard Time)"},"2748":{"date":{"__isSmartRef__":true,"id":2749},"author":"conradcalmez","message":"","id":"953187D9-20B4-441E-BA46-F8D9E309BEE7"},"2749":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:19:48 GMT+0100 (W. Europe Standard Time)"},"2750":{"date":{"__isSmartRef__":true,"id":2751},"author":"conradcalmez","message":"","id":"44010F70-F3B9-4164-AF04-CBF8590B9FC4"},"2751":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:25:35 GMT+0100 (W. Europe Standard Time)"},"2752":{"date":{"__isSmartRef__":true,"id":2753},"author":"conradcalmez","message":"","id":"4EA34716-6498-46CD-B9F1-EE93E25BC342"},"2753":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:27:28 GMT+0100 (W. Europe Standard Time)"},"2754":{"date":{"__isSmartRef__":true,"id":2755},"author":"conradcalmez","message":"","id":"2DE30403-782E-4EA1-ACEB-10B16E17331D"},"2755":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:29:34 GMT+0100 (W. Europe Standard Time)"},"2756":{"date":{"__isSmartRef__":true,"id":2757},"author":"conradcalmez","message":"","id":"5ADFFA36-2DE8-44B1-ADE0-085E4467E6B2"},"2757":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:34:11 GMT+0100 (W. Europe Standard Time)"},"2758":{"date":{"__isSmartRef__":true,"id":2759},"author":"conradcalmez","message":"","id":"F97D487B-F43A-4164-9CEC-5100A5639514"},"2759":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:35:36 GMT+0100 (W. Europe Standard Time)"},"2760":{"date":{"__isSmartRef__":true,"id":2761},"author":"conradcalmez","message":"copy on pinning","id":"161AD73E-BC7A-4F74-970E-6EE8A9591F04"},"2761":{"isSerializedDate":true,"string":"Wed Feb 22 2012 16:11:04 GMT+0100 (W. Europe Standard Time)"},"2762":{"date":{"__isSmartRef__":true,"id":2763},"author":"sstamm","message":"callback function is now asynchronous","id":"E412D2ED-68A2-4E46-9872-BE2741D22E4B"},"2763":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:06:13 GMT+0100 (W. Europe Standard Time)"},"2764":{"date":{"__isSmartRef__":true,"id":2765},"author":"sstamm","message":"callback function is now called asynchronously, to provide immidiate feedback","id":"5CE7BADD-7D07-4D05-8D6C-1F19528A278E"},"2765":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:16:34 GMT+0100 (W. Europe Standard Time)"},"2766":{"date":{"__isSmartRef__":true,"id":2767},"author":"sstamm","message":"scale in setup related to world scale","id":"C61FF380-83B5-47A5-9E90-BB4F3B29737E"},"2767":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:10:34 GMT+0100 (W. Europe Standard Time)"},"2768":{"date":{"__isSmartRef__":true,"id":2769},"author":"bsiegmund","message":"using faster list now","id":"F59315D3-BB43-405F-BCB5-5EF72FB89E9B"},"2769":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:39:59 GMT+0100 (W. Europe Standard Time)"},"2770":{"date":{"__isSmartRef__":true,"id":2771},"author":"bsiegmund","message":"reverted","id":"6CF23553-C451-4309-9CA3-CDDED6FD3FA0"},"2771":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:54:36 GMT+0100 (W. Europe Standard Time)"},"2772":{"date":{"__isSmartRef__":true,"id":2773},"author":"markoroeder","message":"changed an access from direct access to a getter","id":"5C60B13C-48A5-4D3E-A609-493D5FFB12ED"},"2773":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:22:54 GMT+0100 (W. Europe Standard Time)"},"2774":{"date":{"__isSmartRef__":true,"id":2775},"author":"huberthesse","message":"remove touch menu after exec of menu item if menu is not pinned","id":"847E300C-D104-423A-9194-933730A02919"},"2775":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:32:41 GMT+0100 (W. Europe Standard Time)"},"2776":{"date":{"__isSmartRef__":true,"id":2777},"author":"huberthesse","message":"","id":"059D4660-23B7-478B-B823-B14C05C15E5B"},"2777":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:34:49 GMT+0100 (W. Europe Standard Time)"},"2778":{"date":{"__isSmartRef__":true,"id":2779},"author":"huberthesse","message":"","id":"42C4D2CF-1622-44D1-A74D-8D2D99983E62"},"2779":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:35:47 GMT+0100 (W. Europe Standard Time)"},"2780":{"date":{"__isSmartRef__":true,"id":2781},"author":"sstamm","message":"","id":"76752B38-5105-433B-8BF6-1A96930D69BA"},"2781":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:11:16 GMT+0100 (W. Europe Standard Time)"},"2782":{"date":{"__isSmartRef__":true,"id":2783},"author":"sstamm","message":"","id":"E1B2AA93-72B7-4EE7-95AA-B5FE40810FB9"},"2783":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:13:22 GMT+0100 (W. Europe Standard Time)"},"2784":{"date":{"__isSmartRef__":true,"id":2785},"author":"sstamm","message":"","id":"7D9AFF8E-C7C7-49BE-AF05-EF12B984A6BA"},"2785":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:15:27 GMT+0100 (W. Europe Standard Time)"},"2786":{"date":{"__isSmartRef__":true,"id":2787},"author":"sstamm","message":"","id":"A64B156D-94C9-4551-A053-15765A65B065"},"2787":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:19:34 GMT+0100 (W. Europe Standard Time)"},"2788":{"date":{"__isSmartRef__":true,"id":2789},"author":"sstamm","message":"","id":"2FA4E085-6A7F-4A16-A5EE-12E883BC9525"},"2789":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:33:55 GMT+0100 (W. Europe Standard Time)"},"2790":{"date":{"__isSmartRef__":true,"id":2791},"author":"sstamm","message":"","id":"5730A8FE-8C00-41BC-BDF5-6B693FED7AA3"},"2791":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:39:26 GMT+0100 (W. Europe Standard Time)"},"2792":{"date":{"__isSmartRef__":true,"id":2793},"author":"sstamm","message":"","id":"AB7C595A-6A78-4929-9FB9-1567793A2573"},"2793":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:42:13 GMT+0100 (W. Europe Standard Time)"},"2794":{"date":{"__isSmartRef__":true,"id":2795},"author":"sstamm","message":"","id":"6EA0250C-48D8-436E-9C04-78237D8E3964"},"2795":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:43:33 GMT+0100 (W. Europe Standard Time)"},"2796":{"date":{"__isSmartRef__":true,"id":2797},"author":"sstamm","message":"fixed bug with infinite velocity","id":"3A6C0C0E-1466-4D41-9B40-D18B54092F0A"},"2797":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:46:05 GMT+0100 (W. Europe Standard Time)"},"2798":{"date":{"__isSmartRef__":true,"id":2799},"author":"sstamm","message":"","id":"C79FA26E-C4CC-4AA1-BF45-8999BEC2C328"},"2799":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:48:52 GMT+0100 (W. Europe Standard Time)"},"2800":{"date":{"__isSmartRef__":true,"id":2801},"author":"sstamm","message":"","id":"5EA0E64B-00D7-44A0-B94F-E44DD81970DE"},"2801":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:52:29 GMT+0100 (W. Europe Standard Time)"},"2802":{"date":{"__isSmartRef__":true,"id":2803},"author":"huberthesse","message":"added support for synchron calls","id":"C62F7D6A-3463-4E5B-BC1F-E50130F6E114"},"2803":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:07:26 GMT+0200 (W. Europe Daylight Time)"},"2804":{"date":{"__isSmartRef__":true,"id":2805},"author":"huberthesse","message":"","id":"B33CD0AB-C6CA-4C68-8D64-EA414CF9DF1F"},"2805":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:18:44 GMT+0200 (W. Europe Daylight Time)"},"2806":{"date":{"__isSmartRef__":true,"id":2807},"author":"huberthesse","message":"","id":"7A4F0108-9EA3-4111-B4B3-BA0D71FABAFF"},"2807":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:24:58 GMT+0200 (W. Europe Daylight Time)"},"2808":{"date":{"__isSmartRef__":true,"id":2809},"author":"huberthesse","message":"","id":"1827308A-D5A2-447C-98FF-736B9F2D902B"},"2809":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:38:09 GMT+0200 (W. Europe Daylight Time)"},"2810":{"date":{"__isSmartRef__":true,"id":2811},"author":"huberthesse","message":"","id":"CE723E9F-E46C-4286-9B9D-2F0600D63240"},"2811":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:40:32 GMT+0200 (W. Europe Daylight Time)"},"2812":{"date":{"__isSmartRef__":true,"id":2813},"author":"huberthesse","message":"","id":"AF038D91-7D22-4C78-B715-EB6A6CBBA3EE"},"2813":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:44:54 GMT+0200 (W. Europe Daylight Time)"},"2814":{"date":{"__isSmartRef__":true,"id":2815},"author":"huberthesse","message":"","id":"CE73D90E-82DE-4B8F-923D-165B4F13302F"},"2815":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:47:22 GMT+0200 (W. Europe Daylight Time)"},"2816":{"date":{"__isSmartRef__":true,"id":2817},"author":"sstamm","message":"","id":"C9059BA0-44F6-4F7E-94C6-76056E68E530"},"2817":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:48:40 GMT+0200 (W. Europe Daylight Time)"},"2818":{"date":{"__isSmartRef__":true,"id":2819},"author":"sstamm","message":"disabled selection","id":"C336051C-F50D-4718-9C87-6B81ECA9548F"},"2819":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:28:35 GMT+0200 (W. Europe Daylight Time)"},"2820":{"date":{"__isSmartRef__":true,"id":2821},"author":"sstamm","message":"","id":"C233DB7C-A314-4F83-A059-448742FCF64C"},"2821":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:13:51 GMT+0200 (W. Europe Daylight Time)"},"2822":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2823":{"morph":{"__isSmartRef__":true,"id":718},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2824":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2825":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (W. Europe Standard Time)"},"2826":{"adjustForNewBounds":true},"2827":{"x":243.5,"y":-59,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2828":{"reset":{"__isSmartRef__":true,"id":2829},"setup":{"__isSmartRef__":true,"id":2833},"isPinned":{"__isSmartRef__":true,"id":2837},"pin":{"__isSmartRef__":true,"id":2841}},"2829":{"varMapping":{"__isSmartRef__":true,"id":2830},"source":"function reset() {\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n this.disableDropping();\n this.submorphs.invoke('reset');\n this.setName(\"TouchMenu\");\n this.targetMorph = undefined;\n this.pinned = false;\n this.get('PinButton').inactiveBackground();\n this.setFixed(true);\n this.fixedScale = 1;\n}","funcProperties":{"__isSmartRef__":true,"id":2831},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2830":{"this":{"__isSmartRef__":true,"id":718}},"2831":{"timestamp":{"__isSmartRef__":true,"id":2832},"user":"conradcalmez","tags":[]},"2832":{"isSerializedDate":true,"string":"Wed Mar 21 2012 16:34:48 GMT+0100 (W. Europe Standard Time)"},"2833":{"varMapping":{"__isSmartRef__":true,"id":2834},"source":"function setup(itemList) {\n\n this.setScale(1/$world.getZoomLevel());\n \n this.get(\"TouchList\").setup(itemList);\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n}","funcProperties":{"__isSmartRef__":true,"id":2835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2834":{"this":{"__isSmartRef__":true,"id":718}},"2835":{"timestamp":{"__isSmartRef__":true,"id":2836},"user":"markoroeder","tags":[]},"2836":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:22:09 GMT+0100 (W. Europe Standard Time)"},"2837":{"varMapping":{"__isSmartRef__":true,"id":2838},"source":"function isPinned() {\n return this.pinned\n}","funcProperties":{"__isSmartRef__":true,"id":2839},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2838":{"this":{"__isSmartRef__":true,"id":718}},"2839":{"timestamp":{"__isSmartRef__":true,"id":2840},"user":"conradcalmez","tags":[]},"2840":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:22:44 GMT+0100 (W. Europe Standard Time)"},"2841":{"varMapping":{"__isSmartRef__":true,"id":2842},"source":"function pin() {\n console.log(\"owner before: \" + this.owner);\n if (!this.isPinned()) {\n this.pinned = true;\n if (this === $world.touchMenuPrototype) {\n $world.touchMenuPrototype = this.copy();\n $world.touchMenuPrototype.reset();\n }\n var blocker = this.owner;\n this.targetMorph.addMorph(this);\n blocker.remove();\n } else {\n this.pinned = false;\n var blocker = Morph.makeRectangle($world.bounds());\n blocker.applyStyle({\n fill: null,\n opacity: 1,\n });\n $world.addMorph(blocker);\n blocker.addMorph(this);\n connect(blocker, \"onTap\", blocker, \"remove\");\n connect(blocker, \"onTap\", this, \"remove\");\n }\n console.log(\"owner after: \" + this.owner);\n}","funcProperties":{"__isSmartRef__":true,"id":2843},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2842":{"this":{"__isSmartRef__":true,"id":718}},"2843":{"timestamp":{"__isSmartRef__":true,"id":2844},"user":"conradcalmez","tags":[]},"2844":{"isSerializedDate":true,"string":"Wed Feb 22 2012 16:10:45 GMT+0100 (W. Europe Standard Time)"},"2845":{"lastUpdate":{"__isSmartRef__":true,"id":2846},"startDate":{"__isSmartRef__":true,"id":2847},"clientStart":{"__isSmartRef__":true,"id":2848},"pageStart":{"__isSmartRef__":true,"id":2849},"screenStart":{"__isSmartRef__":true,"id":2850},"startTouch":{"__isSmartRef__":true,"id":2851},"identifier":3954502037,"pageY":168,"screenX":239,"clientX":214,"clientY":115,"screenY":165,"pageX":244},"2846":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2847":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2848":{"x":214,"y":115,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2849":{"x":244,"y":168,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2850":{"x":239,"y":165,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2851":{"lastUpdate":{"__isSmartRef__":true,"id":2852},"startDate":{"__isSmartRef__":true,"id":2847},"clientStart":{"__isSmartRef__":true,"id":2848},"pageStart":{"__isSmartRef__":true,"id":2849},"screenStart":{"__isSmartRef__":true,"id":2850},"startTouch":{"__isSmartRef__":true,"id":2853},"identifier":3954502037,"pageY":168,"screenX":239,"clientX":214,"clientY":115,"screenY":165,"pageX":244},"2852":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2853":{"lastUpdate":{"__isSmartRef__":true,"id":2854},"startDate":{"__isSmartRef__":true,"id":2855},"clientStart":{"__isSmartRef__":true,"id":2856},"pageStart":{"__isSmartRef__":true,"id":2857},"screenStart":{"__isSmartRef__":true,"id":2858},"identifier":3954502037,"pageY":168,"screenX":239,"clientX":214,"clientY":115,"screenY":165,"pageX":244},"2854":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2855":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2856":{"x":214,"y":115,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2857":{"x":244,"y":168,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2858":{"x":239,"y":165,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2859":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:32:54 GMT+0200 (W. Europe Daylight Time)"},"2860":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2861":{"x":353,"y":336,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2862":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:26:15 GMT+0200 (W. Europe Daylight Time)"},"2863":{"x":30,"y":53,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2864":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/Research/ButtonSelection.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>