Microsoft.Live.Core.Loader.onResourceAvailable('messenger_ui', function() { 
// Copyright (c) Microsoft Corporation. All rights reserved.

Type.registerNamespace('Microsoft.Live.Messenger.UI.Tags');Microsoft.Live.Messenger.UI.Tags._Tags$A=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$A.prototype = {$0:1}
Microsoft.Live.Messenger.UI.Tags._Tags$A.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$A',false);Microsoft.Live.Messenger.UI.Tags.$create__Tags$25=function(tagName,prohibitedBy,reason){var $o={};$o.$0=tagName;$o.$2=reason;$o.$1=prohibitedBy;return $o;}
Microsoft.Live.Messenger.UI.Tags.$create__Tags$28=function(element,missingDependency){var $o={};$o.$0=element;$o.$1=missingDependency;return $o;}
Microsoft.Live.Messenger.UI.Tags._Tags$8=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$8.prototype = {$0:0}
Microsoft.Live.Messenger.UI.Tags._Tags$8.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$8',false);Microsoft.Live.Messenger.UI.Tags._Tags$F=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$F.prototype = {$0:0}
Microsoft.Live.Messenger.UI.Tags._Tags$F.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$F',false);Microsoft.Live.Messenger.UI.Tags._Tags$D=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$D.prototype = {$0:1,$1:2,$2:3,$3:4,$4:5,$5:6}
Microsoft.Live.Messenger.UI.Tags._Tags$D.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$D',false);Microsoft.Live.Messenger.UI.Tags._Tags$E=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$E.registerInterface('Microsoft.Live.Messenger.UI.Tags._Tags$E');Microsoft.Live.Messenger.UI.Tags._Tags$C=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$C.registerInterface('Microsoft.Live.Messenger.UI.Tags._Tags$C');Microsoft.Live.Messenger.UI.Tags._Tags$B=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$B.registerInterface('Microsoft.Live.Messenger.UI.Tags._Tags$B');Microsoft.Live.Messenger.UI.Tags._Tags$5=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$5.prototype = {$0:0,$1:1,$2:2,$3:3,$4:4,$5:5,$6:6,$7:7,$8:8,$9:9,$A:10,$B:11,$C:12,$D:13,$E:14,$F:15}
Microsoft.Live.Messenger.UI.Tags._Tags$5.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$5',false);Microsoft.Live.Messenger.UI.Tags._Tags$3=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$3.prototype = {$0:0,FF:1,IE:2,$1:3}
Microsoft.Live.Messenger.UI.Tags._Tags$3.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$3',false);Microsoft.Live.Messenger.UI.Tags._Tags$1=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$1.prototype = {$0:0,$1:1,$2:2,$3:3,$4:4}
Microsoft.Live.Messenger.UI.Tags._Tags$1.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$1',false);Microsoft.Live.Messenger.UI.Tags._Tags$2=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$2.registerInterface('Microsoft.Live.Messenger.UI.Tags._Tags$2');Microsoft.Live.Messenger.UI.Tags._Tags$7=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$7.registerInterface('Microsoft.Live.Messenger.UI.Tags._Tags$7');Microsoft.Live.Messenger.UI.Tags._Tags$6=function(){};Microsoft.Live.Messenger.UI.Tags._Tags$6.prototype = {$0:1,$1:2}
Microsoft.Live.Messenger.UI.Tags._Tags$6.registerEnum('Microsoft.Live.Messenger.UI.Tags._Tags$6',false);Microsoft.Live.Messenger.UI.Tags._Tags$24=function(){this.$0=MSH.ReportFactory.createReport(1,1);}
Microsoft.Live.Messenger.UI.Tags._Tags$24.prototype={$0:null,$1:null,$2:null,$3:null,$4:null,$5:null,$6:null,$7:false,$8:false,$9:null,$A:null,$B:null,$C:null,$D:null,$E:false,$F:null,$10:null,$11:null,$12:null,$13:null,$14:false,add_authenticated:function($p0){this.$15=Delegate.combine(this.$15,$p0);},remove_authenticated:function($p0){this.$15=Delegate.remove(this.$15,$p0);},$15:null,add_signedIn:function($p0){this.$16=Delegate.combine(this.$16,$p0);},remove_signedIn:function($p0){this.$16=Delegate.remove(this.$16,$p0);},$16:null,add_applicationContactsChanged:function($p0){this.$17=Delegate.combine(this.$17,$p0);},remove_applicationContactsChanged:function($p0){this.$17=Delegate.remove(this.$17,$p0);},$17:null,add_signedOut:function($p0){this.$18=Delegate.combine(this.$18,$p0);},remove_signedOut:function($p0){this.$18=Delegate.remove(this.$18,$p0);},$18:null,get_contactsTicket:function(){return this.$1;},set_contactsTicket:function($p0){this.$1=$p0;this.$30();return $p0;},get_contactsSignature:function(){return this.$2;},set_contactsSignature:function($p0){this.$2=$p0;return $p0;},get_tokenUrl:function(){return this.$3;},set_tokenUrl:function($p0){this.$3=$p0;return $p0;},get_privacyUrl:function(){return this.$4;},set_privacyUrl:function($p0){this.$4=$p0;return $p0;},get_channelUrl:function(){return this.$5;},set_channelUrl:function($p0){this.$5=$p0;return $p0;},get_applicationVerifierToken:function(){return this.$6;},set_applicationVerifierToken:function($p0){this.$6=$p0;return $p0;},get_audioEnabled:function(){return this.$7;},set_audioEnabled:function($p0){this.$7=$p0;return $p0;},get_rpsAuthEnabled:function(){return this.$8;},set_rpsAuthEnabled:function($p0){this.$8=$p0;return $p0;},get_applicationLogo:function(){return this.$B;},set_applicationLogo:function($p0){this.$B=$p0;return $p0;},get_applicationName:function(){return this.$C;},set_applicationName:function($p0){this.$C=$p0;return $p0;},get_applicationGroupName:function(){return this.$A;},set_applicationGroupName:function($p0){this.$A=$p0;return $p0;},get_applicationIcon:function(){return this.$9;},set_applicationIcon:function($p0){this.$9=$p0;return $p0;},get_signInEnabled:function(){return this.$E;},set_signInEnabled:function($p0){this.$E=$p0;return $p0;},get_user:function(){return this.$F;},set_user:function($p0){if(this.$F!==$p0){this.$F=$p0;}return $p0;},get_applicationContacts:function(){return this.$10;},set_applicationContacts:function($p0){if(this.$10!==$p0){if(this.$10!=null){this.$10.remove_addContactsCompleted(Delegate.create(this,this.$32));this.$10.remove_setContactsCompleted(Delegate.create(this,this.$32));this.$10.remove_removeContactsCompleted(Delegate.create(this,this.$32));}this.$10=$p0;if(this.$10!=null){this.$10.add_addContactsCompleted(Delegate.create(this,this.$32));this.$10.add_setContactsCompleted(Delegate.create(this,this.$32));this.$10.add_removeContactsCompleted(Delegate.create(this,this.$32));this.$32(null,null);this.$30();this.$19();}}return $p0;},get_report:function(){return this.$0;},commitBatch:function(){if(this.$11!=null){this.$11.initializeApplicationService();}this.$19();},addAppContactInfo:function($p0){if($p0.cid===Microsoft.Live.Messenger.UI.Tags._Tags$30.$0){this.$12=$p0;this.$1A();}else{if(this.$13==null){this.$13=[];}Array.add(this.$13, $p0);}},createSignInControl:function($p0){var $0=document.createElement('div');$0.id='wlmlSignInControlDiv';$p0.appendChild($0);this.$D=new Microsoft.Live.Messenger.UI.SignInControl('wlmlSignInControlDiv',this.$4,this.$5,this.$11.get_market());this.$D.add_authenticationCompleted(Delegate.create(this,this.$1B));},initialize:function(){this.$11=MsgrUI.MessengerApplication.get_current();this.$20();},$19:function(){if(this.$11!=null&&this.$13!=null&&this.$10!=null){this.$11.addAppContactUpdates(MSH.CollectionHelper.toArray(this.$13));this.$13=null;}},$1A:function(){if(this.$11!=null&&this.$12!=null){this.$11.set_userAppInfo(this.$12);}},$1B:function($p0,$p1){this.set_user(new Microsoft.Live.Messenger.User($p1.get_identity()));this.$1C($p0,$p1);this.$F.add_signInCompleted(Delegate.create(this,this.$1D));this.$F.signIn();},$1C:function($p0,$p1){if(this.$15!=null){this.$15.invoke($p0,$p1);}},$1D:function($p0,$p1){this.$1E($p0,$p1);},$1E:function($p0,$p1){if(this.$16!=null){this.$16.invoke($p0,$p1);}if($p1.get_resultCode()===0){this.$31();}},$1F:function($p0,$p1){if(this.$18!=null){this.$18.invoke($p0,$p1);}},$20:function(){this.$24();this.$28();this.$29();this.$2B();this.$2C();this.$2A();this.$27();this.$23();this.$22();this.$21();this.$1A();this.set_applicationContacts(this.$11.get_applicationContacts());if(!this.$14){this.$11.add_propertyChanged(Delegate.create(this,this.$2D));this.$11.add_signInCompleted(Delegate.create(this,this.$2E));this.$11.add_signedOut(Delegate.create(this,this.$2F));this.$14=true;}this.$25();this.$26();},$21:function(){this.$11.set_rpsAuthEnabled(this.$8);},$22:function(){this.$11.set_signInEnabled(this.$E);},$23:function(){if(!String.isNullOrEmpty(this.$4)){this.$11.set_privacyUrl(new Microsoft.Live.Messenger.Uri(this.$4));}},$24:function(){this.$0.set_market(this.$11.get_market());},$25:function(){if(!String.isNullOrEmpty(this.$3)){this.$11.set_tokenUrl(new Microsoft.Live.Messenger.Uri(this.$3));}},$26:function(){if(!String.isNullOrEmpty(this.$5)){this.$11.set_channelUrl(new Microsoft.Live.Messenger.Uri(this.$5));}},$27:function(){this.$11.set_audioEnabled(this.$7);},$28:function(){if(!String.isNullOrEmpty(this.$A)){this.$11.set_applicationGroupName(this.$A);}},$29:function(){if(!String.isNullOrEmpty(this.$9)){this.$11.set_applicationIcon(new Microsoft.Live.Messenger.Uri(this.$9));}},$2A:function(){if(!String.isNullOrEmpty(this.$C)){this.$11.set_applicationName(this.$C);}},$2B:function(){if(!String.isNullOrEmpty(this.$B)){this.$11.set_applicationLogo(new Microsoft.Live.Messenger.Uri(this.$B));}},$2C:function(){if(!String.isNullOrEmpty(this.$6)){this.$11.set_applicationVerifierToken(this.$6);}},$2D:function($p0,$p1){if(isNullOrUndefined($p1)){return;}switch($p1.get_propertyName()){case 'User':this.set_user(this.$11.get_user());if(!isNullOrUndefined(this.$F)){this.$1C(this,new Microsoft.Live.Messenger.AuthenticationCompletedEventArgs(this.$F.get_identity()));}break;case 'ApplicationContacts':this.set_applicationContacts(this.$11.get_applicationContacts());break;}},$2E:function($p0,$p1){this.set_user(this.$11.get_user());if(!isNullOrUndefined(this.$F)){this.$1E(this,$p1);}},$2F:function($p0,$p1){this.$1F(this,$p1);},$30:function(){if(String.isNullOrEmpty(this.$2)||String.isNullOrEmpty(this.$1)){return;}if(isNullOrUndefined(this.$10)){return;}this.$11.set_contactsSignature(this.$2);this.$11.set_contactsTicket(this.$1);},$31:function(){if(isNullOrUndefined(this.$F)||isNullOrUndefined(this.get_applicationName())){return;}if(Microsoft.Live.Messenger.DelegatedAuthIdentity.isInstanceOfType(this.$F.get_identity())){this.$F.set_applicationName(this.get_applicationName());}},$32:function($p0,$p1){if(this.$17!=null){this.$17.invoke(this,Sys.EventArgs.Empty);}}}
Microsoft.Live.Messenger.UI.Tags.TagsFactory=function(){}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.refresh=function(root){Microsoft.Live.Messenger.UI.Tags.TagsFactory.$6(root,0);}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$2=function($p0){Microsoft.Live.Messenger.UI.Tags.TagsFactory.$6($p0,1);}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.get_user=function(){return (isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0))?null:Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.get_$B();}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.createTag=function(tagName,attributes){if(String.isNullOrEmpty(tagName)){throw new Error('Argument \'tagName\' cannot be null or empty.');}var $0='msgr:'+tagName;var $1=document.createElement($0);if(isNullOrUndefined($1)){throw new Error('Unable to create element: '+$0);}var $2=null;if(!isNullOrUndefined(attributes)){var $dict1=attributes;for(var $key2 in $dict1){var $3={key:$key2,value:$dict1[$key2]};if(typeof($3.value)==='function'){if(isNullOrUndefined($2)){$2={};}$2[$3.key]=$3.value;}else{$1.setAttribute($3.key,$3.value);}}}if(!isNullOrUndefined($2)){$1[Microsoft.Live.Messenger.UI.Tags._Tags$22.$2] = $2;}Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$A($1,true,0);return $1;}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.disposeTag=function(element){if(isNullOrUndefined(element)||isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0)){return;}Microsoft.Live.Messenger.UI.Tags.TagsFactory.$4(element);Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$D(element);}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$3=function($p0){return Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$16($p0);}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$4=function($p0){if(isUndefined($p0.childNodes)||isUndefined($p0.nodeType)||$p0.nodeType!==1){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(1,null);return;}}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$5=function(){if(Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0==null){Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$26(new Microsoft.Live.Messenger.UI.Tags._Tags$24());}}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$6=function($p0,$p1){if(isNullOrUndefined($p0)){$p0=null;}var $0=Microsoft.Live.Messenger.UI.Tags.TagsFactory.$1++==0;if($p0==null){Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$9($0,$p1);}else{Microsoft.Live.Messenger.UI.Tags.TagsFactory.$4($p0);Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$A($p0,$0,$p1);}}
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$7=function(){var $0=[new Microsoft.Live.Messenger.UI.Tags._Tags$3A(),new Microsoft.Live.Messenger.UI.Tags._Tags$3B(),new Microsoft.Live.Messenger.UI.Tags._Tags$39(),new Microsoft.Live.Messenger.UI.Tags._Tags$37(),new Microsoft.Live.Messenger.UI.Tags._Tags$38(),new Microsoft.Live.Messenger.UI.Tags._Tags$32(),new Microsoft.Live.Messenger.UI.Tags._Tags$43(),new Microsoft.Live.Messenger.UI.Tags._Tags$33(),new Microsoft.Live.Messenger.UI.Tags._Tags$36(),new Microsoft.Live.Messenger.UI.Tags._Tags$42(),new Microsoft.Live.Messenger.UI.Tags._Tags$34(),new Microsoft.Live.Messenger.UI.Tags._Tags$3C(),new Microsoft.Live.Messenger.UI.Tags._Tags$41(),new Microsoft.Live.Messenger.UI.Tags._Tags$46(),new Microsoft.Live.Messenger.UI.Tags._Tags$45(),new Microsoft.Live.Messenger.UI.Tags._Tags$3F(),new Microsoft.Live.Messenger.UI.Tags._Tags$44(),new Microsoft.Live.Messenger.UI.Tags._Tags$35()];for(var $1=0,$2=$0.length;$1<$2;$1++){Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0.$E($0[$1]);}}
Microsoft.Live.Messenger.UI.Tags._Tags$26=function(client){this.$5=[];this.$0={};this.$1={};this.$3=[];this.$4={};this.$2=client;this.$2.add_authenticated(Delegate.create(this,this.$17));client.add_signedIn(Delegate.create(this,this.$18));client.add_applicationContactsChanged(Delegate.create(this,this.$19));this.$7=['class','id','onblur','onclick','ondblclick','onfocus','onkeydown','onkeypress','onkeyup','onmousedown','onmousemove','onmouseout','onmouseover','onmouseup','style','tabindex','visible','nodeindex','_moz-userdefined',Microsoft.Live.Messenger.UI.Tags._Tags$22.$2,Microsoft.Live.Messenger.UI.Tags._Tags$18.$0,'taginitialized'];Microsoft.Live.Messenger.UI.Tags._Tags$21.add_$0(Delegate.create(this,this.$23));}
Microsoft.Live.Messenger.UI.Tags._Tags$26.$15=function($p0,$p1,$p2,$p3){if(!$p1){$p2.clear($p0,$p3);}}
Microsoft.Live.Messenger.UI.Tags._Tags$26.$1B=function(){var $0=new MSH.AsyncBatchedExecuter(1,100);$0.startExecution(new Microsoft.Live.Messenger.UI.Tags._Tags$3D('xmlns:msgr\\s*=\\s*\\\"http://messenger\\.live\\.com/2009/ui\\-tags\\\"'),Delegate.create(null,Microsoft.Live.Messenger.UI.Tags._Tags$26.$1C));}
Microsoft.Live.Messenger.UI.Tags._Tags$26.$1C=function($p0){var $0=$p0.get_workItem();return $0.get_$1_3()||$p0.get_executedCount()>3;}
Microsoft.Live.Messenger.UI.Tags._Tags$26.$1D=function(){var $0=window.document;var $1=$0;if(!String.isNullOrEmpty($1.compatMode)&&$1.compatMode==='BackCompat'){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(15,null);}}
Microsoft.Live.Messenger.UI.Tags._Tags$26.prototype={$0:null,$1:null,$2:null,$3:null,$4:null,$5:null,$6:false,$7:null,$8:false,$9:function($p0,$p1){this.$A(null,$p0,$p1);},$A:function($p0,$p1,$p2){if($p0==null){$p0=document.body;Microsoft.Live.Messenger.UI.Tags._Tags$26.$1B();Microsoft.Live.Messenger.UI.Tags._Tags$26.$1D();}this.$F(new Microsoft.Live.Messenger.UI.Tags._Tags$3E(this,$p0,$p1,$p2));},get_$B:function(){return (isNullOrUndefined(this.$2))?null:this.$2.get_user();},get_$C:function(){return this.$2;},$D:function($p0){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$22.$3($p0);var $1=null;if(String.isNullOrEmpty($0)){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(13,null);return;}$1=this.$16($0);if(isNullOrUndefined($1)){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(0,[$0]);return;}Microsoft.Live.Messenger.UI.Tags._Tags$26.$15($p0,false,$1,true);this.$1F($0,-1);this.$22();},$E:function($p0){this.$1[$p0.get_tagName()]=$p0;},$F:function($p0){Array._enqueue(this.$5, $p0);if(!this.$6){this.$10();}},$10:function(){if(this.$5.length>0){this.$6=true;var $0=Array.dequeue(this.$5);$0.add_executionCompleted(Delegate.create(this,this.$11));$0.$1_7();}else{this.$6=false;}},$11:function($p0,$p1){var $0=$p0;$0.remove_executionCompleted(Delegate.create(this,this.$11));this.$10();},$12:function($p0,$p1){if(isNullOrUndefined($p1.get_refreshTriggers())||$p1.get_refreshTriggers().length==0){return;}for(var $0=0,$1=$p1.get_refreshTriggers().length;$0<$1;$0++){var $2=$p1.get_refreshTriggers()[$0];var $3=$2.toString();var $4=this.$4[$3];if(isNullOrUndefined($4)){$4=[];this.$4[$3]=$4;}if(!Array.contains($4, $p0)){Array.add($4, $p0);}}},$13:function($p0,$p1){if($p1.get_mutualExclusive()==null||$p1.get_mutualExclusive().length==0){return;}for(var $0=0,$1=$p1.get_mutualExclusive().length;$0<$1;$0++){var $2=$p1.get_mutualExclusive()[$0].toString();var $3=$p0;var $4=false;for(var $5=0,$6=this.$3.length;$5<$6;$5++){var $7=this.$3[$5];if($7.$0===$2){$4=true;break;}}if(!$4){Array.add(this.$3, Microsoft.Live.Messenger.UI.Tags.$create__Tags$25($2,$3,1));}}},$14:function($p0){for(var $0=0,$1=this.$3.length;$0<$1;$0++){var $2=this.$3[$0];if($2.$0===$p0){var $3=String.Empty;switch($2.$2){case 1:$3='The tags are mutually exclusive';break;}Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(8,[$p0,$2.$1,$3]);return false;}}return true;},$16:function($p0){return this.$1[$p0];},$17:function($p0,$p1){this.$1A(2);},$18:function($p0,$p1){this.$1A(3);},$19:function($p0,$p1){var $0=0;var $1=$0.toString();var $2=this.$4[$1];if(isNullOrUndefined($2)){return;}for(var $3=0,$4=$2.length;$3<$4;$3++){this.$F(new Microsoft.Live.Messenger.UI.Tags._Tags$3E(this,$2[$3],false,4));}},$1A:function($p0){this.$A(document.body,false,$p0);},$1E:function($p0){var $0=this.$0[$p0];return (isNullOrUndefined($0))?0:$0;},$1F:function($p0,$p1){var $0=this.$1E($p0)+$p1;this.$0[$p0]=$0;},$20:function($p0,$p1){var $0=this.$21($p0);var $enum1=Type.getEnumerator($0);while($enum1.moveNext()){var $1=$enum1.get_current();var $2=false;for(var $3=0,$4=$p1.length;$3<$4&&!$2;$3++){var $5=$p1[$3];if($1.toLowerCase()===$5.get_attributeName().toLowerCase()){$2=true;}}if(!$2){if(Array.contains(this.$7, $1.toLowerCase())){$2=true;}}if(!$2){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(14,[$1,$p0.nodeName]);}}return true;},$21:function($p0){var $0=$p0.attributes.length;var $1=[];if($0==0){return $1;}var $2=$p0.attributes;var $3=$2;for(var $4=0;$4<$0;$4++){var $5=$3[$4];if(!isNullOrUndefined($5)){if(!isNullOrUndefined($5.specified)){if($5.specified){Array.add($1, $5.name);}}else if(!isNullOrUndefined($5.name)){Array.add($1, $5.name);}}}return $1;},$22:function(){Array.clear(this.$3);var $dict1=this.$0;for(var $key2 in $dict1){var $0={key:$key2,value:$dict1[$key2]};var $1=this.$16($0.key.toString());var $2=$1.get_mutualExclusive();for(var $3=0;$2!=null&&$3<$2.length;$3++){var $4=$1.get_mutualExclusive()[$3];if(!Array.contains(this.$3, $4)){Array.add(this.$3, $4);}}}},$23:function($p0,$p1){this.$6=false;Array.clear(this.$5);},dispose:function(){if(this.$8){return;}Microsoft.Live.Messenger.UI.Tags._Tags$21.remove_$0(Delegate.create(this,this.$23));this.$2.remove_authenticated(Delegate.create(this,this.$17));this.$2.remove_signedIn(Delegate.create(this,this.$18));this.$2.remove_applicationContactsChanged(Delegate.create(this,this.$19));this.$8=true;}}
Microsoft.Live.Messenger.UI.Tags._Tags$27=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$21=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$21.add_$0=function($p0){Microsoft.Live.Messenger.UI.Tags._Tags$21.$1=Delegate.combine(Microsoft.Live.Messenger.UI.Tags._Tags$21.$1,$p0);}
Microsoft.Live.Messenger.UI.Tags._Tags$21.remove_$0=function($p0){Microsoft.Live.Messenger.UI.Tags._Tags$21.$1=Delegate.remove(Microsoft.Live.Messenger.UI.Tags._Tags$21.$1,$p0);}
Microsoft.Live.Messenger.UI.Tags._Tags$21.$2=function($p0,$p1){Microsoft.Live.Messenger.UI.Tags._Tags$21.$3();switch($p0){case 0:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$1,$p1[0]));break;case 2:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$0,$p1[0],$p1[1]));break;case 3:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$3,$p1[0],$p1[1],$p1[2]));break;case 1:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$2);break;case 4:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$4,$p1[0],$p1[1],$p1[2]));break;case 6:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$6);break;case 7:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$7,$p1[0],$p1[1]));break;case 8:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$8,$p1[0],$p1[1],$p1[2]));break;case 9:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$9);break;case 10:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$11,$p1[0],$p1[1]));break;case 5:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$5,$p1[0]));break;case 11:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$C,$p1[0]));break;case 12:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$D);break;case 13:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$E);break;case 14:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(String.format(Microsoft.Live.Messenger.UI.Tags._Tags$27.$F,$p1[0],$p1[1]));break;case 15:Microsoft.Live.Messenger.UI.Tags._Tags$21.$5(Microsoft.Live.Messenger.UI.Tags._Tags$27.$10);break;}}
Microsoft.Live.Messenger.UI.Tags._Tags$21.$3=function(){if(Microsoft.Live.Messenger.UI.Tags._Tags$21.$1!=null){Microsoft.Live.Messenger.UI.Tags._Tags$21.$1.invoke(null,null);}}
Microsoft.Live.Messenger.UI.Tags._Tags$21.$4=function($p0){var $0=window.self.console;if(!isNullOrUndefined($0)){$0.warn($p0);}else{throw new Error($p0);}}
Microsoft.Live.Messenger.UI.Tags._Tags$21.$5=function($p0){throw new Error($p0);}
Microsoft.Live.Messenger.UI.Tags._Tags$20=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$20.$1=function(){var $0=window.navigator.userAgent;if($0==null){return 0;}$0=$0.toLowerCase();var $1=Microsoft.Live.Messenger.UI.Tags._Tags$20.$2($0);if($1>=5){return 2;}if($0.indexOf('firefox/')>=0){return 1;}if(Microsoft.Live.Messenger.UI.Tags._Tags$20.$3($0)>0){return 3;}return 0;}
Microsoft.Live.Messenger.UI.Tags._Tags$20.$2=function($p0){var $0=-1;var $1=$p0.indexOf('msie ');if($1>=0){$1+='msie '.length;$0=parseInt($p0.charAt($1++).toString());if($p0.charAt($1)>='0'&&$p0.charAt($1)<='9'){$0*=10;$0+=parseInt($p0.charAt($1++).toString());}}return $0;}
Microsoft.Live.Messenger.UI.Tags._Tags$20.$3=function($p0){var $0=-1;var $1=$p0.indexOf('applewebkit/');if($1>=0){$0=0;$1+='applewebkit/'.length;while($1<$p0.length){var $2=$p0.charAt($1);if($2>='0'&&$2<='9'){$0*=10;$0+=parseInt($2.toString());}else{break;}$1++;}}return $0;}
Microsoft.Live.Messenger.UI.Tags._Tags$22=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$22.$3=function($p0){switch(Microsoft.Live.Messenger.UI.Tags._Tags$20.$0){case 2:var $0=$p0.scopeName;if(!String.isNullOrEmpty($0)&&$0.toLowerCase()===Microsoft.Live.Messenger.UI.Tags._Tags$22.$0){return (String.isNullOrEmpty($p0.nodeName))?String.Empty:$p0.nodeName.toLowerCase();}break;default:var $1=$p0.nodeName;if(String.isNullOrEmpty($1)){$1=String.Empty;}var $2=-1;if(!String.isNullOrEmpty($1)&&(($2=$1.toLowerCase().indexOf(Microsoft.Live.Messenger.UI.Tags._Tags$22.$0+':'))==0)){return $1.substr($2+Microsoft.Live.Messenger.UI.Tags._Tags$22.$0.length+1).toLowerCase();}break;}return String.Empty;}
Microsoft.Live.Messenger.UI.Tags._Tags$22.$4=function($p0,$p1){if(isNullOrUndefined($p0)||isNullOrUndefined($p0.childNodes)||isNullOrUndefined($p1)){return null;}for(var $0=0,$1=$p0.childNodes.length;$0<$1;$0++){var $2=$p1.invoke($p0.childNodes[$0]);if(!isNullOrUndefined($2)){return $2;}}return null;}
Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs=function(user){Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs.initializeBase(this);this.$1_0=user;}
Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs.prototype={$1_0:null,get_user:function(){return this.$1_0;}}
Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs=function(conversation){Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs.initializeBase(this);this.$1_0=conversation;}
Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs.prototype={$1_0:null,get_conversation:function(){return this.$1_0;}}
Microsoft.Live.Messenger.UI.Tags._Tags$23=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$2F=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$30=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$31=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$10=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$F)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$F=new RegExp('^0|\\-?[1-9]\\d{0,3}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$F;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$11=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$D)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$D=new RegExp('[^\\s\\t\\v]');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$D;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$12=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$E)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$E=new RegExp('.{1,400}');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$E;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$13=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$0)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$0=new RegExp('(([a-zA-Z][0-9a-zA-Z+\\-\\.]*:)?/{0,2}[0-9a-zA-Z;/?:@&=+$\\.\\-_!~*\'()%]+)?(#[0-9a-zA-Z;/?:@&=+$\\.\\-_!~*\'()%]+)?');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$0;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$14=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$1)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$1=new RegExp('^(true|false)$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$1;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$15=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$9)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$9=new RegExp('^(small|medium|large)$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$9;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$16=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$2)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$2=new RegExp('^(\\-{0,1}[0-9]{1,20}|\\$user)$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$2;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$17=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$3)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$3=new RegExp('^\\-{0,1}[0-9]{1,20}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$3;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$18=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$4)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$4=new RegExp('(^\\-{0,1}[0-9]{0,20}$)|(^$)');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$4;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$19=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$5)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$5=new RegExp('^\\d{1,4}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$5;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1A=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$7)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$7=new RegExp('^(status|group)$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$7;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1B=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$8)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$8=new RegExp('^<ticket>.*</ticket>$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$8;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1C=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$A)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$A=new RegExp('^(light|dark|blue)$','i');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$A;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1D=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$6)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$6=new RegExp('^[1-9]\\d{0,3}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$6;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1E=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$B)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$B=new RegExp('^.{1,129}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$B;}
Microsoft.Live.Messenger.UI.Tags._Tags$31.$1F=function(){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$31.$C)){Microsoft.Live.Messenger.UI.Tags._Tags$31.$C=new RegExp('^.{1,200}$');}return Microsoft.Live.Messenger.UI.Tags._Tags$31.$C;}
Microsoft.Live.Messenger.UI.Tags._Tags$2B=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$2A=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$29=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$2E=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$2D=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$2C=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1F=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$16=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$15=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$14=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$13=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$40=function(name,required,description){Microsoft.Live.Messenger.UI.Tags._Tags$40.initializeBase(this,[name,required,String.Empty,null,description]);this.$6=null;}
Microsoft.Live.Messenger.UI.Tags._Tags$40.prototype={$6:null,get_attributeName:function(){var $0=this.$1;$0=$0.charAt(0).toString().toUpperCase()+$0.substr(1);return 'on'+$0;},get_isEventHandler:function(){return true;},get_$7:function(){return this.$6;},set_$7:function($p0){this.$6=$p0;return $p0;}}
Microsoft.Live.Messenger.UI.Tags._Tags$11=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$12=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$10=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$17=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1C=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1D=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1E=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1B=function(name,required,defaultValue,valueValidatingRegex,description){this.$1=name.toLowerCase();this.$2=required;this.$3=valueValidatingRegex;this.$4=description;this.$5=defaultValue;}
Microsoft.Live.Messenger.UI.Tags._Tags$1B.prototype={$1:null,$2:false,$3:null,$4:null,$5:null,get_attributeName:function(){return this.$1;},get_required:function(){return this.$2;},get_description:function(){return this.$4;},get_defaultValue:function(){return this.$5;},isValidValue:function($p0){if(this.$3==null){return true;}if(isNullOrUndefined($p0)){return false;}return this.$3.test($p0);},get_isEventHandler:function(){return false;},get_pattern:function(){if(isNullOrUndefined(this.$3)){return String.Empty;}var $0=this.$3.pattern;if(String.isNullOrEmpty($0)){$0=this.$3.toString();}return $0;}}
Microsoft.Live.Messenger.UI.Tags._Tags$3D=function(pattern){Microsoft.Live.Messenger.UI.Tags._Tags$3D.initializeBase(this);this.$1_2=new RegExp(pattern,'i');}
Microsoft.Live.Messenger.UI.Tags._Tags$3D.prototype={$1_0:false,$1_1:false,$1_2:null,get_$1_3:function(){return this.$1_0;},get_$1_4:function(){return this.$1_1;},doExecute:function($p0){if(this.$1_0){return;}var $0=document.body.parentNode;var $1=null;try{$1=(Microsoft.Live.Messenger.UI.Tags._Tags$20.$0===1)?$0.xml:$0.outerHTML;}catch($2){return;}if(!isNullOrUndefined($1)){this.$1_0=true;var $3=this.$1_2.exec($1);if(isNullOrUndefined($3)||$3.length==0){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(12,null);return;}this.$1_1=true;}}}
Microsoft.Live.Messenger.UI.Tags._Tags$3E=function(engine,root,isInitialProcessing,action){Microsoft.Live.Messenger.UI.Tags._Tags$3E.initializeBase(this);this.$1_1=engine;this.$1_2=[];this.$1_3=[];Array._enqueue(this.$1_2, root);this.$1_5=action;this.$1_4=isInitialProcessing;this.$1_6=0;}
Microsoft.Live.Messenger.UI.Tags._Tags$3E.prototype={$1_1:null,$1_2:null,$1_3:null,$1_4:false,$1_5:0,$1_6:0,$1_7:function(){this.$1_8();},$1_8:function(){var $0=new MSH.AsyncBatchedExecuter(10,1);$0.add_executionCompleted(Delegate.create(this,this.$1_15));$0.startExecution(this,Delegate.create(this,this.$1_14));},doExecute:function($p0){this.$1_9();},onExecutionCompleted:function(){if(this.$1_2.length==0&&this.$1_3.length==0){Microsoft.Live.Messenger.UI.Tags._Tags$3E.callBaseMethod(this, 'onExecutionCompleted');}},$1_9:function(){var $0=Array.dequeue(this.$1_2);if(isNullOrUndefined($0)){return;}var $1=Microsoft.Live.Messenger.UI.Tags._Tags$22.$3($0);var $2=1;if(!String.isNullOrEmpty($1)){$2=this.$1_A($0,$1);}if($2===5||$2===2){return;}for(var $3=0,$4=$0.childNodes.length;$3<$4;$3++){var $5=$0.childNodes[$3];if($5.nodeType===1){Array._enqueue(this.$1_2, $5);}}},$1_A:function($p0,$p1){var $0=this.$1_1.$16($p1);if($0==null){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(0,[$p0.nodeName]);return 4;}switch(this.$1_5){case 2:case 3:case 4:if(this.$1_B($p0,$0)!==6){return 1;}break;}var $1={};if(!this.$1_C($p0,$0.get_attributes(),$1)){return 4;}var $2=this.$1_12($0);if(!String.isNullOrEmpty($2)){Array._enqueue(this.$1_3, Microsoft.Live.Messenger.UI.Tags.$create__Tags$28($p0,$2));return 2;}if(!this.$1_1.$14($p1)){return 4;}if(this.$1_4){if($p0.getAttribute('taginitialized')==='true'){return 1;}if(!this.$1_13($0,$p0,$p1)){return 4;}}this.$1_1.$13($p1,$0);this.$1_1.$12($p0,$0);if(!this.$1_4&&$0.get_ignoreRefresh()){return 3;}Microsoft.Live.Messenger.UI.Tags._Tags$26.$15($p0,this.$1_4,$0,this.$1_5===1);var $3=this.$1_10($p1,$0);if($3){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(7,[$p1,$0.get_maxOccurrences().toString()]);return 4;}if(this.$1_4){this.$1_1.$1F($p1,1);$p0.setAttribute('taginitialized','true');}if(this.$1_5===0){$0.apply($p0,$1,this.$1_1.get_$C());}var $4=$0.get_reportingSignature();if(!isNullOrUndefined($4)){this.$1_1.get_$C().get_report().add($4,false);}return 1;},$1_B:function($p0,$p1){var $0=Type.safeCast($p1,Microsoft.Live.Messenger.UI.Tags._Tags$7);if(isNullOrUndefined($0)){return 6;}$0.setUser($p0,this.$1_1.get_$C());return 1;},$1_C:function($p0,$p1,$p2){if($p1==null){return true;}if(!this.$1_D($p0,$p1,$p2)||!this.$1_1.$20($p0,$p1)){return false;}return true;},$1_D:function($p0,$p1,$p2){for(var $0=0;$0<$p1.length;$0++){var $1=$p1[$0];var $2=this.$1_11($p0,$1.get_attributeName());if(isNullOrUndefined($2)&&!this.$1_E($p0,$1.get_attributeName())){if($1.get_required()){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(4,[$p0.nodeName,$1.get_attributeName(),$1.get_description()]);return false;}else{$p2[$1.get_attributeName()]=$1.get_defaultValue();if($1.get_isEventHandler()){($1).set_$7(null);}}continue;}var $3=(!isNullOrUndefined($2))?$2.value:null;var $4=$3;if(!isNullOrUndefined($4)){$4=$4.trim();}if(!$1.isValidValue($4)){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(3,[$4,$1.get_attributeName(),$1.get_pattern()]);return false;}if($1.get_isEventHandler()){if(!this.$1_F($p0,$1,$3)){return false;}}else{$p2[$1.get_attributeName()]=$4;}}return true;},$1_E:function($p0,$p1){var $0=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$22.$2];if(isNullOrUndefined($0)){return false;}return !isNullOrUndefined($0[$p1]);},$1_F:function($p0,$p1,$p2){var $0=$p1;$0.set_$7(null);var $1=null;var $2=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$22.$2];if(!isNullOrUndefined($2)){$1=$2[$p1.get_attributeName()];}if(isNullOrUndefined($p2)&&isNullOrUndefined($1)){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(5,[$p1.get_attributeName()]);return false;}if(isNullOrUndefined($1)){$1=window[$p2];if(isNullOrUndefined($1)){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(5,[$p1.get_attributeName()]);return false;}}if(isNullOrUndefined($1)){var $3=typeof($1);if($3!=='function'){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(5,[$p1.get_attributeName()]);return false;}}$0.set_$7($1);return true;},$1_10:function($p0,$p1){var $0=this.$1_1.$1E($p0);var $1=($p1.get_maxOccurrences()!==0)&&$0>$p1.get_maxOccurrences();return $1;},$1_11:function($p0,$p1){return $p0.attributes.getNamedItem($p1);},$1_12:function($p0){var $0=$p0.get_dependencies();var $1=(!isNullOrUndefined($0))?$0.length:0;if($1>0){for(var $2=0;$2<$1;$2++){var $3=$0[$2];if(String.isNullOrEmpty($3)){continue;}$3=$3.toLowerCase();if($3.indexOf('|')<0){if(this.$1_1.$1E($3)==0){return $3;}}else{var $4=false;var $5=$3.split('|');for(var $6=0;$6<$5.length;$6++){if(this.$1_1.$1E($5[$6])>0){$4=true;break;}}if(!$4){return $3;}}}}return String.Empty;},$1_13:function($p0,$p1,$p2){if(!$p0.get_allowNestedContent()&&!String.isNullOrEmpty($p1.innerHTML)){if($p1.innerHTML.trim().length>0){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(11,[$p2]);return false;}}return true;},$1_14:function($p0){return this.$1_2.length==0;},$1_15:function($p0,$p1){if(this.$1_3.length>0&&this.$1_6<Microsoft.Live.Messenger.UI.Tags._Tags$22.$1){this.$1_16();this.$1_8();return;}this.$1_17();},$1_16:function(){this.$1_6++;while(this.$1_3.length>0){var $0=Array.dequeue(this.$1_3);Array._enqueue(this.$1_2, $0.$0);}},$1_17:function(){if(this.$1_3.length>0){var $0=Array.dequeue(this.$1_3);Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(2,[$0.$0.nodeName,$0.$1]);return;}if(this.$1_1.get_$C().get_report().get_count()>0){this.$1_1.get_$C().get_report().report();}this.$1_1.get_$C().commitBatch();}}
Microsoft.Live.Messenger.UI.Tags._Tags$19=function(callback){this.$0=callback;}
Microsoft.Live.Messenger.UI.Tags._Tags$19.prototype={$0:null,$1:function($p0,$p1){this.$0.invoke($p1);}}
Microsoft.Live.Messenger.UI.Tags._Tags$3F=function(){Microsoft.Live.Messenger.UI.Tags._Tags$3F.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$23.$0,Microsoft.Live.Messenger.UI.Tags._Tags$23.$1];}
Microsoft.Live.Messenger.UI.Tags._Tags$3F.$13=function(){return 'app-contacts';}
Microsoft.Live.Messenger.UI.Tags._Tags$3F.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return true;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$3F.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$23.$1.get_attributeName()]);this.$15($p2,$0);var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$23.$0.get_attributeName()]);this.$14($p2,$1);return 1;},$14:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_contactsTicket($p1);},$15:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_contactsSignature($p1);}}
Microsoft.Live.Messenger.UI.Tags._Tags$44=function(){Microsoft.Live.Messenger.UI.Tags._Tags$44.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2F.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2F.$1,Microsoft.Live.Messenger.UI.Tags._Tags$2F.$2,Microsoft.Live.Messenger.UI.Tags._Tags$2F.$3,Microsoft.Live.Messenger.UI.Tags._Tags$2F.$4];}
Microsoft.Live.Messenger.UI.Tags._Tags$44.$13=function(){return 'app-contact';}
Microsoft.Live.Messenger.UI.Tags._Tags$44.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return true;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$44.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2F.$0.get_attributeName()]);var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2F.$1.get_attributeName()]);var $2=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2F.$2.get_attributeName()]);var $3=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2F.$3.get_attributeName()]);var $4=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2F.$4.get_attributeName());$p2.addAppContactInfo(MsgrUI.$create_AppContactInfo($0,$1,$2,$3,$4));return 1;}}
Microsoft.Live.Messenger.UI.Tags._Tags$45=function(){Microsoft.Live.Messenger.UI.Tags._Tags$45.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2A.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2A.$1];}
Microsoft.Live.Messenger.UI.Tags._Tags$45.$14=function(){return 'bar';}
Microsoft.Live.Messenger.UI.Tags._Tags$45.$15=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2A.$0.get_attributeName());$p0.set_signInEnabled($0);}
Microsoft.Live.Messenger.UI.Tags._Tags$45.prototype={$13:null,get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$45.$14();},get_maxOccurrences:function(){return 1;},get_mutualExclusive:function(){return [];},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(9,null);},apply:function($p0,$p1,$p2){if(isNullOrUndefined(this.$13)){this.$13=new MsgrUI.MessengerBarControl();}this.$8(this.$13,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$45.$15(this.$13,$p1);this.$16(this.$13,$p1);if(!isNullOrUndefined($p2.get_user())){this.$13.set_user($p2.get_user());}return 1;},clear:function($p0,$p1){if(isNullOrUndefined(this.$13)){return;}this.$13.remove_consentCompleted(Delegate.create(this,this.$17));if(!$p1||isNullOrUndefined($p0)){return;}var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$11($p0);if(isNullOrUndefined($0)){return;}var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$12($0);if(isNullOrUndefined($1)||!(Wlc.Framework.UI.UIGroup.isInstanceOfType($1))){return;}var $2=$1;$2.removeChild(this.$13);this.$13.dispose();this.$13=null;},$16:function($p0,$p1){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$2A.$1.get_$7())){return;}$p0.add_consentCompleted(Delegate.create(this,this.$17));},$17:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$2A.$1.get_$7();var $1=$0;$1.invoke($p1);},setUser:function($p0,$p1){if(isNullOrUndefined(this.$13)){return;}this.$13.set_user($p1.get_user());},onHiddenStateChanged:function($p0,$p1){if(this.$13==null){return;}this.$13.set_firstRunExperienceHidden($p1);this.$13.set_warningControlHidden($p1);if(!$p1){this.$13.redraw();}}}
Microsoft.Live.Messenger.UI.Tags._Tags$46=function(){Microsoft.Live.Messenger.UI.Tags._Tags$46.initializeBase(this);this.$2=[];}
Microsoft.Live.Messenger.UI.Tags._Tags$46.$13=function(){return 'else';}
Microsoft.Live.Messenger.UI.Tags._Tags$46.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return true;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$46.$13();},get_allowNestedContent:function(){return true;},apply:function($p0,$p1,$p2){var $0=$p0.parentNode;if(isNullOrUndefined($0)||String.isNullOrEmpty($0.nodeName)||$0.nodeName.toLowerCase()!==Microsoft.Live.Messenger.UI.Tags._Tags$41.$16||$0.id!==Microsoft.Live.Messenger.UI.Tags._Tags$41.$15){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(6,null);return 4;}return 1;}}
Microsoft.Live.Messenger.UI.Tags._Tags$41=function(){Microsoft.Live.Messenger.UI.Tags._Tags$41.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1];}
Microsoft.Live.Messenger.UI.Tags._Tags$41.$1A=function(){return 'if';}
Microsoft.Live.Messenger.UI.Tags._Tags$41.$1B=function($p0){if(!String.isNullOrEmpty($p0.style.display)&&$p0.style.display.toLowerCase()==='none'){$p0.style.display=String.Empty;}}
Microsoft.Live.Messenger.UI.Tags._Tags$41.$23=function($p0,$p1,$p2,$p3){var $0=0;var $1=$p0.childNodes.length;while($0<$1){var $2=$p0.childNodes[$0];if($p2.invoke($2)){if($p3!==-1&&$p3--==0){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(9,null);break;}var $3=$p0.removeChild($2);$p1.appendChild($3);$1--;}else{$0++;}}}
Microsoft.Live.Messenger.UI.Tags._Tags$41.$24=function($p0){var $0=$p0.nodeName;if(String.isNullOrEmpty($0)){return false;}if($0.toLowerCase()===Microsoft.Live.Messenger.UI.Tags._Tags$41.$16&&($p0.id===Microsoft.Live.Messenger.UI.Tags._Tags$41.$14||$p0.id===Microsoft.Live.Messenger.UI.Tags._Tags$41.$15)){return false;}return (Microsoft.Live.Messenger.UI.Tags._Tags$22.$3($p0)===Microsoft.Live.Messenger.UI.Tags._Tags$46.$13());}
Microsoft.Live.Messenger.UI.Tags._Tags$41.$25=function($p0){var $0=$p0.nodeName;if(String.isNullOrEmpty($0)){return false;}if($0.toLowerCase()===Microsoft.Live.Messenger.UI.Tags._Tags$41.$16&&($p0.id===Microsoft.Live.Messenger.UI.Tags._Tags$41.$14||$p0.id===Microsoft.Live.Messenger.UI.Tags._Tags$41.$15)){return false;}return (Microsoft.Live.Messenger.UI.Tags._Tags$22.$3($p0)!==Microsoft.Live.Messenger.UI.Tags._Tags$46.$13());}
Microsoft.Live.Messenger.UI.Tags._Tags$41.prototype={$17:null,$18:null,$19:null,get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$41.$1A();},get_allowNestedContent:function(){return true;},apply:function($p0,$p1,$p2){if(isNullOrUndefined(this.$17)){this.$17=$p2;this.$17.add_authenticated(Delegate.create(this,this.$2B));if(this.$17.get_user()!=null){this.$2A(this.$17);}}if(isNullOrUndefined(this.$18)){this.$18=[];}if(!Array.contains(this.$18, $p0)){Array.add(this.$18, $p0);}var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}$0=$0.toLowerCase();var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1.get_attributeName()]);if(String.isNullOrEmpty($1)){return 3;}var $2=false;try{var $3=this.$26($0,$1,$p2);this.$1C($p0,$3);Microsoft.Live.Messenger.UI.Tags._Tags$41.$1B($p0);}catch($4){if($4.message===Microsoft.Live.Messenger.UI.Tags._Tags$41.$13){this.$21($p0);$2=true;}else{throw $4;}}return ($2)?5:1;},$1C:function($p0,$p1){var $0=this.$1F($p0);var $1=this.$1E($p0);$0.style.display=($p1)?String.Empty:'none';$1.style.display=($p1)?'none':String.Empty;Microsoft.Live.Messenger.UI.Tags._Tags$22.$4($0,Delegate.create(this,function($p1_0){
this.$1D($0,$p1_0,!$p1);return null;}));Microsoft.Live.Messenger.UI.Tags._Tags$22.$4($1,Delegate.create(this,function($p1_0){
this.$1D($0,$p1_0,$p1);return null;}));},$1D:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$22.$3($p1);if(String.isNullOrEmpty($0)){return;}var $1=Microsoft.Live.Messenger.UI.Tags.TagsFactory.$3($0);if($1==null){return;}var $2=Type.safeCast($1,Microsoft.Live.Messenger.UI.Tags._Tags$2);if($2==null){return;}$2.onHiddenStateChanged($p0,$p2);},$1E:function($p0){return this.$20($p0,Microsoft.Live.Messenger.UI.Tags._Tags$41.$15,Delegate.create(null,Microsoft.Live.Messenger.UI.Tags._Tags$41.$24),1);},$1F:function($p0){return this.$20($p0,Microsoft.Live.Messenger.UI.Tags._Tags$41.$14,Delegate.create(null,Microsoft.Live.Messenger.UI.Tags._Tags$41.$25),-1);},$20:function($p0,$p1,$p2,$p3){var $0=this.$22($p0,$p1);if(isNullOrUndefined($0)){$0=document.createElement(Microsoft.Live.Messenger.UI.Tags._Tags$41.$16);$0.id=$p1;$p0.appendChild($0);}Microsoft.Live.Messenger.UI.Tags._Tags$41.$23($p0,$0,$p2,$p3);return $0;},$21:function($p0){var $0=this.$1F($p0);var $1=this.$1E($p0);if(!isNullOrUndefined($0)){$0.style.display='none';}if(!isNullOrUndefined($1)){$1.style.display='none';}},$22:function($p0,$p1){return Microsoft.Live.Messenger.UI.Tags._Tags$22.$4($p0,Delegate.create(this,function($p1_0){
var $1_0=$p1_0.nodeName;if(String.isNullOrEmpty($1_0)){return null;}return ($p1_0.nodeType===1&&$p1_0.nodeName.toLowerCase()===Microsoft.Live.Messenger.UI.Tags._Tags$41.$16&&$p1_0.id===$p1)?$p1_0:null;}));},$26:function($p0,$p1,$p2){var $0=($p1.toLowerCase()==='online')?1:2;return ($p0===Microsoft.Live.Messenger.UI.Tags._Tags$30.$0)?this.$29($p2,$0):this.$27($p0,$p2,$0);},$27:function($p0,$p1,$p2){if(isNullOrUndefined($p1)){throw new Error(Microsoft.Live.Messenger.UI.Tags._Tags$41.$13);}var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$C($p0,$p1);if($0==null){$p1.addAppContactInfo(MsgrUI.$create_AppContactInfo($p0,null,null,null,true));return false;}$0.get_presence().add_propertyChanged(Delegate.create(this,this.$28));return ($p2===1)?Microsoft.Live.Messenger.UI.Tags._Tags$1A.$F($0):Microsoft.Live.Messenger.UI.Tags._Tags$1A.$10($0);},$28:function($p0,$p1){if(isNullOrUndefined($p0)){return;}var $0=$p0;var $1=$0.get_contact().get_cid();if(String.isNullOrEmpty($1)||$p1.get_propertyName()!=='Status'){return;}for(var $2=0,$3=this.$18.length;$2<$3;$2++){var $4=this.$18[$2];if(isNullOrUndefined($4)||isNullOrUndefined($4.parentNode)){continue;}var $5=$4.getAttribute(Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0.get_attributeName());if(isNullOrUndefined($5)||$5.toString()!==$1){continue;}var $6={};$6[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0.get_attributeName()]=$5.toString();$5=$4.getAttribute(Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1.get_attributeName());if(!isNullOrUndefined($5)){$6[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1.get_attributeName()]=$5.toString();}this.apply($4,$6,this.$17);}},$29:function($p0,$p1){if(isNullOrUndefined($p0)){throw new Error(Microsoft.Live.Messenger.UI.Tags._Tags$41.$13);}if(isNullOrUndefined($p0.get_user())){return false;}var $0=$p0.get_user().get_presence();switch($p1){case 2:return $0.get_status()===1;case 1:return $0.get_status()!==0;default:throw new Error(Microsoft.Live.Messenger.UI.Tags._Tags$41.$13);}},$2A:function($p0){if(this.$19!==$p0.get_user()){if(!isNullOrUndefined(this.$19)){this.$19.remove_propertyChanged(Delegate.create(this,this.$2C));this.$19.remove_signInCompleted(Delegate.create(this,this.$2D));}this.$19=$p0.get_user();$p0.get_user().get_presence().add_propertyChanged(Delegate.create(this,this.$2C));$p0.get_user().add_signInCompleted(Delegate.create(this,this.$2D));}},$2B:function($p0,$p1){this.$2A(this.$17);},$2C:function($p0,$p1){if(isNullOrUndefined($p0)){return;}if($p1.get_propertyName()!=='Status'){return;}this.$2E();},$2D:function($p0,$p1){this.$2E();},$2E:function(){for(var $0=0,$1=this.$18.length;$0<$1;$0++){var $2=this.$18[$0];if(isNullOrUndefined($2)||isNullOrUndefined($2.parentNode)){continue;}var $3=$2.getAttribute(Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0.get_attributeName());if(isNullOrUndefined($3)){continue;}var $4={};$4[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0.get_attributeName()]=$3.toString();$3=$2.getAttribute(Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1.get_attributeName());if(!isNullOrUndefined($3)){$4[Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1.get_attributeName()]=$3.toString();}this.apply($2,$4,this.$17);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$42=function(){Microsoft.Live.Messenger.UI.Tags._Tags$42.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2D.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2D.$3,Microsoft.Live.Messenger.UI.Tags._Tags$2D.$1,Microsoft.Live.Messenger.UI.Tags._Tags$2D.$2];}
Microsoft.Live.Messenger.UI.Tags._Tags$42.$13=function(){return 'add-contact';}
Microsoft.Live.Messenger.UI.Tags._Tags$42.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$42.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){var $0=new MsgrUI.AddContactControl();var $1=this.$8($0,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p2,$0);$0.set_cid(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2D.$0.get_attributeName()]));$0.set_message(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2D.$1.get_attributeName()]));$0.set_nickname(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2D.$2.get_attributeName()]));var $2=$p2.get_user();if(!isNullOrUndefined($2)){var $3=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2D.$3.get_attributeName()]);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'groupName',$3);if(!String.isNullOrEmpty($3)){$0.set_group(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$D($3,$2));}}return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.AddContactControl);if($0!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p1,$0);var $1=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'groupName');if(!String.isNullOrEmpty($1)){$0.set_group(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$D($1,$p1.get_user()));}}}}
Microsoft.Live.Messenger.UI.Tags._Tags$43=function(){Microsoft.Live.Messenger.UI.Tags._Tags$43.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2C.$5,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$3,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$4,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$2,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$6];}
Microsoft.Live.Messenger.UI.Tags._Tags$43.$13=function(){return 'contact-list';}
Microsoft.Live.Messenger.UI.Tags._Tags$43.$15=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$2C.$2.get_attributeName()]);if(!String.isNullOrEmpty($0)&&$0.toLowerCase()==='status'){$p1.set_renderMode(1);}else{$p1.set_renderMode(0);}}
Microsoft.Live.Messenger.UI.Tags._Tags$43.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$43.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(11,null);},apply:function($p0,$p1,$p2){var $0=new MsgrUI.ContactListControl();this.$8($0,'div',$p0);$0.set_messengerContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$5.get_attributeName()));$0.set_contextMenuEnabled(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$3.get_attributeName()));$0.set_mobileContactsGrouped(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$1.get_attributeName()));$0.set_offlineContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$4.get_attributeName()));Microsoft.Live.Messenger.UI.Tags._Tags$43.$15($p1,$0);$0.set_wordwheelEnabled(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2C.$0.get_attributeName()));this.$14($0);if(!Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,null,$0,null)){return 3;}return 1;},$14:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$2C.$6.get_$7()!=null){$p0.add_contactSelected(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$2C.$6.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$2C.$6.get_$7())).$1));}},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.ContactListControl);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,null,$0,null);}}
Microsoft.Live.Messenger.UI.Tags._Tags$3C=function(){Microsoft.Live.Messenger.UI.Tags._Tags$3C.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$1F.$0,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$5,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$6,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$2,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$4,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$3,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$7];}
Microsoft.Live.Messenger.UI.Tags._Tags$3C.$13=function(){return 'contact-picker';}
Microsoft.Live.Messenger.UI.Tags._Tags$3C.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$3C.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){if(isNullOrUndefined($p2)){return 3;}var $0=new MsgrUI.ContactPickerControl();var $1=this.$8($0,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p2,$0);this.$14($0);$0.set_mobileContactsGrouped(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$2.get_attributeName()));$0.set_wordwheelEnabled(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$1.get_attributeName()));$0.set_maximumSelectionCount(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$7($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$6.get_attributeName()));$0.set_offlineContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$3.get_attributeName()));$0.set_messengerContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$5.get_attributeName()));$0.set_unavailableContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1F.$4.get_attributeName()));var $2=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$1F.$0.get_attributeName()]);if(Microsoft.Live.Messenger.UI.Tags._Tags$31.$11().test($2)){$0.set_label($2);}return 1;},$14:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$1F.$7.get_$7()!=null){$p0.add_contactSelected(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$1F.$7.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$1F.$7.get_$7())).$1));}},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.ContactPickerControl);if($0!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p1,$0);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$34=function(){Microsoft.Live.Messenger.UI.Tags._Tags$34.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$16.$0,Microsoft.Live.Messenger.UI.Tags._Tags$16.$1];}
Microsoft.Live.Messenger.UI.Tags._Tags$34.$13=function(){return 'profile';}
Microsoft.Live.Messenger.UI.Tags._Tags$34.$14=function($p0,$p1,$p2,$p3){if($p1.get_user()!=null&&$p0===Microsoft.Live.Messenger.UI.Tags._Tags$30.$0){$p2.set_editable($p3);}}
Microsoft.Live.Messenger.UI.Tags._Tags$34.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_refreshTriggers:function(){return [0];},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$34.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$10.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}var $1=new MsgrUI.ProfileControl();var $2=this.$8($1,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,$0,$1,$1);var $3=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$16.$1.get_attributeName());Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'editable',$3);Microsoft.Live.Messenger.UI.Tags._Tags$34.$14($0,$p2,$1,$3);return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'editable');var $2=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.ProfileControl);if($2!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,$0,$2,$2);Microsoft.Live.Messenger.UI.Tags._Tags$34.$14($0,$p1,$2,$1);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$35=function(){Microsoft.Live.Messenger.UI.Tags._Tags$35.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$15.$0,Microsoft.Live.Messenger.UI.Tags._Tags$15.$1,Microsoft.Live.Messenger.UI.Tags._Tags$15.$2,Microsoft.Live.Messenger.UI.Tags._Tags$15.$5,Microsoft.Live.Messenger.UI.Tags._Tags$15.$4,Microsoft.Live.Messenger.UI.Tags._Tags$15.$3,Microsoft.Live.Messenger.UI.Tags._Tags$15.$6];}
Microsoft.Live.Messenger.UI.Tags._Tags$35.$13=function(){return 'share';}
Microsoft.Live.Messenger.UI.Tags._Tags$35.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$35.$13();},apply:function($p0,$p1,$p2){if(isNullOrUndefined($p2)){return 3;}var $0=new MsgrUI.SharingControl();var $1=this.$8($0,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p2,$0);this.$14($0);var $2=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$15.$0.get_attributeName()]);if(!String.isNullOrEmpty($2)){$0.set_buttonLabel($2);}$0.set_pickerLabel(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$15.$1.get_attributeName()]));$0.set_maximumSelectionCount(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$7($p1,Microsoft.Live.Messenger.UI.Tags._Tags$15.$3.get_attributeName()));$0.set_message(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$15.$2.get_attributeName()]));$0.set_messengerContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$15.$5.get_attributeName()));$0.set_unavailableContactsHidden(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$15.$4.get_attributeName()));return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.SharingControl);if($0!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p1,$0);}},$14:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$15.$6.get_$7()!=null){$p0.add_shared(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$15.$6.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$15.$6.get_$7())).$1));}}}
Microsoft.Live.Messenger.UI.Tags._Tags$33=function(){Microsoft.Live.Messenger.UI.Tags._Tags$33.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$14.$1,Microsoft.Live.Messenger.UI.Tags._Tags$14.$0,Microsoft.Live.Messenger.UI.Tags._Tags$14.$2];}
Microsoft.Live.Messenger.UI.Tags._Tags$33.$13=function(){return 'conversation-list';}
Microsoft.Live.Messenger.UI.Tags._Tags$33.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$33.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(10,null);},apply:function($p0,$p1,$p2){var $0=new MsgrUI.ConversationListControl();var $1=this.$8($0,'div',$p0);this.$16($0);this.$15($0);this.$14($0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p2,$0);return 1;},$14:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$14.$1.get_$7()!=null){$p0.add_conversationClosed(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$1.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$1.get_$7())).$1));}},$15:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$14.$0.get_$7()!=null){$p0.add_conversationCreated(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$0.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$0.get_$7())).$1));}},$16:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$14.$2.get_$7()!=null){$p0.add_conversationSelected(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$2.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$14.$2.get_$7())).$1));}},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.ConversationListControl);if($0!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p1,$0);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$36=function(){Microsoft.Live.Messenger.UI.Tags._Tags$36.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$13.$0,Microsoft.Live.Messenger.UI.Tags._Tags$13.$1,Microsoft.Live.Messenger.UI.Tags._Tags$13.$2,Microsoft.Live.Messenger.UI.Tags._Tags$13.$3];}
Microsoft.Live.Messenger.UI.Tags._Tags$36.$13=function(){return 'conversation';}
Microsoft.Live.Messenger.UI.Tags._Tags$36.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$36.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(12,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$10.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);var $1=new MsgrUI.ConversationControl();var $2=this.$8($1,'div',$p0);this.$16($1);this.$15($1,$p1);if(isNullOrUndefined($p2.get_user())||$p2.get_user().get_status()!==2){return 3;}this.$14($p2,$0,$1);return 1;},$14:function($p0,$p1,$p2){var $0=$p0.get_user();if($0==null){return;}var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$C($p1,$p0);if(isNullOrUndefined($1)){return;}var $2=$0.get_conversations().create($1);if(isNullOrUndefined($2)){return;}$p2.set_conversation($2);this.$17($2);},$15:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$13.$1.get_attributeName());$p0.set_displayPicturesEnabled($0);},$16:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$13.$2.get_$7()!=null){$p0.add_messageReceived(Delegate.create((new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$13.$2.get_$7())),(new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$13.$2.get_$7())).$1));}},$17:function($p0){if(Microsoft.Live.Messenger.UI.Tags._Tags$13.$3.get_$7()!=null){var $0=new Microsoft.Live.Messenger.UI.Tags._Tags$19(Microsoft.Live.Messenger.UI.Tags._Tags$13.$3.get_$7());$0.$1(this,new Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs($p0));}},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.ConversationControl);if($1!=null){this.$14($p1,$0,$1);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$3A=function(){Microsoft.Live.Messenger.UI.Tags._Tags$3A.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$3,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$4,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$5,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$6,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$7,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$8,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$9,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$0,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$1,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$2,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$A,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$C,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$B,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$D];}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14=function(){return 'app';}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$16=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$4.get_attributeName()]);$p1.set_channelUrl(Microsoft.Live.Messenger.UI.Tags._Tags$3A.$18($0));}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$17=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$3.get_attributeName()]);$p1.set_privacyUrl(Microsoft.Live.Messenger.UI.Tags._Tags$3A.$18($0));}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$18=function($p0){var $0,$1,$2,$3;try{$0=window.location.hostname;$1=window.location.port;$2=window.location.href;$3=window.location.protocol;}catch($4){return $p0;}if(String.isNullOrEmpty($p0)){return $p0;}if($p0.startsWith('http://')||$p0.startsWith('https://')){return $p0;}if($p0.charAt(0)==='/'){$p0=Microsoft.Live.Messenger.UI.Tags._Tags$3A.$1A($p0,$0,$1,$3);}else{$p0=Microsoft.Live.Messenger.UI.Tags._Tags$3A.$19($p0,$2,$0);}return $p0;}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$19=function($p0,$p1,$p2){if(String.isNullOrEmpty($p1)){return $p0;}var $0=$p1.indexOf('?');if($0>0){$p1=$p1.substring(0,$0);}if($p1.endsWith('/')){return $p1+$p0;}var $1=$p1.indexOf($p2);var $2=$p1.substr($1).lastIndexOf('/');if($2>0){$2+=$1;var $3=$p1.lastIndexOf('.');if($3>$2){$p1=$p1.substring(0,$2);}}return $p1+'/'+$p0;}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.$1A=function($p0,$p1,$p2,$p3){var $0=$p1;if(!String.isNullOrEmpty($p2)&&$p2!=='80'){$0=$0+':';$0=$0+$p2;}if(String.isNullOrEmpty($p3)){$p3='http';}if(!$p3.endsWith(':')){$p3=$p3+':';}return String.format('{0}//{1}{2}',$p3,$0,$p0);}
Microsoft.Live.Messenger.UI.Tags._Tags$3A.prototype={$13:null,get_dependencies:function(){return null;},get_ignoreRefresh:function(){return true;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14();},get_maxOccurrences:function(){return 1;},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(8,null);},apply:function($p0,$p1,$p2){this.$13=$p2;Microsoft.Live.Messenger.UI.Tags._Tags$3A.$16($p1,$p2);Microsoft.Live.Messenger.UI.Tags._Tags$3A.$17($p1,$p2);this.$26($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$6.get_attributeName()]));this.$28($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$7.get_attributeName()));this.$23($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$8.get_attributeName()]));this.$24($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$9.get_attributeName()]));this.$21($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$0.get_attributeName()]));this.$22($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$1.get_attributeName()]));this.$27($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$2.get_attributeName()));this.$29($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$2B.$A.get_attributeName()));this.$25($p2,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$2B.$5.get_attributeName()]));this.$1D($p2);this.$1B($p2);this.$1F($p2);if(this.$15()){this.$2A($p2);return 1;}else{return 4;}},$15:function(){var $0=!String.isNullOrEmpty(this.$13.get_applicationVerifierToken());var $1=!String.isNullOrEmpty(this.$13.get_tokenUrl());var $2=!String.isNullOrEmpty(this.$13.get_privacyUrl());if(this.$13.get_rpsAuthEnabled()){var $3=null;if($0){$3=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$6;}if($1){$3=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$5;}if($2){$3=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$3;}if($3!=null){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(10,[this.get_tagName(),$3.get_attributeName()]);return false;}}else{var $4=null;if(!$0){$4=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$6;}if(!$1){$4=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$5;}if(!$2){$4=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$3;}if($4!=null){Microsoft.Live.Messenger.UI.Tags._Tags$21.$2(4,[this.get_tagName(),$4.get_attributeName(),$4.get_description()]);return false;}}return true;},$1B:function($p0){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$2B.$C.get_$7())){return;}$p0.add_signedIn(Delegate.create(this,this.$1C));},$1C:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$C.get_$7();var $1=$0;$1.invoke($p1);},$1D:function($p0){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$2B.$D.get_$7())||isNullOrUndefined($p0)){return;}$p0.add_authenticated(Delegate.create(this,this.$1E));},$1E:function($p0,$p1){var $0=this.$13.get_user();var $1=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$D.get_$7();if(isNullOrUndefined($1)){return;}var $2=$1;$2.invoke(new Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs($0));},$1F:function($p0){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$2B.$B.get_$7())||isNullOrUndefined($p0)){return;}$p0.add_signedOut(Delegate.create(this,this.$20));},$20:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$2B.$B.get_$7();var $1=$0;if(!isNullOrUndefined($1)&&!isNullOrUndefined($p1)){$1.invoke();}},$21:function($p0,$p1){if(!String.isNullOrEmpty($p1)){$p0.set_applicationGroupName($p1);}},$22:function($p0,$p1){if(!String.isNullOrEmpty($p1)){this.$13.set_applicationIcon($p1);}},$23:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_applicationLogo($p1);},$24:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_applicationName($p1);},$25:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_tokenUrl($p1);},$26:function($p0,$p1){if(String.isNullOrEmpty($p1)){return;}$p0.set_applicationVerifierToken($p1);},$27:function($p0,$p1){$p0.set_rpsAuthEnabled($p1);},$28:function($p0,$p1){$p0.set_audioEnabled($p1);},$29:function($p0,$p1){$p0.set_signInEnabled($p1);},$2A:function($p0){$p0.initialize();}}
Microsoft.Live.Messenger.UI.Tags._Tags$3B=function(){Microsoft.Live.Messenger.UI.Tags._Tags$3B.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$1E.$2,Microsoft.Live.Messenger.UI.Tags._Tags$1E.$0,Microsoft.Live.Messenger.UI.Tags._Tags$1E.$1];}
Microsoft.Live.Messenger.UI.Tags._Tags$3B.$13=function(){return 'sign-in';}
Microsoft.Live.Messenger.UI.Tags._Tags$3B.$17=function($p0,$p1){Microsoft.Live.Messenger.UI.Tags._Tags$3B.$18($p0,$p1);Microsoft.Live.Messenger.UI.Tags._Tags$3B.$19($p0,$p1);}
Microsoft.Live.Messenger.UI.Tags._Tags$3B.$18=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$1E.$0.get_attributeName()]);var $1=1;if(!String.isNullOrEmpty($0)){switch($0.toLowerCase()){case 'small':$1=2;break;case 'medium':$1=1;break;case 'large':$1=0;break;}}$p1.set_size($1);}
Microsoft.Live.Messenger.UI.Tags._Tags$3B.$19=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$1E.$1.get_attributeName()]);var $1=0;if(!String.isNullOrEmpty($0)){switch($0.toLowerCase()){case 'dark':$1=2;break;case 'light':$1=0;break;case 'blue':$1=1;break;}}$p1.set_theme($1);}
Microsoft.Live.Messenger.UI.Tags._Tags$3B.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_mutualExclusive:function(){return [];},get_ignoreRefresh:function(){return true;},get_clearOnRefresh:function(){return false;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$3B.$13();},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(15,null);},apply:function($p0,$p1,$p2){var $0=new MsgrUI.SignInControl();var $1=this.$8($0,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$3B.$17($p1,$0);this.$14($p1,$0,$p2);return 1;},$14:function($p0,$p1,$p2){this.$15($p1);},$15:function($p0){if(isNullOrUndefined(Microsoft.Live.Messenger.UI.Tags._Tags$1E.$2.get_$7())){return;}$p0.add_consentCompleted(Delegate.create(this,this.$16));},$16:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1E.$2.get_$7();var $1=$0;$1.invoke($p1);}}
Microsoft.Live.Messenger.UI.Tags._Tags$1A=function(){}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$11($p0);if(isNullOrUndefined($0)){return null;}var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$12($0);if(isNullOrUndefined($1)||!(Wlc.Framework.UI.UIGroup.isInstanceOfType($1))){return null;}var $2=$1;var $enum1=Type.getEnumerator($2.get_uiElementChildren());while($enum1.moveNext()){var $3=$enum1.get_current();if($3!=null){var $4=Object.getType($3);if($4===$p1){return $3;}}}return null;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4=function($p0){if(isNullOrUndefined($p0)){return null;}return $p0.toString();}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$5=function($p0){return (String.isNullOrEmpty($p0))?false:$p0.toLowerCase()==='true';}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[$p1]);return Microsoft.Live.Messenger.UI.Tags._Tags$1A.$5($0);}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$7=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[$p1]);return (String.isNullOrEmpty($0))?0:parseInt($0);}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$9=function($p0){return (String.isNullOrEmpty($p0)||$p0.toLowerCase()===Microsoft.Live.Messenger.UI.Tags._Tags$30.$0);}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A=function($p0,$p1,$p2,$p3){if(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$9($p1)){if($p0.get_user()!=null){return Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E($p0,$p2);}else{return false;}}else{return Microsoft.Live.Messenger.UI.Tags._Tags$1A.$B($p1,$p0,$p3);}}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$B=function($p0,$p1,$p2){if(isNullOrUndefined($p2)||isNullOrUndefined($p1)){return false;}var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$C($p0,$p1);if($0!=null){$p2.set_contact($0);return true;}$p1.addAppContactInfo(MsgrUI.$create_AppContactInfo($p0,null,null,null,true));return false;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$C=function($p0,$p1){if(String.isNullOrEmpty($p0)){return null;}var $0=$p1.get_user();var $1=$p1.get_applicationContacts();var $2=null;if($0!=null){$2=$0.get_contacts().findByCid($p0);}if($2==null&&$1!=null){$2=$1.findByCid($p0);}if($2==null&&$0!=null){if($0.get_address().get_contact().get_cid()===$p0){$2=$0.get_address().get_contact();}}return $2;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$D=function($p0,$p1){if(isNullOrUndefined($p1)||isNullOrUndefined($p1.get_groups())||String.isNullOrEmpty($p0)){return null;}var $enum1=Type.getEnumerator($p1.get_groups());while($enum1.moveNext()){var $0=$enum1.get_current();if(!String.isNullOrEmpty($0.get_name())&&$0.get_name().toLowerCase()===$p0.toLowerCase()){return $0;}}return null;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$E=function($p0,$p1){if($p1==null||isNullOrUndefined($p0.get_user())){return false;}$p1.set_user($p0.get_user());return true;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$F=function($p0){return $p0.get_isOnline();}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$10=function($p0){return $p0.get_presence().get_status()===1;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.or=function($p0,$p1){return String.format('{0}|{1}',$p0,$p1);}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$11=function($p0){return Microsoft.Live.Messenger.UI.Tags._Tags$22.$4($p0,Delegate.create(null,function($p1_0){
var $1_0=($p1_0.nodeType===1)&&($p1_0.id.startsWith(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$0));return ($1_0)?$p1_0:null;}));}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.$12=function($p0){var $0=Wlc.Framework.UI.UIElement.fromDomElement($p0);if(isNullOrUndefined($0)){return null;}return $0;}
Microsoft.Live.Messenger.UI.Tags._Tags$1A.prototype={$2:null,get_mutualExclusive:function(){return null;},get_attributes:function(){return this.$2;},get_maxOccurrences:function(){return 0;},get_refreshTriggers:function(){return null;},get_reportingSignature:function(){return null;},get_allowNestedContent:function(){return false;},clear:function($p0,$p1){if(isNullOrUndefined($p0)||$p0.childNodes.length==0){return;}if(!$p1&&(this.get_ignoreRefresh()||!this.get_clearOnRefresh())){return;}var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$11($p0);if(isNullOrUndefined($0)){return;}var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$12($0);if(isNullOrUndefined($1)||!(Wlc.Framework.UI.UIGroup.isInstanceOfType($1))){return;}Microsoft.Live.Messenger.UI.Tags._Tags$18.$6($p0);var $2=$1;$2.dispose();$0.innerHTML=String.Empty;},$8:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$11($p2);if(isNullOrUndefined($0)){$0=document.createElement($p1);$0.id=String.format('{0}{1}',Microsoft.Live.Messenger.UI.Tags._Tags$1A.$0,Microsoft.Live.Messenger.UI.Tags._Tags$1A.$1++);$0.style.display='inline';$p2.appendChild($0);}var $1=new Wlc.Framework.UI.Panel();$1.set_domElement($0);$1.addChild($p0);return $0;}}
Microsoft.Live.Messenger.UI.Tags._Tags$18=function(element){this.$1={};element[Microsoft.Live.Messenger.UI.Tags._Tags$18.$0] = this;}
Microsoft.Live.Messenger.UI.Tags._Tags$18.$4=function($p0,$p1,$p2){var $0=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$18.$0];if(isNullOrUndefined($0)){$0=new Microsoft.Live.Messenger.UI.Tags._Tags$18($p0);}$0.$2($p1,$p2);}
Microsoft.Live.Messenger.UI.Tags._Tags$18.$5=function($p0,$p1){var $0=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$18.$0];if(isNullOrUndefined($0)){return null;}return $0.$3($p1);}
Microsoft.Live.Messenger.UI.Tags._Tags$18.$6=function($p0){var $0=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$18.$0];if(!isNullOrUndefined($0)){$0.dispose();$p0[Microsoft.Live.Messenger.UI.Tags._Tags$18.$0] = null;}}
Microsoft.Live.Messenger.UI.Tags._Tags$18.prototype={$1:null,$2:function($p0,$p1){this.$1[$p0]=$p1;},$3:function($p0){return this.$1[$p0];},dispose:function(){Object.clearKeys(this.$1);}}
Microsoft.Live.Messenger.UI.Tags._Tags$37=function(){Microsoft.Live.Messenger.UI.Tags._Tags$37.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$12.$0,Microsoft.Live.Messenger.UI.Tags._Tags$12.$1,Microsoft.Live.Messenger.UI.Tags._Tags$12.$2,Microsoft.Live.Messenger.UI.Tags._Tags$12.$3];}
Microsoft.Live.Messenger.UI.Tags._Tags$37.$13=function(){return 'display-picture';}
Microsoft.Live.Messenger.UI.Tags._Tags$37.$14=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$12.$3.get_attributeName()]);if(!String.isNullOrEmpty($0)){switch($0.toLowerCase()){case 'small':$p1.set_size(2);break;case 'medium':$p1.set_size(1);break;case 'large':$p1.set_size(0);break;default:$p1.set_size(0);break;}}else{$p1.set_size(0);}}
Microsoft.Live.Messenger.UI.Tags._Tags$37.$15=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p0,Microsoft.Live.Messenger.UI.Tags._Tags$12.$1.get_attributeName());$p1.set_logoEnabled($0);}
Microsoft.Live.Messenger.UI.Tags._Tags$37.$16=function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p0,Microsoft.Live.Messenger.UI.Tags._Tags$12.$2.get_attributeName());$p1.set_presenceEnabled($0);}
Microsoft.Live.Messenger.UI.Tags._Tags$37.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$37.$13();},get_refreshTriggers:function(){return [0];},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(14,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$12.$0.get_attributeName()]);var $1=new MsgrUI.DisplayPictureControl();var $2=this.$8($1,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,$0,$1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$37.$16($p1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$37.$15($p1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$37.$14($p1,$1);return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.DisplayPictureControl);if($1!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,$0,$1,$1);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$39=function(){Microsoft.Live.Messenger.UI.Tags._Tags$39.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$10.$0,Microsoft.Live.Messenger.UI.Tags._Tags$10.$1,Microsoft.Live.Messenger.UI.Tags._Tags$10.$2,Microsoft.Live.Messenger.UI.Tags._Tags$10.$3];}
Microsoft.Live.Messenger.UI.Tags._Tags$39.$13=function(){return 'display-name';}
Microsoft.Live.Messenger.UI.Tags._Tags$39.$14=function($p0,$p1){var $0=$p0[Microsoft.Live.Messenger.UI.Tags._Tags$10.$3.get_attributeName()];if(!isNullOrUndefined($0)){$p1.set_defaultName($0);}}
Microsoft.Live.Messenger.UI.Tags._Tags$39.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$39.$13();},get_refreshTriggers:function(){return [0];},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(14,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$10.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}var $1=new MsgrUI.DisplayNameControl();var $2=this.$8($1,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,$0,$1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$39.$14($p1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);$1.set_editable(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$10.$1.get_attributeName()));$1.set_linked(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$10.$2.get_attributeName()));return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.DisplayNameControl);if($1!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,$0,$1,$1);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$32=function(){Microsoft.Live.Messenger.UI.Tags._Tags$32.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$17.$0,Microsoft.Live.Messenger.UI.Tags._Tags$17.$1,Microsoft.Live.Messenger.UI.Tags._Tags$17.$2];}
Microsoft.Live.Messenger.UI.Tags._Tags$32.$13=function(){return 'personal-message';}
Microsoft.Live.Messenger.UI.Tags._Tags$32.$14=function($p0,$p1,$p2,$p3){if($p0.get_user()==null||$p1.toLowerCase()!==Microsoft.Live.Messenger.UI.Tags._Tags$30.$0){return;}$p3.set_editable($p2);}
Microsoft.Live.Messenger.UI.Tags._Tags$32.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$32.$13();},get_refreshTriggers:function(){return [0];},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(14,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$17.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}var $1=new MsgrUI.PersonalMessageControl();var $2=this.$8($1,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,$0,$1,$1);var $3=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$17.$1.get_attributeName());Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'editable',$3);Microsoft.Live.Messenger.UI.Tags._Tags$32.$14($p2,$0,$3,$1);return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'editable');var $2=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.PersonalMessageControl);if($2!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,$0,$2,$2);Microsoft.Live.Messenger.UI.Tags._Tags$32.$14($p1,$0,$1,$2);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$38=function(){Microsoft.Live.Messenger.UI.Tags._Tags$38.initializeBase(this);this.$2=[Microsoft.Live.Messenger.UI.Tags._Tags$1C.$0,Microsoft.Live.Messenger.UI.Tags._Tags$1C.$1,Microsoft.Live.Messenger.UI.Tags._Tags$1C.$3,Microsoft.Live.Messenger.UI.Tags._Tags$1C.$2];}
Microsoft.Live.Messenger.UI.Tags._Tags$38.$13=function(){return 'status';}
Microsoft.Live.Messenger.UI.Tags._Tags$38.$14=function($p0,$p1){$p1.set_signoutEnabled(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p0,Microsoft.Live.Messenger.UI.Tags._Tags$1C.$2.get_attributeName()));}
Microsoft.Live.Messenger.UI.Tags._Tags$38.$15=function($p0,$p1){if($p1.get_editable()){$p1.set_mode(3);}else{var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p0[Microsoft.Live.Messenger.UI.Tags._Tags$1C.$3.get_attributeName()]);if(String.isNullOrEmpty($0)){$p1.set_mode(1);}else{switch($0.toLowerCase()){case 'image':$p1.set_mode(1);break;case 'text':$p1.set_mode(2);break;case 'both':$p1.set_mode(3);break;default:$p1.set_mode(1);break;}}}}
Microsoft.Live.Messenger.UI.Tags._Tags$38.$16=function($p0,$p1,$p2){if($p0.toLowerCase()!==Microsoft.Live.Messenger.UI.Tags._Tags$30.$0){$p2.set_editable(false);}else{$p2.set_editable(Microsoft.Live.Messenger.UI.Tags._Tags$1A.$6($p1,Microsoft.Live.Messenger.UI.Tags._Tags$1C.$1.get_attributeName()));}}
Microsoft.Live.Messenger.UI.Tags._Tags$38.prototype={get_dependencies:function(){return [Microsoft.Live.Messenger.UI.Tags._Tags$3A.$14()];},get_ignoreRefresh:function(){return false;},get_clearOnRefresh:function(){return true;},get_tagName:function(){return Microsoft.Live.Messenger.UI.Tags._Tags$38.$13();},get_refreshTriggers:function(){return [0];},get_reportingSignature:function(){return MSH.$create_ReportKeyValue(14,null);},apply:function($p0,$p1,$p2){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$4($p1[Microsoft.Live.Messenger.UI.Tags._Tags$1C.$0.get_attributeName()]);if(String.isNullOrEmpty($0)){return 3;}var $1=new MsgrUI.PresenceStatusControl();var $2=this.$8($1,'div',$p0);Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p2,$0,$1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$18.$4($p0,'cid',$0);Microsoft.Live.Messenger.UI.Tags._Tags$38.$16($0,$p1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$38.$14($p1,$1);Microsoft.Live.Messenger.UI.Tags._Tags$38.$15($p1,$1);return 1;},setUser:function($p0,$p1){var $0=Microsoft.Live.Messenger.UI.Tags._Tags$18.$5($p0,'cid');var $1=Microsoft.Live.Messenger.UI.Tags._Tags$1A.$3($p0,MsgrUI.PresenceStatusControl);if($1!=null){Microsoft.Live.Messenger.UI.Tags._Tags$1A.$A($p1,$0,$1,$1);}}}
Microsoft.Live.Messenger.UI.Tags._Tags$24.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$24',null,Microsoft.Live.Messenger.UI.Tags._Tags$B);Microsoft.Live.Messenger.UI.Tags.TagsFactory.registerClass('Microsoft.Live.Messenger.UI.Tags.TagsFactory');Microsoft.Live.Messenger.UI.Tags._Tags$26.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$26',null,Sys.IDisposable);Microsoft.Live.Messenger.UI.Tags._Tags$27.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$27');Microsoft.Live.Messenger.UI.Tags._Tags$21.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$21');Microsoft.Live.Messenger.UI.Tags._Tags$20.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$20');Microsoft.Live.Messenger.UI.Tags._Tags$22.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$22');Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs.registerClass('Microsoft.Live.Messenger.UI.Tags.UserAuthenticatedEventArgs',Sys.EventArgs);Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs.registerClass('Microsoft.Live.Messenger.UI.Tags.ConversationCreatedEventArgs',Sys.EventArgs);Microsoft.Live.Messenger.UI.Tags._Tags$23.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$23');Microsoft.Live.Messenger.UI.Tags._Tags$2F.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2F');Microsoft.Live.Messenger.UI.Tags._Tags$30.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$30');Microsoft.Live.Messenger.UI.Tags._Tags$31.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$31');Microsoft.Live.Messenger.UI.Tags._Tags$2B.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2B');Microsoft.Live.Messenger.UI.Tags._Tags$2A.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2A');Microsoft.Live.Messenger.UI.Tags._Tags$29.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$29');Microsoft.Live.Messenger.UI.Tags._Tags$2E.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2E');Microsoft.Live.Messenger.UI.Tags._Tags$2D.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2D');Microsoft.Live.Messenger.UI.Tags._Tags$2C.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$2C');Microsoft.Live.Messenger.UI.Tags._Tags$1F.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1F');Microsoft.Live.Messenger.UI.Tags._Tags$16.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$16');Microsoft.Live.Messenger.UI.Tags._Tags$15.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$15');Microsoft.Live.Messenger.UI.Tags._Tags$14.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$14');Microsoft.Live.Messenger.UI.Tags._Tags$13.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$13');Microsoft.Live.Messenger.UI.Tags._Tags$1B.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1B',null,Microsoft.Live.Messenger.UI.Tags._Tags$C);Microsoft.Live.Messenger.UI.Tags._Tags$40.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$40',Microsoft.Live.Messenger.UI.Tags._Tags$1B);Microsoft.Live.Messenger.UI.Tags._Tags$11.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$11');Microsoft.Live.Messenger.UI.Tags._Tags$12.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$12');Microsoft.Live.Messenger.UI.Tags._Tags$10.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$10');Microsoft.Live.Messenger.UI.Tags._Tags$17.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$17');Microsoft.Live.Messenger.UI.Tags._Tags$1C.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1C');Microsoft.Live.Messenger.UI.Tags._Tags$1D.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1D');Microsoft.Live.Messenger.UI.Tags._Tags$1E.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1E');Microsoft.Live.Messenger.UI.Tags._Tags$3D.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3D',MSH.AsyncBatchedWorkItem);Microsoft.Live.Messenger.UI.Tags._Tags$3E.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3E',MSH.AsyncBatchedWorkItem);Microsoft.Live.Messenger.UI.Tags._Tags$19.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$19');Microsoft.Live.Messenger.UI.Tags._Tags$1A.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$1A',null,Microsoft.Live.Messenger.UI.Tags._Tags$E);Microsoft.Live.Messenger.UI.Tags._Tags$3F.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3F',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$44.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$44',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$45.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$45',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7,Microsoft.Live.Messenger.UI.Tags._Tags$2);Microsoft.Live.Messenger.UI.Tags._Tags$46.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$46',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$41.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$41',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$42.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$42',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$43.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$43',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$3C.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3C',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$34.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$34',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$35.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$35',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$33.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$33',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$36.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$36',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$3A.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3A',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$3B.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$3B',Microsoft.Live.Messenger.UI.Tags._Tags$1A);Microsoft.Live.Messenger.UI.Tags._Tags$18.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$18',null,Sys.IDisposable);Microsoft.Live.Messenger.UI.Tags._Tags$37.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$37',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$39.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$39',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$32.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$32',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags._Tags$38.registerClass('Microsoft.Live.Messenger.UI.Tags._Tags$38',Microsoft.Live.Messenger.UI.Tags._Tags$1A,Microsoft.Live.Messenger.UI.Tags._Tags$7);Microsoft.Live.Messenger.UI.Tags.TagsFactory.$0=null;Microsoft.Live.Messenger.UI.Tags.TagsFactory.$1=0;Microsoft.Live.Core.Loader.onDocumentReady(Delegate.create(null,function(){
Microsoft.Live.Messenger.UI.Tags.TagsFactory.$5();Microsoft.Live.Messenger.UI.Tags.TagsFactory.$7();Microsoft.Live.Messenger.UI.Tags.TagsFactory.refresh();}));Microsoft.Live.Messenger.UI.Tags._Tags$27.$0='The tag \'{0}\' depends on a missing tag \'{1}\'';Microsoft.Live.Messenger.UI.Tags._Tags$27.$1='The tag \'{0}\' is not supported';Microsoft.Live.Messenger.UI.Tags._Tags$27.$2='The parameter must be a DOM element';Microsoft.Live.Messenger.UI.Tags._Tags$27.$3='The value \'{0}\' is not valid for the \'{1}\' attribute. Valid values include: {2}';Microsoft.Live.Messenger.UI.Tags._Tags$27.$4='The required attribute \'{1}\' is missing for tag \'{0}\' ({2})';Microsoft.Live.Messenger.UI.Tags._Tags$27.$5='The attribute \'{0}\' is an event handler but the supplied value is not a function';Microsoft.Live.Messenger.UI.Tags._Tags$27.$6='The \'else\' tag must be a direct child of an \'if\' tag';Microsoft.Live.Messenger.UI.Tags._Tags$27.$7='The tag \'{0}\' can only appear {1} times';Microsoft.Live.Messenger.UI.Tags._Tags$27.$8='The tag \'{0}\' cannot be used. It is blocked by \'{1}\' since: \'{2}\'';Microsoft.Live.Messenger.UI.Tags._Tags$27.$9='The tag \'if\' must have exactly 0 or 1 \'else\' tags';Microsoft.Live.Messenger.UI.Tags._Tags$27.$A='The tag \'app\' must specify a \'token-url\' attribute in order to use the \'app-contacts\' tag';Microsoft.Live.Messenger.UI.Tags._Tags$27.$B='The tag \'app\' must specify the \'application-verifier-token\' attribute in order to use the \'sign-in\' tag';Microsoft.Live.Messenger.UI.Tags._Tags$27.$C='The tag \'{0}\' cannot have nested content. Make sure the tag is closed with a separate closing tag';Microsoft.Live.Messenger.UI.Tags._Tags$27.$D='The \'html\' element must specify an xmlns:msgr=\"http://messenger.live.com/2009/ui-tags\" attribute in order to use Messenger tags';Microsoft.Live.Messenger.UI.Tags._Tags$27.$E='The disposeTag() function can only be applied to \'msgr\' tags';Microsoft.Live.Messenger.UI.Tags._Tags$27.$F='The attribute \'{0}\' is not supported for the tag \'{1}\'';Microsoft.Live.Messenger.UI.Tags._Tags$27.$10='The document is currently in a compatibility mode which prevents correct rendering of the Messenger tags. '+'Check that the doctype is correctly specified; XHTML 1.0 or HTML 4.01 are recommended.';Microsoft.Live.Messenger.UI.Tags._Tags$27.$11='The attribute \'{1}\' is not supported for the tag \'{0}\' if the attribute \'rps-auth-enabled\' is \'true\'';Microsoft.Live.Messenger.UI.Tags._Tags$21.$1=null;Microsoft.Live.Messenger.UI.Tags._Tags$20.$0=Microsoft.Live.Messenger.UI.Tags._Tags$20.$1();Microsoft.Live.Messenger.UI.Tags._Tags$22.$0='msgr';Microsoft.Live.Messenger.UI.Tags._Tags$22.$1=5;Microsoft.Live.Messenger.UI.Tags._Tags$22.$2='msgrusereventhandlers';Microsoft.Live.Messenger.UI.Tags._Tags$23.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('contacts',true,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$1B(),'List of CIDs: Social IM contacts');Microsoft.Live.Messenger.UI.Tags._Tags$23.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('signature',false,null,null,'Signature for the Social IM contacts');Microsoft.Live.Messenger.UI.Tags._Tags$2F.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'Social IM contact CID');Microsoft.Live.Messenger.UI.Tags._Tags$2F.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('display-name',false,null,null,'The application contact display name');Microsoft.Live.Messenger.UI.Tags._Tags$2F.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('personal-message',false,null,null,'The application contact personal message');Microsoft.Live.Messenger.UI.Tags._Tags$2F.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('display-picture-url',false,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),'The application contact display picture url');Microsoft.Live.Messenger.UI.Tags._Tags$2F.$4=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('contact-list-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether the contact list should include this contact');Microsoft.Live.Messenger.UI.Tags._Tags$30.$0='$user';Microsoft.Live.Messenger.UI.Tags._Tags$31.$0=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$1=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$2=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$3=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$4=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$5=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$6=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$7=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$8=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$9=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$A=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$B=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$C=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$D=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$E=null;Microsoft.Live.Messenger.UI.Tags._Tags$31.$F=null;Microsoft.Live.Messenger.UI.Tags._Tags$2B.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('application-group-name',false,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$11(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2B.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('application-icon',false,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2B.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('rps-auth-enabled',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether RPS authentication is enabled or not.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('privacy-url',false,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),'The URL to the privacy page');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$4=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('channel-url',true,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),'The URL to the channel page');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$5=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('token-url',false,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),'The url provided by the application to refresh the delegation token');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$6=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('application-verifier-token',false,null,Microsoft.Live.Messenger.UI.Tags._Tags$31.$1F(),'The application token that proves that this is the application listed in the application ID.  How to create this token is documented in the IDS del auth spec.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$7=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('audio-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2B.$8=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('application-logo',false,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$13(),'URL to the image that will be displayed next to the Social IM contact group.  16x16 pixel image.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$9=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('application-name',false,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$1E(),'Name of the contact group for Social IM contacts.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$A=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('sign-in-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether to sign the user into the service or not.  This is particularly useful when using the del auth token to get user info, but not to log into Messenger.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$B=new Microsoft.Live.Messenger.UI.Tags._Tags$40('signedOut',false,'$user signs out one of the endpoints, including the the current endpoint.');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$C=new Microsoft.Live.Messenger.UI.Tags._Tags$40('signedIn',false,'Occurs when the user has signed in');Microsoft.Live.Messenger.UI.Tags._Tags$2B.$D=new Microsoft.Live.Messenger.UI.Tags._Tags$40('authenticated',false,'The user object of the authenticated user.');Microsoft.Live.Messenger.UI.Tags._Tags$2A.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('sign-in-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Show a sign in button as part of the web bar.');Microsoft.Live.Messenger.UI.Tags._Tags$2A.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$40('consentCompleted',false,'');Microsoft.Live.Messenger.UI.Tags._Tags$2E.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2E.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('condition',true,String.Empty,new RegExp('^(online|available)$','i'),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2D.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',false,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$18(),'CID of the contact to add.  If not provided, allow user to enter a PMN for a contact to add.');Microsoft.Live.Messenger.UI.Tags._Tags$2D.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('message',false,String.Empty,null,'Message to be sent to the invitee.');Microsoft.Live.Messenger.UI.Tags._Tags$2D.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('nickname',false,String.Empty,null,'Nickname to be used for this contact.');Microsoft.Live.Messenger.UI.Tags._Tags$2D.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('group',false,String.Empty,null,'Category this contact should be placed in.');Microsoft.Live.Messenger.UI.Tags._Tags$2C.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('word-wheel-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2C.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('mobile-contacts-grouped',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$2C.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('sort-mode',false,'group',Microsoft.Live.Messenger.UI.Tags._Tags$31.$1A(),'');Microsoft.Live.Messenger.UI.Tags._Tags$2C.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('context-menu-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'');Microsoft.Live.Messenger.UI.Tags._Tags$2C.$4=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-offline-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'');Microsoft.Live.Messenger.UI.Tags._Tags$2C.$5=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-messenger-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'In Social IM scenarios, only include application contacts.');Microsoft.Live.Messenger.UI.Tags._Tags$2C.$6=new Microsoft.Live.Messenger.UI.Tags._Tags$40('selected',false,'Parameters: Contact (This is the contact that was selected), DOMObject (This is the actual DOM element that was selected by the user.  Might be needed if the site takes a different action based on whether you click on the profile picture or on the display name.)');Microsoft.Live.Messenger.UI.Tags._Tags$1F.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('label',false,String.Empty,null,String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('word-wheel-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('mobile-contacts-grouped',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-offline-contacts',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$4=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-unavailable-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$5=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-messenger-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'In Social IM scenarios, only include application contacts.');Microsoft.Live.Messenger.UI.Tags._Tags$1F.$6=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('max-selection-count',false,'5',Microsoft.Live.Messenger.UI.Tags._Tags$31.$10(),null);Microsoft.Live.Messenger.UI.Tags._Tags$1F.$7=new Microsoft.Live.Messenger.UI.Tags._Tags$40('selected',false,'Parameters: Contact:Contact (This is the contact that was selected), DOMObject:DOMElement (This is the actual DOM element that was selected by the user.  Might be needed if the site takes a different action based on whether you click on the profile picture or on the display name.)');Microsoft.Live.Messenger.UI.Tags._Tags$16.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'If $user is used, area should be styled as an owner personal area.');Microsoft.Live.Messenger.UI.Tags._Tags$16.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('editable',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Ignored unless $user is used as cid.  If true and $user is cid, then the logged in user can use this control to modify their presence info.');Microsoft.Live.Messenger.UI.Tags._Tags$15.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('dialog-button-label',false,String.Empty,null,String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('picker-label',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$11(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('message',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$12(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('max-selection-count',false,'15',Microsoft.Live.Messenger.UI.Tags._Tags$31.$10(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$4=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-unavailable-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$5=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('hide-messenger-contacts',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$15.$6=new Microsoft.Live.Messenger.UI.Tags._Tags$40('shared',false,'Parameters: Contacts:Contact[] (These are the contacts that were selected.)');Microsoft.Live.Messenger.UI.Tags._Tags$14.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$40('conversationCreated',false,'Parameters: c:Conversation (The new conversation that was just joined.');Microsoft.Live.Messenger.UI.Tags._Tags$14.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$40('conversationClosed',false,'Parameters: c:Conversation (The conversation that was just left.');Microsoft.Live.Messenger.UI.Tags._Tags$14.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$40('conversationSelected',false,'');Microsoft.Live.Messenger.UI.Tags._Tags$13.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$17(),'Identifies the user. Should be a cid.');Microsoft.Live.Messenger.UI.Tags._Tags$13.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('display-pictures-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether to show the left side display including display pictures.');Microsoft.Live.Messenger.UI.Tags._Tags$13.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$40('messageReceived',false,'Parameters: e:MessageReceivedEventArgs (Triggered when a message is sent or received that results in this control being updated.');Microsoft.Live.Messenger.UI.Tags._Tags$13.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$40('conversationCreated',false,'');Microsoft.Live.Messenger.UI.Tags._Tags$11.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$40('changed',false,'Parameters: contact, changedProperty, oldValue; When set, this should be triggered for any presence change on the contact, not just display name changes.');Microsoft.Live.Messenger.UI.Tags._Tags$12.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'Identifies the user. Should be a cid. It can also be \'$user\' to request the currently logged in user.');Microsoft.Live.Messenger.UI.Tags._Tags$12.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('logo-enabled',false,'false',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether to put the Windows Live fav-icon in the lower right handle corner of the display picture.');Microsoft.Live.Messenger.UI.Tags._Tags$12.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('presence-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Whether to show the user\'s presence as part of the display picture.');Microsoft.Live.Messenger.UI.Tags._Tags$12.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('size',false,'large',Microsoft.Live.Messenger.UI.Tags._Tags$31.$15(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$10.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'Identifies the user. Should be a cid. It can also be \'$user\' to request the currently logged in user.');Microsoft.Live.Messenger.UI.Tags._Tags$10.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('editable',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Ignored unless $user is used as cid.  If true and $user is cid, then the logged in user can use this control to modify their display name.');Microsoft.Live.Messenger.UI.Tags._Tags$10.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('linked',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'If true, the name is a link that goes to the user\'s Windows Live profile.  If editable, then ignore linked.');Microsoft.Live.Messenger.UI.Tags._Tags$10.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('default',false,null,null,'If the display-name for this user is unavailable or the display-name is still being loaded, this is what we will display. Once the display-name is available, it will replace this value with the actual display-name.');Microsoft.Live.Messenger.UI.Tags._Tags$17.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'Identifies the user. Should be a cid. It can also be \'$user\' to request the currently logged in user.');Microsoft.Live.Messenger.UI.Tags._Tags$17.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('editable',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Ignored unless $user is used as id.  If true and $user is id, then the logged in user can use this control to modify their personal message.');Microsoft.Live.Messenger.UI.Tags._Tags$17.$2=Microsoft.Live.Messenger.UI.Tags._Tags$11.$0;Microsoft.Live.Messenger.UI.Tags._Tags$1C.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('cid',true,String.Empty,Microsoft.Live.Messenger.UI.Tags._Tags$31.$16(),'Identifies the user. Should be a cid. It can also be \'$user\' to request the currently logged in user.');Microsoft.Live.Messenger.UI.Tags._Tags$1C.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('editable',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Ignored unless $user is used as id.  If true and $user is id, then the logged in user can use this control to modify their presence status.');Microsoft.Live.Messenger.UI.Tags._Tags$1C.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('sign-out-enabled',false,'true',Microsoft.Live.Messenger.UI.Tags._Tags$31.$14(),'Ignored unless $user is used as id.  If true and $user is id, then the logged in user can use this control to sign out as well as sign out other MPOP endpoints.');Microsoft.Live.Messenger.UI.Tags._Tags$1C.$3=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('mode',false,'image',new RegExp('^(image|text|both)$','i'),'Whether to show the status as an image, text or an image followed by the text in parentheses. When editable, must be both.');Microsoft.Live.Messenger.UI.Tags._Tags$1E.$0=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('size',false,'medium',Microsoft.Live.Messenger.UI.Tags._Tags$31.$15(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1E.$1=new Microsoft.Live.Messenger.UI.Tags._Tags$1B('theme',false,'light',Microsoft.Live.Messenger.UI.Tags._Tags$31.$1C(),String.Empty);Microsoft.Live.Messenger.UI.Tags._Tags$1E.$2=new Microsoft.Live.Messenger.UI.Tags._Tags$40('consentCompleted',false,'');Microsoft.Live.Messenger.UI.Tags._Tags$41.$13='IfEvaluationFailed';Microsoft.Live.Messenger.UI.Tags._Tags$41.$14='MsgrDomElementIf';Microsoft.Live.Messenger.UI.Tags._Tags$41.$15='MsgrDomElementElse';Microsoft.Live.Messenger.UI.Tags._Tags$41.$16='span';Microsoft.Live.Messenger.UI.Tags._Tags$1A.$0='MsgrPanelContainer';Microsoft.Live.Messenger.UI.Tags._Tags$1A.$1=1;Microsoft.Live.Messenger.UI.Tags._Tags$18.$0='msgrtagstate';
// ---- Do not remove this footer ----
// Generated using Script# v0.5.1.0 (http://projects.nikhilk.net)
// -----------------------------------

 });