var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function(){function g(g){g=g||window.event;var h=g.target||g.srcElement,i,j,k;while(h&&h.nodeName.toLowerCase()!=="a"){h=h.parentNode}if(h&&h.nodeName.toLowerCase()==="a"&&h.href){i=h.href.match(a);if(i){j=Math.round(f/2-c/2);k=0;if(e>d){k=Math.round(e/2-d/2)}window.open(h.href,"intent",b+",width="+c+",height="+d+",left="+j+",top="+k);g.returnValue=false;g.preventDefault&&g.preventDefault()}}}if(window.__twitterIntentHandler)return;var a=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/,b="scrollbars=yes,resizable=yes,toolbar=no,location=yes",c=550,d=420,e=screen.height,f=screen.width;if(document.addEventListener){document.addEventListener("click",g,false)}else if(document.attachEvent){document.attachEvent("onclick",g)}window.__twitterIntentHandler=true})();(function(){if(window.__JTA_I18N){return}JTA_I18N=function(){function b(a,b){function c(a,b,c){var f=d(a);if(b!==1&&typeof f==="object"){f=e(a,f,b)}if(f&&c){for(p in c){f=f.replace(p,d(c[p]))}}return f}function d(a){return b?b[a]||a:a}function e(a,b,c){for(pat in b){var d=/(\d+)\s*-\s*(\d+)/,e=d.exec(pat);if(e){var f=e[1];var g=e[2];if(c>=f&&c<=g){return b[pat]}}d=/([<>]=?)\s*(\d+)/;e=d.exec(pat);if(e){var h=e[1];var i=e[2];if(h===">"&&c>i){return b[pat]}else if(h===">="&&c>=i){return b[pat]}else if(h==="<"&&c'+b+""};defaultTweetFeedControlsMoreBtnDecorator=function(a){return''+a._resourceBundle._("More")+""};defaultTweetFeedControlsPrevBtnDecorator=function(a){return''+a._resourceBundle._("Prev")+""};defaultTweetFeedControlsNextBtnDecorator=function(a){return''+a._resourceBundle._("Next")+""};defaultTweetFeedAutorefreshTriggerDecorator=function(a,b){var c="";if(b.tweetFeedAutorefreshTriggerContentDecorator){c=b.tweetFeedAutorefreshTriggerContentDecorator(a,b)}return'
  • '+c+"
  • "};defaultTweetFeedAutorefreshTriggerContentDecorator=function(a,b){var c=b._resourceBundle.__("%count% new tweet","%count% new tweets",a,{"%count%":a});return''+c+""};defaultTweetFeedDecorator=function(a){return''};defaultTweetDecorator=function(a,b){var c="";if(b._tweetFeedConfig.showProfileImages){c+=b.tweetProfileImageDecorator(a,b)}if(b.tweetBodyDecorator){c+=b.tweetBodyDecorator(a,b)}c+='
    ';return'
  • '+c+"
  • "};defaultTweetProfileImageDecorator=function(a,b){var c=a.retweeted_status||a;var d=getScreenName(a);var e=c.user?c.user.profile_image_url:false||c.profile_image_url;var f=''+''+d+'"+"";return'
    '+f+"
    "};defaultTweetBodyDecorator=function(a,b){var c="";if(b.tweetTextDecorator){c+=b.tweetTextDecorator(a,b)}if(b.tweetAttributesDecorator){c+=b.tweetAttributesDecorator(a,b)}if(b.tweetActionsDecorator){c+=b.tweetActionsDecorator(a,b)}return'
    '+c+"
    "};defaultTweetTextDecorator=function(a,b){var c=a.text;if(a.retweeted_status&&(b._tweetFeedConfig.showUserScreenNames||b._tweetFeedConfig.showUserScreenNames==null||b._tweetFeedConfig.showUserFullNames||b._tweetFeedConfig.showUserFullNames==null)){c=a.retweeted_status.text}if(b.linkDecorator){c=b.linkDecorator(c,b)}if(b.usernameDecorator){c=b.usernameDecorator(c,b)}if(b.hashtagDecorator){c=b.hashtagDecorator(c,b)}if(b._tweetFeedConfig.showUserScreenNames||b._tweetFeedConfig.showUserFullNames||a.retweeted_status&&(b._tweetFeedConfig.showUserScreenNames==null||b._tweetFeedConfig.showUserFullNames==null)){c=b.tweetUsernameDecorator(a,b)+" "+c}return''+c+""};defaultTweetUsernameDecorator=function(a,b){var c=getScreenName(a);var d=getFullName(a);var e=null;if(c&&(b._tweetFeedConfig.showUserScreenNames||b._tweetFeedConfig.showUserScreenNames==null&&a.retweeted_status)){e=''+''+c+""+""}var f=null;if(d&&(b._tweetFeedConfig.showUserFullNames||b._tweetFeedConfig.showUserFullNames==null&&a.retweeted_status)){f=''+(e?" ":"")+''+d+""+""}var g="";if(e){g+=e}if(f){if(e){g+=" "}g+=f}if(e||f){g=''+(a.retweeted_status?"RT ":"")+g+""}return g};defaultTweetAttributesDecorator=function(a,b){var c="";if(b.tweetTwitterBirdDecorator||b.tweetTimestampDecorator||b.tweetSourceDecorator||b.tweetGeoLocationDecorator||b.tweetInReplyToDecorator||a.retweeted_status&&b.tweetRetweeterDecorator){c+='';if(b.tweetTwitterBirdDecorator){c+=b.tweetTwitterBirdDecorator(a,b)}if(b.tweetTimestampDecorator){c+=b.tweetTimestampDecorator(a,b)}if(b.tweetSourceDecorator){c+=b.tweetSourceDecorator(a,b)}if(b.tweetGeoLocationDecorator){c+=b.tweetGeoLocationDecorator(a,b)}if(b.tweetInReplyToDecorator){c+=b.tweetInReplyToDecorator(a,b)}if(a.retweeted_status&&b.tweetRetweeterDecorator){c+=b.tweetRetweeterDecorator(a,b)}c+=""}return c};defaultTweetTimestampDecorator=function(a,b){var c=a.retweeted_status||a;var d=formatDate(c.created_at);var e=b.tweetTimestampFormatter(d,b);var f=b.tweetTimestampTooltipFormatter(d);var g=''+''+e+""+"";return g};defaultTweetTwitterBirdDecorator=function(a,b){var c=getScreenName(a);var d="//twitter.com/intent/user?screen_name="+c;var e=c+" "+b._resourceBundle._("on Twitter");var f=''+''+' '+""+"";return f};defaultTweetTimestampTooltipFormatter=function(a){var b=new Date(a);return b.toLocaleString()};defaultTweetTimestampFormatter=function(a,b){var c=new Date;var d=parseInt((c.getTime()-Date.parse(a))/1e3);var e="";if(d<60){e+=b._resourceBundle.__("%secs% second ago","%secs% seconds ago",d,{"%secs%":d})}else if(d<3600){var f=parseInt((d+30)/60);e+=b._resourceBundle.__("%mins% minute ago","%mins% minutes ago",f,{"%mins%":f})}else if(d<86400){var f=parseInt((d+1800)/3600);e+=b._resourceBundle.__("%hours% hour ago","%hours% hours ago",f,{"%hours%":f})}else{var g=new Date(a);var h=b._resourceBundle._("$$monthNames");e+=h[g.getMonth()]+" "+g.getDate();if(g.getFullYear()").replace(/\"\;/gi,'"');var e=''+" "+b._resourceBundle._("via")+" "+''+d+""+"";return e};defaultTweetGeoLocationDecorator=function(a,b){var c="";var d=a.retweeted_status||a;var e=null;if(d.geo&&d.geo.coordinates){e=d.geo.coordinates.join()}else if(d.place&&d.place.full_name){e=d.place.full_name}if(e){var f=b._resourceBundle._("here");if(d.place&&d.place.full_name){f=d.place.full_name}var g="//maps.google.com/maps?q="+e;c=''+" "+b._resourceBundle._("from")+" "+''+f+""+""}return c};defaultTweetInReplyToDecorator=function(a,b){var c=a.retweeted_status||a;var d="";if(c.in_reply_to_status_id&&c.in_reply_to_screen_name){var e="//twitter.com/"+c.in_reply_to_screen_name+"/status/"+c.in_reply_to_status_id;var f=b._resourceBundle._("in reply to")+" "+c.in_reply_to_screen_name;d=''+" "+''+f+""+""}return d};defaultTweetRetweeterDecorator=function(a,b){var c="";if(a.retweeted_status){var d=getUserScreenName(a);var e=(a.retweeted_status.retweet_count||0)-1;var f=''+d+"";var g=b._resourceBundle.__(" and %rtc% other"," and %rtc% others",e,{"%rtc%":e});c="
    "+''+b._resourceBundle._("Retweeted by")+" "+f+(e>0?g:"")+""}return c};defaultTweetActionsDecorator=function(a,b){var c="";if(b.tweetActionReplyDecorator||b.tweetActionRetweetDecorator||b.tweetActionFavoriteDecorator){c+='';if(b.tweetActionReplyDecorator){c+=b.tweetActionReplyDecorator(a,b)}if(b.tweetActionRetweetDecorator){c+=b.tweetActionRetweetDecorator(a,b)}if(b.tweetActionFavoriteDecorator){c+=b.tweetActionFavoriteDecorator(a,b)}c+=""}return c};defaultTweetActionReplyDecorator=function(a,b){var c="//twitter.com/intent/tweet?in_reply_to="+a.id;var d=b._resourceBundle._("Reply");var e=''+''+d+""+"";return e};defaultTweetActionRetweetDecorator=function(a,b){var c="//twitter.com/intent/retweet?tweet_id="+a.id;var d=b._resourceBundle._("Retweet");var e=''+''+d+""+"";return e};defaultTweetActionFavoriteDecorator=function(a,b){var c="//twitter.com/intent/favorite?tweet_id="+a.id;var d=b._resourceBundle._("Favorite");var e=''+''+d+""+"";return e};defaultConnectButtonDecorator=function(a){return'
    '};defaultLoginInfoDecorator=function(a){return''};defaultLoginInfoContentDecorator=function(a,b){var c="";if(b.isConnected()){var d=b.currentUser.data("screen_name");var e=b.currentUser.data("profile_image_url");c='"+'"+'
    '}return c};defaultFollowButtonDecorator=function(a){return'
    '};defaultTweetBoxDecorator=function(a){return'
    '};defaultLinkDecorator=function(a,b){return a.replace(/((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/gi,'$1')};defaultUsernameDecorator=function(a,b){return isAnywherePresent()?a:a.replace(/\B@(\w+)/gi,'@')};defaultHashtagDecorator=function(a,b){return a.replace(/#([a-zA-Z0-9_]+)/gi,'#$1')};defaultLoadingDecorator=function(a){return'
  • '+a._resourceBundle._("loading")+" ...
  • "};defaultErrorDecorator=function(a,b){return'
  • '+b._resourceBundle._("ERROR")+": "+a+"
  • "};defaultNoDataDecorator=function(a){return'
  • '+a._resourceBundle._("No more data")+"
  • "};defaultTweetFilter=function(a,b){return true};defaultTweetVisualizer=function(a,b,c,d){a[c](b)};defaultLoadingIndicatorVisualizer=function(a,b,c,d){defaultVisualizer(a,b,"append","fadeIn",600,"fadeOut",200,d)};defaultAutorefreshTriggerVisualizer=function(a,b,c,d){defaultVisualizer(a,b,"prepend","slideDown",600,"fadeOut",200,d)};defaultVisualizer=function(a,b,c,d,e,f,g,h){var i=function(){if(h){h()}};if(a){b.hide();a[c](b);b[d](e,i)}else{b[f](g,function(){b.remove();i()})}};defaultOnDataRequestHandler=function(a,b){return true};defaultOnRateLimitDataHandler=function(a,b){};defaultOnOptionsInitializingHandler=function(a){};updateLoginInfoElement=function(b,c){if(b._loginInfoElement&&b.loginInfoContentDecorator){b._loginInfoElement.children().remove();b._loginInfoElement.append(b.loginInfoContentDecorator(b,c));a(b._baseSelector+" .jta-login-info-sign-out").bind("click",function(){twttr.anywhere.signOut()})}};getFeedUrl=function(a,b){var c="https:"==document.location.protocol?"https:":"http:";if(a.searchParams){c+="//search.twitter.com/search.json?"+(a.searchParams instanceof Array?a.searchParams.join("&"):a.searchParams)+"&rpp=100"}else if(a.list){if("favorites"==a.list){c+="//api.twitter.com/1/favorites/"+a.username+".json?count=20"}else{c+="//api.twitter.com/1/"+a.username+"/lists/"+a.list+"/statuses.json?per_page=20"}}else{c+="//api.twitter.com/1/statuses/user_timeline.json?screen_name="+a.username+"&count=20";if(a._tweetFeedConfig.includeRetweets)c+="&include_rts=true"}if(b){c+=(a._tweetFeedConfig._maxId?"&max_id="+a._tweetFeedConfig._maxId:"")+"&page="+a._tweetFeedConfig._pageParam}c+="&callback=?";return c};isAnywherePresent=function(){return typeof twttr!="undefined"&&typeof twttr.anywhere!="undefined"};clearTweetFeed=function(a){if(a._tweetFeedElement){a._tweetFeedElement.empty()}};setupOptions=function(b){b._resourceBundle=JTA_I18N.getResourceBundle("jTweetsAnywhere",b.locale);b._tweetBoxConfig.label=b._resourceBundle._("What's happening?");if(typeof b.username!="string"){if(!b.searchParams){b.searchParams=["q=from:"+b.username.join(" OR from:")]}b.username=b.username[0]}if(typeof b.showTweetFeed=="object"){a.extend(true,b._tweetFeedConfig,b.showTweetFeed)}if(typeof b.showTweetBox=="object"){a.extend(true,b._tweetBoxConfig,b.showTweetBox);b.showTweetBox=true}if(typeof b.showConnectButton=="object"){b._connectButtonConfig=b.showConnectButton;b.showConnectButton=true}if(b._tweetFeedConfig.showProfileImages==null){b._tweetFeedConfig.showProfileImages=b.tweetProfileImagePresent}if(b._tweetFeedConfig.showProfileImages==null){b._tweetFeedConfig.showProfileImages=(b.list||b.searchParams)&&b.tweetProfileImageDecorator}if(b._tweetFeedConfig.autoConformToTwitterStyleguide){b._tweetFeedConfig.showUserFullNames=null;b._tweetFeedConfig.showTwitterBird=true;b._tweetFeedConfig.showActionReply=true;b._tweetFeedConfig.showActionRetweet=true;b._tweetFeedConfig.showActionFavorite=true}if(b._tweetFeedConfig.showUserScreenNames==null){if(b.list||b.searchParams){b._tweetFeedConfig.showUserScreenNames=true}if(!b.tweetUsernameDecorator){b._tweetFeedConfig.showUserScreenNames=false}}if(b._tweetFeedConfig.showUserFullNames==null){if(b.list||b.searchParams){b._tweetFeedConfig.showUserFullNames=true}if(!b.tweetUsernameDecorator){b._tweetFeedConfig.showUserFullNames=false}}b.count=validateRange(b.count,0,b.searchParams?100:20);b._tweetFeedConfig.autorefresh.interval=Math.max(30,b._tweetFeedConfig.autorefresh.interval);if(b._tweetFeedConfig.autorefresh.max<=0){b._tweetFeedConfig.autorefresh.max=-1}b._tweetFeedConfig.paging._offset=0;b._tweetFeedConfig.paging._limit=b.count;if(b.count==0||!b.showTweetFeed){b.tweetFeedDecorator=null;b.tweetFeedControlsDecorator=null}if(b._tweetFeedConfig.paging.mode=="none"){b.tweetFeedControlsDecorator=null}if(!b.showFollowButton){b.followButtonDecorator=null}if(!b.showTweetBox){b.tweetBoxDecorator=null}if(!b.showConnectButton){b.connectButtonDecorator=null}if(!b.showLoginInfo){b.loginInfoDecorator=null}if(!b._tweetFeedConfig.showTwitterBird){b.tweetTwitterBirdDecorator=null}if(!b._tweetFeedConfig.showTimestamp){b.tweetTimestampDecorator=null}if(!b._tweetFeedConfig.showSource){b.tweetSourceDecorator=null}if(!b._tweetFeedConfig.showGeoLocation){b.tweetGeoLocationDecorator=null}if(!b._tweetFeedConfig.showInReplyTo){b.tweetInReplyToDecorator=null}if(!b._tweetFeedConfig.showActionReply){b.tweetActionReplyDecorator=null}if(!b._tweetFeedConfig.showActionRetweet){b.tweetActionRetweetDecorator=null}if(!b._tweetFeedConfig.showActionFavorite){b.tweetActionFavoriteDecorator=null}};setupAutorefresh=function(a){a._tweetFeedConfig.autorefresh._startTime=(new Date).getTime();startAutorefresh(a);startTimestampRefresh(a)};populateTweetFeed=function(b){if(b.tweetDecorator&&b._tweetFeedElement){getPagedTweets(b,function(b,c){if(c._tweetFeedConfig._clearBeforePopulate){clearTweetFeed(c)}hideLoadingIndicator(c,function(){a.each(b,function(b,d){c.tweetVisualizer(c._tweetFeedElement,a(c.tweetDecorator(d,c)),"append",c)});if(c._tweetFeedConfig._noData&&c.noDataDecorator&&!c._tweetFeedConfig._noDataElement){c._tweetFeedConfig._noDataElement=a(c.noDataDecorator(c));c._tweetFeedElement.append(c._tweetFeedConfig._noDataElement)}if(c._tweetFeedConfig._clearBeforePopulate){c._tweetFeedElement.scrollTop(0)}addHovercards(c)})})}};populateTweetFeed2=function(b){if(b._tweetFeedElement&&b._autorefreshTweetsCache.length>0){if(b._tweetFeedConfig.autorefresh.mode=="trigger-insert"){if(b._tweetFeedConfig.autorefresh._triggerElement){if(b.tweetFeedAutorefreshTriggerContentDecorator){b._tweetFeedConfig.autorefresh._triggerElement.html(b.tweetFeedAutorefreshTriggerContentDecorator(b._autorefreshTweetsCache.length,b))}}else{if(b.tweetFeedAutorefreshTriggerDecorator){b._tweetFeedConfig.autorefresh._triggerElement=a(b.tweetFeedAutorefreshTriggerDecorator(b._autorefreshTweetsCache.length,b));b._tweetFeedConfig.autorefresh._triggerElement.bind("click",function(){b.autorefreshTriggerVisualizer(null,b._tweetFeedConfig.autorefresh._triggerElement,b,function(){insertTriggerTweets(b)});b._tweetFeedConfig.autorefresh._triggerElement=null});b.autorefreshTriggerVisualizer(b._tweetFeedElement,b._tweetFeedConfig.autorefresh._triggerElement,b)}}}else{insertTriggerTweets(b)}}};insertTriggerTweets=function(b){if(b.tweetDecorator&&b._autorefreshTweetsCache.length>0){while(b._autorefreshTweetsCache.length>0){var c=b._autorefreshTweetsCache.pop();b._tweetsCache.unshift(c);b._tweetFeedConfig.paging._offset++;b.tweetVisualizer(b._tweetFeedElement,a(b.tweetDecorator(c,b)),"prepend",b)}addHovercards(b)}};addHovercards=function(a){if(isAnywherePresent()){twttr.anywhere(function(b){b(a._baseSelector+" .jta-tweet-list").hovercards({expanded:a._tweetFeedConfig.expandHovercards});b(a._baseSelector+" .jta-tweet-profile-image img").hovercards({expanded:a._tweetFeedConfig.expandHovercards,username:function(a){return a.alt}});b(a._baseSelector+" .jta-tweet-retweeter-link").hovercards({expanded:a._tweetFeedConfig.expandHovercards,username:function(a){return a.text}});b(a._baseSelector+" .jta-tweet-user-screen-name-link").hovercards({expanded:a._tweetFeedConfig.expandHovercards,username:function(a){return a.text}});b(a._baseSelector+" .jta-tweet-user-full-name-link").hovercards({expanded:a._tweetFeedConfig.expandHovercards,username:function(a){return a.name}})})}};populateAnywhereControls=function(b){if(isAnywherePresent()){twttr.anywhere(function(c){if(b.tweetBoxDecorator){c(b._baseSelector+" .jta-tweet-box").tweetBox(b._tweetBoxConfig)}if(b.followButtonDecorator){c(b._baseSelector+" .jta-follow-button").followButton(b.username)}if(b.connectButtonDecorator){var d=a.extend({authComplete:function(a){updateLoginInfoElement(b,c)},signOut:function(){updateLoginInfoElement(b,c)}},b._connectButtonConfig);c(b._baseSelector+" .jta-connect-button").connectButton(d);updateLoginInfoElement(b,c)}})}};bindEventHandlers=function(b){if(b.tweetFeedControlsDecorator){if(b._tweetFeedConfig.paging.mode=="prev-next"){a(b._baseSelector+" .jta-tweet-list-controls-button-prev").bind("click",function(){if(!isLoading(b)&&b._tweetFeedConfig.paging._offset>0){prevPage(b,true)}});a(b._baseSelector+" .jta-tweet-list-controls-button-next").bind("click",function(){if(!isLoading(b)){nextPage(b,true)}})}else if(b._tweetFeedConfig.paging.mode=="endless-scroll"){b._tweetFeedElement.bind("scroll",function(){if(!isLoading(b)&&a(this)[0].scrollHeight-a(this).scrollTop()==a(this).outerHeight()){nextPage(b,false)}})}else{a(b._baseSelector+" .jta-tweet-list-controls-button-more").bind("click",function(){if(!isLoading(b)){nextPage(b,false)}})}}};nextPage=function(a,b){doPage(a,b,Math.min(a._tweetFeedConfig.paging._offset+a._tweetFeedConfig.paging._limit,a._tweetsCache.length))};prevPage=function(a,b){doPage(a,b,Math.max(0,a._tweetFeedConfig.paging._offset-a._tweetFeedConfig.paging._limit))};doPage=function(a,b,c){a._tweetFeedConfig.paging._offset=c;a._tweetFeedConfig._clearBeforePopulate=b;populateTweetFeed(a)};startAutorefresh=function(a){if(a._tweetFeedConfig.autorefresh.mode!="none"&&a._tweetFeedConfig.paging.mode!="prev-next"&&a._tweetFeedConfig.autorefresh.duration!=0&&(a._tweetFeedConfig.autorefresh.duration<0||(new Date).getTime()-a._tweetFeedConfig.autorefresh._startTime<=a._tweetFeedConfig.autorefresh.duration*1e3)){window.setTimeout(function(){processAutorefresh(a)},a._tweetFeedConfig.autorefresh.interval*1e3)}};stopAutorefresh=function(a){a._tweetFeedConfig.autorefresh.duration=0};processAutorefresh=function(b){if(b._tweetFeedConfig.autorefresh.duration!=0){getRateLimitedData(b,true,getFeedUrl(b,false),function(b,c){var d=(b.results||b).slice(0);d.reverse();a.each(d,function(a,b){if(b.id_str){b.id=b.id_str}if(b.in_reply_to_status_id_str){b.in_reply_to_status_id=b.in_reply_to_status_id_str}if(!isTweetInAutorefreshCache(b,c)&&!isTweetInCache(b,c)){if(c.tweetFilter(b,c)){c._autorefreshTweetsCache.unshift(b);if(c._tweetFeedConfig.autorefresh.max>0){while(c._autorefreshTweetsCache.length>c._tweetFeedConfig.autorefresh.max){c._autorefreshTweetsCache.pop()}}}}});populateTweetFeed2(c)});startAutorefresh(b)}};startTimestampRefresh=function(a){if(a.tweetTimestampDecorator&&typeof a._tweetFeedConfig.showTimestamp=="object"&&a._tweetFeedConfig.showTimestamp.refreshInterval>0){window.setTimeout(function(){processTimestampRefresh(a)},a._tweetFeedConfig.showTimestamp.refreshInterval*1e3)}};processTimestampRefresh=function(b){a.each(b._tweetFeedElement.find(".jta-tweet-timestamp-link"),function(c,d){var e=a(d).attr("data-timestamp");a(d).html(b.tweetTimestampFormatter(e,b))});startTimestampRefresh(b)};isTweetInCache=function(a,b){var c=b._tweetsCache.length;for(var d=0;dc)a=c;return a};showError=function(a,b){if(a.errorDecorator&&a._tweetFeedElement){a._tweetFeedElement.append(a.errorDecorator(b,a))}};getPagedTweets=function(a,b){a._tweetFeedConfig._recLevel=0;getRecPagedTweets(a,a._tweetFeedConfig.paging._offset,a._tweetFeedConfig.paging._limit,b)};getRecPagedTweets=function(b,c,d,e){++b._tweetFeedConfig._recLevel;if(c+d<=b._tweetsCache.length||b._tweetFeedConfig._recLevel>3||b._tweetFeedConfig._noData){if(c+d>b._tweetsCache.length){d=Math.max(0,b._tweetsCache.length-c)}var f=[];for(var g=0;g