"});case"mention":return _("Tweet to %{name}",{name:"@"+s.screen_name+""});default:return _("Tweet")}}(),i.parentNode.style.width=i.offsetWidth+"px",A.triggerResize(o),L(r.body,"ready"),f={text:s.text,screen_name:s.screen_name,hashtags:s.hashtags,url:s.url,via:s.via,related:s.related,share_with_retweet:s.share_with_retweet,placeid:s.placeid,original_referer:r.referrer,partner:s.partner,tw_p:"tweetbutton",ref_src:"twsrc^tfw"},l=j.get("config.intentURL")+"?"+E.encode(f),g||x.clientEvent({page:"button",section:s.type,action:"impression"},{language:s.lang,message:s.size+":",widget_origin:r.referrer,widget_frame:r.location},!1),i.href=l,i.onclick=function(t){var e;if(!(t=t||w.event,x.interaction(t,{},!1),A.trigger("click","tweet"),A.trigger("tweet","tweet"),t.altKey||t.shiftKey||t.metaKey||b.ios()||b.android()))return e=l,s.id,w.open(e,null),function(t){return(t=t||w.event)&&t.preventDefault?t.preventDefault():t.returnValue=!1,t&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,!1}(t)}}]));