Follow
","",""].join("");this.sandbox.doc.write(e),this.sandbox.doc.close()},e(o)})});provide("dom/delegate",function(e){using("util/env",function(t){function i(e){var t=e.getAttribute("data-twitter-event-id");return t?t:(e.setAttribute("data-twitter-event-id",++r),r)}function s(e,t,n){var r=0,i=e&&e.length||0;for(r=0;r")}catch(n){e=g.createElement("iframe"),e.name=t}return e.id=t,e.style.display="none",e.width=0,e.height=0,e.border=0,e}function P(e){var t=document.createElement("img");t.src=e,t.alt="",t.style.position="absolute",t.style.height="1px",t.style.width="1px",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t)}function H(e){var t;for(t in e)~u.indexOf(l,t)&&delete e[t]}function B(e){var t=Array.prototype.toJSON,n;return delete Array.prototype.toJSON,n=JSON.stringify(e),t&&(Array.prototype.toJSON=t),n}var a="twttr_",f={tweetbutton:"../../ext_iframe/t.gif",followbutton:"../../ext_iframe/f.gif",tweetembed:"../../ext_iframe/e.gif"},l=["hask","li","logged_in","pid","user_id",s.guest_id_cookie,a+"hask",a+"li",a+s.guest_id_cookie],c=0,h,p,d=[],v,m,g,y,b="https://twitter.com/i/jot",w="https://platform.twitter.com/jot.html";s.forceNewCookie(),e({enqueue:C,flush:k,initPostLogging:E,addPixel:S,addLegacyPixel:x,addVar:T})})});provide("tfw/util/session",function(e){using("dom/cookie","util/querystring",function(t,n){function r(e){var n=t("secure_session");return n=="true"||n=="default"?e?docloc.protocol==="https:":!0:t("auth_token_session")?!0:!1}function i(e){var t=document.location,n=twttr.config&&twttr.config.secureHost?twttr.config.secureHost:t.host;if(r()&&t.protocol!=="https:")return window.onload=function(){document.location.replace("https://"+n+t.pathname+t.search+t.hash+"&original_redirect_referrer="+e)},!0}function s(){var e,r=t("twid");if(r&&(e=r.split("|")[0])){var i=n.decode(e);return i.c?i.c:i.u}}e({isLoggedIn:r,forwardSSL:i,getUserId:s})})});provide("util/events",function(e){using("util/util",function(t){function r(){this.completed=!1,this.callbacks=[]}var n={bind:function(e,t){return this._handlers=this._handlers||{},this._handlers[e]=this._handlers[e]||[],this._handlers[e].push(t)},unbind:function(e,n){if(!this._handlers[e])return;if(n){var r=t.indexOf(this._handlers[e],n);r>=0&&this._handlers[e].splice(r,1)}else this._handlers[e]=[]},trigger:function(e,t){var n=this._handlers&&this._handlers[e];t.type=e;if(n)for(var r=0,i;i=n[r];r++)i.call(this,t)}};r.prototype.addCallback=function(e){this.completed?e.apply(this,this.results):this.callbacks.push(e)},r.prototype.complete=function(){this.results=makeArray(arguments),this.completed=!0;for(var e=0,t;t=this.callbacks[e];e++)t.apply(this,this.results)},e({Emitter:n,Promise:r})})});provide("xd/jsonrpc",function(e){using("util/util","util/events",function(t,n){function i(e){this.con=e}function s(){this.id=s.id++}function o(){e(function(e){return new i(e)})}var r=function(e){return JSON&&JSON.parse?JSON.parse(e):JSON&&JSON.decode?JSON.decode(e):(new Function("return "+e))()};t.aug(i.prototype,{expose:function(e){this.con.bind("message",this._handleRequest(e))},call:function(e){var t=this;this._requests||(this._requests={},this.con.bind("message",function(e){var n;try{e=r(e)}catch(i){return}if(!e.callback)return;typeof e.id=="number"&&(n=t._requests[e.id])&&(e.error?n.trigger("error",e):n.trigger("success",e),delete t._requests[e.id])}));var n=new s;return this._requests[n.id]=n,n.send(this.con,e,Array.prototype.slice.call(arguments,1))},_handleRequest:function(e){var t=this;return function(i){var s,o;try{i=r(i)}catch(u){return}if(i.callback)return;typeof i.id=="number"&&typeof e[i.method]=="function"&&(o=t._responseCallbacks(i.id),s=e[i.method].apply(e,i.params.concat(o)),typeof s!="undefined"&&o[0](s))}},_responseCallbacks:function(e){var t=this.con;return[function(r){t.send(JSON.stringify({id:e,result:r,callback:!0}))},function n(n){t.send(JSON.stringify({id:e,error:n,callback:!0}))}]}}),s.id=0,t.aug(s.prototype,n.Emitter,{send:function(e,t,n){return e.send(JSON.stringify({id:this.id,method:t,params:n})),this},success:function(e){return this.bind("success",e),this},error:function(e){return this.bind("error",e),this}}),typeof JSON=="undefined"?using("$xd/json2.js",function(){o()}):o()})});provide("xd/flash",function(e){function t(e,t){var n=t||Math.floor(Math.random()*100),r=['','','','',""].join(" ");return r}e({object:t})});provide("xd/base",function(e){using("util/util","util/events",function(t,n){function r(){}t.aug(r.prototype,n.Emitter,{transportMethod:"",init:function(){},send:function(e){var t;this._ready?this._performSend(e):t=this.bind("ready",function(){this.unbind("ready",t),this._performSend(e)})},ready:function(){this.trigger("ready",this),this._ready=!0},isReady:function(){return!!this._ready},receive:function(e){this.trigger("message",e)}}),e({Connection:r})})});provide("xd/parent",function(e){using("xd/base","util/util","xd/detection",function(t,n,r){function u(e){var t=[];for(var n in e)t.push(n+"="+e[n]);return t.join(",")}function a(){}var i="__ready__",s=0,o;a.prototype=new t.Connection,n.aug(a.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){var e={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},t,i,s,u=n.aug(n.aug({},e),this.options.iframe);window.postMessage?(o||(o=document.createElement("iframe")),t=o.cloneNode(!1)):t=document.createElement('