","extent":{"__isSmartRef__":true,"id":11},"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"9":{"x":198,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11":{"x":200,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13":{"morph":{"__isSmartRef__":true,"id":5},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":16}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"16":{"date":{"__isSmartRef__":true,"id":17},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"17":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"18":{"x":138,"y":-13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19":{"sourceObj":{"__isSmartRef__":true,"id":5},"sourceAttrName":"sat","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateSat","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"20":{"submorphs":[],"scripts":[],"id":"BC16EA92-0EBE-41FF-8982-20B8A416F4B1","shape":{"__isSmartRef__":true,"id":21},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":28},"showsHalos":false,"name":"ColorDisplay","partsBinMetaInfo":{"__isSmartRef__":true,"id":29},"renderContextTable":{"__isSmartRef__":true,"id":44},"eventHandler":{"__isSmartRef__":true,"id":45},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C"],"partTests":{"__isSmartRef__":true,"id":46},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":2},"distanceToDragEvent":{"__isSmartRef__":true,"id":51},"isBeingDragged":false,"hue":0.5842105263157895,"sat":0.715,"brt":0.645,"color":{"__isSmartRef__":true,"id":52},"magnets":[{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":65},{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":74}],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"21":{"position":{"__isSmartRef__":true,"id":22},"_Extent":{"__isSmartRef__":true,"id":23},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":{"__isSmartRef__":true,"id":25},"renderContextTable":{"__isSmartRef__":true,"id":26},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":27},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"22":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23":{"x":60,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25":{"r":1,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"26":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"27":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"28":{"x":270,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"29":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":42}],"revisionOnLoad":171602,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"30":{"date":{"__isSmartRef__":true,"id":31},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"31":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"32":{"date":{"__isSmartRef__":true,"id":33},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"33":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"34":{"date":{"__isSmartRef__":true,"id":35},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"35":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"36":{"date":{"__isSmartRef__":true,"id":37},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"37":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"38":{"date":{"__isSmartRef__":true,"id":39},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"39":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"40":{"date":{"__isSmartRef__":true,"id":41},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"41":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"42":{"date":{"__isSmartRef__":true,"id":43},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"43":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (Pacific Daylight Time)"},"44":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"45":{"morph":{"__isSmartRef__":true,"id":20},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"46":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":47}},"47":{"test01IsMorph":{"__isSmartRef__":true,"id":48}},"48":{"varMapping":{"__isSmartRef__":true,"id":49},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"49":{"this":{"__isSmartRef__":true,"id":46}},"50":{},"51":{"x":37,"y":-9,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"52":{"r":0.39215686274509803,"g":0.6431372549019608,"b":0.8980392156862745,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"53":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":54},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"54":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"55":{"x":561,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"56":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":57},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"57":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"58":{"x":581,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"59":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":60},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"60":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"61":{"x":601,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"62":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":63},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":64},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"63":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"64":{"x":601,"y":357,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"65":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":66},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"66":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"67":{"x":601,"y":377,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"68":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":69},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":70},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"69":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"70":{"x":581,"y":377,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"71":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":72},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":73},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"72":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"73":{"x":561,"y":377,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"74":{"morph":{"__isSmartRef__":true,"id":20},"position":{"__isSmartRef__":true,"id":75},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"75":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"76":{"x":561,"y":357,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"77":{"updateHue":{"__isSmartRef__":true,"id":78},"updateSat":{"__isSmartRef__":true,"id":82},"updateBrt":{"__isSmartRef__":true,"id":86},"updateRGB":{"__isSmartRef__":true,"id":90},"updateColor":{"__isSmartRef__":true,"id":94}},"78":{"varMapping":{"__isSmartRef__":true,"id":79},"source":"function updateHue(hue) {\n this.hue = hue;\n this.updateRGB();\n}","funcProperties":{"__isSmartRef__":true,"id":80},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"79":{"this":{"__isSmartRef__":true,"id":20}},"80":{"timestamp":{"__isSmartRef__":true,"id":81},"user":"bgnauk","tags":[]},"81":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:41 GMT-0700 (Pacific Daylight Time)"},"82":{"varMapping":{"__isSmartRef__":true,"id":83},"source":"function updateSat(sat) {\n this.sat = sat;\n this.updateRGB();\n}","funcProperties":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"83":{"this":{"__isSmartRef__":true,"id":20}},"84":{"timestamp":{"__isSmartRef__":true,"id":85},"user":"bgnauk","tags":[]},"85":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:33 GMT-0700 (Pacific Daylight Time)"},"86":{"varMapping":{"__isSmartRef__":true,"id":87},"source":"function updateBrt(brt) {\n this.brt= brt;\n this.updateRGB();\n}","funcProperties":{"__isSmartRef__":true,"id":88},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"87":{"this":{"__isSmartRef__":true,"id":20}},"88":{"timestamp":{"__isSmartRef__":true,"id":89},"user":"bgnauk","tags":[]},"89":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:48 GMT-0700 (Pacific Daylight Time)"},"90":{"varMapping":{"__isSmartRef__":true,"id":91},"source":"function updateRGB() {\n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n }\n \n var rgb = hslToRgb(this.hue, this.sat, this.brt);\n this.color = new Color(rgb[0]/255, rgb[1]/255, rgb[2]/255);\n this.applyStyle({fill:this.color});\n}","funcProperties":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"91":{"this":{"__isSmartRef__":true,"id":20}},"92":{"timestamp":{"__isSmartRef__":true,"id":93},"user":"bgnauk","tags":[]},"93":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:33:42 GMT-0700 (Pacific Daylight Time)"},"94":{"varMapping":{"__isSmartRef__":true,"id":95},"source":"function updateColor(color) {\n this.applyStyle({fill:color});\n}","funcProperties":{"__isSmartRef__":true,"id":96},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"95":{"this":{"__isSmartRef__":true,"id":20}},"96":{"timestamp":{"__isSmartRef__":true,"id":97},"user":"bgnauk","tags":[]},"97":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:16:23 GMT-0700 (Pacific Daylight Time)"},"98":{"sourceObj":{"__isSmartRef__":true,"id":5},"sourceAttrName":"brt","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateBrt","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"99":{"source":{"__isSmartRef__":true,"id":5},"target":{"__isSmartRef__":true,"id":20}},"100":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":101},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"101":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"102":{"x":181,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"103":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":104},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":105},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"104":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"105":{"x":281,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"106":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":107},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":108},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"107":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"108":{"x":381,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"109":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":110},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":111},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"110":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"111":{"x":381,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"112":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":113},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"113":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"114":{"x":381,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"115":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":116},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"116":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"117":{"x":281,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"118":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":119},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"119":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"120":{"x":181,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"121":{"morph":{"__isSmartRef__":true,"id":5},"position":{"__isSmartRef__":true,"id":122},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"122":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"123":{"x":181,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"124":{"draw":{"__isSmartRef__":true,"id":125},"updateSat":{"__isSmartRef__":true,"id":129},"updateBrt":{"__isSmartRef__":true,"id":133},"onMouseDown":{"__isSmartRef__":true,"id":137},"onMouseMove":{"__isSmartRef__":true,"id":145},"onMouseUp":{"__isSmartRef__":true,"id":153},"onMouseOut":{"__isSmartRef__":true,"id":161}},"125":{"varMapping":{"__isSmartRef__":true,"id":126},"source":"function draw(hue) {\n var canvas = this,\n ctx = canvas.getContext(),\n bounds = canvas.getExtent(),\n width = bounds.x,\n height = bounds.y,\n pixel = ctx.createImageData(1,1);\n \n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n}\n \n for (var x = 0; x < width; x++) {\n for (var y = 0; y < height; y++) {\n var hue = hue,\n sat = x / width,\n brt = 1 - (y / height),\n alpha = 1,\n color = hslToRgb(hue, sat, brt);\n ctx.fillStyle = 'rgba(' + color[0] + ',' +color[1] + ',' + color[2] + ',' + alpha+')';\n ctx.fillRect(x, y, 1, 1);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"126":{"this":{"__isSmartRef__":true,"id":5}},"127":{"timestamp":{"__isSmartRef__":true,"id":128},"user":"bgnauk","tags":[]},"128":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:15:58 GMT-0700 (Pacific Daylight Time)"},"129":{"varMapping":{"__isSmartRef__":true,"id":130},"source":"function updateSat(mouseXCoord) {\n var width = this.getExtent().x,\n sat= mouseXCoord/ width ;\n this.sat= sat;\n}","funcProperties":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"130":{"this":{"__isSmartRef__":true,"id":5}},"131":{"timestamp":{"__isSmartRef__":true,"id":132},"user":"bgnauk","tags":[]},"132":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:11 GMT-0700 (Pacific Daylight Time)"},"133":{"varMapping":{"__isSmartRef__":true,"id":134},"source":"function updateBrt(mouseYCoord) {\n var height = this.getExtent().y,\n brt = 1 - (mouseYCoord / height);\n this.brt= brt;\n}","funcProperties":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"134":{"this":{"__isSmartRef__":true,"id":5}},"135":{"timestamp":{"__isSmartRef__":true,"id":136},"user":"bgnauk","tags":[]},"136":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:36:46 GMT-0700 (Pacific Daylight Time)"},"137":{"varMapping":{"__isSmartRef__":true,"id":138},"source":"function onMouseDown(evt) {\n this.mouseIsDown = true;\n this.updateBrt(evt.offsetY);\n this.updateSat(evt.offsetX);\n}","funcProperties":{"__isSmartRef__":true,"id":143},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"138":{"this":{"__isSmartRef__":true,"id":5},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":139}},"139":{"$super":{"__isSmartRef__":true,"id":140}},"140":{"varMapping":{"__isSmartRef__":true,"id":141},"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":142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"141":{"obj":{"__isSmartRef__":true,"id":5},"name":"onMouseDown"},"142":{},"143":{"timestamp":{"__isSmartRef__":true,"id":144},"user":"bgnauk","tags":[]},"144":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:27:12 GMT-0700 (Pacific Daylight Time)"},"145":{"varMapping":{"__isSmartRef__":true,"id":146},"source":"function onMouseMove(evt) {\n if (this.mouseIsDown) {\n this.updateBrt(evt.offsetY);\n this.updateSat(evt.offsetX);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":151},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"146":{"this":{"__isSmartRef__":true,"id":5},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":147}},"147":{"$super":{"__isSmartRef__":true,"id":148}},"148":{"varMapping":{"__isSmartRef__":true,"id":149},"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":150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"149":{"obj":{"__isSmartRef__":true,"id":5},"name":"onMouseMove"},"150":{},"151":{"timestamp":{"__isSmartRef__":true,"id":152},"user":"bgnauk","tags":[]},"152":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:27:25 GMT-0700 (Pacific Daylight Time)"},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function onMouseUp(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":159},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"154":{"this":{"__isSmartRef__":true,"id":5},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":155}},"155":{"$super":{"__isSmartRef__":true,"id":156}},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"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":158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"157":{"obj":{"__isSmartRef__":true,"id":5},"name":"onMouseUp"},"158":{},"159":{"timestamp":{"__isSmartRef__":true,"id":160},"user":"bgnauk","tags":[]},"160":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:26:57 GMT-0700 (Pacific Daylight Time)"},"161":{"varMapping":{"__isSmartRef__":true,"id":162},"source":"function onMouseOut(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":167},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"162":{"this":{"__isSmartRef__":true,"id":5},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":163}},"163":{"$super":{"__isSmartRef__":true,"id":164}},"164":{"varMapping":{"__isSmartRef__":true,"id":165},"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":166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"165":{"obj":{"__isSmartRef__":true,"id":5},"name":"onMouseOut"},"166":{},"167":{"timestamp":{"__isSmartRef__":true,"id":168},"user":"bgnauk","tags":[]},"168":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:39:21 GMT-0700 (Pacific Daylight Time)"},"169":{"renderContextTable":{"__isSmartRef__":true,"id":170},"_NodeClass":["Morph","CanvasMorph"],"_Extent":{"__isSmartRef__":true,"id":171},"_Padding":{"__isSmartRef__":true,"id":172},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":173},"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":174},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"170":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"171":{"x":198,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"172":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"173":{"x":200,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"174":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"175":{"morph":{"__isSmartRef__":true,"id":3},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"176":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"177":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":178}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"178":{"date":{"__isSmartRef__":true,"id":179},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"179":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"180":{"x":140,"y":-9,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"181":{"sourceObj":{"__isSmartRef__":true,"id":3},"sourceAttrName":"sat","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateSat","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"182":{"sourceObj":{"__isSmartRef__":true,"id":3},"sourceAttrName":"brt","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateBrt","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":183},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"183":{"source":{"__isSmartRef__":true,"id":3},"target":{"__isSmartRef__":true,"id":20}},"184":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":185},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"185":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"186":{"x":181,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"187":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":188},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"188":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"189":{"x":281,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"190":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":191},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"191":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"192":{"x":381,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"193":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":194},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":195},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"194":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"195":{"x":381,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"196":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":197},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"197":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"198":{"x":381,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"199":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":200},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":201},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"200":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"201":{"x":281,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"202":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":203},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":204},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"203":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"204":{"x":181,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"205":{"morph":{"__isSmartRef__":true,"id":3},"position":{"__isSmartRef__":true,"id":206},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":207},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"206":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"207":{"x":181,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"208":{"draw":{"__isSmartRef__":true,"id":209},"updateSat":{"__isSmartRef__":true,"id":213},"updateBrt":{"__isSmartRef__":true,"id":217},"onMouseDown":{"__isSmartRef__":true,"id":221},"onMouseMove":{"__isSmartRef__":true,"id":229},"onMouseUp":{"__isSmartRef__":true,"id":237},"onMouseOut":{"__isSmartRef__":true,"id":245},"drawCrossAtSatBrt":{"__isSmartRef__":true,"id":253},"updateSatBrt":{"__isSmartRef__":true,"id":257},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":261}},"209":{"varMapping":{"__isSmartRef__":true,"id":210},"source":"function draw(hue) {\n var canvas = this,\n ctx = canvas.getContext(),\n bounds = canvas.getExtent(),\n width = bounds.x,\n height = bounds.y,\n pixel = ctx.createImageData(1,1);\n \n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n}\n \n for (var x = 0; x < width; x++) {\n for (var y = 0; y < height; y++) {\n var hue = hue,\n sat = x / width,\n brt = 1 - (y / height),\n alpha = 1,\n color = hslToRgb(hue, sat, brt);\n ctx.fillStyle = 'rgba(' + color[0] + ',' +color[1] + ',' + color[2] + ',' + alpha+')';\n ctx.fillRect(x, y, 1, 1);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"210":{"this":{"__isSmartRef__":true,"id":3}},"211":{"timestamp":{"__isSmartRef__":true,"id":212},"user":"bgnauk","tags":[]},"212":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:23:40 GMT-0700 (Pacific Daylight Time)"},"213":{"varMapping":{"__isSmartRef__":true,"id":214},"source":"function updateSat(mouseXCoord) {\n var width = this.getExtent().x,\n sat= mouseXCoord/ width ;\n this.sat= sat;\n}","funcProperties":{"__isSmartRef__":true,"id":215},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"214":{"this":{"__isSmartRef__":true,"id":3}},"215":{"timestamp":{"__isSmartRef__":true,"id":216},"user":"bgnauk","tags":[]},"216":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:11 GMT-0700 (Pacific Daylight Time)"},"217":{"varMapping":{"__isSmartRef__":true,"id":218},"source":"function updateBrt(mouseYCoord) {\n var height = this.getExtent().y,\n brt = 1 - (mouseYCoord / height);\n this.brt = brt;\n}","funcProperties":{"__isSmartRef__":true,"id":219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"218":{"this":{"__isSmartRef__":true,"id":3}},"219":{"timestamp":{"__isSmartRef__":true,"id":220},"user":"bgnauk","tags":[]},"220":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:20:48 GMT-0700 (Pacific Daylight Time)"},"221":{"varMapping":{"__isSmartRef__":true,"id":222},"source":"function onMouseDown(evt) {\n this.mouseIsDown = true;\n this.updateSatBrt(evt.offsetX, evt.offsetY);\n}","funcProperties":{"__isSmartRef__":true,"id":227},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"222":{"this":{"__isSmartRef__":true,"id":3},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":223}},"223":{"$super":{"__isSmartRef__":true,"id":224}},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"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":226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"obj":{"__isSmartRef__":true,"id":3},"name":"onMouseDown"},"226":{},"227":{"timestamp":{"__isSmartRef__":true,"id":228},"user":"bgnauk","tags":[]},"228":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:21:44 GMT-0700 (Pacific Daylight Time)"},"229":{"varMapping":{"__isSmartRef__":true,"id":230},"source":"function onMouseMove(evt) {\n if (this.mouseIsDown) {\n this.updateSatBrt(evt.offsetX, evt.offsetY);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"230":{"this":{"__isSmartRef__":true,"id":3},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":231}},"231":{"$super":{"__isSmartRef__":true,"id":232}},"232":{"varMapping":{"__isSmartRef__":true,"id":233},"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":234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"233":{"obj":{"__isSmartRef__":true,"id":3},"name":"onMouseMove"},"234":{},"235":{"timestamp":{"__isSmartRef__":true,"id":236},"user":"bgnauk","tags":[]},"236":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:21:38 GMT-0700 (Pacific Daylight Time)"},"237":{"varMapping":{"__isSmartRef__":true,"id":238},"source":"function onMouseUp(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"238":{"this":{"__isSmartRef__":true,"id":3},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":239}},"239":{"$super":{"__isSmartRef__":true,"id":240}},"240":{"varMapping":{"__isSmartRef__":true,"id":241},"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":242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"241":{"obj":{"__isSmartRef__":true,"id":3},"name":"onMouseUp"},"242":{},"243":{"timestamp":{"__isSmartRef__":true,"id":244},"user":"bgnauk","tags":[]},"244":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:26:57 GMT-0700 (Pacific Daylight Time)"},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"source":"function onMouseOut(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"this":{"__isSmartRef__":true,"id":3},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":247}},"247":{"$super":{"__isSmartRef__":true,"id":248}},"248":{"varMapping":{"__isSmartRef__":true,"id":249},"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":250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"249":{"obj":{"__isSmartRef__":true,"id":3},"name":"onMouseOut"},"250":{},"251":{"timestamp":{"__isSmartRef__":true,"id":252},"user":"bgnauk","tags":[]},"252":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:39:21 GMT-0700 (Pacific Daylight Time)"},"253":{"varMapping":{"__isSmartRef__":true,"id":254},"source":"function drawCrossAtSatBrt(sat, brt) {\n var ctx = this.getContext(),\n extent = this.getExtent(),\n height = extent.y,\n width = extent.x,\n x = Math.round(width * sat),\n y = Math.round(height * (1-brt)),\n lineLength = 5,\n margin = 2;\n //console.log(y);\n this.clear();\n ctx.beginPath();\n var line = function(x1, y1, x2, y2) { \n ctx.moveTo(x1, y1);\n ctx.lineTo(x2, y2);\n ctx.lineWidth = 0.5;\n ctx.strokeStyle = 'black';\n ctx.stroke();\n }\n \n line(x, y - margin, x, y - margin - lineLength);\n line(x, y + margin, x, y + margin + lineLength);\n line(x- margin, y, x - margin - lineLength, y);\n line(x + margin, y, x + margin + lineLength, y);\n\n}","funcProperties":{"__isSmartRef__":true,"id":255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"254":{"this":{"__isSmartRef__":true,"id":3}},"255":{"timestamp":{"__isSmartRef__":true,"id":256},"user":"bgnauk","tags":[]},"256":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:22:20 GMT-0700 (Pacific Daylight Time)"},"257":{"varMapping":{"__isSmartRef__":true,"id":258},"source":"function updateSatBrt(sat, brt) {\n this.updateSat(sat);\n this.updateBrt(brt);\n this.drawCrossAtSatBrt(this.sat, this.brt);\n}","funcProperties":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"258":{"this":{"__isSmartRef__":true,"id":3}},"259":{"timestamp":{"__isSmartRef__":true,"id":260},"user":"bgnauk","tags":[]},"260":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:21:50 GMT-0700 (Pacific Daylight Time)"},"261":{"varMapping":{"__isSmartRef__":true,"id":262},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n this.draw(0);\n}","funcProperties":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"262":{"this":{"__isSmartRef__":true,"id":3},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":263}},"263":{"$super":{"__isSmartRef__":true,"id":264}},"264":{"varMapping":{"__isSmartRef__":true,"id":265},"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":266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"265":{"obj":{"__isSmartRef__":true,"id":3},"name":"prepareForNewRenderContext"},"266":{},"267":{"timestamp":{"__isSmartRef__":true,"id":268},"user":"bgnauk","tags":[]},"268":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:30:38 GMT-0700 (Pacific Daylight Time)"},"269":{"renderContextTable":{"__isSmartRef__":true,"id":270},"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":271},"eventHandler":{"__isSmartRef__":true,"id":277},"_ClipMode":"visible","derivationIds":["8BBA25FF-3A0E-4E03-ADC0-00485155BEDC"],"id":"BB7C09DC-DA30-4FAE-8A56-8A903D4ADC61","droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":278},"partsBinMetaInfo":{"__isSmartRef__":true,"id":279},"name":"HueField","isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":282},"owner":{"__isSmartRef__":true,"id":2},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":461}],"doNotSerialize":["$$hue"],"doNotCopyProperties":["$$hue"],"hue":0.225,"mouseIsDown":false,"magnets":[{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":469},{"__isSmartRef__":true,"id":472},{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":478},{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":484}],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":487},"__LivelyClassName__":"lively.morphic.CanvasMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"270":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","createCanvasNode":"createCanvasNodeHTML","getContext":"getContextHTML","adaptCanvasSize":"adaptCanvasSizeHTML"},"271":{"renderContextTable":{"__isSmartRef__":true,"id":272},"_NodeClass":["Morph","CanvasMorph"],"_Extent":{"__isSmartRef__":true,"id":273},"_Padding":{"__isSmartRef__":true,"id":274},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":275},"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"272":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"273":{"x":28,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"274":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"275":{"x":30,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"276":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"277":{"morph":{"__isSmartRef__":true,"id":269},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"278":{"x":220,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"279":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":280}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"280":{"date":{"__isSmartRef__":true,"id":281},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"281":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"282":{"x":42,"y":-18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"283":{"sourceObj":{"__isSmartRef__":true,"id":269},"sourceAttrName":"hue","targetObj":{"__isSmartRef__":true,"id":284},"targetMethodName":"draw","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"284":{"renderContextTable":{"__isSmartRef__":true,"id":285},"submorphs":[{"__isSmartRef__":true,"id":286}],"scripts":[],"shape":{"__isSmartRef__":true,"id":372},"eventHandler":{"__isSmartRef__":true,"id":378},"_ClipMode":"visible","derivationIds":[],"id":"8BBA25FF-3A0E-4E03-ADC0-00485155BEDC","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":2},"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":379},"partsBinMetaInfo":{"__isSmartRef__":true,"id":380},"name":"SaturationBrightnessPickerField","isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":383},"draggingEnabled":true,"grabbingEnabled":false,"mouseIsDown":false,"brt":0.47,"attributeConnections":[{"__isSmartRef__":true,"id":384},{"__isSmartRef__":true,"id":386}],"doNotSerialize":["$$sat","$$brt"],"doNotCopyProperties":["$$sat","$$brt"],"sat":1,"magnets":[{"__isSmartRef__":true,"id":388},{"__isSmartRef__":true,"id":391},{"__isSmartRef__":true,"id":394},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":400},{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":409}],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"draw":0.22631578947368422,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":412},"__LivelyClassName__":"lively.morphic.CanvasMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"285":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","createCanvasNode":"createCanvasNodeHTML","getContext":"getContextHTML","adaptCanvasSize":"adaptCanvasSizeHTML"},"286":{"renderContextTable":{"__isSmartRef__":true,"id":287},"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":288},"eventHandler":{"__isSmartRef__":true,"id":294},"_ClipMode":"visible","derivationIds":["8BBA25FF-3A0E-4E03-ADC0-00485155BEDC"],"id":"1EB48398-C523-4100-A621-7EB1042FD474","droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":295},"partsBinMetaInfo":{"__isSmartRef__":true,"id":296},"name":"SaturationBrightnessField1","isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":299},"draggingEnabled":false,"grabbingEnabled":false,"mouseIsDown":false,"brt":0.85,"attributeConnections":[{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":301}],"doNotSerialize":["$$sat","$$brt"],"doNotCopyProperties":["$$sat","$$brt"],"sat":0.55,"magnets":[{"__isSmartRef__":true,"id":303},{"__isSmartRef__":true,"id":306},{"__isSmartRef__":true,"id":309},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":315},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":324}],"isCopyMorphRef":true,"morphRefId":1,"owner":{"__isSmartRef__":true,"id":284},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":327},"__LivelyClassName__":"lively.morphic.CanvasMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"287":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","createCanvasNode":"createCanvasNodeHTML","getContext":"getContextHTML","adaptCanvasSize":"adaptCanvasSizeHTML"},"288":{"renderContextTable":{"__isSmartRef__":true,"id":289},"_NodeClass":["Morph","CanvasMorph"],"_Extent":{"__isSmartRef__":true,"id":290},"_Padding":{"__isSmartRef__":true,"id":291},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":292},"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":293},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"289":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"290":{"x":198,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"291":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"292":{"x":200,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"293":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"294":{"morph":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"295":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"296":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":297}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"297":{"date":{"__isSmartRef__":true,"id":298},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"298":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"299":{"x":138,"y":-13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"300":{"sourceObj":{"__isSmartRef__":true,"id":286},"sourceAttrName":"sat","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateSat","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"301":{"sourceObj":{"__isSmartRef__":true,"id":286},"sourceAttrName":"brt","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateBrt","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":302},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"302":{"source":{"__isSmartRef__":true,"id":286},"target":{"__isSmartRef__":true,"id":20}},"303":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":304},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":305},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"304":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"305":{"x":181,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"306":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":307},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":308},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"307":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"308":{"x":281,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"309":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":310},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":311},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"310":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"311":{"x":381,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"312":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":313},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":314},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"313":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"314":{"x":381,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"315":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":316},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":317},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"316":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"317":{"x":381,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"318":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":319},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":320},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"319":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"320":{"x":281,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"321":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":322},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"322":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"323":{"x":181,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"324":{"morph":{"__isSmartRef__":true,"id":286},"position":{"__isSmartRef__":true,"id":325},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"325":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"326":{"x":181,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"327":{"draw":{"__isSmartRef__":true,"id":328},"updateSat":{"__isSmartRef__":true,"id":332},"updateBrt":{"__isSmartRef__":true,"id":336},"onMouseDown":{"__isSmartRef__":true,"id":340},"onMouseMove":{"__isSmartRef__":true,"id":348},"onMouseUp":{"__isSmartRef__":true,"id":356},"onMouseOut":{"__isSmartRef__":true,"id":364}},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function draw(hue) {\n var canvas = this,\n ctx = canvas.getContext(),\n bounds = canvas.getExtent(),\n width = bounds.x,\n height = bounds.y,\n pixel = ctx.createImageData(1,1);\n \n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n}\n \n for (var x = 0; x < width; x++) {\n for (var y = 0; y < height; y++) {\n var hue = hue,\n sat = x / width,\n brt = 1 - (y / height),\n alpha = 1,\n color = hslToRgb(hue, sat, brt);\n ctx.fillStyle = 'rgba(' + color[0] + ',' +color[1] + ',' + color[2] + ',' + alpha+')';\n ctx.fillRect(x, y, 1, 1);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"329":{"this":{"__isSmartRef__":true,"id":286}},"330":{"timestamp":{"__isSmartRef__":true,"id":331},"user":"bgnauk","tags":[]},"331":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:15:58 GMT-0700 (Pacific Daylight Time)"},"332":{"varMapping":{"__isSmartRef__":true,"id":333},"source":"function updateSat(mouseXCoord) {\n var width = this.getExtent().x,\n sat= mouseXCoord/ width ;\n this.sat= sat;\n}","funcProperties":{"__isSmartRef__":true,"id":334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"333":{"this":{"__isSmartRef__":true,"id":286}},"334":{"timestamp":{"__isSmartRef__":true,"id":335},"user":"bgnauk","tags":[]},"335":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:35:11 GMT-0700 (Pacific Daylight Time)"},"336":{"varMapping":{"__isSmartRef__":true,"id":337},"source":"function updateBrt(mouseYCoord) {\n var height = this.getExtent().y,\n brt = 1 - (mouseYCoord / height);\n this.brt= brt;\n}","funcProperties":{"__isSmartRef__":true,"id":338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"337":{"this":{"__isSmartRef__":true,"id":286}},"338":{"timestamp":{"__isSmartRef__":true,"id":339},"user":"bgnauk","tags":[]},"339":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:36:46 GMT-0700 (Pacific Daylight Time)"},"340":{"varMapping":{"__isSmartRef__":true,"id":341},"source":"function onMouseDown(evt) {\n this.mouseIsDown = true;\n this.updateBrt(evt.offsetY);\n this.updateSat(evt.offsetX);\n}","funcProperties":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"341":{"this":{"__isSmartRef__":true,"id":286},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342}},"342":{"$super":{"__isSmartRef__":true,"id":343}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"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":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"obj":{"__isSmartRef__":true,"id":286},"name":"onMouseDown"},"345":{},"346":{"timestamp":{"__isSmartRef__":true,"id":347},"user":"bgnauk","tags":[]},"347":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:27:12 GMT-0700 (Pacific Daylight Time)"},"348":{"varMapping":{"__isSmartRef__":true,"id":349},"source":"function onMouseMove(evt) {\n if (this.mouseIsDown) {\n this.updateBrt(evt.offsetY);\n this.updateSat(evt.offsetX);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"349":{"this":{"__isSmartRef__":true,"id":286},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":350}},"350":{"$super":{"__isSmartRef__":true,"id":351}},"351":{"varMapping":{"__isSmartRef__":true,"id":352},"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":353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"352":{"obj":{"__isSmartRef__":true,"id":286},"name":"onMouseMove"},"353":{},"354":{"timestamp":{"__isSmartRef__":true,"id":355},"user":"bgnauk","tags":[]},"355":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:27:25 GMT-0700 (Pacific Daylight Time)"},"356":{"varMapping":{"__isSmartRef__":true,"id":357},"source":"function onMouseUp(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"357":{"this":{"__isSmartRef__":true,"id":286},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":358}},"358":{"$super":{"__isSmartRef__":true,"id":359}},"359":{"varMapping":{"__isSmartRef__":true,"id":360},"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":361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"360":{"obj":{"__isSmartRef__":true,"id":286},"name":"onMouseUp"},"361":{},"362":{"timestamp":{"__isSmartRef__":true,"id":363},"user":"bgnauk","tags":[]},"363":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:26:57 GMT-0700 (Pacific Daylight Time)"},"364":{"varMapping":{"__isSmartRef__":true,"id":365},"source":"function onMouseOut(evt) {\n this.mouseIsDown = false;\n}","funcProperties":{"__isSmartRef__":true,"id":370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"365":{"this":{"__isSmartRef__":true,"id":286},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":366}},"366":{"$super":{"__isSmartRef__":true,"id":367}},"367":{"varMapping":{"__isSmartRef__":true,"id":368},"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":369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"368":{"obj":{"__isSmartRef__":true,"id":286},"name":"onMouseOut"},"369":{},"370":{"timestamp":{"__isSmartRef__":true,"id":371},"user":"bgnauk","tags":[]},"371":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:39:21 GMT-0700 (Pacific Daylight Time)"},"372":{"renderContextTable":{"__isSmartRef__":true,"id":373},"_NodeClass":["Morph","CanvasMorph"],"_Extent":{"__isSmartRef__":true,"id":374},"_Padding":{"__isSmartRef__":true,"id":375},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":376},"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":377},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"373":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"374":{"x":198,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"375":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"376":{"x":200,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"377":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"378":{"morph":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"379":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"380":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":381}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"381":{"date":{"__isSmartRef__":true,"id":382},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"382":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"383":{"x":139,"y":-8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"384":{"sourceObj":{"__isSmartRef__":true,"id":284},"sourceAttrName":"sat","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"updateSat","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":385},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"385":{"source":{"__isSmartRef__":true,"id":284},"target":{"__isSmartRef__":true,"id":2}},"386":{"sourceObj":{"__isSmartRef__":true,"id":284},"sourceAttrName":"brt","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"updateBrt","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":387},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"387":{"source":{"__isSmartRef__":true,"id":284},"target":{"__isSmartRef__":true,"id":2}},"388":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":389},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":390},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"389":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"390":{"x":181,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"391":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":392},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":393},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"392":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"393":{"x":281,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"394":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":395},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":396},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"395":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"396":{"x":381,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"397":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":398},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":399},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"398":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"399":{"x":381,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"400":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":401},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":402},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"401":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"402":{"x":381,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"403":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":404},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":405},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"404":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"405":{"x":281,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"406":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":407},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":408},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"407":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"408":{"x":181,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"409":{"morph":{"__isSmartRef__":true,"id":284},"position":{"__isSmartRef__":true,"id":410},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":411},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"410":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"411":{"x":181,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"412":{"updateSat":{"__isSmartRef__":true,"id":413},"updateBrt":{"__isSmartRef__":true,"id":417},"onMouseUp":{"__isSmartRef__":true,"id":421},"drawCrossAtSatBrt":{"__isSmartRef__":true,"id":429},"updateSatBrt":{"__isSmartRef__":true,"id":433},"onDrag":{"__isSmartRef__":true,"id":437},"correctForDragOffset":{"__isSmartRef__":true,"id":445},"onMouseDown":{"__isSmartRef__":true,"id":453}},"413":{"varMapping":{"__isSmartRef__":true,"id":414},"source":"function updateSat(mouseXCoord) {\n var width = this.getExtent().x,\n sat= mouseXCoord/ width ;\n if (sat> 1) { sat= 1; }\n if (sat< 0) { sat= 0; }\n this.sat= sat;\n}","funcProperties":{"__isSmartRef__":true,"id":415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"414":{"this":{"__isSmartRef__":true,"id":284}},"415":{"timestamp":{"__isSmartRef__":true,"id":416},"user":"bgnauk","tags":[]},"416":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:20:49 GMT-0700 (Pacific Daylight Time)"},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"source":"function updateBrt(mouseYCoord) {\n var height = this.getExtent().y,\n brt = 1 - (mouseYCoord / height);\n if (brt > 1) { brt = 1; }\n if (brt < 0) { brt = 0; }\n this.brt = brt;\n}","funcProperties":{"__isSmartRef__":true,"id":419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"418":{"this":{"__isSmartRef__":true,"id":284}},"419":{"timestamp":{"__isSmartRef__":true,"id":420},"user":"bgnauk","tags":[]},"420":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:20:39 GMT-0700 (Pacific Daylight Time)"},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"source":"function onMouseUp(evt) {\n return this.onDrag(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":427},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"422":{"this":{"__isSmartRef__":true,"id":284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":423}},"423":{"$super":{"__isSmartRef__":true,"id":424}},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"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":426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"425":{"obj":{"__isSmartRef__":true,"id":284},"name":"onMouseUp"},"426":{},"427":{"timestamp":{"__isSmartRef__":true,"id":428},"user":"bgnauk","tags":[]},"428":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:23:02 GMT-0700 (Pacific Daylight Time)"},"429":{"varMapping":{"__isSmartRef__":true,"id":430},"source":"function drawCrossAtSatBrt(sat, brt) {\n var ctx = this.getContext(),\n extent = this.getExtent(),\n height = extent.y,\n width = extent.x,\n x = Math.round(width * sat) + 0.5,\n y = Math.round(height * (1-brt)) + 0.5,\n lineLength = 5,\n margin = 2;\n //console.log(y);\n this.clear();\n if (ctx) {\n ctx.beginPath();\n var line = function(x1, y1, x2, y2) { \n ctx.moveTo(x1, y1);\n ctx.lineTo(x2, y2);\n ctx.lineWidth = 0.5;\n ctx.strokeStyle = 'black';\n ctx.stroke();\n }\n \n line(x, y - margin, x, y - margin - lineLength);\n line(x, y + margin, x, y + margin + lineLength);\n line(x- margin, y, x - margin - lineLength, y);\n line(x + margin, y, x + margin + lineLength, y);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"430":{"this":{"__isSmartRef__":true,"id":284}},"431":{"timestamp":{"__isSmartRef__":true,"id":432},"user":"bgnauk","tags":[]},"432":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:40:39 GMT-0700 (Pacific Daylight Time)"},"433":{"varMapping":{"__isSmartRef__":true,"id":434},"source":"function updateSatBrt(sat, brt) {\n this.updateSat(sat);\n this.updateBrt(brt);\n this.drawCrossAtSatBrt(this.sat, this.brt);\n}","funcProperties":{"__isSmartRef__":true,"id":435},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"434":{"this":{"__isSmartRef__":true,"id":284}},"435":{"timestamp":{"__isSmartRef__":true,"id":436},"user":"bgnauk","tags":[]},"436":{"isSerializedDate":true,"string":"Thu Aug 09 2012 18:21:50 GMT-0700 (Pacific Daylight Time)"},"437":{"varMapping":{"__isSmartRef__":true,"id":438},"source":"function onDrag(evt) {\n this.updateSatBrt(evt.getPositionIn(this).x, evt.getPositionIn(this).y);\n}","funcProperties":{"__isSmartRef__":true,"id":443},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"438":{"this":{"__isSmartRef__":true,"id":284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":439}},"439":{"$super":{"__isSmartRef__":true,"id":440}},"440":{"varMapping":{"__isSmartRef__":true,"id":441},"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":442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"441":{"obj":{"__isSmartRef__":true,"id":284},"name":"onDrag"},"442":{},"443":{"timestamp":{"__isSmartRef__":true,"id":444},"user":"bgnauk","tags":[]},"444":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:19:33 GMT-0700 (Pacific Daylight Time)"},"445":{"varMapping":{"__isSmartRef__":true,"id":446},"source":"function correctForDragOffset() { return false }","funcProperties":{"__isSmartRef__":true,"id":451},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"446":{"this":{"__isSmartRef__":true,"id":284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":447}},"447":{"$super":{"__isSmartRef__":true,"id":448}},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"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":450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"449":{"obj":{"__isSmartRef__":true,"id":284},"name":"correctForDragOffset"},"450":{},"451":{"timestamp":{"__isSmartRef__":true,"id":452},"user":"bgnauk","tags":[]},"452":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:17:01 GMT-0700 (Pacific Daylight Time)"},"453":{"varMapping":{"__isSmartRef__":true,"id":454},"source":"function onMouseDown(evt) {\n return this.onDrag(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"454":{"this":{"__isSmartRef__":true,"id":284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":455}},"455":{"$super":{"__isSmartRef__":true,"id":456}},"456":{"varMapping":{"__isSmartRef__":true,"id":457},"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":458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"457":{"obj":{"__isSmartRef__":true,"id":284},"name":"onMouseDown"},"458":{},"459":{"timestamp":{"__isSmartRef__":true,"id":460},"user":"bgnauk","tags":[]},"460":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:23:20 GMT-0700 (Pacific Daylight Time)"},"461":{"sourceObj":{"__isSmartRef__":true,"id":269},"sourceAttrName":"hue","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateHue","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":462},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"462":{"source":{"__isSmartRef__":true,"id":269},"target":{"__isSmartRef__":true,"id":20}},"463":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":464},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":465},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"464":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"465":{"x":391,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"466":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":467},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":468},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"467":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"468":{"x":406,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"469":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":470},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":471},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"470":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"471":{"x":421,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"472":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":473},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":474},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"473":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"474":{"x":421,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"475":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":476},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":477},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"476":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"477":{"x":421,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"478":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":479},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":480},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"479":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"480":{"x":406,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"481":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":482},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":483},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"482":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"483":{"x":391,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"484":{"morph":{"__isSmartRef__":true,"id":269},"position":{"__isSmartRef__":true,"id":485},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":486},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"485":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"486":{"x":391,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"487":{"draw":{"__isSmartRef__":true,"id":488},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":492}},"488":{"varMapping":{"__isSmartRef__":true,"id":489},"source":"function draw() {\n var canvas = this,\n ctx = canvas.getContext(),\n bounds = canvas.getExtent(),\n width = bounds.x,\n height = bounds.y,\n pixel = ctx.createImageData(1,1);\n \n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n}\n \n for (var x = 0; x < width; x++) {\n for (var y = 0; y < height; y++) {\n var hue = (y / height),\n sat = 1,\n brt = 0.5,\n alpha = 1,\n color = hslToRgb(hue, sat, brt);\n ctx.fillStyle = 'rgba(' + color[0] + ',' +color[1] + ',' + color[2] + ',' + alpha+')';\n ctx.fillRect(x, y, 1, 1);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"489":{"this":{"__isSmartRef__":true,"id":269}},"490":{"timestamp":{"__isSmartRef__":true,"id":491},"user":"bgnauk","tags":[]},"491":{"isSerializedDate":true,"string":"Thu Aug 09 2012 17:13:40 GMT-0700 (Pacific Daylight Time)"},"492":{"varMapping":{"__isSmartRef__":true,"id":493},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n this.draw();\n}","funcProperties":{"__isSmartRef__":true,"id":498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"493":{"this":{"__isSmartRef__":true,"id":269},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":494}},"494":{"$super":{"__isSmartRef__":true,"id":495}},"495":{"varMapping":{"__isSmartRef__":true,"id":496},"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":497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"496":{"obj":{"__isSmartRef__":true,"id":269},"name":"prepareForNewRenderContext"},"497":{},"498":{"timestamp":{"__isSmartRef__":true,"id":499},"user":"bgnauk","tags":[]},"499":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:31:02 GMT-0700 (Pacific Daylight Time)"},"500":{"submorphs":[{"__isSmartRef__":true,"id":501}],"scripts":[],"id":"05CB1235-755C-496D-A241-B95968BA5835","shape":{"__isSmartRef__":true,"id":516},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":531},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":532},"lighterFill":{"__isSmartRef__":true,"id":542},"label":{"__isSmartRef__":true,"id":501},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":551},"attributeConnections":[{"__isSmartRef__":true,"id":562}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"renderContextTable":{"__isSmartRef__":true,"id":563},"eventHandler":{"__isSmartRef__":true,"id":564},"distanceToDragEvent":{"__isSmartRef__":true,"id":565},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":2},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":566},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"501":{"submorphs":[],"scripts":[],"id":"26A1D1F6-62C9-4EB3-B6D1-0522F1F6CF0E","shape":{"__isSmartRef__":true,"id":502},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":508},"_MaxTextWidth":90,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":509},"_Padding":{"__isSmartRef__":true,"id":510},"owner":{"__isSmartRef__":true,"id":500},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":511}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":513},"eventHandler":{"__isSmartRef__":true,"id":514},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A"],"_MinTextWidth":90,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":515},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"502":{"position":{"__isSmartRef__":true,"id":503},"_Extent":{"__isSmartRef__":true,"id":504},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":505},"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":506},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":507},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"503":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"504":{"x":90,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"505":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"506":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"507":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"508":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"509":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"510":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"511":{"style":{"__isSmartRef__":true,"id":512},"chunkOwner":{"__isSmartRef__":true,"id":501},"_id":"_610","storedString":"Apply","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"512":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"513":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"514":{"morph":{"__isSmartRef__":true,"id":501},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"515":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"516":{"position":{"__isSmartRef__":true,"id":517},"_Extent":{"__isSmartRef__":true,"id":518},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":519},"_Fill":{"__isSmartRef__":true,"id":520},"_BorderRadius":5.2,"renderContextTable":{"__isSmartRef__":true,"id":529},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":530},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"517":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"518":{"x":90,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"519":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"520":{"stops":[{"__isSmartRef__":true,"id":521},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":526}],"vector":{"__isSmartRef__":true,"id":528},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"521":{"offset":0,"color":{"__isSmartRef__":true,"id":522}},"522":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"523":{"offset":0.3,"color":{"__isSmartRef__":true,"id":524}},"524":{"r":0.8666666666666667,"g":0.8666666666666667,"b":0.8666666666666667,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"525":{"offset":0.7,"color":{"__isSmartRef__":true,"id":524}},"526":{"offset":1,"color":{"__isSmartRef__":true,"id":527}},"527":{"r":0.7973333333333334,"g":0.7973333333333334,"b":0.7973333333333334,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"528":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"529":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"530":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"531":{"x":340,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"532":{"stops":[{"__isSmartRef__":true,"id":533},{"__isSmartRef__":true,"id":535},{"__isSmartRef__":true,"id":537},{"__isSmartRef__":true,"id":539}],"vector":{"__isSmartRef__":true,"id":541},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"533":{"offset":0,"color":{"__isSmartRef__":true,"id":534}},"534":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"535":{"offset":0.4,"color":{"__isSmartRef__":true,"id":536}},"536":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"537":{"offset":0.6,"color":{"__isSmartRef__":true,"id":538}},"538":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"539":{"offset":1,"color":{"__isSmartRef__":true,"id":540}},"540":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"541":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"542":{"stops":[{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549}],"vector":{"__isSmartRef__":true,"id":541},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"543":{"offset":0,"color":{"__isSmartRef__":true,"id":544}},"544":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"545":{"offset":0.4,"color":{"__isSmartRef__":true,"id":546}},"546":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"547":{"offset":0.6,"color":{"__isSmartRef__":true,"id":548}},"548":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"549":{"offset":1,"color":{"__isSmartRef__":true,"id":550}},"550":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"551":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":556},{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":560}],"revisionOnLoad":171940,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"552":{"date":{"__isSmartRef__":true,"id":553},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"553":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"554":{"date":{"__isSmartRef__":true,"id":555},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"555":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"556":{"date":{"__isSmartRef__":true,"id":557},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"557":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"558":{"date":{"__isSmartRef__":true,"id":559},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"559":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:03:19 GMT-0700 (Pacific Daylight Time)"},"560":{"date":{"__isSmartRef__":true,"id":561},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"561":{"isSerializedDate":true,"string":"Tue Jun 19 2012 14:39:23 GMT-0700 (Pacific Daylight Time)"},"562":{"sourceObj":{"__isSmartRef__":true,"id":500},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":500},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"563":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"564":{"morph":{"__isSmartRef__":true,"id":500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"565":{"x":66,"y":-10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"566":{"doAction":{"__isSmartRef__":true,"id":567}},"567":{"varMapping":{"__isSmartRef__":true,"id":568},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"568":{"this":{"__isSmartRef__":true,"id":500}},"569":{"timestamp":{"__isSmartRef__":true,"id":570},"user":"robertkrahn","tags":[]},"570":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:02:40 GMT-0700 (Pacific Daylight Time)"},"571":{"submorphs":[],"scripts":[],"id":"5DA095A9-0B0A-42C8-8D94-2F4932D0C071","shape":{"__isSmartRef__":true,"id":572},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":579},"_MaxTextWidth":132.928,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":575},"showsHalos":false,"_FontSize":12,"name":"RGBValue","partsBinMetaInfo":{"__isSmartRef__":true,"id":580},"textChunks":[{"__isSmartRef__":true,"id":591}],"charsReplaced":"D55AB7","lastFindLoc":6,"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":593},"eventHandler":{"__isSmartRef__":true,"id":594},"_Padding":{"__isSmartRef__":true,"id":595},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":132.928,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2},"_Visible":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":596},"_Rotation":0,"_Scale":1,"attributeConnections":[{"__isSmartRef__":true,"id":597}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"textString":"FF0000","priorSelectionRange":[2,2],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"572":{"fill":null,"_Position":{"__isSmartRef__":true,"id":573},"_Extent":{"__isSmartRef__":true,"id":574},"_BorderWidth":1.036,"_BorderColor":{"__isSmartRef__":true,"id":575},"renderContextTable":{"__isSmartRef__":true,"id":576},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":577},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"ridge","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_Fill":{"__isSmartRef__":true,"id":578},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"573":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"574":{"x":160,"y":25.072,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"575":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"576":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"577":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"578":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"579":{"x":270,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"580":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":581},{"__isSmartRef__":true,"id":583},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":589}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"581":{"date":{"__isSmartRef__":true,"id":582},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"582":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"583":{"date":{"__isSmartRef__":true,"id":584},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"584":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"585":{"date":{"__isSmartRef__":true,"id":586},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"586":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"587":{"date":{"__isSmartRef__":true,"id":588},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"588":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"589":{"date":{"__isSmartRef__":true,"id":590},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"590":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"591":{"style":{"__isSmartRef__":true,"id":592},"chunkOwner":{"__isSmartRef__":true,"id":571},"_id":"_11778","storedString":"FF0000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"592":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"593":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"594":{"morph":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"595":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"596":{"x":105,"y":-13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"597":{"sourceObj":{"__isSmartRef__":true,"id":571},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"updateColorFromString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":598},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"598":{"source":{"__isSmartRef__":true,"id":571},"target":{"__isSmartRef__":true,"id":2}},"599":{"submorphs":[],"scripts":[],"id":"393399C8-7EC5-457B-B090-023B1802EF42","shape":{"__isSmartRef__":true,"id":600},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":606},"_MaxTextWidth":128.695652,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":603},"showsHalos":false,"_FontSize":8,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":607},"textChunks":[{"__isSmartRef__":true,"id":618}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":620},"eventHandler":{"__isSmartRef__":true,"id":621},"_Padding":{"__isSmartRef__":true,"id":622},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":128.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2},"distanceToDragEvent":{"__isSmartRef__":true,"id":623},"_Rotation":0,"_Scale":1,"_Visible":true,"previousSelection":[3,3],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"600":{"fill":null,"_Position":{"__isSmartRef__":true,"id":601},"_Extent":{"__isSmartRef__":true,"id":602},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":603},"renderContextTable":{"__isSmartRef__":true,"id":604},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":605},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"601":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"602":{"x":128.695652,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"603":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"604":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"605":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"606":{"x":270,"y":70,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"607":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":616}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"608":{"date":{"__isSmartRef__":true,"id":609},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"609":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"610":{"date":{"__isSmartRef__":true,"id":611},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"611":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"612":{"date":{"__isSmartRef__":true,"id":613},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"613":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"614":{"date":{"__isSmartRef__":true,"id":615},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"615":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"616":{"date":{"__isSmartRef__":true,"id":617},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"617":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"618":{"style":{"__isSmartRef__":true,"id":619},"morph":{"__isSmartRef__":true,"id":599},"chunkOwner":{"__isSmartRef__":true,"id":599},"storedString":"RGB Hex value:","_id":"_182","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"619":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"620":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"621":{"morph":{"__isSmartRef__":true,"id":599},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"622":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"623":{"x":88,"y":-10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"624":{"renderContextTable":{"__isSmartRef__":true,"id":625},"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":626},"eventHandler":{"__isSmartRef__":true,"id":632},"_ClipMode":"visible","derivationIds":["8BBA25FF-3A0E-4E03-ADC0-00485155BEDC","BB7C09DC-DA30-4FAE-8A56-8A903D4ADC61"],"id":"99ED531D-F5DE-446A-9CCF-58561F1DFCE9","droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":633},"partsBinMetaInfo":{"__isSmartRef__":true,"id":634},"name":"HueSelectorField","isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":637},"draggingEnabled":true,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":638},{"__isSmartRef__":true,"id":640}],"doNotSerialize":["$$hue"],"doNotCopyProperties":["$$hue"],"hue":0,"mouseIsDown":false,"magnets":[{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":645},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":654},{"__isSmartRef__":true,"id":657},{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":663}],"owner":{"__isSmartRef__":true,"id":2},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":666},"__LivelyClassName__":"lively.morphic.CanvasMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"625":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","createCanvasNode":"createCanvasNodeHTML","getContext":"getContextHTML","adaptCanvasSize":"adaptCanvasSizeHTML"},"626":{"renderContextTable":{"__isSmartRef__":true,"id":627},"_NodeClass":["Morph","CanvasMorph"],"_Extent":{"__isSmartRef__":true,"id":628},"_Padding":{"__isSmartRef__":true,"id":629},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":630},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"_BorderColor":{"__isSmartRef__":true,"id":631},"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes"},"627":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"628":{"x":30,"y":190,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"629":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"630":{"x":30,"y":190,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"631":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"632":{"morph":{"__isSmartRef__":true,"id":624},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"633":{"x":220,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"634":{"partName":"HTMLCanvas","requiredModules":[],"partsSpaceName":"PartsBin/Sandbox","comment":"Interface to an HTML Canvas object.\n\nUse getContext() to get the 2d context.\nThen just use that to draw things.","changes":[{"__isSmartRef__":true,"id":635}],"migrationLevel":4,"revisionOnLoad":177548,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"635":{"date":{"__isSmartRef__":true,"id":636},"author":"bgnauk","message":"no comment","id":"E504CA1C-BE2D-4AB1-AA4C-3CC2BDF1D95A"},"636":{"isSerializedDate":true,"string":"Thu Aug 09 2012 15:54:00 GMT-0700 (Pacific Daylight Time)"},"637":{"x":39,"y":-14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"638":{"sourceObj":{"__isSmartRef__":true,"id":624},"sourceAttrName":"hue","targetObj":{"__isSmartRef__":true,"id":3},"targetMethodName":"draw","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":639},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"639":{"source":{"__isSmartRef__":true,"id":624},"target":{"__isSmartRef__":true,"id":3}},"640":{"sourceObj":{"__isSmartRef__":true,"id":624},"sourceAttrName":"hue","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"updateHue","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":641},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"641":{"source":{"__isSmartRef__":true,"id":624},"target":{"__isSmartRef__":true,"id":2}},"642":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":643},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":644},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"643":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"644":{"x":391,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"645":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":646},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":647},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"646":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"647":{"x":406,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"648":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":649},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":650},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"649":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"650":{"x":421,"y":337,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"651":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":652},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":653},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"652":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"653":{"x":421,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"654":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":655},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":656},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"655":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"656":{"x":421,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"657":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":658},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":659},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"658":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"659":{"x":406,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"660":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":661},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":662},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"661":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"662":{"x":391,"y":537,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"663":{"morph":{"__isSmartRef__":true,"id":624},"position":{"__isSmartRef__":true,"id":664},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":665},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"664":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"665":{"x":391,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"666":{"updateHue":{"__isSmartRef__":true,"id":667},"drawLineAtHue":{"__isSmartRef__":true,"id":671},"onDrag":{"__isSmartRef__":true,"id":675},"onMouseUp":{"__isSmartRef__":true,"id":683},"onMouseDown":{"__isSmartRef__":true,"id":691}},"667":{"varMapping":{"__isSmartRef__":true,"id":668},"source":"function updateHue(mouseYCoord) {\n var height = this.getExtent().y,\n hue = mouseYCoord / height;\n if (hue> 1) { hue= 1; }\n if (hue< 0) { hue= 0; }\n this.hue = hue;\n this.drawLineAtHue(hue);\n}","funcProperties":{"__isSmartRef__":true,"id":669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"668":{"this":{"__isSmartRef__":true,"id":624}},"669":{"timestamp":{"__isSmartRef__":true,"id":670},"user":"bgnauk","tags":[]},"670":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:21:11 GMT-0700 (Pacific Daylight Time)"},"671":{"varMapping":{"__isSmartRef__":true,"id":672},"source":"function drawLineAtHue(hue) {\n var ctx = this.getContext(),\n height = this.getExtent().y,\n y = Math.round(height * hue) + 0.5;\n //console.log(y);\n this.clear();\n \n if(ctx) {\n ctx.beginPath();\n ctx.moveTo(1, y);\n ctx.lineTo(this.getExtent().x, y);\n ctx.lineWidth = 0.5;\n ctx.strokeStyle = 'black';\n ctx.stroke();\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"672":{"this":{"__isSmartRef__":true,"id":624}},"673":{"timestamp":{"__isSmartRef__":true,"id":674},"user":"bgnauk","tags":[]},"674":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:39:46 GMT-0700 (Pacific Daylight Time)"},"675":{"varMapping":{"__isSmartRef__":true,"id":676},"source":"function onDrag(evt) {\n this.updateHue(evt.getPositionIn(this).y);\n}","funcProperties":{"__isSmartRef__":true,"id":681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"676":{"this":{"__isSmartRef__":true,"id":624},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":677}},"677":{"$super":{"__isSmartRef__":true,"id":678}},"678":{"varMapping":{"__isSmartRef__":true,"id":679},"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":680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"679":{"obj":{"__isSmartRef__":true,"id":624},"name":"onDrag"},"680":{},"681":{"timestamp":{"__isSmartRef__":true,"id":682},"user":"bgnauk","tags":[]},"682":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:21:33 GMT-0700 (Pacific Daylight Time)"},"683":{"varMapping":{"__isSmartRef__":true,"id":684},"source":"function onMouseUp(evt) {\n return this.onDrag(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"684":{"this":{"__isSmartRef__":true,"id":624},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":685}},"685":{"$super":{"__isSmartRef__":true,"id":686}},"686":{"varMapping":{"__isSmartRef__":true,"id":687},"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":688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"687":{"obj":{"__isSmartRef__":true,"id":624},"name":"onMouseUp"},"688":{},"689":{"timestamp":{"__isSmartRef__":true,"id":690},"user":"bgnauk","tags":[]},"690":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:23:08 GMT-0700 (Pacific Daylight Time)"},"691":{"varMapping":{"__isSmartRef__":true,"id":692},"source":"function onMouseDown(evt) {\n return this.onDrag(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"692":{"this":{"__isSmartRef__":true,"id":624},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":693}},"693":{"$super":{"__isSmartRef__":true,"id":694}},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"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":696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"695":{"obj":{"__isSmartRef__":true,"id":624},"name":"onMouseDown"},"696":{},"697":{"timestamp":{"__isSmartRef__":true,"id":698},"user":"bgnauk","tags":[]},"698":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:23:27 GMT-0700 (Pacific Daylight Time)"},"699":{"submorphs":[{"__isSmartRef__":true,"id":700}],"scripts":[],"id":"5BEA0B90-CFB2-427B-AEFB-3401980B251F","shape":{"__isSmartRef__":true,"id":719},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":732},"attributeConnections":[{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":734}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"value":1,"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":700},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"Slider","partsBinMetaInfo":{"__isSmartRef__":true,"id":735},"renderContextTable":{"__isSmartRef__":true,"id":736},"eventHandler":{"__isSmartRef__":true,"id":737},"layout":{"__isSmartRef__":true,"id":738},"derivationIds":[2631],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":2},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":739},"__LivelyClassName__":"lively.morphic.Slider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"700":{"submorphs":[],"scripts":[],"id":"1336AC22-E659-46EB-AC39-8C6200EB7D49","shape":{"__isSmartRef__":true,"id":701},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":715},"slider":{"__isSmartRef__":true,"id":699},"owner":{"__isSmartRef__":true,"id":699},"styleClass":["slider_horizontal"],"hitPoint":{"__isSmartRef__":true,"id":716},"renderContextTable":{"__isSmartRef__":true,"id":717},"eventHandler":{"__isSmartRef__":true,"id":718},"derivationIds":[2632],"_ClipMode":"visible","isBeingDragged":false,"__LivelyClassName__":"lively.morphic.SliderKnob","__SourceModuleName__":"Global.lively.morphic.Widgets"},"701":{"position":{"__isSmartRef__":true,"id":702},"_Extent":{"__isSmartRef__":true,"id":703},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":704},"_Fill":{"__isSmartRef__":true,"id":705},"_BorderRadius":6,"renderContextTable":{"__isSmartRef__":true,"id":713},"_Padding":{"__isSmartRef__":true,"id":714},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"702":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"703":{"x":16,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"704":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"705":{"stops":[{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":710}],"vector":{"__isSmartRef__":true,"id":712},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"706":{"offset":0,"color":{"__isSmartRef__":true,"id":707}},"707":{"r":0.7681568627450981,"g":0.8271372549019608,"b":0.8660392156862744,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"708":{"offset":0.5,"color":{"__isSmartRef__":true,"id":709}},"709":{"r":0.5363137254901961,"g":0.6542745098039215,"b":0.7320784313725489,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"710":{"offset":1,"color":{"__isSmartRef__":true,"id":711}},"711":{"r":0.3783529411764706,"g":0.5110588235294118,"b":0.5985882352941176,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"712":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"713":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"714":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"715":{"x":144,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"716":{"x":588,"y":159,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"717":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"718":{"morph":{"__isSmartRef__":true,"id":700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"719":{"position":{"__isSmartRef__":true,"id":720},"_Extent":{"__isSmartRef__":true,"id":721},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":722},"_Fill":{"__isSmartRef__":true,"id":723},"_BorderRadius":6,"renderContextTable":{"__isSmartRef__":true,"id":730},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":731},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"720":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"721":{"x":160,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"722":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"723":{"stops":[{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":728}],"vector":{"__isSmartRef__":true,"id":712},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"724":{"offset":0,"color":{"__isSmartRef__":true,"id":725}},"725":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"726":{"offset":0.4,"color":{"__isSmartRef__":true,"id":727}},"727":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"728":{"offset":1,"color":{"__isSmartRef__":true,"id":729}},"729":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"730":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"731":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"732":{"x":270,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"733":{"sourceObj":{"__isSmartRef__":true,"id":699},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":699},"targetMethodName":"adjustSliderParts","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"734":{"sourceObj":{"__isSmartRef__":true,"id":699},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"updateAlpha","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"735":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","revisionOnLoad":148695,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"736":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"737":{"morph":{"__isSmartRef__":true,"id":699},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"738":{},"739":{"x":119,"y":-11,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"740":{"submorphs":[],"scripts":[],"id":"AE6F3B07-555D-404A-995F-AAA1EB79474B","shape":{"__isSmartRef__":true,"id":741},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":747},"_MaxTextWidth":128.695652,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":744},"showsHalos":false,"_FontSize":8,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":748},"textChunks":[{"__isSmartRef__":true,"id":759}],"charsReplaced":"RGB ","lastFindLoc":4,"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":761},"eventHandler":{"__isSmartRef__":true,"id":762},"_Padding":{"__isSmartRef__":true,"id":763},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","393399C8-7EC5-457B-B090-023B1802EF42"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":128.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":764},"_Visible":true,"owner":{"__isSmartRef__":true,"id":2},"_Rotation":0,"_Scale":1,"priorSelectionRange":[12,12],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"741":{"fill":null,"_Position":{"__isSmartRef__":true,"id":742},"_Extent":{"__isSmartRef__":true,"id":743},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":744},"renderContextTable":{"__isSmartRef__":true,"id":745},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":746},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"742":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"743":{"x":128.695652,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"744":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"745":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"746":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"747":{"x":270,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"748":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":757}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"749":{"date":{"__isSmartRef__":true,"id":750},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"750":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"751":{"date":{"__isSmartRef__":true,"id":752},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"752":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"753":{"date":{"__isSmartRef__":true,"id":754},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"754":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"755":{"date":{"__isSmartRef__":true,"id":756},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"756":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"757":{"date":{"__isSmartRef__":true,"id":758},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"758":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"759":{"style":{"__isSmartRef__":true,"id":760},"morph":{"__isSmartRef__":true,"id":740},"chunkOwner":{"__isSmartRef__":true,"id":740},"storedString":"Alpha value:","_id":"_182","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"760":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"761":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"762":{"morph":{"__isSmartRef__":true,"id":740},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"763":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"764":{"x":88,"y":-11,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"765":{"submorphs":[{"__isSmartRef__":true,"id":766}],"scripts":[],"id":"0EC9880B-6937-4F2F-8146-73B84382829A","shape":{"__isSmartRef__":true,"id":781},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":796},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":797},"lighterFill":{"__isSmartRef__":true,"id":807},"label":{"__isSmartRef__":true,"id":766},"name":"Button2","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":816},"attributeConnections":[{"__isSmartRef__":true,"id":827}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"renderContextTable":{"__isSmartRef__":true,"id":828},"eventHandler":{"__isSmartRef__":true,"id":829},"distanceToDragEvent":{"__isSmartRef__":true,"id":830},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","05CB1235-755C-496D-A241-B95968BA5835"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":2},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":831},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"766":{"submorphs":[],"scripts":[],"id":"29888861-4E90-4410-AFE6-BB5DD9C96CBC","shape":{"__isSmartRef__":true,"id":767},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":773},"_MaxTextWidth":90,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":774},"_Padding":{"__isSmartRef__":true,"id":775},"owner":{"__isSmartRef__":true,"id":765},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":776}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":778},"eventHandler":{"__isSmartRef__":true,"id":779},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","26A1D1F6-62C9-4EB3-B6D1-0522F1F6CF0E"],"_MinTextWidth":90,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"767":{"position":{"__isSmartRef__":true,"id":768},"_Extent":{"__isSmartRef__":true,"id":769},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":770},"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":771},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"768":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"769":{"x":90,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"770":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"771":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"772":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"773":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"774":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"775":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"776":{"style":{"__isSmartRef__":true,"id":777},"chunkOwner":{"__isSmartRef__":true,"id":766},"_id":"_1288","storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"777":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"778":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"779":{"morph":{"__isSmartRef__":true,"id":766},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"780":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"781":{"position":{"__isSmartRef__":true,"id":782},"_Extent":{"__isSmartRef__":true,"id":783},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":784},"_Fill":{"__isSmartRef__":true,"id":785},"_BorderRadius":5.2,"renderContextTable":{"__isSmartRef__":true,"id":794},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"782":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"783":{"x":90,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"784":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"785":{"stops":[{"__isSmartRef__":true,"id":786},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":790},{"__isSmartRef__":true,"id":791}],"vector":{"__isSmartRef__":true,"id":793},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"786":{"offset":0,"color":{"__isSmartRef__":true,"id":787}},"787":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"788":{"offset":0.3,"color":{"__isSmartRef__":true,"id":789}},"789":{"r":0.8666666666666667,"g":0.8666666666666667,"b":0.8666666666666667,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"790":{"offset":0.7,"color":{"__isSmartRef__":true,"id":789}},"791":{"offset":1,"color":{"__isSmartRef__":true,"id":792}},"792":{"r":0.7973333333333334,"g":0.7973333333333334,"b":0.7973333333333334,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"793":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"794":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"795":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"796":{"x":340,"y":185,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"797":{"stops":[{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":802},{"__isSmartRef__":true,"id":804}],"vector":{"__isSmartRef__":true,"id":806},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"798":{"offset":0,"color":{"__isSmartRef__":true,"id":799}},"799":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"800":{"offset":0.4,"color":{"__isSmartRef__":true,"id":801}},"801":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"802":{"offset":0.6,"color":{"__isSmartRef__":true,"id":803}},"803":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"804":{"offset":1,"color":{"__isSmartRef__":true,"id":805}},"805":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"806":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"807":{"stops":[{"__isSmartRef__":true,"id":808},{"__isSmartRef__":true,"id":810},{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":814}],"vector":{"__isSmartRef__":true,"id":806},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"808":{"offset":0,"color":{"__isSmartRef__":true,"id":809}},"809":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"810":{"offset":0.4,"color":{"__isSmartRef__":true,"id":811}},"811":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"812":{"offset":0.6,"color":{"__isSmartRef__":true,"id":813}},"813":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"814":{"offset":1,"color":{"__isSmartRef__":true,"id":815}},"815":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"816":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":825}],"revisionOnLoad":171940,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"817":{"date":{"__isSmartRef__":true,"id":818},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"818":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"819":{"date":{"__isSmartRef__":true,"id":820},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"820":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"821":{"date":{"__isSmartRef__":true,"id":822},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"822":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"823":{"date":{"__isSmartRef__":true,"id":824},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"824":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:03:19 GMT-0700 (Pacific Daylight Time)"},"825":{"date":{"__isSmartRef__":true,"id":826},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"826":{"isSerializedDate":true,"string":"Tue Jun 19 2012 14:39:23 GMT-0700 (Pacific Daylight Time)"},"827":{"sourceObj":{"__isSmartRef__":true,"id":765},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":765},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"828":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"829":{"morph":{"__isSmartRef__":true,"id":765},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"830":{"x":61,"y":-12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"831":{"doAction":{"__isSmartRef__":true,"id":832}},"832":{"varMapping":{"__isSmartRef__":true,"id":833},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":834},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"833":{"this":{"__isSmartRef__":true,"id":765}},"834":{"timestamp":{"__isSmartRef__":true,"id":835},"user":"robertkrahn","tags":[]},"835":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:02:40 GMT-0700 (Pacific Daylight Time)"},"836":{"position":{"__isSmartRef__":true,"id":837},"_Extent":{"__isSmartRef__":true,"id":838},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":839},"_Fill":{"__isSmartRef__":true,"id":840},"renderContextTable":{"__isSmartRef__":true,"id":841},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":842},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"isStyleSheetAppearance":false,"_BorderStylingMode":false,"isStyleSheetBorder":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"837":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"838":{"x":440,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"839":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"840":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"841":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"842":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"843":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"844":{"partsSpaceName":"PartsBin/Tools","comment":"An all new Color Picker, Photoshop style.","migrationLevel":4,"partName":"ColorPicker","changes":[{"__isSmartRef__":true,"id":845},{"__isSmartRef__":true,"id":847},{"__isSmartRef__":true,"id":849},{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":853},{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":859},{"__isSmartRef__":true,"id":861},{"__isSmartRef__":true,"id":863},{"__isSmartRef__":true,"id":865}],"revisionOnLoad":177736,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"845":{"date":{"__isSmartRef__":true,"id":846},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"846":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"847":{"date":{"__isSmartRef__":true,"id":848},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"848":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"849":{"date":{"__isSmartRef__":true,"id":850},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"850":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"851":{"date":{"__isSmartRef__":true,"id":852},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"852":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"853":{"date":{"__isSmartRef__":true,"id":854},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"854":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"855":{"date":{"__isSmartRef__":true,"id":856},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"856":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"857":{"date":{"__isSmartRef__":true,"id":858},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"858":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (Pacific Daylight Time)"},"859":{"date":{"__isSmartRef__":true,"id":860},"author":"bgnauk","message":"no comment","id":"A3623907-2E65-4B38-9457-C37293427061"},"860":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:21:50 GMT-0700 (Pacific Daylight Time)"},"861":{"date":{"__isSmartRef__":true,"id":862},"author":"bgnauk","message":"no comment","id":"31BA8CD5-6D32-4AB3-BBE2-24FF9D3A2305"},"862":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:22:36 GMT-0700 (Pacific Daylight Time)"},"863":{"date":{"__isSmartRef__":true,"id":864},"author":"bgnauk","message":"no comment","id":"A07C0194-9D7A-4F25-A601-0F48EECF2792"},"864":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:31:43 GMT-0700 (Pacific Daylight Time)"},"865":{"date":{"__isSmartRef__":true,"id":866},"author":"bgnauk","message":"no comment","id":"6013305D-99D6-4F9E-94DE-9C23AA5D4AFC"},"866":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:43:50 GMT-0700 (Pacific Daylight Time)"},"867":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"868":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"869":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":870}},"870":{"test01IsMorph":{"__isSmartRef__":true,"id":871}},"871":{"varMapping":{"__isSmartRef__":true,"id":872},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"872":{"this":{"__isSmartRef__":true,"id":869}},"873":{},"874":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":875},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":876},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"875":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"876":{"x":171,"y":327,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"877":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":878},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":879},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"878":{"x":0.5,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"879":{"x":391,"y":327,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"880":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":881},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":882},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"881":{"x":1,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"882":{"x":611,"y":327,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"883":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":884},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":885},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"884":{"x":1,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"885":{"x":611,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"886":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":887},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":888},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"887":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"888":{"x":611,"y":547,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"889":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":890},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":891},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"890":{"x":0.5,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"891":{"x":391,"y":547,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"892":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":893},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":894},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"893":{"x":0,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"894":{"x":171,"y":547,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"895":{"morph":{"__isSmartRef__":true,"id":2},"position":{"__isSmartRef__":true,"id":896},"connectedControlPoints":[],"cachedGlobalPosition":{"__isSmartRef__":true,"id":897},"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors"},"896":{"x":0,"y":0.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"897":{"x":171,"y":437,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"898":{"resizeWidth":true,"resizeHeight":true},"899":{"sourceObj":{"__isSmartRef__":true,"id":2},"sourceAttrName":"selectedColor","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"updateColor","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"900":{"init":{"__isSmartRef__":true,"id":901},"updateHue":{"__isSmartRef__":true,"id":905},"updateBrt":{"__isSmartRef__":true,"id":909},"updateSat":{"__isSmartRef__":true,"id":913},"updateRGB":{"__isSmartRef__":true,"id":917},"updateColorFromString":{"__isSmartRef__":true,"id":921},"colorToHSB":{"__isSmartRef__":true,"id":925},"updateAlpha":{"__isSmartRef__":true,"id":929}},"901":{"varMapping":{"__isSmartRef__":true,"id":902},"source":"function init() {\n //this.get('HueField').draw();\n //this.get('SaturationBrightnessField').draw(0);\n \n}","funcProperties":{"__isSmartRef__":true,"id":903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"902":{"this":{"__isSmartRef__":true,"id":2}},"903":{"timestamp":{"__isSmartRef__":true,"id":904},"user":"bgnauk","tags":[]},"904":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:31:25 GMT-0700 (Pacific Daylight Time)"},"905":{"varMapping":{"__isSmartRef__":true,"id":906},"source":"function updateHue(hue, noRedrawNeeded) {\n this.hue = hue;\n\n this.updateRGB();\n\n}","funcProperties":{"__isSmartRef__":true,"id":907},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"906":{"this":{"__isSmartRef__":true,"id":2}},"907":{"timestamp":{"__isSmartRef__":true,"id":908},"user":"bgnauk","tags":[]},"908":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:58:13 GMT-0700 (Pacific Daylight Time)"},"909":{"varMapping":{"__isSmartRef__":true,"id":910},"source":"function updateBrt(brt, noRedrawNeeded) {\n this.brt= brt;\n this.updateRGB();\n}","funcProperties":{"__isSmartRef__":true,"id":911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"910":{"this":{"__isSmartRef__":true,"id":2}},"911":{"timestamp":{"__isSmartRef__":true,"id":912},"user":"bgnauk","tags":[]},"912":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:58:08 GMT-0700 (Pacific Daylight Time)"},"913":{"varMapping":{"__isSmartRef__":true,"id":914},"source":"function updateSat(sat, noRedrawNeeded) {\n this.sat = sat;\n\n this.updateRGB();\n\n}","funcProperties":{"__isSmartRef__":true,"id":915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"914":{"this":{"__isSmartRef__":true,"id":2}},"915":{"timestamp":{"__isSmartRef__":true,"id":916},"user":"bgnauk","tags":[]},"916":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:58:21 GMT-0700 (Pacific Daylight Time)"},"917":{"varMapping":{"__isSmartRef__":true,"id":918},"source":"function updateRGB() {\n var hslToRgb = function(h, s, l){\n var r, g, b;\n\n if(s == 0){\n r = g = b = l; // achromatic\n }else{\n function hue2rgb(p, q, t){\n if(t < 0) t += 1;\n if(t > 1) t -= 1;\n if(t < 1/6) return p + (q - p) * 6 * t;\n if(t < 1/2) return q;\n if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;\n return p;\n }\n\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n var r = [r * 255, g * 255, b * 255];\n \n for (var i = 0; i < r.length; i ++) {\n r[i] = Math.round(r[i]); \n }\n return r;\n }\n \n var rgb = hslToRgb(this.hue, this.sat, this.brt);\n var alpha = this.alpha || 1;\n this.selectedColor = (new Color(rgb[0]/255, rgb[1]/255, rgb[2]/255)).withA(alpha);\n this.isJustChangingTheString = true;\n this.get('RGBValue').textString = this.selectedColor.toHexString().toUpperCase();\n this.isJustChangingTheString = false;\n}","funcProperties":{"__isSmartRef__":true,"id":919},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"918":{"this":{"__isSmartRef__":true,"id":2}},"919":{"timestamp":{"__isSmartRef__":true,"id":920},"user":"bgnauk","tags":[]},"920":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:27:49 GMT-0700 (Pacific Daylight Time)"},"921":{"varMapping":{"__isSmartRef__":true,"id":922},"source":"function updateColorFromString(colorHexString) {\n if (this.isJustChangingTheString) {\n //\n } else {\n var color = Color.rgbHex(colorHexString);\n if (color) {\n this.selectedColor = color;\n \n var hsb = this.colorToHSB(color);\n \n this.hue = hsb[0];\n this.sat = hsb[1];\n this.brt = hsb[2];\n \n // update hue line\n this.get('HueSelectorField').drawLineAtHue(this.hue);\n\n // update satbrt display\n this.get('SaturationBrightnessField').draw(this.hue);\n\n // update satbrt cross\n this.get('SaturationBrightnessPickerField').drawCrossAtSatBrt(this.sat,this.brt);\n\n } else {\n //alert(colorHexString+' is appearantly not a valid color!'); \n }\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":923},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"922":{"this":{"__isSmartRef__":true,"id":2}},"923":{"timestamp":{"__isSmartRef__":true,"id":924},"user":"bgnauk","tags":[]},"924":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:59:48 GMT-0700 (Pacific Daylight Time)"},"925":{"varMapping":{"__isSmartRef__":true,"id":926},"source":"function colorToHSB(color) {\n // implementation in the color class produces strange results\n var r = color.r,\n g = color.g,\n b = color.b,\n max = Math.max(r, g, b),\n min = Math.min(r, g, b),\n h,\n s,\n l = (max + min) / 2;\n\n if(max == min){\n h = s = 0; // achromatic\n }else{\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [h, s, l];\n}","funcProperties":{"__isSmartRef__":true,"id":927},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"926":{"this":{"__isSmartRef__":true,"id":2}},"927":{"timestamp":{"__isSmartRef__":true,"id":928},"user":"bgnauk","tags":[]},"928":{"isSerializedDate":true,"string":"Fri Aug 10 2012 10:52:12 GMT-0700 (Pacific Daylight Time)"},"929":{"varMapping":{"__isSmartRef__":true,"id":930},"source":"function updateAlpha(alpha) {\n this.alpha = alpha;\n this.selectedColor = this.selectedColor.withA(alpha);\n}","funcProperties":{"__isSmartRef__":true,"id":931},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"930":{"this":{"__isSmartRef__":true,"id":2}},"931":{"timestamp":{"__isSmartRef__":true,"id":932},"user":"bgnauk","tags":[]},"932":{"isSerializedDate":true,"string":"Fri Aug 10 2012 14:27:22 GMT-0700 (Pacific Daylight Time)"},"933":{"submorphs":[{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":1015}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1045},"renderContextTable":{"__isSmartRef__":true,"id":1055},"eventHandler":{"__isSmartRef__":true,"id":1056},"_ClipMode":"visible","derivationIds":[],"id":"364CBF72-82CE-4FC1-BA5D-4A6E1FBF6CD4","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1057},"_Position":{"__isSmartRef__":true,"id":1058},"windowMorph":{"__isSmartRef__":true,"id":1},"label":{"__isSmartRef__":true,"id":934},"closeButton":{"__isSmartRef__":true,"id":948},"menuButton":{"__isSmartRef__":true,"id":983},"collapseButton":{"__isSmartRef__":true,"id":1015},"owner":{"__isSmartRef__":true,"id":1},"showsHalos":false,"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"934":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":935},"renderContextTable":{"__isSmartRef__":true,"id":941},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":942}],"eventHandler":{"__isSmartRef__":true,"id":944},"_ClipMode":"hidden","derivationIds":[],"id":"B524D970-506E-465A-AD0E-E8A24C97F873","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":945},"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":946},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":933},"_Position":{"__isSmartRef__":true,"id":947},"_MaxTextWidth":381,"_MinTextWidth":381,"_MaxTextHeight":null,"_MinTextHeight":null,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"935":{"_Position":{"__isSmartRef__":true,"id":936},"renderContextTable":{"__isSmartRef__":true,"id":937},"_Extent":{"__isSmartRef__":true,"id":938},"_Padding":{"__isSmartRef__":true,"id":939},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":940},"_Fill":null,"_NodeClass":["Morph","Text"],"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"936":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"937":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"938":{"x":381,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"939":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"940":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"941":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"942":{"style":{"__isSmartRef__":true,"id":943},"chunkOwner":{"__isSmartRef__":true,"id":934},"_id":"_3","storedString":"Color Picker","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"943":{"fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"944":{"morph":{"__isSmartRef__":true,"id":934},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"945":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"946":{"resizeWidth":true},"947":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"948":{"submorphs":[{"__isSmartRef__":true,"id":949}],"scripts":[],"shape":{"__isSmartRef__":true,"id":960},"renderContextTable":{"__isSmartRef__":true,"id":975},"eventHandler":{"__isSmartRef__":true,"id":976},"_ClipMode":"visible","derivationIds":[],"id":"61B04708-382D-45C5-B98C-8D4EEC4C3569","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":977},"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":949},"owner":{"__isSmartRef__":true,"id":933},"layout":{"__isSmartRef__":true,"id":978},"attributeConnections":[{"__isSmartRef__":true,"id":979},{"__isSmartRef__":true,"id":981}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"949":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":950},"renderContextTable":{"__isSmartRef__":true,"id":955},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":956}],"eventHandler":{"__isSmartRef__":true,"id":958},"_ClipMode":"hidden","derivationIds":[],"id":"2A27B75A-3777-4444-AE36-BA8FF32FCE22","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_TextColor":{"__isSmartRef__":true,"id":959},"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":948},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"950":{"_Position":{"__isSmartRef__":true,"id":951},"renderContextTable":{"__isSmartRef__":true,"id":952},"_Extent":{"__isSmartRef__":true,"id":953},"_Padding":{"__isSmartRef__":true,"id":954},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":940},"_Fill":null,"_NodeClass":["Morph","Text"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"951":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"952":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"953":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"954":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"955":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"956":{"style":{"__isSmartRef__":true,"id":957},"chunkOwner":{"__isSmartRef__":true,"id":949},"_id":"_975","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"957":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"958":{"morph":{"__isSmartRef__":true,"id":949},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"959":{"r":0.25098039215686274,"g":0.25098039215686274,"b":0.25098039215686274,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"960":{"_Position":{"__isSmartRef__":true,"id":961},"renderContextTable":{"__isSmartRef__":true,"id":962},"_Extent":{"__isSmartRef__":true,"id":963},"_Padding":{"__isSmartRef__":true,"id":964},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":965},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["Morph","Button","WindowControl"],"_Fill":{"__isSmartRef__":true,"id":966},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"961":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"962":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"963":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"964":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"965":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"966":{"stops":[{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":972}],"vector":{"__isSmartRef__":true,"id":974},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"967":{"offset":0,"color":{"__isSmartRef__":true,"id":968}},"968":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"969":{"offset":0.3,"color":{"__isSmartRef__":true,"id":970}},"970":{"r":0.8666666666666667,"g":0.8666666666666667,"b":0.8666666666666667,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"971":{"offset":0.7,"color":{"__isSmartRef__":true,"id":970}},"972":{"offset":1,"color":{"__isSmartRef__":true,"id":973}},"973":{"r":0.7973333333333334,"g":0.7973333333333334,"b":0.7973333333333334,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"974":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"975":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"976":{"morph":{"__isSmartRef__":true,"id":948},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"977":{"x":420,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"978":{"moveHorizontal":true},"979":{"sourceObj":{"__isSmartRef__":true,"id":948},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":980},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"980":{"source":{"__isSmartRef__":true,"id":948},"target":{"__isSmartRef__":true,"id":1}},"981":{"sourceObj":{"__isSmartRef__":true,"id":948},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":982},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"982":{"source":{"__isSmartRef__":true,"id":948},"target":{"__isSmartRef__":true,"id":1}},"983":{"submorphs":[{"__isSmartRef__":true,"id":984}],"scripts":[],"shape":{"__isSmartRef__":true,"id":994},"renderContextTable":{"__isSmartRef__":true,"id":1008},"eventHandler":{"__isSmartRef__":true,"id":1009},"_ClipMode":"visible","derivationIds":[],"id":"C98F45AC-42E8-40B4-B767-289569533557","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1010},"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":984},"owner":{"__isSmartRef__":true,"id":933},"attributeConnections":[{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1013}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"984":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":985},"renderContextTable":{"__isSmartRef__":true,"id":989},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":990}],"eventHandler":{"__isSmartRef__":true,"id":992},"_ClipMode":"hidden","derivationIds":[],"id":"7959B855-9AE8-4677-A539-5C3F78137E3E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_TextColor":{"__isSmartRef__":true,"id":993},"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":983},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"985":{"_Position":{"__isSmartRef__":true,"id":986},"renderContextTable":{"__isSmartRef__":true,"id":987},"_Extent":{"__isSmartRef__":true,"id":988},"_Padding":{"__isSmartRef__":true,"id":954},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":940},"_Fill":null,"_NodeClass":["Morph","Text"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"986":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"987":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"988":{"x":16,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"989":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"990":{"style":{"__isSmartRef__":true,"id":991},"chunkOwner":{"__isSmartRef__":true,"id":984},"_id":"_977","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"991":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"992":{"morph":{"__isSmartRef__":true,"id":984},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"993":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"994":{"_Position":{"__isSmartRef__":true,"id":995},"renderContextTable":{"__isSmartRef__":true,"id":996},"_Extent":{"__isSmartRef__":true,"id":997},"_Padding":{"__isSmartRef__":true,"id":998},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":965},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["Morph","Button","WindowControl"],"_Fill":{"__isSmartRef__":true,"id":999},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"995":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"996":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"997":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"998":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"999":{"stops":[{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005}],"vector":{"__isSmartRef__":true,"id":1007},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1000":{"offset":0,"color":{"__isSmartRef__":true,"id":1001}},"1001":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1002":{"offset":0.3,"color":{"__isSmartRef__":true,"id":1003}},"1003":{"r":0.8666666666666667,"g":0.8666666666666667,"b":0.8666666666666667,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1004":{"offset":0.7,"color":{"__isSmartRef__":true,"id":1003}},"1005":{"offset":1,"color":{"__isSmartRef__":true,"id":1006}},"1006":{"r":0.7973333333333334,"g":0.7973333333333334,"b":0.7973333333333334,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1007":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1008":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1009":{"morph":{"__isSmartRef__":true,"id":983},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1010":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1011":{"sourceObj":{"__isSmartRef__":true,"id":983},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1012},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1012":{"source":{"__isSmartRef__":true,"id":983},"target":{"__isSmartRef__":true,"id":1}},"1013":{"sourceObj":{"__isSmartRef__":true,"id":983},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1014},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1014":{"source":{"__isSmartRef__":true,"id":983},"target":{"__isSmartRef__":true,"id":1}},"1015":{"submorphs":[{"__isSmartRef__":true,"id":1016}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1025},"renderContextTable":{"__isSmartRef__":true,"id":1037},"eventHandler":{"__isSmartRef__":true,"id":1038},"_ClipMode":"visible","derivationIds":[],"id":"9DADAFC2-5635-4AFC-A5DC-886C20DE85D7","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1039},"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":1016},"owner":{"__isSmartRef__":true,"id":933},"layout":{"__isSmartRef__":true,"id":1040},"attributeConnections":[{"__isSmartRef__":true,"id":1041},{"__isSmartRef__":true,"id":1043}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1016":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1017},"renderContextTable":{"__isSmartRef__":true,"id":1021},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1022}],"eventHandler":{"__isSmartRef__":true,"id":1024},"_ClipMode":"hidden","derivationIds":[],"id":"1D7035BC-22D7-48D6-B357-2ABACB113435","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_TextColor":{"__isSmartRef__":true,"id":959},"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1015},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1017":{"_Position":{"__isSmartRef__":true,"id":1018},"renderContextTable":{"__isSmartRef__":true,"id":1019},"_Extent":{"__isSmartRef__":true,"id":1020},"_Padding":{"__isSmartRef__":true,"id":954},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":940},"_Fill":null,"_NodeClass":["Morph","Text"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1018":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1019":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1020":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1021":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1022":{"style":{"__isSmartRef__":true,"id":1023},"chunkOwner":{"__isSmartRef__":true,"id":1016},"_id":"_979","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1023":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1024":{"morph":{"__isSmartRef__":true,"id":1016},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1025":{"_Position":{"__isSmartRef__":true,"id":1026},"renderContextTable":{"__isSmartRef__":true,"id":1027},"_Extent":{"__isSmartRef__":true,"id":1028},"_Padding":{"__isSmartRef__":true,"id":1029},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":965},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["Morph","Button","WindowControl"],"_Fill":{"__isSmartRef__":true,"id":1030},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1026":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1027":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1028":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1029":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1030":{"stops":[{"__isSmartRef__":true,"id":1031},{"__isSmartRef__":true,"id":1033},{"__isSmartRef__":true,"id":1034},{"__isSmartRef__":true,"id":1035}],"vector":{"__isSmartRef__":true,"id":974},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1031":{"offset":0,"color":{"__isSmartRef__":true,"id":1032}},"1032":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1033":{"offset":0.3,"color":{"__isSmartRef__":true,"id":970}},"1034":{"offset":0.7,"color":{"__isSmartRef__":true,"id":970}},"1035":{"offset":1,"color":{"__isSmartRef__":true,"id":1036}},"1036":{"r":0.7973333333333334,"g":0.7973333333333334,"b":0.7973333333333334,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1037":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1038":{"morph":{"__isSmartRef__":true,"id":1015},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1039":{"x":401,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1040":{"moveHorizontal":true},"1041":{"sourceObj":{"__isSmartRef__":true,"id":1015},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1042},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1042":{"source":{"__isSmartRef__":true,"id":1015},"target":{"__isSmartRef__":true,"id":1}},"1043":{"sourceObj":{"__isSmartRef__":true,"id":1015},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1044},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1044":{"source":{"__isSmartRef__":true,"id":1015},"target":{"__isSmartRef__":true,"id":1}},"1045":{"_Position":{"__isSmartRef__":true,"id":1046},"renderContextTable":{"__isSmartRef__":true,"id":1047},"_Extent":{"__isSmartRef__":true,"id":1048},"_Padding":{"__isSmartRef__":true,"id":1049},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":945},"_Fill":{"__isSmartRef__":true,"id":1050},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_NodeClass":["Morph","Box","TitleBar"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1046":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1047":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1048":{"x":440,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1049":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1050":{"stops":[{"__isSmartRef__":true,"id":1051},{"__isSmartRef__":true,"id":1053}],"vector":{"__isSmartRef__":true,"id":528},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1051":{"offset":0,"color":{"__isSmartRef__":true,"id":1052}},"1052":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1053":{"offset":1,"color":{"__isSmartRef__":true,"id":1054}},"1054":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1055":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1056":{"morph":{"__isSmartRef__":true,"id":933},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1057":{"resizeWidth":true,"adjustForNewBounds":true},"1058":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1059":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1060},"renderContextTable":{"__isSmartRef__":true,"id":1069},"eventHandler":{"__isSmartRef__":true,"id":1070},"_ClipMode":"visible","derivationIds":[],"id":"6678B08C-ED23-427F-9BDD-9ED8871B1860","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1},"_Position":{"__isSmartRef__":true,"id":1071},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1072},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1060":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1062},{"__isSmartRef__":true,"id":1063}],"renderContextTable":{"__isSmartRef__":true,"id":1064},"_Position":{"__isSmartRef__":true,"id":1065},"_Extent":{"__isSmartRef__":true,"id":1066},"_Padding":{"__isSmartRef__":true,"id":1067},"_BorderWidth":0,"_BorderColor":null,"_NodeClass":["Morph","Path"],"_Fill":{"__isSmartRef__":true,"id":1068},"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1061":{"isAbsolute":true,"x":14,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1062":{"isAbsolute":true,"x":14,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1063":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1064":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1065":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1066":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1067":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1068":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1069":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1070":{"morph":{"__isSmartRef__":true,"id":1059},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1071":{"x":440,"y":241,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1072":{"onDragStart":{"__isSmartRef__":true,"id":1073},"onDrag":{"__isSmartRef__":true,"id":1080},"onDragEnd":{"__isSmartRef__":true,"id":1087}},"1073":{"varMapping":{"__isSmartRef__":true,"id":1074},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1074":{"this":{"__isSmartRef__":true,"id":1059},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1075}},"1075":{"$super":{"__isSmartRef__":true,"id":1076}},"1076":{"varMapping":{"__isSmartRef__":true,"id":1077},"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":1078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1077":{"obj":{"__isSmartRef__":true,"id":1059},"name":"onDragStart"},"1078":{},"1079":{},"1080":{"varMapping":{"__isSmartRef__":true,"id":1081},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":1086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1081":{"this":{"__isSmartRef__":true,"id":1059},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1082}},"1082":{"$super":{"__isSmartRef__":true,"id":1083}},"1083":{"varMapping":{"__isSmartRef__":true,"id":1084},"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":1085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1084":{"obj":{"__isSmartRef__":true,"id":1059},"name":"onDrag"},"1085":{},"1086":{},"1087":{"varMapping":{"__isSmartRef__":true,"id":1088},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":1093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1088":{"this":{"__isSmartRef__":true,"id":1059},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1089}},"1089":{"$super":{"__isSmartRef__":true,"id":1090}},"1090":{"varMapping":{"__isSmartRef__":true,"id":1091},"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":1092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1091":{"obj":{"__isSmartRef__":true,"id":1059},"name":"onDragEnd"},"1092":{},"1093":{},"1094":{"renderContextTable":{"__isSmartRef__":true,"id":1095},"_Padding":{"__isSmartRef__":true,"id":1096},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_NodeClass":["Morph","Window"],"_Extent":{"__isSmartRef__":true,"id":1097},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1095":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1096":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1097":{"x":440,"y":241,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1098":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1099":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1100":{"adjustForNewBounds":true},"1101":{"x":81,"y":97,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1102":{"x":363,"y":96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1103":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":1104}},"1104":{"varMapping":{"__isSmartRef__":true,"id":1105},"source":"function onLoadFromPartsBin() {\n this.get('ColorPickerPane').init();\n}","funcProperties":{"__isSmartRef__":true,"id":1110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1105":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1106}},"1106":{"$super":{"__isSmartRef__":true,"id":1107}},"1107":{"varMapping":{"__isSmartRef__":true,"id":1108},"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":1109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1108":{"obj":{"__isSmartRef__":true,"id":1},"name":"onLoadFromPartsBin"},"1109":{},"1110":{"timestamp":{"__isSmartRef__":true,"id":1111},"user":"bgnauk","tags":[]},"1111":{"isSerializedDate":true,"string":"Fri Aug 10 2012 11:22:31 GMT-0700 (Pacific Daylight Time)"},"1112":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1113},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":1119},"owner":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"renderContextTable":{"__isSmartRef__":true,"id":1120},"eventHandler":{"__isSmartRef__":true,"id":1121},"_Rotation":0,"lastScrollTime":1344634056910,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"]},"1113":{"_Position":{"__isSmartRef__":true,"id":1114},"_Extent":{"__isSmartRef__":true,"id":1115},"_Fill":{"__isSmartRef__":true,"id":1116},"renderContextTable":{"__isSmartRef__":true,"id":1117},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1118},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1114":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1115":{"x":2,"y":2,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1116":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1118":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1119":{"x":817,"y":373,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1120":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1121":{"morph":{"__isSmartRef__":true,"id":1112},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1122":{"_Position":{"__isSmartRef__":true,"id":1123},"_Extent":{"__isSmartRef__":true,"id":1124},"_Fill":{"__isSmartRef__":true,"id":1125},"renderContextTable":{"__isSmartRef__":true,"id":1126},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1127},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1123":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1124":{"x":2800,"y":2900,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1125":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1126":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1127":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1128":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1129":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1130":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","setScroll":"setScrollHTML"},"1131":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1132":{"x":815,"y":371,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1133":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":1134},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1135},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1134":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1135":{"updater":{"__isSmartRef__":true,"id":1136}},"1136":{"varMapping":{"__isSmartRef__":true,"id":1134},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1137":{},"1138":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/bgnauk/ColorPickerCanvas.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1139":{"submorphs":[{"__isSmartRef__":true,"id":1140}],"scripts":[],"id":"2D43E4E0-711D-4BD5-B495-3C379C320077","shape":{"__isSmartRef__":true,"id":1167},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1174},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":1175},"renderContextTable":{"__isSmartRef__":true,"id":1272},"eventHandler":{"__isSmartRef__":true,"id":1273},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1274},"distanceToDragEvent":{"__isSmartRef__":true,"id":1275},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1276},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1140":{"submorphs":[{"__isSmartRef__":true,"id":1141}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1156},"id":"9B694901-9F04-46A2-ADF7-F005AB521037","renderContextTable":{"__isSmartRef__":true,"id":1161},"eventHandler":{"__isSmartRef__":true,"id":1162},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1163},"name":"ProgressIndicator","showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1164},"partsBinMetaInfo":{"__isSmartRef__":true,"id":1165},"derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1139},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1166},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1141":{"submorphs":[],"scripts":[],"id":"E7C87AA6-86CC-4FDC-9E10-B6FB7E42B764","shape":{"__isSmartRef__":true,"id":1142},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1148},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1145},"showsHalos":false,"_FontSize":14,"name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":1149},"textChunks":[{"__isSmartRef__":true,"id":1150}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":1152},"eventHandler":{"__isSmartRef__":true,"id":1153},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1154},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":1140},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":1155},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1142":{"fill":null,"_Position":{"__isSmartRef__":true,"id":1143},"_Extent":{"__isSmartRef__":true,"id":1144},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1145},"renderContextTable":{"__isSmartRef__":true,"id":1146},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1147},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1143":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1144":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1145":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1146":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1147":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1148":{"x":-109,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1149":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1150":{"style":{"__isSmartRef__":true,"id":1151},"chunkOwner":{"__isSmartRef__":true,"id":1141},"storedString":"loading part","_id":"_4","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1151":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1152":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1153":{"morph":{"__isSmartRef__":true,"id":1141},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1154":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1155":{"x":179,"y":-11,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1156":{"_Position":{"__isSmartRef__":true,"id":1157},"renderContextTable":{"__isSmartRef__":true,"id":1158},"_Extent":{"__isSmartRef__":true,"id":1159},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1160},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1157":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1158":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1159":{"x":31,"y":31,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1160":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1161":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1162":{"morph":{"__isSmartRef__":true,"id":1140},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1163":{"x":113.5,"y":81,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1164":{"x":39,"y":-11,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1165":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1166":{"centeredHorizontal":true,"centeredVertical":true},"1167":{"position":{"__isSmartRef__":true,"id":1168},"_Extent":{"__isSmartRef__":true,"id":1169},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1170},"_Fill":{"__isSmartRef__":true,"id":1171},"renderContextTable":{"__isSmartRef__":true,"id":1172},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1173},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1168":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1169":{"x":266,"y":223,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1170":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1171":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1172":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","removeStyleSheet":"removeStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","updateComputedStyles":"updateComputedStylesHTML"},"1173":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1174":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1175":{"partsSpaceName":"PartsBin/iPadWidgets","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1180},{"__isSmartRef__":true,"id":1182},{"__isSmartRef__":true,"id":1184},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1196},{"__isSmartRef__":true,"id":1198},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1204},{"__isSmartRef__":true,"id":1206},{"__isSmartRef__":true,"id":1208},{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1214},{"__isSmartRef__":true,"id":1216},{"__isSmartRef__":true,"id":1218},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1222},{"__isSmartRef__":true,"id":1224},{"__isSmartRef__":true,"id":1226},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1232},{"__isSmartRef__":true,"id":1234},{"__isSmartRef__":true,"id":1236},{"__isSmartRef__":true,"id":1238},{"__isSmartRef__":true,"id":1240},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1244},{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1266},{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1270}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1176":{"date":{"__isSmartRef__":true,"id":1177},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"1177":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:02:04 GMT-0800 (Pacific Standard Time)"},"1178":{"date":{"__isSmartRef__":true,"id":1179},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"1179":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:43:10 GMT-0800 (Pacific Standard Time)"},"1180":{"date":{"__isSmartRef__":true,"id":1181},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"1181":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:36:14 GMT-0800 (Pacific Standard Time)"},"1182":{"date":{"__isSmartRef__":true,"id":1183},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"1183":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:23:04 GMT-0800 (Pacific Standard Time)"},"1184":{"date":{"__isSmartRef__":true,"id":1185},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"1185":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:45 GMT-0800 (Pacific Standard Time)"},"1186":{"date":{"__isSmartRef__":true,"id":1187},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"1187":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:10 GMT-0800 (Pacific Standard Time)"},"1188":{"date":{"__isSmartRef__":true,"id":1189},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"1189":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:56:54 GMT-0800 (Pacific Standard Time)"},"1190":{"date":{"__isSmartRef__":true,"id":1191},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"1191":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:51:05 GMT-0800 (Pacific Standard Time)"},"1192":{"date":{"__isSmartRef__":true,"id":1193},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"1193":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:47:19 GMT-0800 (Pacific Standard Time)"},"1194":{"date":{"__isSmartRef__":true,"id":1195},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"1195":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:46:25 GMT-0800 (Pacific Standard Time)"},"1196":{"date":{"__isSmartRef__":true,"id":1197},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"1197":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:45:05 GMT-0800 (Pacific Standard Time)"},"1198":{"date":{"__isSmartRef__":true,"id":1199},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"1199":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:37:15 GMT-0800 (Pacific Standard Time)"},"1200":{"date":{"__isSmartRef__":true,"id":1201},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"1201":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:35:29 GMT-0800 (Pacific Standard Time)"},"1202":{"date":{"__isSmartRef__":true,"id":1203},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"1203":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:31:52 GMT-0800 (Pacific Standard Time)"},"1204":{"date":{"__isSmartRef__":true,"id":1205},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"1205":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:14:10 GMT-0800 (Pacific Standard Time)"},"1206":{"date":{"__isSmartRef__":true,"id":1207},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"1207":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:02:56 GMT-0800 (Pacific Standard Time)"},"1208":{"date":{"__isSmartRef__":true,"id":1209},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"1209":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:01:50 GMT-0800 (Pacific Standard Time)"},"1210":{"date":{"__isSmartRef__":true,"id":1211},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"1211":{"isSerializedDate":true,"string":"Wed Feb 22 2012 01:55:44 GMT-0800 (Pacific Standard Time)"},"1212":{"date":{"__isSmartRef__":true,"id":1213},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"1213":{"isSerializedDate":true,"string":"Fri Feb 10 2012 00:45:55 GMT-0800 (Pacific Standard Time)"},"1214":{"date":{"__isSmartRef__":true,"id":1215},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"1215":{"isSerializedDate":true,"string":"Wed Feb 08 2012 02:41:50 GMT-0800 (Pacific Standard Time)"},"1216":{"date":{"__isSmartRef__":true,"id":1217},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"1217":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:13:49 GMT-0800 (Pacific Standard Time)"},"1218":{"date":{"__isSmartRef__":true,"id":1219},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"1219":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:22:07 GMT-0800 (Pacific Standard Time)"},"1220":{"date":{"__isSmartRef__":true,"id":1221},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"1221":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:14 GMT-0800 (Pacific Standard Time)"},"1222":{"date":{"__isSmartRef__":true,"id":1223},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"1223":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:54:35 GMT-0800 (Pacific Standard Time)"},"1224":{"date":{"__isSmartRef__":true,"id":1225},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"1225":{"isSerializedDate":true,"string":"Thu Feb 02 2012 04:26:01 GMT-0800 (Pacific Standard Time)"},"1226":{"date":{"__isSmartRef__":true,"id":1227},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"1227":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:04:01 GMT-0800 (Pacific Standard Time)"},"1228":{"date":{"__isSmartRef__":true,"id":1229},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"1229":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:28:30 GMT-0800 (Pacific Standard Time)"},"1230":{"date":{"__isSmartRef__":true,"id":1231},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"1231":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:32:58 GMT-0800 (Pacific Standard Time)"},"1232":{"date":{"__isSmartRef__":true,"id":1233},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"1233":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:41:00 GMT-0800 (Pacific Standard Time)"},"1234":{"date":{"__isSmartRef__":true,"id":1235},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"1235":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:24:30 GMT-0800 (Pacific Standard Time)"},"1236":{"date":{"__isSmartRef__":true,"id":1237},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"1237":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:26:23 GMT-0800 (Pacific Standard Time)"},"1238":{"date":{"__isSmartRef__":true,"id":1239},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"1239":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:48:04 GMT-0800 (Pacific Standard Time)"},"1240":{"date":{"__isSmartRef__":true,"id":1241},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"1241":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:53:49 GMT-0800 (Pacific Standard Time)"},"1242":{"date":{"__isSmartRef__":true,"id":1243},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"1243":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:49:48 GMT-0800 (Pacific Standard Time)"},"1244":{"date":{"__isSmartRef__":true,"id":1245},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"1245":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:58:43 GMT-0800 (Pacific Standard Time)"},"1246":{"date":{"__isSmartRef__":true,"id":1247},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"1247":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:04:28 GMT-0800 (Pacific Standard Time)"},"1248":{"date":{"__isSmartRef__":true,"id":1249},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"1249":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:10:27 GMT-0800 (Pacific Standard Time)"},"1250":{"date":{"__isSmartRef__":true,"id":1251},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"1251":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:31:50 GMT-0800 (Pacific Standard Time)"},"1252":{"date":{"__isSmartRef__":true,"id":1253},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"1253":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:38:26 GMT-0800 (Pacific Standard Time)"},"1254":{"date":{"__isSmartRef__":true,"id":1255},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"1255":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:44:11 GMT-0800 (Pacific Standard Time)"},"1256":{"date":{"__isSmartRef__":true,"id":1257},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"1257":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:48:14 GMT-0800 (Pacific Standard Time)"},"1258":{"date":{"__isSmartRef__":true,"id":1259},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"1259":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:49:47 GMT-0800 (Pacific Standard Time)"},"1260":{"date":{"__isSmartRef__":true,"id":1261},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"1261":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:59:48 GMT-0800 (Pacific Standard Time)"},"1262":{"date":{"__isSmartRef__":true,"id":1263},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"1263":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:02:33 GMT-0800 (Pacific Standard Time)"},"1264":{"date":{"__isSmartRef__":true,"id":1265},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"1265":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:03:42 GMT-0800 (Pacific Standard Time)"},"1266":{"date":{"__isSmartRef__":true,"id":1267},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"1267":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:20:11 GMT-0800 (Pacific Standard Time)"},"1268":{"date":{"__isSmartRef__":true,"id":1269},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"1269":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:37:34 GMT-0700 (Pacific Daylight Time)"},"1270":{"date":{"__isSmartRef__":true,"id":1271},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"1271":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:29 GMT-0700 (Pacific Daylight Time)"},"1272":{"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","setStyleSheet":"setStyleSheetHTML","setOriginClass":"setOriginClassHTML"},"1273":{"morph":{"__isSmartRef__":true,"id":1139},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1274":{"adjustForNewBounds":true},"1275":{"x":171,"y":-13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1276":{"loadPart":{"__isSmartRef__":true,"id":1277},"loadFinished":{"__isSmartRef__":true,"id":1281},"loadPartByName":{"__isSmartRef__":true,"id":1285}},"1277":{"varMapping":{"__isSmartRef__":true,"id":1278},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1278":{"this":{"__isSmartRef__":true,"id":1139}},"1279":{"timestamp":{"__isSmartRef__":true,"id":1280},"user":"sstamm","tags":[]},"1280":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:18 GMT-0700 (Pacific Daylight Time)"},"1281":{"varMapping":{"__isSmartRef__":true,"id":1282},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1282":{"this":{"__isSmartRef__":true,"id":1139}},"1283":{"timestamp":{"__isSmartRef__":true,"id":1284},"user":"sstamm","tags":[]},"1284":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:01:53 GMT-0800 (Pacific Standard Time)"},"1285":{"varMapping":{"__isSmartRef__":true,"id":1286},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":1287},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1286":{"this":{"__isSmartRef__":true,"id":1139}},"1287":{"timestamp":{"__isSmartRef__":true,"id":1288},"user":"sstamm","tags":[]},"1288":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:03:18 GMT-0800 (Pacific Standard Time)"},"isSimplifiedRegistry":true}}]]>