= 0) { ns = tagName.substring(0, tagName.indexOf(':')); tagName = tagName.substring(tagName.indexOf(':') + 1); } if (tagName) if (tagName != 'textNode') { if (!subs[tagName]) subs[tagName] = XMLJSONP]]>= 0) { ns = key.substring(0, key.indexOf(':')); key = key.substring(key.indexOf(':') + 1); } if (parseInt(value).toString() == value) output[key] = parseInt(value); else if (value == 'true') output[key] = true; else if (value == 'false') output[key] = false; else output[key] = value; if (ns) output[key]._namespace = ns; } } if (input.each) input.each(restructure); else Properties.forEachOwn(input, restructure); return output; } });]]> Lively Kernel canvas {"x":912,"y":-3}{"x":1,"y":1}""{"x":-12,"y":-8}"Global.lively.Text" ActivityStrea.ms{"x":742,"y":41}{"x":1,"y":1}30"ActivityStrea.ms"{"x":17,"y":10,"width":0,"height":0}true{"x":566,"y":36}"Global.lively.Text""ActivityStrea.ms" {"x":0,"y":0}{"x":1,"y":1}"6040:ImageMorph"{"x":2.4000000953674316,"y":2.4100000858306885}{"x":240,"y":241}"Global.lively.Widgets" {"x":462,"y":-13}{"x":1,"y":1}"7279:ImageMorph"{"x":2.4000000953674316,"y":2.4100000858306885}{"x":240,"y":241}"Global.lively.Widgets" {"x":1043,"y":905}{"x":1,"y":1}"""""55478:TextMorph"{"x":-12,"y":-8}"Global.lively.Text" Fetchstream{"x":23.5,"y":9.900000095367432}{"x":1,"y":1}"Fetch stream""Fetch stream""4031:TextMorph"{"x":70,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"nulltrue"Global.lively.Text""none"{"x":98,"y":248}{"x":1,"y":1}"889:ScriptableButtonMorph"{"x":114,"y":30}falsetrue"// var streamURL = 'http://mb.sunsolutioncenter.de/index.php/activitystream';\n// var streamURL = 'https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public';\n\nif ($morph('streamList') && $morph('streamList').selection) {\n\tvar res = new WebResource(new URL($morph('streamList').selection));\n\tvar feed = res.get().content;\n\n\tvar xmlDOM = new DOMParser().parseFromString(feed, 'text/xml').documentElement;\n\tvar conv = new lively.Helper.XMLConverter();\n\tvar json = conv.convertToJSON(xmlDOM);\n\tstreamData = XMLJSONPrettifier.makePretty(json);\n}""Global.lively.Widgets" Displaystream{"x":18,"y":10.400000095367432}{"x":1,"y":1}"Display stream""Display stream""7157:TextMorph"{"x":81,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"nulltrue"Global.lively.Text""none"{"x":234,"y":248}{"x":1,"y":1}"6338:ScriptableButtonMorph"{"x":114,"y":31}falsetrue"var stream = $morph('streamViewer');\nstream.layoutManager = new VerticalLayout();\nif (streamData) {\n\tstreamData.entry.each(function(entry) {\n\t\tif (!(entry.verb && entry.object && (entry.actor || entry.author)))\n\t\t\treturn;\n\n\t\tfunction createImage(url) {\n\t\t\tvar img = new ImageMorph(new Rectangle(0, 0, 24, 24), url);\n\t\t\timg.suppressGrabbing = true;\n\t\t\timg.ignoreEvents();\n\t\t\timg.setFillOpacity(0.0);\n\t\t\timg.setBorderWidth(1.0);\n\t\t\timg.margin = new Rectangle(5,0,0,0);\n\t\t\treturn img;\n\t\t}\n\n\t\tfunction createTag(txt, data, type) {\n\t\t\tvar m = new TagMorph(rect(pt(0,0), pt(10,30)), txt);\n\t\t\tm.suppressHandles = true;\n\t\t\tm.setWrapStyle(lively.Text.WrapStyle.Shrink);\n\t\t\tm.setFill(Color.rgb(167,213,255));\n\t\t\tm.setBorderColor(Color.rgb(87,136,255));\n\t\t\tm.setBorderRadius(7);\n\t\t\tm.setBorderWidth(1.5);\n\t\t\tm.setStrokeOpacity(1.0);\n\t\t\tm.setFontSize(14);\n\t\t\tm.contentData = data;\n\t\t\tm.tagType = type || TagMorph.UNKNOWN;\n\t\t\treturn m;\n\t\t}\n\n\t\tvar idx,\n\t\t\tactor, verb, object, actorType,\n\t\t\tactorObj = entry.actor || entry.author,\n\t\t\tverbObj = entry.verb,\n\t\t\tobjectObj = entry.object;\n\n\t\tif (actorObj.author && actorObj.author.name)\n\t\t\tactorObj.name = actorObj.author.name;\n\n\t\tidx = actorObj['object-type'].lastIndexOf('/');\n\t\tif (idx)\n\t\t\tactorType = actorObj['object-type'].substr(idx + 1);\n\t\tactor = actorObj.name;\n\n\t\tidx = verbObj.lastIndexOf('/');\n\t\tif (idx)\n\t\t\tverb = verbObj.substring(idx + 1);\n\t\telse\n\t\t\tverb = verbObj;\n\n\t\tidx = objectObj['object-type'].lastIndexOf('/');\n\t\tif (idx)\n\t\t\tobject = objectObj['object-type'].substr(idx + 1);\n\t\telse\n\t\t\tobject = objectObj['object-type'];\n\n\t\tvar r = new TagContainer(rect(pt(0,0), pt(stream.getExtent().x, 30)));\n\t\tr.setFill(Color.white);\n\t\tr.setFillOpacity(0.0);\n\t\tr.layoutManager = new HorizontalLayout();\n\t\tr.openForDragAndDrop = false;\n\t\tr.copySubmorphsOnGrab = true;\n\t\tr.tagInfo = entry;\n\t\tstream.addMorph(r);\n\n\t\tvar imgM, txtM, info;\n\t\tvar pubDate = AtomDate.parse(entry.published);\n\n\t\ttxtM = createTag(' ' + pubDate.toLocaleDateString(), '');\n\t\timgM = createImage('../media/activitystream/date.png');\n\t\ttxtM.addMorph(imgM);\n\t\timgM.setPosition(pt(6,1));\n\t\tr.addMorph(txtM);\n\n\t\ttxtM = createTag(' ' + pubDate.toLocaleTimeString(), '');\n\t\timgM = createImage('../media/activitystream/time.png');\n\t\ttxtM.addMorph(imgM);\n\t\timgM.setPosition(pt(4,1));\n\t\tr.addMorph(txtM);\n\n\t\tinfo = 'Actor: ' + actor;\n\t\tif (actorObj.uri) info += '\\n\\nURL: ' + actorObj.uri;\n\t\tif (actorObj.link) {\n\t\t\tinfo += '\\n\\nAdditional link(s):';\n\t\t\tvar links = actorObj.link;\n\t\t\tif (!(links instanceof Array))\n\t\t\t\tlinks = [links];\n\t\t\tlinks.each(function(link) {\n\t\t\t\tinfo += '\\n' + link.href + ' (' + link.rel + ')';\n\t\t\t})\n\t\t}\n\n\t\ttxtM = createTag(' ' + actor, info, TagMorph.ACTOR);\n\t\tr.addMorph(txtM);\n\t\tif (actorType) {\n\t\t\timgM = createImage('../media/activitystream/' + actorType + '.png');\n\t\t\ttxtM.addMorph(imgM);\n\t\t\timgM.setPosition(pt(6,1));\n\t\t}\n\n\t\ttxtM = createTag(' ' + verb + (verb.substr(-1) == 'e' ? 'd' : 'ed'), '[ no additional info ]', TagMorph.VERB);\n\t\tr.addMorph(txtM);\n\t\timgM = createImage('../media/activitystream/' + verb + '.png');\n\t\ttxtM.addMorph(imgM);\n\t\timgM.setPosition(pt(6,1));\n\n\t\tinfo = 'Object: ' + object;\n\t\tif (objectObj.content) {\n\t\t\tinfo += '\\n\\nContent';\n\t\t\tif (objectObj['original-content']) info += '(' + objectObj['original-content'].type + ')' \n\t\t\tinfo += ':\\n' + objectObj.content;\n\t\t}\n\t\tif (objectObj.link) {\n\t\t\tinfo += '\\n\\nAdditional link(s):';\n\t\t\tvar links = actorObj.link;\n\t\t\tif (!(links instanceof Array))\n\t\t\t\tlinks = [links];\n\t\t\tlinks.each(function(link) {\n\t\t\t\tinfo += '\\n' + link.href + ' (' + link.rel + ')';\n\t\t\t})\n\t\t}\n\t\tif (objectObj.attachment) {\n\t\t\tinfo += '\\n\\nAttachment(s): ' + objectObj.attachment.length + '\\n'\n\t\t}\n\t\ttxtM = createTag(' ' + object, info, TagMorph.OBJECT);\n\t\tr.addMorph(txtM);\n\t\timgM = createImage('../media/activitystream/' + object + '.png');\n\t\ttxtM.addMorph(imgM);\n\t\timgM.setPosition(pt(6,1));\n\t});\n\tstream.relayout();\n\tstream.owner.owner.updateScrollBarSliders();\n}\n""Global.lively.Widgets" Clearstream{"x":23.5,"y":10.400000095367432}{"x":1,"y":1}"Clear stream""Clear stream""9662:TextMorph"{"x":70,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"nulltrue"Global.lively.Text""none"{"x":364,"y":248}{"x":1,"y":1}"8809:ScriptableButtonMorph"{"x":114,"y":31}falsetrue"var stream = $morph('streamViewer');\nstream.removeAllMorphs();\nstream.owner.owner.updateScrollBarSliders();\n""Global.lively.Widgets" Filteroff{"x":37,"y":10.4}{"x":1,"y":1}"Filter off""Filter off""321528:TextMorph"{"x":43,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true{"x":365,"y":208}{"x":1,"y":1}"29951:ScriptableButtonMorph"{"x":114,"y":31}falsetrue"var label = this.getLabel();\nif (label.substr(-3) == ' on') {\n\tthis.setLabel('Filter off');\n\tthis.setFill(new lively.paint.LinearGradient([new lively.paint.Stop(0, Color.red), new lively.paint.Stop(1, Color.red.darker(1))], lively.paint.LinearGradient['NorthSouth']));\n} else {\n\tthis.setLabel('Filter on');\n\tthis.setFill(new lively.paint.LinearGradient([new lively.paint.Stop(0, Color.green), new lively.paint.Stop(1, Color.green.darker(1))], lively.paint.LinearGradient['NorthSouth']));\n}\nif (typeof triggerFiltering != 'undefined') {\n\ttriggerFiltering();\n}\n""Global.lively.Widgets""FilterBtn" https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public{"x":3,"y":4.5}{"x":1,"y":1}"https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public""-----""17843:TextMorph"{"x":392,"y":13.199999809265137}false{"x":4,"y":0,"width":0,"height":0}"None"falsetruefalsetrue0{"x":0,"y":1.5,"width":0,"height":-1.5}false"none" http://mb.sunsolutioncenter.de/index.php/activitystream{"x":3,"y":22.199999809265137}{"x":1,"y":1}"http://mb.sunsolutioncenter.de/index.php/activitystream""http://mb.sunsolutioncenter.de/index.php/activitystream""18592:TextMorph"{"x":395,"y":13.199999809265137}false{"x":4,"y":0,"width":0,"height":0}"None"falsetruefalsetrue0{"x":0,"y":1.5,"width":0,"height":-1.5}false"none"{"x":1,"y":0}{"x":1,"y":1}406null"17842:FilterableListMorph"{"x":366,"y":98}"https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" "https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public" "http://mb.sunsolutioncenter.de/index.php/activitystream" 0"https://www.googleapis.com/buzz/v1/activities/googlebuzz/@public"nullnulltruenullfalse"streamList"{"x":1,"y":1}{"x":1,"y":1}"url(#17848:lively.scene.Clip)""17847:ClipMorph"{"x":366,"y":98}truetrue {"x":0,"y":0}{"x":1,"y":1}"17850:Morph"{"x":14,"y":99}"slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" "slider" {"x":366,"y":1}{"x":1,"y":1}"17849:SliderMorph"{"x":14,"y":99}0.11"slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" "slider_background" true{"sourceObj":"17849:SliderMorph","sourceAttrName":"value","targetObj":"17846:ScrollPane","targetMethodName":"setVerticalScrollPosition","converter":null,"updater":null} {"sourceObj":"17849:SliderMorph","sourceAttrName":"getSliderExtent","targetObj":"17846:ScrollPane","targetMethodName":"getVerticalVisibleExtent","converter":null,"updater":null} {"x":13.5,"y":97.5}0{"x":97,"y":99}{"x":1,"y":1}"17846:ScrollPane"{"x":380,"y":100}{"sourceObj":"17846:ScrollPane","sourceAttrName":"setVerticalScrollPosition","targetObj":"17849:SliderMorph","targetMethodName":"setValue","converter":null,"updater":null} true"sourceList" {"x":0,"y":-3}{"x":1,"y":1}"2780:Morph"{"x":579,"y":709}{}"streamViewer""Global.lively.Core"truetrue{"x":1,"y":1}{"x":1,"y":1}"url(#230131:lively.scene.Clip)""230130:ClipMorph"{"x":579,"y":709}truetrue {"x":0,"y":0}{"x":1,"y":1}"230133:Morph"{"x":14,"y":710}"slider" "slider" "slider" "slider" {"x":579,"y":1}{"x":1,"y":1}"230132:SliderMorph"{"x":14,"y":710}0.11"slider_background" "slider_background" "slider_background" "slider_background" true{"sourceObj":"230132:SliderMorph","sourceAttrName":"value","targetObj":"230129:ScrollPane","targetMethodName":"setVerticalScrollPosition","converter":null,"updater":null} {"sourceObj":"230132:SliderMorph","sourceAttrName":"getSliderExtent","targetObj":"230129:ScrollPane","targetMethodName":"getVerticalVisibleExtent","converter":null,"updater":null} {"x":6,"y":281}null1{"x":89.5,"y":347.5}{"x":1,"y":1}"230129:ScrollPane"{"x":593,"y":711}{"sourceObj":"230129:ScrollPane","sourceAttrName":"setVerticalScrollPosition","targetObj":"230132:SliderMorph","targetMethodName":"setValue","converter":null,"updater":null} true ActivityStrea.m(s):{"x":107,"y":279}{"x":1,"y":1}16"24170:TextMorph""ActivityStrea.m(s):"""{"x":304,"y":17.600034077962242}{"x":10,"y":5.333333333333333,"width":0,"height":0}{"runs":[19],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]}{"runs":[19],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]}"Global.lively.Text" wildcard=function(s1,s2){varleft=(s2.charAt(0)=="*")?"":"^";varright=(s2.charAt(s2.length-1)=="*")?"":"$";vars2=s2.replace(/^\*|\*$/,"");s2=s2.replace(/\*+/,".*");varre=newRegExp(left+s2+right);returnre.test(s1);};{"x":1,"y":1}{"x":1,"y":1}"Courier""wildcard = function(s1, s2) {\n\tvar left = (s2.charAt(0) == \"*\") ? \"\" : \"^\";\n\tvar right = (s2.charAt(s2.length - 1) == \"*\") ? \"\" : \"$\";\n\tvar s2 = s2.replace(/^\\*|\\*$/,\"\");\n\ts2 = s2.replace(/\\*+/, \".*\");\n\tvar re = new RegExp(left + s2 + right);\n\treturn re.test(s1);\n};""wildcard = function(s1, s2) {\n\tvar left = (s2.charAt(0) == \"*\") ? \"\" : \"^\";\n\tvar right = (s2.charAt(s2.length - 1) == \"*\") ? \"\" : \"$\";\n\tvar s2 = s2.replace(/^\\*|\\*$/,\"\");\n\ts2 = s2.replace(/\\*+/, \".*\");\n\tvar re = new RegExp(left + s2 + right);\n\treturn re.test(s1);\n};""245304:TextMorph"7{"x":594,"y":114}truetruefalse{"runs":[11,8,9,1,2,3,19,1,5,3,4,2,3,3,3,3,32,1,5,3,4,2,3,3,3,3,17,9,1,2,20,5,2,4,4,3,6,3,1,6,22,6,14,1,2],"values":[{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0.5019607843137255,"g":0,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0.5019607843137255,"g":0,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":1,"g":0.0784313725490196,"b":0.5764705882352941,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}}]}{"runs":[266],"values":[{}]}true{"name":"BrowserSyntaxHighlightLayer"} {"name":"BrowserSyntaxHighlightLayer"} {"x":1,"y":1}{"x":1,"y":1}"url(#245310:lively.scene.Clip)""245309:ClipMorph"{"x":606,"y":137}truetrue {"x":0,"y":0}{"x":1,"y":1}"245312:Morph"{"x":14,"y":138}"slider" "slider" false{"x":606,"y":1}{"x":1,"y":1}"245311:SliderMorph"{"x":14,"y":138}0.11"slider_background" "slider_background" true{"sourceObj":"245311:SliderMorph","sourceAttrName":"value","targetObj":"245308:ScrollPane","targetMethodName":"setVerticalScrollPosition","converter":null,"updater":null} {"sourceObj":"245311:SliderMorph","sourceAttrName":"getSliderExtent","targetObj":"245308:ScrollPane","targetMethodName":"getVerticalVisibleExtent","converter":null,"updater":null} false0{"x":0,"y":22}{"x":1,"y":1}"245308:ScrollPane"{"x":620,"y":139}{"sourceObj":"245308:ScrollPane","sourceAttrName":"setVerticalScrollPosition","targetObj":"245311:SliderMorph","targetMethodName":"setValue","converter":null,"updater":null} true {"x":1,"y":1}{"x":1,"y":1}"245315:Morph"{"x":620,"y":30}"titleBar" "titleBar" null"none"false{"x":-1,"y":-1}{"x":1,"y":1}"url(#245317:lively.scene.Clip)""245316:ClipMorph"{"x":622,"y":23}truenull"none" Workspace{"x":273.5,"y":0}{"x":1,"y":1}"Workspace""""245318:TextMorph"{"x":61,"y":13.200000762939453}false{"x":6,"y":2,"width":0,"height":0}"Shrink"null"none"truefalse"titleBar_label" "titleBar_label" X{"x":-4,"y":-6}{"x":1,"y":1}"X""X""245322:TextMorph"{"x":8,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":609,"y":11}{"x":1,"y":1}"245321:WindowControlMorph"{"x":16,"y":16}"titleBar_closeButton" "titleBar_closeButton" {"sourceObj":"245321:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"245313:WindowMorph","targetMethodName":"getCloseHelp","converter":null,"updater":null} {"sourceObj":"245321:WindowControlMorph","sourceAttrName":"fire","targetObj":"245313:WindowMorph","targetMethodName":"initiateShutdown","converter":null,"updater":null} false M{"x":-5,"y":-6}{"x":1,"y":1}"M""M""245326:TextMorph"{"x":10,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":11,"y":11}{"x":1,"y":1}"245325:WindowControlMorph"{"x":16,"y":16}"titleBar_menuButton" "titleBar_menuButton" {"sourceObj":"245325:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"245313:WindowMorph","targetMethodName":"getMenuHelp","converter":null,"updater":null} {"sourceObj":"245325:WindowControlMorph","sourceAttrName":"fire","targetObj":"245313:WindowMorph","targetMethodName":"showTargetMorphMenu","converter":null,"updater":null} false {"x":-3,"y":-6}{"x":1,"y":1}"–""–""245330:TextMorph"{"x":4,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":590,"y":11}{"x":1,"y":1}"245329:WindowControlMorph"{"x":16,"y":16}"titleBar_collapseButton" "titleBar_collapseButton" {"sourceObj":"245329:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"245313:WindowMorph","targetMethodName":"getCollapseHelp","converter":null,"updater":null} {"sourceObj":"245329:WindowControlMorph","sourceAttrName":"fire","targetObj":"245313:WindowMorph","targetMethodName":"toggleCollapse","converter":null,"updater":null} false{"x":0,"y":0}{"x":1,"y":1}"245314:TitleBarMorph"{"x":620,"y":22}null"none"false{"x":773,"y":348}{"x":1,"y":1}"245313:WindowMorph"{"x":620,"y":161}{"x":0,"y":23}falsenullnullnullnullfalse{"name":"WorkspaceLayer"} {"name":"UndoLayer"} {"name":"WorkspaceLayer"} {"name":"UndoLayer"} Verbfilter:{"x":822,"y":106}{"x":1,"y":1}16"233836:TextMorph""Verb filter:"""{"x":191,"y":17.59999974568685}{"x":10,"y":5.333333333333333,"width":0,"height":0}{"runs":[12],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]}"Global.lively.Text"{"runs":[9],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]} resetContainer=function(parent){parent.submorphs.each(function(m){m.setVisible(true);});};filterTags=function(parent,filter,path){if(!filter||!(filterinstanceofArray))return;varsubmorphs=parent.submorphs;varpathes=path.split('/');submorphs.each(function(m){vardata=m.tagInfo;vari=0;while(data){if(i==pathes.length){varfound=filter.detect(function(ea){returnwildcard(data,ea);});if(!found)m.setVisible(false);break;}data=data[pathes[i]];i+=1;}});};triggerFiltering=function(){varon=$morph('FilterBtn').getLabel().substr(-3)=='on';varstream=$morph('streamViewer');if(on){if(resetContainer&&filterTags&&wildcard){varactorFilter=$morph('ActorFilter'),verbFilter=$morph('VerbFilter'),objectFilter=$morph('ObjectFilter');resetContainer(stream);if(actorFilter&&(actorFilter.submorphs.length>0)){filterTags(stream,actorFilter.getFilterOutput(),'author/name');}if(verbFilter&&(verbFilter.submorphs.length>0)){varfilterItems=verbFilter.getFilterOutput();filterItems=filterItems.collect(function(ea){return'http://activitystrea.ms/schema/1.0/'+(ea.substr(-2)=='ed'?ea.substr(0,ea.length-2):ea)+'*';});filterTags(stream,filterItems,'verb');}if(objectFilter&&(objectFilter.submorphs.length>0)){varfilterItems=objectFilter.getFilterOutput();filterItems=filterItems.collect(function(ea){return'http://activitystrea.ms/schema/1.0/'+ea;});filterTags(stream,filterItems,'object/object-type');}stream.relayout();stream.owner.owner.updateScrollBarSliders();}}else{resetContainer(stream);stream.relayout();stream.owner.owner.updateScrollBarSliders();}}{"x":1,"y":-416.599999999999}{"x":1,"y":1}"Courier""resetContainer = function(parent) {\n\tparent.submorphs.each(function(m) {\n\t\tm.setVisible(true);\n\t});\n};\n\nfilterTags = function(parent, filter, path) {\n\tif (!filter || !(filter instanceof Array)) return;\n\n\tvar submorphs = parent.submorphs;\n\tvar pathes = path.split('/');\n\n\tsubmorphs.each(function(m) {\n\t\tvar data = m.tagInfo;\n\t\tvar i = 0;\n\t\twhile (data) {\n\t\t\tif (i == pathes.length) {\n\t\t\t\tvar found = filter.detect(function(ea) {\n\t\t\t\t\treturn wildcard(data, ea);\n\t\t\t\t});\n\t\t\t\tif (!found)\n\t\t\t\t\tm.setVisible(false);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdata = data[pathes[i]];\n\t\t\ti += 1;\n\t\t}\n\t});\n};\n\ntriggerFiltering = function() {\n\tvar on = $morph('FilterBtn').getLabel().substr(-3) == ' on';\n\tvar stream = $morph('streamViewer');\n\n\tif (on) {\n\t\tif (resetContainer && filterTags && wildcard) {\n\t\t\tvar actorFilter = $morph('ActorFilter'),\n\t\t\t\tverbFilter = $morph('VerbFilter'),\n\t\t\t\tobjectFilter = $morph('ObjectFilter');\n\n\t\t\tresetContainer(stream);\n\t\t\tif (actorFilter && (actorFilter.submorphs.length > 0)) {\n\t\t\t\tfilterTags(stream, actorFilter.getFilterOutput(), 'author/name');\n\t\t\t}\n\t\t\tif (verbFilter && (verbFilter.submorphs.length > 0)) {\n\t\t\t\tvar filterItems = verbFilter.getFilterOutput();\n\t\t\t\tfilterItems = filterItems.collect(function(ea) {\n\t\t\t\t\treturn 'http://activitystrea.ms/schema/1.0/' +\n\t\t\t\t\t\t(ea.substr(-2) == 'ed' ? ea.substr(0, ea.length - 2) : ea)+ '*';\n\t\t\t\t});\n\t\t\t\tfilterTags(stream, filterItems, 'verb');\n\t\t\t}\n\t\t\tif (objectFilter && (objectFilter.submorphs.length > 0)) {\n\t\t\t\tvar filterItems = objectFilter.getFilterOutput();\n\t\t\t\tfilterItems = filterItems.collect(function(ea) {\n\t\t\t\t\treturn 'http://activitystrea.ms/schema/1.0/' + ea;\n\t\t\t\t});\n\t\t\t\tfilterTags(stream, filterItems, 'object/object-type');\n\t\t\t}\n\t\t\tstream.relayout();\n\t\t\tstream.owner.owner.updateScrollBarSliders();\n\t\t}\n\t} else {\n\t\tresetContainer(stream);\n\t\tstream.relayout();\n\t\tstream.owner.owner.updateScrollBarSliders();\n\t}\n}""resetContainer = function(parent) {\n\tparent.submorphs.each(function(m) {\n\t\tm.setVisible(true);\n\t});\n};\n\nfilterTags = function(parent, filter, path) {\n\tif (!filter || !(filter instanceof Array)) return;\n\n\tvar submorphs = parent.submorphs;\n\tvar pathes = path.split('/');\n\n\tsubmorphs.each(function(m) {\n\t\tvar data = m.tagInfo;\n\t\tvar i = 0;\n\t\twhile (data) {\n\t\t\tif (i == pathes.length) {\n\t\t\t\tvar found = filter.detect(function(ea) {\n\t\t\t\t\treturn wildcard(data, ea);\n\t\t\t\t});\n\t\t\t\tif (!found)\n\t\t\t\t\tm.setVisible(false);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdata = data[pathes[i]];\n\t\t\ti += 1;\n\t\t}\n\t});\n};\n\ntriggerFiltering = function() {\n\tvar on = $morph('FilterBtn').getLabel().substr(-3) == ' on';\n\tvar stream = $morph('streamViewer');\n\n\tif (on) {\n\t\tif (resetContainer && filterTags && wildcard) {\n\t\t\tvar actorFilter = $morph('ActorFilter'),\n\t\t\t\tverbFilter = $morph('VerbFilter'),\n\t\t\t\tobjectFilter = $morph('ObjectFilter');\n\n\t\t\tresetContainer(stream);\n\t\t\tif (actorFilter && (actorFilter.submorphs.length > 0)) {\n\t\t\t\tfilterTags(stream, actorFilter.getFilterOutput(), 'author/name');\n\t\t\t}\n\t\t\tif (verbFilter && (verbFilter.submorphs.length > 0)) {\n\t\t\t\tvar filterItems = verbFilter.getFilterOutput();\n\t\t\t\tfilterItems = filterItems.collect(function(ea) {\n\t\t\t\t\treturn 'http://activitystrea.ms/schema/1.0/' +\n\t\t\t\t\t\t(ea.substr(-2) == 'ed' ? ea.substr(0, ea.length - 2) : ea)+ '*';\n\t\t\t\t});\n\t\t\t\tfilterTags(stream, filterItems, 'verb');\n\t\t\t}\n\t\t\tif (objectFilter && (objectFilter.submorphs.length > 0)) {\n\t\t\t\tvar filterItems = objectFilter.getFilterOutput();\n\t\t\t\tfilterItems = filterItems.collect(function(ea) {\n\t\t\t\t\treturn 'http://activitystrea.ms/schema/1.0/' + ea;\n\t\t\t\t});\n\t\t\t\tfilterTags(stream, filterItems, 'object/object-type');\n\t\t\t}\n\t\t\tstream.relayout();\n\t\t\tstream.owner.owner.updateScrollBarSliders();\n\t\t}\n\t} else {\n\t\tresetContainer(stream);\n\t\tstream.relayout();\n\t\tstream.owner.owner.updateScrollBarSliders();\n\t}\n}""266058:TextMorph"68{"x":595,"y":992.4000244140625}truetruefalsetrue{"runs":[17,8,9,1,24,8,4,1,24,1,3,1,16,8,23,1,2,2,22,10,1,5,3,6,4,3,32,3,21,3,20,8,4,1,3,3,21,3,5,1,4,5,8,1,4,2,22,1,5,3,23,8,5,1,6,6,25,1,7,2,40,5,5,1,36,1,4,1,2,1,3,1,22,8,3,1,2,3,13,11,21,1,5,5,3,3,17,14,5,2,6,1,3,2,44,1,4,3,22,13,27,12,29,14,34,2,49,1,3,1,55,13,6,1,4,2,47,1,3,1,5,3,83,8,5,1,6,6,1,6,52,1,5,4,13,1,14,1,9,3,1,5,1,39,6,6,1,4,2,51,1,3,1,5,3,85,8,5,1,6,6,1,6,37,5,1,39,20,6,23,51,1,2,1,1,4,1,1,96,1,1,2],"values":[{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":1,"g":0.0784313725490196,"b":0.5764705882352941,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}}]}{"name":"BrowserSyntaxHighlightLayer"} {"name":"BrowserSyntaxHighlightLayer"} {"runs":[17,8,9,1,24,8,4,1,24,1,3,1,16,8,23,1,2,2,22,10,1,5,3,6,4,3,32,3,21,3,20,8,4,1,3,3,21,3,5,1,4,5,8,1,4,2,22,1,5,3,23,8,5,1,6,6,25,1,7,2,40,5,5,1,36,1,4,1,2,1,3,1,22,8,3,1,2,3,13,11,21,1,5,5,3,3,17,14,5,2,6,1,3,2,44,1,4,3,22,13,27,12,29,14,34,2,49,1,3,1,55,13,6,1,4,2,47,1,3,1,5,3,83,8,5,1,6,6,1,6,103,5,1,39,6,6,1,4,2,51,1,3,1,5,3,85,8,5,1,6,6,1,6,37,5,1,39,20,6,23,51,1,2,1,1,4,1,1,96,1,1,1],"values":[{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":1,"g":0.0784313725490196,"b":0.5764705882352941,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":1,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5450980392156862,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0,"b":0.5019607843137255,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}},{"Color":{"r":0,"g":0,"b":0,"a":1}},{"color":{"r":0,"g":0.5019607843137255,"b":0,"a":1}}]}{"x":1,"y":1}{"x":1,"y":1}"url(#266064:lively.scene.Clip)""266063:ClipMorph"{"x":607,"y":561}truetrue {"x":0,"y":244.59696121551343}{"x":1,"y":1}"266066:Morph"{"x":14,"y":325.8054504394531}"slider" "slider" false{"x":607,"y":1}{"x":1,"y":1}"266065:SliderMorph"{"x":14,"y":562}0.11"slider_background" "slider_background" true{"sourceObj":"266065:SliderMorph","sourceAttrName":"value","targetObj":"266062:ScrollPane","targetMethodName":"setVerticalScrollPosition","converter":null,"updater":null} {"sourceObj":"266065:SliderMorph","sourceAttrName":"getSliderExtent","targetObj":"266062:ScrollPane","targetMethodName":"getVerticalVisibleExtent","converter":null,"updater":null} false1{"x":0,"y":22}{"x":1,"y":1}"266062:ScrollPane"{"x":621,"y":563}{"sourceObj":"266062:ScrollPane","sourceAttrName":"setVerticalScrollPosition","targetObj":"266065:SliderMorph","targetMethodName":"setValue","converter":null,"updater":null} true {"x":1,"y":1}{"x":1,"y":1}"266069:Morph"{"x":621,"y":30}"titleBar" "titleBar" null"none"false{"x":-1,"y":-1}{"x":1,"y":1}"url(#266071:lively.scene.Clip)""266070:ClipMorph"{"x":623,"y":23}truenull"none" Workspace{"x":274,"y":0}{"x":1,"y":1}"Workspace""""266072:TextMorph"{"x":61,"y":13.200000762939453}false{"x":6,"y":2,"width":0,"height":0}"Shrink"null"none"truefalse"titleBar_label" X{"x":-4,"y":-6}{"x":1,"y":1}"X""X""266076:TextMorph"{"x":8,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":610,"y":11}{"x":1,"y":1}"266075:WindowControlMorph"{"x":16,"y":16}"titleBar_closeButton" {"sourceObj":"266075:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"266067:WindowMorph","targetMethodName":"getCloseHelp","converter":null,"updater":null} {"sourceObj":"266075:WindowControlMorph","sourceAttrName":"fire","targetObj":"266067:WindowMorph","targetMethodName":"initiateShutdown","converter":null,"updater":null} false M{"x":-5,"y":-6}{"x":1,"y":1}"M""M""266080:TextMorph"{"x":10,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":11,"y":11}{"x":1,"y":1}"266079:WindowControlMorph"{"x":16,"y":16}"titleBar_menuButton" {"sourceObj":"266079:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"266067:WindowMorph","targetMethodName":"getMenuHelp","converter":null,"updater":null} {"sourceObj":"266079:WindowControlMorph","sourceAttrName":"fire","targetObj":"266067:WindowMorph","targetMethodName":"showTargetMorphMenu","converter":null,"updater":null} false {"x":-3,"y":-6}{"x":1,"y":1}"–""–""266084:TextMorph"{"x":4,"y":13.199999809265137}false{"x":0,"y":0,"width":0,"height":0}"Shrink"null"none"true"titleBar_button_label" "titleBar_button_label" {"runs":[2],"values":[{"style":"bold"}]}false{"x":591,"y":11}{"x":1,"y":1}"266083:WindowControlMorph"{"x":16,"y":16}"titleBar_collapseButton" {"sourceObj":"266083:WindowControlMorph","sourceAttrName":"getHelpText","targetObj":"266067:WindowMorph","targetMethodName":"getCollapseHelp","converter":null,"updater":null} {"sourceObj":"266083:WindowControlMorph","sourceAttrName":"fire","targetObj":"266067:WindowMorph","targetMethodName":"toggleCollapse","converter":null,"updater":null} false{"x":0,"y":0}{"x":1,"y":1}"266068:TitleBarMorph"{"x":621,"y":22}null"none"false{"x":774,"y":521}{"x":1,"y":1}"266067:WindowMorph"{"x":621,"y":585}{"x":0,"y":23}falsenullnullnullnullfalse{"name":"WorkspaceLayer"} {"name":"UndoLayer"} {"name":"WorkspaceLayer"} {"name":"UndoLayer"} "321544:FilterContainer"{"x":550,"y":140}{"x":220,"y":140}{}"ActorFilter"truetrue "321545:FilterContainer"{"x":820,"y":140}{"x":220,"y":140}{}"VerbFilter"truetrue "321546:FilterContainer"{"x":1090,"y":140}{"x":220,"y":140}{}"ObjectFilter"truetrue Wikicontrol"Wiki control""Wiki control""321548:TextMorph"{"x":0,"y":0}{"x":68,"y":42}truetrue Actorfilter:{"x":552,"y":106}{"x":1,"y":1}16"Actor filter:""""20413:TextMorph"{"x":184,"y":17.59999974568685}{"x":10,"y":5.333333333333333,"width":0,"height":0}{"runs":[13],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]}"Global.lively.Text"{"runs":[9],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]} Objectfilter:{"x":1088,"y":106}{"x":1,"y":1}16"235876:TextMorph""Object filter:"""{"x":191,"y":17.59999974568685}{"x":10,"y":5.333333333333333,"width":0,"height":0}{"runs":[14],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]}"Global.lively.Text"{"runs":[9],"values":[{"style":"bold","__SourceModuleName__":"Global.lively.Text"}]} 0) { if (val < Math.pow(10,count)) value = char + value; count--; } return value + val; }, parse: function(val) { if (!val) throw "Invalid Date"; if (val instanceof Date) return val; var m = AtomDate.pattern.exec(val); var year = new Number(m[1]?m[1]:0); var month = new Number(m[2]?m[2]-1:0); var day = new Number(m[3]?m[3]:0); var hour = new Number(m[4]?m[4]:0); var minute = new Number(m[5]?m[5]:0); var second = new Number(m[6]?m[6]:0); var millis = new Number(m[7]?m[7]:0); var gmt = m[8]; var dir = m[9]; var offhour = new Number(m[10]?m[10]:0); var offmin = new Number(m[11]?m[11]:0); if (dir && offhour && offmin) { var offset = ((offhour * 60) + offmin); if (dir == "+") { minute -= offset; } else if (dir == "-") { minute += offset; } } return new Date(Date.UTC(year,month,day,hour,minute,second,millis)); }, });]]>= 0) { ns = tagName.substring(0, tagName.indexOf(':')); tagName = tagName.substring(tagName.indexOf(':') + 1); } if (tagName) if (tagName != 'textNode') { if (!subs[tagName]) subs[tagName] = XMLJSONPrettifier.makePretty(ea); else { if (!(subs[tagName] instanceof Array)) subs[tagName] = [subs[tagName]]; subs[tagName].push(XMLJSONPrettifier.makePretty(ea)); } } else if (nodeData && nodeData.trim && (nodeData.trim() != '')) { subs['text'] = nodeData; } if (ns) subs[tagName]._namespace = ns; }); if (subs['text']) output = subs['text']; } else if (key.startsWith('xmlns:')) { output['_namespaces'] = output['_namespaces'] || {}; output['_namespaces'][key.substr(6)] = value; } else if (key == 'tagName') { // do nothing } else { var ns; if (key.indexOf(':') >= 0) { ns = key.substring(0, key.indexOf(':')); key = key.substring(key.indexOf(':') + 1); } if (parseInt(value).toString() == value) output[key] = parseInt(value); else if (value == 'true') output[key] = true; else if (value == 'false') output[key] = false; else output[key] = value; if (ns) output[key]._namespace = ns; } } if (input.each) input.each(restructure); else Properties.forEachOwn(input, restructure); return output; } });]]>null282