????
Current Path : /home2/morganrand/backup.morganrand.com/coupon/Professor Cloud_files/a_data/ |
Current File : /home2/morganrand/backup.morganrand.com/coupon/Professor Cloud_files/a_data/theme.js |
DISQUS.addBlocks("theme")(function(b){b.blocks.hovercardActions=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="#" class="full-profile" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(user.id)),a.put('">'),a.put(gettext("Full profile")),a.put("</a> "),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("followButton",f))}(),a.put(" "),a.compile()};b.blocks.realtimeIndicatorText=function(d,c){var a= new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),orientation=="north"?(a.put(" "),num==1?(a.put(" <p>"),a.put(gettext("One new comment above."))):(a.put(" <p>"),a.put(b.interpolate(gettext("%(num)s new comments above."),{num:num})))):(a.put(" "),num==1?(a.put(" <p>"),a.put(gettext("One new comment below."))):(a.put(" <p>"),a.put(b.interpolate(gettext("%(num)s new comments below."),{num:num})))),a.put("</p> "),a.put(" "), a.compile()};b.blocks.reactions=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),isOldVersion?(a.put(' <div id="reactions" style="display:none;padding-top:0;"> <div id="reaction-count"><h4>'),a.put(gettext("Reactions")),a.put('</h4></div> <ul id="reaction-list" class="post-list"> </ul> <div class="load-more" data-role="more" style="display:none"> <a href="#" data-action="more-reactions" class="btn">'),a.put(gettext("Load more reactions")), a.put("</a> </div> </div> ")):(a.put(' <section id="reactions" style="display:none;" data-role="main"> <ul id="reaction-list" class="post-list"> </ul> <div class="load-more" data-role="more" style="display:none"> <a href="#" data-action="more-reactions" class="btn">'),a.put(gettext("Load more reactions")),a.put("</a> </div> </section> ")),a.compile()};b.blocks.topThread=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<li data-role="thread-'), a.put((a.esc||function(a){return a})(id)),a.put('"> '),a.put(' <h4><span class="publisher-anchor-color"><a href="'),a.put((a.esc||function(a){return a})(url)),a.put('">'),a.put(title),a.put('</a></span></h4> <ul class="meta"> <li class="likes"> <span class="votes">'),a.put(gettext("Up votes")),a.put("</span> "),a.put((a.esc||function(a){return a})(numLikes)),a.put(" </li> "),numPosts>0&&(a.put(' <li class="bullet">\u2022</li> <li class="comments"> <a href="'), a.put((a.esc||function(a){return a})(url)),a.put('"> '),numPosts==1?(a.put(" "),a.put(gettext("1 comment"))):(a.put(" "),a.put(b.interpolate(gettext("%(numPosts)s comments"),{numPosts:numPosts}))),a.put(" "),a.put(" </a> </li> ")),a.put(' <li class="bullet">\u2022</li> <li class="time">'),a.put((a.esc||function(a){return a})(timeAgo)),a.put('</li> </ul> <div class="top-thread-post" data-role="top-thread-post"> '), a.put(" </div></li>"),a.compile()};b.blocks.contextCard=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <div class="context-card tooltip-outer"> <div class="tooltip"> <div class="notch"></div> <a href="#" class="avatar" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(post.author.id)),a.put('"> <img src="'),a.put((a.esc||function(a){return a})(post.author.avatar.cache)),a.put('" class="user" alt="'), a.put(gettext("Avatar")),a.put('" /> </a> <div class="content"> <h3><a href="#" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(post.author.id)),a.put('">'),a.put((a.esc||function(a){return a})(post.author.name)),a.put("</a></h3> <p>"),a.put(post.excerpt),a.put("</p> </div> </div> </div>"),a.compile()};b.blocks.guestForm=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <div class="guest"> <h6> '), allowAnonPost?(a.put(" "),a.put(gettext("or pick a name"))):(a.put(" "),a.put(gettext("or register with Disqus"))),a.put(" "),a.put(' </h6> <p class="input-wrapper"> <input type="text" placeholder="'),a.put(gettext("Name")),a.put('" name="author-name" maxlength="30" /> </p> <div class="guest-details '),sso&&sso.url&&a.put("expanded "),a.put('" data-role="guest-details"> <p class="input-wrapper"> <input type="text" placeholder="'), a.put(gettext("Email")),a.put('" name="author-email"/> </p> '),allowAnonPost?(a.put(' <div> <label><input type="checkbox" name="author-register"/> '),a.put(gettext("Register with Disqus")),a.put('</label> <div href="#" class="what-is-disqus">'),a.put(gettext("What's Disqus?")),a.put(' <div id="rules" class="tooltip show"> <h3>'),a.put(gettext("DISQUS is a conversation network")),a.put("</h3> <ul> <li><span>"), a.put(gettext("Disqus never moderates or censors. The rules on this community are its own.")),a.put("</span></li> <li><span>"),a.put(gettext("Your email is safe with us. It's only used for moderation and optional notifications.")),a.put("</span></li> <li><span>"),a.put(gettext("Don't be a jerk or do anything illegal. Everything is easier that way.")),a.put('</span></li> </ul> <p class="clearfix"><a href="http://docs.disqus.com/kb/terms-and-policies/" class="btn btn-small" target="_blank">'), a.put(gettext("Read full terms and conditions")),a.put("</a></p> </div> </div> <small>"),a.put(gettext("Use this to preserve your comment history and be notified of replies.")),a.put("</small> </div> ")):a.put(' <input type="checkbox" name="author-register" checked="checked" style="display:none"/> '),a.put(' </div> </div> <div class="proceed"> '),allowAnonPost?(a.put(' <button type="submit" class="btn submit">'), a.put(gettext("Post")),a.put('</button> <button type="submit" class="btn next">')):a.put(' <button type="submit" class="btn submit">'),a.put(gettext("Next")),a.put("</button> "),a.put(" </div>"),a.compile()};b.blocks.mediaUpload=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<li class="publisher-border-color" data-media-id="'),a.put((a.esc||function(a){return a})(media.location)),a.put('"> <div class="media-box"> <div class="media-ct"> <div class="media-surface"> <img src="'), a.put((a.esc||function(a){return a})(media.location)),a.put('?w=128&h=128" alt="'),a.put(gettext("Media attachment")),a.put('"> <a href="#" class="media-delete" data-action="detach">✕</a> </div> </div> </div> '),typeof progress!=="undefined"&&progress<1&&progress>=0&&(a.put(' <div class="media-progress"> <div class="bar" style="width: '),a.put((a.esc||function(a){return a})(progress*100)),a.put('%;"></div> </div> ')),a.put("</li>"),a.compile()}; b.blocks.community=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div> <div class="primary"> <h3>'),a.put(b.interpolate(gettext("Top Discussions on %(forum)s"),{forum:b.renderBlock("communityForum",forum)})),a.put('</h3> <div data-role="top-threads"></div> </div> <div class="secondary"> <h3>'),a.put(gettext("Top Commenters")),a.put('</h3> <div data-role="top-users"></div> </div></div>'),a.compile()};b.blocks.captcha=function(d, c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<form style="display:none"> <div id="recaptcha_widget" style="" class="captcha"> <div class="primary"> <div class="captcha-image"> <div id="recaptcha_image"></div> </div> <div class="recaptcha_only_if_incorrect_sol" style="display:none">'),a.put(gettext("Incorrect please try again")),a.put('</div> <div class="inputs"> <button class="btn" type="submit">'), a.put(gettext("Submit")),a.put('</button> <p class="input-wrapper"> <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" placeholder="'),a.put(gettext("Enter the words above")),a.put('"/> </p> </div> </div> <div class="secondary"> <p><a href="javascript:Recaptcha.reload()">'),a.put(gettext("Get another CAPTCHA")),a.put('</a></p> <p class="recaptcha_only_if_image"><a href="javascript:Recaptcha.switch_type(\'audio\')">'), a.put(gettext("Get an audio CAPTCHA")),a.put('</a></p> <p class="recaptcha_only_if_audio"><a href="javascript:Recaptcha.switch_type(\'image\')">'),a.put(gettext("Get an image CAPTCHA")),a.put('</a></p> </div> <div class="actions"> '),a.put(" </div> </div></form>"),a.compile()};b.blocks.postCount=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" <h4>"),count===1?a.put(gettext("1 comment")):a.put(b.interpolate(gettext("%(numPosts)s comments"), {numPosts:count})),a.put("</h4>"),a.compile()};b.blocks.reactionCount=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" <h4>"),count===1?a.put(gettext("1 reaction")):a.put(b.interpolate(gettext("%(numReactions)s reactions"),{numReactions:count})),a.put("</h4>"),a.compile()};b.blocks.realtimeCommentNotification=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),comments==1?(a.put(" "),a.put(gettext("Show One New Comment"))): (a.put(" "),a.put(b.interpolate(gettext("Show %(comments)s New Comments"),{comments:comments}))),a.put(" "),a.compile()};b.blocks.profileStats=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" <li> <h6>"),a.put(gettext("comments")),a.put('</h6> <p class="number" data-role="post-count">'),user.numPosts!==null?a.put((a.esc||function(a){return a})(user.numPosts)):a.put(" "),a.put("</p> </li> <li> <h6>"),a.put(gettext("votes")), a.put('</h6> <p class="number" data-role="vote-count">'),user.numLikesReceived!==null?a.put((a.esc||function(a){return a})(user.numLikesReceived)):a.put(" "),a.put("</p> </li> <li> <h6>"),a.put(gettext("following")),a.put('</h6> <p class="number" data-role="following-count">'),user.numFollowing!==null?a.put((a.esc||function(a){return a})(user.numFollowing)):a.put(" "),a.put("</p> </li> <li> <h6>"),a.put(gettext("followers")),a.put('</h6> <p class="number" data-role="followers-count">'), user.numFollowers!==null?a.put((a.esc||function(a){return a})(user.numFollowers)):a.put(" "),a.put("</p> </li>"),a.compile()};b.blocks.activityThreadLike=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),session&&activity.object.author.username==session.username?(a.put(" "),a.put(b.interpolate(gettext("You liked a thread: %(thread)s"),{thread:b.renderBlock("activityThread",activity.object)})),a.put(" ")):(a.put(" "),a.put(b.interpolate(gettext("%(user)s liked a thread: %(thread)s"), {user:b.renderBlock("activityUser",activity.object.author),thread:b.renderBlock("activityThread",activity.object)}))),a.compile()};b.blocks.postEditHide=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),a.compile()};b.blocks.audienceSync=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <div class="auth-section"> '),a.put(' <section data-tab="auth-external"> <div class="audiencesync"> <h6>'),a.put(b.interpolate(gettext("Connect with %(forumName)s"), {forumName:forumName})),a.put('</h6> <div class="services"> <div class="icons-container"> <img class="icon" alt="Disqus" src="'),a.put((a.esc||function(a){return a})(urls.media)),a.put('/img/next/sync-icon.png"> <img class="icon" alt="arrow to" src="'),a.put((a.esc||function(a){return a})(urls.media)),a.put('/img/next/sync-arrow.png"> <img class="icon" alt="'), a.put((a.esc||function(a){return a})(forumName)),a.put('" src="'),a.put((a.esc||function(a){return a})(urls.root)),a.put("/api/applications/icons/"),a.put((a.esc||function(a){return a})(apiKey)),a.put('.png"> </div> <p> '),a.put(b.interpolate(gettext("%(forumName)s needs permission to access your account."),{forumName:forumName})),a.put(' </p> </div> <button type="button" data-action="audiencesync" class="proceed btn submit">'), a.put(gettext("Next")),a.put("</button> </div> </section> </div>"),a.compile()};b.blocks.layout=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div id="layout"> <div id="discovery-top"></div> <div style="clear:both"></div> <div id="thread-votes" class="pull-right"></div> <div id="realtime-toggle"></div> <nav id="global-nav"> <ul class="publisher-anchor-hover"> <li class="active" data-role="global-nav"> <a href="#" id="post-count" data-nav="conversation"> '), function(){var f={};b.extend(f,c);b.extend(f,{count:thread.posts});a.put(b.renderBlock("postCount",f))}(),a.put(" </a> </li> "),thread.showReactions&&thread.reactions&&(a.put(' <span class="bullet" aria-hidden="true">\u2022</span> <li data-role="global-nav"> <a href="#" id="reaction-count" data-nav="reactions"> '),function(){var f={};b.extend(f,c);b.extend(f,{count:thread.reactions});a.put(b.renderBlock("reactionCount", f))}(),a.put(" </a> </li> ")),a.put(' </ul> </nav> <div id="form"></div> <div id="main-nav" class="nav"> <ul> <li class="active dropdown"> <a href="#" data-nav="conversation" class="dropdown-toggle publisher-nav-color" data-toggle="dropdown"> '),a.put(gettext("Discussion")),a.put(' <span class="caret"></span><span class="divider"></span></a> <ul class="dropdown-menu"> <li '), order==="popular"&&a.put('class="selected"'),a.put('> <a href="#" data-action="sort" data-sort="popular">'),a.put(gettext("Best")),a.put("</a> </li> <li "),order==="desc"&&a.put('class="selected"'),a.put('> <a href="#" data-action="sort" data-sort="desc">'),a.put(gettext("Newest")),a.put("</a> </li> <li "),order==="asc"&&a.put('class="selected"'),a.put('> <a href="#" data-action="sort" data-sort="asc">'), a.put(gettext("Oldest")),a.put('</a> </li> </ul> </li> <li><a href="#" data-nav="community" class="publisher-nav-color" id="community-tab">'),a.put(gettext("Community")),a.put('<span class="divider"></span></a></li> <li><a href="#" data-nav="dashboard" style="display:none" class="publisher-nav-color">'),a.put(gettext("My Disqus")),a.put(' <span class="notification-count" data-role="notification-count" style="display:none"></span><span class="divider"></span></a></li> <li class="user-menu dropdown" data-role="logout"> <\!-- rendered dynamically --\> </li> <li id="thread-share-menu" class="share-menu dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> '), a.put(gettext("Share")),a.put(' <span class="caret"> </span> </a> <ul class="dropdown-menu pull-right"> <li class="share">'),a.put(gettext("Share this discussion on")),a.put(' <ul> <li class="twitter"> <a data-action="share:twitter" href="#">Twitter</a> </li> <li class="facebook"> <a data-action="share:facebook" href="#">Facebook</a> </li> </ul> </li> </ul> </li> </ul> </div> <section id="conversation" data-role="main"> <div id="posts"> <button class="alert realtime" style="display: none" data-action="load-queued-posts" data-role="realtime-notification"> <\!-- Show 2 new posts. --\> </button> <\!-- This message appears when there are no comments --\> <div id="no-posts" style="display:none">'), a.put(gettext("No one has commented yet.")),a.put('</div> <ul id="post-list" class="post-list loading"> </ul> <div class="load-more" data-role="more" style="display:none"> <a href="#" data-action="more-posts" class="btn">'),a.put(gettext("Load more comments")),a.put("</a> </div> </div> "),thread.showReactions||(a.put(" "),function(){var f={};b.extend(f,c);b.extend(f,{isOldVersion:!0});a.put(b.renderBlock("reactions",f))}(), a.put(" ")),a.put(' </section> <section id="community" style="display:none" data-role="main"> <\!-- Community goes here --\> </section> <section id="dashboard" style="display:none" data-role="main"> <\!-- Dashboard goes here --\> <\!-- Default message if there are no notifications or activity to show --\> <p style="line-height: 1.4">'),a.put(gettext("Nothing for you here ... yet. But as you comment with Disqus and follow other Disqus users, you will start to receive notifications here, as well as a personalized feed of activity by you and the people you follow. So get out there and participate in some discussions!")), a.put('</p> </section> <section id="profile" style="display:none" data-role="main"> </section> '),thread.showReactions&&(a.put(" "),function(){var f={};b.extend(f,c);b.extend(f,{isOldVersion:!1});a.put(b.renderBlock("reactions",f))}(),a.put(" ")),a.put(' <div id="discovery"></div> <div id="footer"> <ul> <li class="logo"><a href="http://disqus.com" title="'),a.put(gettext("Powered by Disqus")),a.put('">'),a.put(gettext("Powered by Disqus")),a.put('</a></li> <li class="rss"><a href="'), a.put((a.esc||function(a){return a})(thread.feed)),a.put('"><i aria-hidden="true" class="icon-feed" title="'),a.put(gettext("in reply to")),a.put('"></i><span class="clip">'),a.put(gettext("Comment feed")),a.put('</span></a></li> <li id="thread-subscribe-button" class="email"> <\!-- Three options: nothing, show-form, subscribed --\> <div class="default"> <a href="#" data-action="subscribe"><i aria-hidden="true" class="icon-mail" title="'),a.put(gettext("Get email updates")), a.put('"></i><span class="clip">'),a.put(gettext("Subscribe via email")),a.put('</span> <i aria-hidden="true" class="icon-checkmark" title="'),a.put(gettext("Subscribe via email")),a.put('"></i></a> </div> <div class="form"> <div class="input-wrapper"><input id="thread-subscribe-email" type="text" placeholder="yourname@email.com"/></div> </div> </li> </ul> </div></div>'),a.compile()};b.blocks.activityLike=function(d, c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),session&&activity.object.author.username==session.username?(a.put(" "),a.put(b.interpolate(gettext("You voted up a %(comment)s"),{comment:b.renderBlock("activityComment",activity.object.post)}))):(a.put(" "),a.put(b.interpolate(gettext("%(user)s voted up a %(comment)s"),{user:b.renderBlock("activityUser",activity.object.author),comment:b.renderBlock("activityComment",activity.object.post)}))),a.put(" "),a.compile()}; b.blocks.realtimeToggleButton=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="#" class="btn small play pause" data-action="realtime:toggle"><span></span>'),a.put(gettext("Realtime")),a.put("</a>"),a.compile()};b.blocks.realtimeReplyNotification=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),replies==1?(a.put(' <span class="indicator"></span>'),a.put(gettext("Show 1 new reply"))):(a.put(' <span class="indicator"></span>'), a.put(b.interpolate(gettext("Show %(replies)s new replies"),{replies:replies}))),a.put(" "),a.compile()};b.blocks.topThreadPost=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div> <div class="avatar"> <a href="'),a.put((a.esc||function(a){return a})(author.profileUrl)),a.put('" class="user" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(author.id)),a.put('"> <img src="'),a.put((a.esc||function(a){return a})(author.avatar.cache)), a.put('" /> </a> </div> <div> <p> <strong><a href="'),a.put((a.esc||function(a){return a})(author.profileUrl)),a.put('" class="user" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(author.id)),a.put('"> '),a.put((a.esc||function(a){return a})(author.name||author.username)),a.put("</a></strong> — "),a.put(message),a.put(" </p> </div></div>"),a.compile()};b.blocks.threadVotes=function(d,c){var a=new b.Builder,e=DISQUS.extend({}, d,c);with(e)return a.put(' <div class="thread-likes '),thread.userScore>0&&a.put("upvoted"),a.put('" data-role="vote-button"> <a href="#" data-action="upvote" title="'),a.put(gettext("Star this discussion")),a.put('"> <span class="notch"></span> <span class="icon-star"></span> <span class="counter"><span data-role="like-count">'),a.put((a.esc||function(a){return a})(thread.likes)),a.put('</span></span> <img src="'),a.put((a.esc||function(a){return a})(urls.media)), a.put('/img/next/checkx2.png" class="check-mark" alt="'),a.put(gettext("Voted")),a.put('" width="10" height="8" /> </a> </div>'),a.compile()};b.blocks.activityComment=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="'),a.put((a.esc||function(a){return a})(url)),a.put('">'),a.put(gettext("comment")),a.put("</a>"),a.compile()};b.blocks.hovercardCounters=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),user.numPosts=== 1?(a.put(" "),a.put(gettext("1 comment"))):(a.put(" "),a.put(b.interpolate(gettext("%(numPosts)s comments"),{numPosts:user.numPosts}))),a.put(" "),a.put(' <span class="bullet">\u2022</span> '),user.numLikesReceived===1?(a.put(" "),a.put(gettext("1 vote"))):(a.put(" "),a.put(b.interpolate(gettext("%(numLikesReceived)s votes"),{numLikesReceived:user.numLikesReceived}))),a.put(" "),a.compile()};b.blocks.activityUser=function(d,c){var a=new b.Builder,e=DISQUS.extend({}, d,c);with(e)return a.put(" "),typeof id!=="undefined"?(a.put(' <a href="#" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(id)),a.put('">'),a.put((a.esc||function(a){return a})(name||username)),a.put("</a> ")):(a.put(" "),a.put((a.esc||function(a){return a})(name||username)),a.put(" ")),a.compile()};b.blocks.realtimeIndicator=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" <!doctype html> <html> <style> html * "), a.put("{ margin: 0; padding: 0; cursor: pointer; }"),a.put(" div "),a.put("{ text-align: center; font-family: \"Helvetica Neue\", Helvetica, sans-serif; border: 2px solid #ccc; background: #f4f4f4; background-color: rgba(248, 248, 248, 0.98); background-repeat: repeat-x; background-image: -khtml-gradient(linear, left top, left bottom, from(rgba(253, 253, 253, 0.8)), to(rgba(248, 248, 248, 0.98))); background-image: -moz-linear-gradient(top, rgba(253, 253, 253, 0.8), rgba(248, 248, 248, 0.98)); background-image: -ms-linear-gradient(top, rgba(253, 253, 253, 0.8), rgba(248, 248, 248, 0.98)); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(253, 253, 253, 0.8)), color-stop(100%, rgba(248, 248, 248, 0.98))); background-image: -webkit-linear-gradient(top, rgba(253, 253, 253, 0.8), rgba(248, 248, 248, 0.98)); background-image: -o-linear-gradient(top, rgba(253, 253, 253, 0.8), rgba(248, 248, 248, 0.98)); background-image: linear-gradient(top, rgba(253, 253, 253, 0.8), rgba(248, 248, 248, 0.98)); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(253, 253, 253, 0.8)', endColorstr='rgba(248, 248, 248, 0.98)', GradientType=0); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); color: #777; padding: 7px 0; margin: 0; filter: alpha(opacity=90); -khtml-opacity: 0.9; -moz-opacity: 0.9; opacity: 0.9; cursor: pointer; font-size: 13px; line-height: 1; z-index: 1000; }"), a.put(" div.north "),a.put("{ border-top: 0; -webkit-border-radius: 0 0 4px 4px; -moz-border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px; }"),a.put(" div.south "),a.put("{ border-bottom: 0; -webkit-border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0; }"),a.put(' </style> <div class="'), a.put((a.esc||function(a){return a})(orientation)),a.put('" id="message">'),a.put(gettext("This text should be here.")),a.put("</div> </html>"),a.compile()};b.blocks.postVotes=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="#" class="vote-up '),post.userScore>0&&a.put("upvoted"),a.put('" data-action="upvote" title="'),a.put(gettext("Vote up")),a.put('"> <span class="updatable count count-'),a.put((a.esc||function(a){return a})(post.likes)),a.put('" data-role="likes">'), a.put((a.esc||function(a){return a})(post.likes)),a.put('</span> <span class="control"><i aria-hidden="true" class="icon-arrow-2"></i></span> </a> <a class="vote-down '),post.userScore<0&&a.put("downvoted"),a.put('" '),session.id&&a.put('href="#" data-action="downvote"'),a.put(' title="'),a.put(gettext("Vote down")),a.put('"> <span class="updatable count count-'),a.put((a.esc||function(a){return a})(post.dislikes)),a.put('" data-role="dislikes">'),a.put((a.esc||function(a){return a})(post.dislikes)), a.put('</span> <span class="control"><i aria-hidden="true" class="icon-arrow"></i></span> '),session.id||(a.put('<span class="tooltip">'),a.put(gettext("You must sign in to down-vote this post.")),a.put("</span>")),a.put(" </a>"),a.compile()};b.blocks.postFooter=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),post.id&&(a.put(' <menu> <li class="realtime" data-role="realtime-notification:'),a.put((a.esc||function(a){return a})(post.id)), a.put('"> <span style="display:none;" class="realtime-replies"></span> <a style="display:none;" href="#" class="btn small" data-action="load-queued-posts"></a> <\!-- Realtime notification about new replies --\> </li> <li class="voting" data-role="voting"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("postVotes",f))}(),a.put(' </li> <li class="bullet" aria-hidden="true">\u2022</li> '),!thread.isClosed&& session.id&&post.author.id===session.id&&(a.put(' <li class="edit"><a href="#" data-action="edit">'),a.put(gettext("Edit")),a.put('</a></li> <li class="bullet" aria-hidden="true">\u2022</li> ')),a.put(" "),!thread.isClosed&&session.thread.canReply&&(a.put(' <li class="reply"><a href="#" data-action="reply">'),a.put(gettext("Reply")),a.put('</a></li> <li class="bullet" aria-hidden="true">\u2022</li> ')),a.put(' <li class="share"> <a class="toggle">'), a.put(gettext("Share")),a.put(' \u203a</a> <ul> <li class="twitter"><a href="#" data-action="share:twitter">Twitter</a></li> <li class="facebook"><a href="#" data-action="share:facebook">Facebook</a></li> <li class="link"><a href="#comment-'),a.put((a.esc||function(a){return a})(post.id)),a.put('">'),a.put(gettext("Link")),a.put("</a></li> </ul> </li> </menu> ")),a.compile()};b.blocks.communityForum=function(d,c){var a= new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" <strong>"),a.put((a.esc||function(a){return a})(name)),a.put("</strong>"),a.compile()};b.blocks.networkActivityThreadEntry=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <li class="network-activity-group"> <h5>'),a.put(b.interpolate(gettext("Discussion on %(forum)s"),{forum:b.renderBlock("networkForumLink",thread)})),a.put("</h5> "),a.put(' <h4><a href="'),a.put((a.esc||function(a){return a})(thread.link)), a.put('">'),a.put(thread.title),a.put('</a></h4> <ul data-role="posts" class="post-list"/> </li>'),a.compile()};b.blocks.profile=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put("<div "),user.isFollowing&&a.put('class="following"'),a.put('> <div class="return publisher-anchor-color"> <a href="#" data-action="close">\u2190 '),a.put(gettext("Go back")),a.put('</a> </div> <div class="user-info publisher-anchor-color"> <div class="avatar"><img src="'), a.put((a.esc||function(a){return a})(user.avatar.cache)),a.put('"/></div> <header> <h2>'),a.put((a.esc||function(a){return a})(user.name)),a.put('</h2> <ul data-role="connections" class="services"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("profileConnections",f))}(),a.put(" </ul> </header> <p> "),user.location&&a.put((a.esc||function(a){return a})(user.location)),a.put(" "), user.location&&user.url&&a.put(' <span class="bullet">\u2022</span> '),a.put(" "),user.url&&(a.put('<a href="'),a.put((a.esc||function(a){return a})(user.url)),a.put('">'),a.put((a.esc||function(a){return a})(user.url)),a.put("</a>")),a.put(" </p> "),user.about&&(a.put("<p>"),a.put((a.esc||function(a){return a})(user.about)),a.put("</p>")),a.put(" "),user.thread.canModerate&&(a.put(' <p><span class="badge moderator">'),a.put(gettext("MODERATOR")), a.put("</span><p> ")),a.put(' </div> <div class="user-stats"> <div class="follow pull-right" data-role="actions"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("profileActions",f))}(),a.put(' </div> <ul class="numbers" data-role="profile-stats"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("profileStats",f))}(),a.put(' </div> </div> <div data-role="user-activity" class="user-activity"></div></div>'), a.compile()};b.blocks.hovercard=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div class="tooltip-outer"> <div class="tooltip"> <div class="notch"></div> <a href="#" class="avatar" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(user.id)),a.put('"> <img src="'),a.put((a.esc||function(a){return a})(user.avatar.cache)),a.put('" class="user" alt="'),a.put(gettext("Avatar")),a.put('" /> </a> <div class="content"> <h3> <a href="#" data-action="profile" data-user="'), a.put((a.esc||function(a){return a})(user.id)),a.put('">'),a.put((a.esc||function(a){return a})(user.name)),a.put("</a> "),user.thread.canModerate&&(a.put('<span class="badge moderator">'),a.put(gettext("MOD")),a.put("</span>")),a.put(" </h3> "),user.about&&(a.put(' <p class="bio">'),a.put((a.esc||function(a){return a})(user.about)),a.put("</p> ")),a.put(' <p class="stats" data-role="counters"> '),user.numPosts!== null&&user.numLikesReceived!==null&&(a.put(" "),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("hovercardCounters",f))}(),a.put(" ")),a.put(' </p> </div> <footer data-role="actions"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("hovercardActions",f))}(),a.put(" </footer> </div></div>"),a.compile()};b.blocks.form=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c); with(e)return a.put('<div class="reply '),parent&&a.put("expanded"),a.put(" "),user.id&&a.put("authenticated"),a.put('"> <div class="alert error" style="display:none" role="alert"> <a class="close" data-action="dismiss-alert" title="'),a.put(gettext("Dismiss")),a.put('">\u00d7</a> <span><\!-- error goes here --\></span> </div> <div class="postbox"> <div class="avatar"> '),user.id?(a.put(' <a href="#" class="user" data-action="profile" data-user="'), a.put((a.esc||function(a){return a})(user.id)),a.put('"> <img data-role="user-avatar" src="'),a.put((a.esc||function(a){return a})(user.avatar.cache)),a.put('"/> </a> ')):(a.put(' <span class="user"> <img data-role="user-avatar" src="'),a.put((a.esc||function(a){return a})(user.avatar.cache)),a.put('"/> </span> ')),a.put(' </div> <form action=""> <div class="textarea-wrapper" data-role="textarea"> <textarea class="textarea" placeholder="'), a.put(gettext("Leave a message...")),a.put('">'),a.put((a.esc||function(a){return a})(message)),a.put('</textarea> <div data-role="drag-drop-placeholder" class="media-drag-hover" style="display: none"> <div class="drag-text"> ⬇ '),a.put(gettext("Drag and drop your images here to upload them.")),a.put(" </div> </div> "),allowMedia&&(a.put(' <div class="media-preview'),mediaList.length|| a.put(" empty"),a.put('" data-role="media-preview"> <ul data-role="media-preview-list"> '),b.each(mediaList,function(f,c){var d={media:f,index:c};a.put(" ");(function(){var f={};b.extend(f,d);b.extend(f,{});a.put(b.renderBlock("mediaUpload",f))})();a.put(" ")}),a.put(' </ul> <div class="media-expanded empty" data-role="media-preview-expanded"> '),a.put(' <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-role="media-preview-expanded-image"> </div> </div> ')), a.put(' <div class="post-actions"> <ul class="wysiwyg"> '),allowMedia&&(a.put(' <li> <a href="#" tabindex="-1" data-action="attach" class="attach" title="'),a.put(gettext("Upload Images")),a.put('"><span>'),a.put(gettext("Attach")),a.put('</span></a> <input type="file" data-role="media-upload" tabindex="-1" '), typeof FormData==="undefined"?(a.put(" "),a.put(' class="ie" name="attachment" ')):a.put(' class="regular" accept="image/*" '),a.put(" > </li> ")),a.put(" "),a.put(" </ul> "), a.put(" "),user.id&&!audienceSyncRequired&&(a.put(' <div class="logged-in auth-section"> <section> <div class="temp-post" style="text-align: right"> <button type="submit" class="btn" /> '),a.put(b.interpolate(gettext("Post as %(name)s"),{name:b.renderBlock("formUser",user)})),a.put(" </button> </div> </section> </div> ")), a.put(" </div> </div> "),user.id?audienceSyncRequired&&(a.put(" "),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("audienceSync",f))}(),a.put(" ")):(a.put(" "),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("loginArea",f))}(),a.put(" ")),a.put(" </form> </div></div>"),a.compile()};b.blocks.reactionMenu=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d, c);with(e)return a.put(" "),thread&&thread.canModerate&&(a.put(' <a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a> <ul class="dropdown-menu invisible"> <li><a href="#" data-action="remove">'),a.put(gettext("Remove")),a.put("</a></li> </ul> ")),a.compile()};b.blocks.suggestions=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <ul class="suggestions"> <li class="header"> <h5>'),a.put(gettext("in this conversation")), a.put("</h5> </li> "),b.each(users,function(f){a.put(' <li data-cid="');a.put((a.esc||function(a){return a})(f.cid));a.put('"> <img src="');a.put((a.esc||function(a){return a})(f.avatar.cache));a.put('" class="avatar"> <span>');a.put((a.esc||function(a){return a})(f.name||f.username));a.put("</span> </li> ")}),a.put(" </ul>"),a.compile()};b.blocks.formUser=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <span data-role="username">'), a.put((a.esc||function(a){return a})(name)),a.put("</span>"),a.compile()};b.blocks.loginArea=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div class="logged-out auth-section"> <section data-tab="auth-external"> <div class="connect"> <h6>'),a.put(gettext("Sign in with")),a.put('</h6> <ul class="services"> '),sso&&sso.url&&(a.put(' <li class="sso"> <a data-action="auth:sso" href="'),a.put((a.esc|| function(a){return a})(sso.url)),a.put('" title="'),a.put((a.esc||function(a){return a})(sso.name)),a.put('" class="'),sso.button?a.put("image"):a.put("no-image"),a.put('"> '),sso.button?(a.put(' <img alt="'),a.put((a.esc||function(a){return a})(sso.name)),a.put('" src="'),a.put((a.esc||function(a){return a})(sso.button)),a.put('"/> ')):(a.put(" "),a.put((a.esc|| function(a){return a})(sso.name)),a.put(" ")),a.put(" </a> </li> ")),a.put(' <li class="auth-twitter"> <a data-action="auth:twitter" href="#" title="Twitter">Twitter</a> </li> <li class="auth-facebook"> <a data-action="auth:facebook" href="#" title="Facebook">Facebook</a> </li> <li class="auth-google"> <a data-action="auth:google" href="#" title="Google">Google</a> </li> <li class="auth-disqus"> <a data-action="auth:disqus" href="#" title="Disqus">Disqus</a> </li> </ul> </div> '), function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("guestForm",f))}(),a.put(" </section></div>"),a.compile()};b.blocks.alert=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <div class="alert '),a.put((a.esc||function(a){return a})(type)),a.put('"> <a class="close" data-action="dismiss"/>\u00d7</a> '),safe?(a.put(" <span>"),a.put(message)):(a.put(" <span>"),a.put((a.esc||function(a){return a})(message))),a.put("</span> "), a.put(" </div>"),a.compile()};b.blocks.blacklist=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<form class="moderate '),loading&&a.put("loading"),a.put('"> <h5>'),a.put(gettext("Add to blacklist")),a.put("</h5> "),post.author.id&&(a.put(' <label><input type="checkbox" name="user" value="'),a.put((a.esc||function(a){return a})(post.author.id)),a.put('" checked="checked"/> '),a.put(gettext("User")),a.put(": "),a.put((a.esc||function(a){return a})(post.author.username)), a.put("</label> ")),a.put(' <label><input type="checkbox" name="email" value="'),a.put((a.esc||function(a){return a})(post.author.email)),a.put('"> '),a.put(gettext("Email")),a.put(": "),a.put((a.esc||function(a){return a})(post.author.email)),a.put('</label> <label><input type="checkbox" name="ip" value="'),a.put((a.esc||function(a){return a})(post.ipAddress)),a.put('"> '),a.put(gettext("IP Address")),a.put(": "),a.put((a.esc||function(a){return a})(post.ipAddress)),a.put('</label> <label><input type="checkbox" name="retroactive" value="1"/> '), a.put(gettext("Apply retroactively")),a.put('</label> <div class="actions"> <button class="btn small" type="submit">'),a.put(gettext("Save")),a.put('</button> <button class="btn small" data-action="cancel">'),a.put(gettext("Cancel")),a.put("</button> </div></form>"),a.compile()};b.blocks.notifications=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div> <ul class="notifications" data-role="entries"></ul> <div data-role="no-notifications" style="display:none"> '), a.put(gettext("You have no notifications.")),a.put(' </div> <div class="load-more" data-role="more-notifications" style="display:none"> <a href="#" data-action="more" class="btn">'),a.put(gettext("Load more notifications")),a.put("</a> </div></div>"),a.compile()};b.blocks.networkForumLink=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<strong><a href="'),a.put((a.esc||function(a){return a})(forum.url)),a.put('">'),a.put((a.esc||function(a){return a})(forum.name)), a.put("</a></strong>"),a.compile()};b.blocks.postMenu=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),post.id&&(a.put(' <a class="dropdown-toggle" data-toggle="dropdown" href="#"><b class="caret"></b></a> <ul class="dropdown-menu invisible"> '),session.thread.canModerate?(a.put(' <li><a href="#" data-action="spam">'),a.put(gettext("Mark as Spam")),a.put('</a></li> <li><a href="#" data-action="delete">'),a.put(gettext("Delete")), a.put('</a></li> <li><a href="#" data-action="blacklist">'),a.put(gettext("Blacklist")),a.put('</a></li> <li><a href="'),a.put((a.esc||function(a){return a})(urls.moderate)),a.put("#/approved/search/id:"),a.put((a.esc||function(a){return a})(post.id)),a.put('" target="_blank">'),a.put(gettext("Moderate"))):(a.put(" "),session.id&&post.author&&post.author.id===session.id&&(a.put(' <li><a href="#" data-action="delete">'),a.put(gettext("Delete")),a.put("</a></li> ")), a.put(' <li><a href="#" data-action="flag">'),a.put(gettext("Flag as inappropriate"))),a.put("</a></li> "),a.put(" </ul> ")),a.compile()};b.blocks.profileConnections=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),user.connections&&(a.put(" "),"twitter"in user.connections&&(a.put(' <li class="twitter"><a href="'),a.put((a.esc||function(a){return a})(user.connections.twitter.url)),a.put('">Twitter</a></li> ')),a.put(" "), "facebook"in user.connections&&(a.put(' <li class="facebook"><a href="'),a.put((a.esc||function(a){return a})(user.connections.facebook.url)),a.put('">Facebook</a></li> ')),a.put(" "),"google"in user.connections&&(a.put(' <li class="google"><a href="'),a.put((a.esc||function(a){return a})(user.connections.google.url)),a.put('">Google</a></li> ')),a.put(" ")),a.compile()};b.blocks.activityPost=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "), session&&activity.object.author.username==session.username?(a.put(" "),a.put(b.interpolate(gettext("You posted a %(comment)s in %(thread)s"),{comment:b.renderBlock("activityComment",activity.object),thread:b.renderBlock("activityThread",activity.object)}))):(a.put(" "),a.put(b.interpolate(gettext("%(user)s posted a %(comment)s in %(thread)s"),{user:b.renderBlock("activityUser",activity.object.author),comment:b.renderBlock("activityComment",activity.object),thread:b.renderBlock("activityThread", activity.object)}))),a.put(" "),a.compile()};b.blocks.post=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<li class="post'),(post.isDeleted||post.isMinimized)&&a.put(" minimized "),a.put('" '),post.id&&(a.put('id="post-'),a.put((a.esc||function(a){return a})(post.id)),a.put('"')),a.put('> <div data-role="post-content" class="post-content '),post.isRealtime&&a.put("new"),a.put('"> <div class="indicator"></div> '),post.isDeleted?(a.put(' <div class="avatar"> <img data-src="'), a.put((a.esc||function(a){return a})(urls.media)),a.put('/images/noavatar92.png" class="user" alt="'),a.put(gettext("Avatar")),a.put('" /> </div> <div class="post-body"> <div class="post-message"> <p>'),a.put(gettext("This comment was deleted.")),a.put("</p> </div> </div> ")):post.isMinimized?(a.put(' <div class="avatar"> <a href="#" class="user" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(post.author.id)), a.put('"> <img data-src="'),a.put((a.esc||function(a){return a})(post.author.avatar.cache)),a.put('" class="user" alt="'),a.put(gettext("Avatar")),a.put('" /> </a> </div> <div class="post-body"> <div class="post-message publisher-anchor-color"> '),!created&&!post.isApproved?(a.put(" <p>"),a.put(gettext("This comment is awaiting moderation.")),a.put(' <a href="#" data-action="reveal">'),a.put(gettext("Show comment."))): post.isApproved?(a.put(" <p>"),a.put(gettext("Comment score below threshold.")),a.put(' <a href="#" data-action="reveal">'),a.put(gettext("Show comment."))):(a.put(" <p>"),a.put(gettext("Your comment is awaiting moderation.")),a.put(' <a href="#" data-action="reveal">'),a.put(gettext("See your comment."))),a.put("</a></p> "),a.put(" </div> </div> ")):(a.put(" "),post.author.id&&post.author.id!=="0"?(a.put(' <div class="avatar hovercard"> <a href="#" class="user" data-action="profile" data-user="'), a.put((a.esc||function(a){return a})(post.author.id)),a.put('"> <img data-src="'),a.put((a.esc||function(a){return a})(post.author.avatar.cache)),a.put('" alt="'),a.put(gettext("Avatar")),a.put('" /> </a> </div> ')):(a.put(' <div class="avatar"> <div class="user"><img data-src="'),a.put((a.esc||function(a){return a})(post.author.avatar.cache)),a.put('" class="user" alt="'),a.put(gettext("Avatar")),a.put('" /></div> </div> ')), a.put(' <div class="post-body"> <header> '),post.author.id&&post.author.id!=="0"?(a.put(' <span class="publisher-anchor-color"><a href="#" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(post.author.id)),a.put('">'),a.put((a.esc||function(a){return a})(post.author.name)),a.put("</a></span> "),post.author.thread.canModerate&&(a.put(' <span class="badge moderator">'),a.put(gettext("Mod")), a.put("</span> ")),a.put(" ")):(a.put(' <span class="name">'),a.put((a.esc||function(a){return a})(post.author.name)),a.put("</span> ")),a.put(" </span> "),post.parent&&(a.put(' <span><a href="#comment-'),a.put((a.esc||function(a){return a})(post.parent)),a.put('" class="parent-link" data-role="parent-link"><i aria-hidden="true" class="icon-forward" title="in reply to"></i> '),a.put((a.esc|| function(a){return a})(parentAuthorName)),a.put("</a></span> ")),a.put(' <span class="bullet" aria-hidden="true">\u2022</span> '),post.id?(a.put(' <a href="#comment-'),a.put((a.esc||function(a){return a})(post.id)),a.put('" data-role="relative-time" class="time-ago" title="'),a.put((a.esc||function(a){return a})(post.formattedCreatedAt)),a.put('"> '),a.put((a.esc||function(a){return a})(post.relativeCreatedAt)), a.put(" </a> ")):(a.put(' <span class="time-ago" data-role="relative-time" title="'),a.put((a.esc||function(a){return a})(post.formattedCreatedAt)),a.put('"> '),a.put((a.esc||function(a){return a})(post.relativeCreatedAt)),a.put(" </span> ")),a.put(' <ul class="post-menu"> <li class="collapse"><a href="#" data-action="collapse" title="'),a.put(gettext("Collapse")), a.put('">\u2212</a></li> <li class="expand" style="display:none"><a href="#" data-action="collapse" title="'),a.put(gettext("Expand")),a.put('">+</a></li> <li class="dropdown" data-role="menu" role="menu"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("postMenu",f))}(),a.put(' </li> </ul> </header> <\!-- Use message-container to manage visible height of the post message (including media) --\> <div class="post-message-container" data-role="message-container"> <\!-- Use message-content to measure post content (including media) --\> <div data-role="message-content"> <div class="post-message publisher-anchor-color '), loading&&a.put("loading"),a.put('" data-role="message"> '),post.message===""?(a.put(" <p><i>"),a.put(gettext("This comment has no content.")),a.put("</i></p> ")):(a.put(" "),a.put(post.message),a.put(" ")),a.put(" </div> "),post.media.length&&(a.put(' <div class="post-media '),showNewMedia||a.put("show-old-media"), a.put('"> <ul> '),b.each(post.media,function(b){a.put(" ");b.type==1||b.type==5?(a.put(' <li><a href="'),a.put((a.esc||function(a){return a})(b.location)),a.put('" target="_blank"><img data-src="'),a.put((a.esc||function(a){return a})(b.location+"?w="+thumbnailWidth+"&h="+thumbnailHeight)),a.put('" data-post="'),a.put((a.esc||function(a){return a})(post.cid)),a.put('" /></a></li> ')): b.type==2?(a.put(' <li><a href="http://www.youtube.com/v/'),a.put((a.esc||function(a){return a})(b.location)),a.put('&hl=en_US&fs=1&" target="_blank"><img data-src="'),a.put((a.esc||function(a){return a})(b.thumbnailURL)),a.put('" data-post="'),a.put((a.esc||function(a){return a})(post.cid)),a.put('" /></a></li> ')):b.type==4&&(a.put(' <li><a href="'),a.put((a.esc||function(a){return a})(b.metadata.url)), a.put('" target="_blank"><img data-src="'),a.put((a.esc||function(a){return a})(b.metadata.medium)),a.put('" data-post="'),a.put((a.esc||function(a){return a})(post.cid)),a.put('" /></a></li> '));a.put(" ")}),a.put(" </ul> </div> ")),a.put(' </div> </div> <div class="message-shadow hidden" data-role="message-shadow"></div> <a href="#" class="more-button hidden" title="'), a.put(gettext("see more")),a.put('" data-action="post-expand">'),a.put(gettext("see more")),a.put("</a> <footer> "),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("postFooter",f))}(),a.put(" </footer> </div> ")),a.put(' <div data-role="blacklist-form"></div> </div> <\!-- Child comments are appended here --\> <ul data-role="children" class="children"/></li>'),a.compile()};b.blocks.topUser=function(d,c){var a=new b.Builder, e=DISQUS.extend({},d,c);with(e)return a.put('<li class="top-user"> <div class="avatar"> <a href="'),a.put((a.esc||function(a){return a})(user.profileUrl)),a.put('" class="user" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(user.id)),a.put('"> <img class="avatar" src="'),a.put((a.esc||function(a){return a})(user.avatar.cache)),a.put('" /> </a> </div> <div> <h5> <span class="publisher-anchor-color"><a href="'),a.put((a.esc|| function(a){return a})(user.profileUrl)),a.put('" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(user.id)),a.put('"> '),a.put((a.esc||function(a){return a})(user.name||user.username)),a.put(" </a></span> </h5> <p> "),user.numPosts==1?(a.put(" "),a.put(gettext("1 comment")),a.put(" ")):user.numPosts>=0&&(a.put(" "),a.put(b.interpolate(gettext("%(numPosts)s comments"),{numPosts:user.numPosts})),a.put(" ")), a.put(" </p> </div></li>"),a.compile()};b.blocks.reaction=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <li class="post clearfix"> <div class="post-content"> <div class="avatar"> <a href="'),a.put((a.esc||function(a){return a})(reaction.author.url)),a.put('" target="_blank" class="user"> <img src="'),a.put((a.esc||function(a){return a})(reaction.author.avatar.cache)),a.put('" alt="'),a.put(gettext("Avatar")), a.put('" /> </a> <div class="service"></div> </div> <div class="post-body publisher-anchor-color"> <header> <a href="'),a.put((a.esc||function(a){return a})(reaction.author.url)),a.put('" target="_blank">'),a.put((a.esc||function(a){return a})(reaction.author.name)),a.put('</a> <span class="bullet">\u2022</span> <a class="time-ago" data-role="relative-time" href="'),a.put((a.esc|| function(a){return a})(reaction.url)),a.put('" target="_blank"> '),a.put((a.esc||function(a){return a})(reaction.relativeCreatedAt)),a.put('</a> </a> <div class="post-menu dropdown" data-role="menu"> '),function(){var f={};b.extend(f,c);b.extend(f,{});a.put(b.renderBlock("reactionMenu",f))}(),a.put(' </div> </header> <div class="post-message"> <p> '), a.put(" "),reaction.body.match(/\<a /)?(a.put(" "),a.put(reaction.body)):(a.put(" "),a.put((a.esc||function(a){return a})(reaction.body))),a.put(" "),a.put(" </p> </div> </div> </div> </li></ul>"),a.compile()};b.blocks.userMenu=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <span class="cog"><i aria-hidden="true" class="icon-cog"></i></span><b class="caret"></b> </a> <ul class="dropdown-menu"> '), user.id?(a.put(' <li> <a href="#" data-role="user-profile-link" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(user.id)),a.put('"> '),a.put((a.esc||function(a){return a})(user.name||user.username)),a.put(" </a> </li> "),user.remote||(a.put(" "),a.put(' <li> <a href="'),a.put((a.esc||function(a){return a})(urls.editProfile)),a.put('">'),a.put(gettext("Edit Settings")), a.put("</a> </li> ")),a.put(" ")):user.thread.canReply&&(a.put(' <li> <a href="#" data-action="auth:disqus">'),a.put(gettext("Login")),a.put("</a> </li> ")),a.put(" "),user.thread.canModerate&&(a.put(' <li data-role="toggle-thread"> <a href="#" data-action="'),thread.isClosed?a.put("open"):a.put("close"),a.put('-thread"> '),thread.isClosed?(a.put(" "),a.put(gettext("Open Thread"))): (a.put(" "),a.put(gettext("Close Thread"))),a.put(" "),a.put(" </a> </li> "),user.isGlobalAdmin||(a.put(' <li> <a href="http://docs.disqus.com/kb/2012/">'),a.put(gettext("Help")),a.put("</a> </li> ")),a.put(" ")),a.put(" "),user.isGlobalAdmin||(a.put(' <li> <a href="'),a.put((a.esc||function(a){return a})(feedbackUrl?feedbackUrl:"https://www.surveymonkey.com/s/5RBPTTZ")), a.put('" target="_blank">'),a.put(gettext("Send Feedback")),a.put("</a> </li> ")),a.put(" "),user.isGlobalAdmin&&(a.put(' <li> <a href="#" data-action="debug">'),a.put(gettext("Debug")),a.put("</a> </li> ")),a.put(" "),user.id&&user.thread.canReply&&(a.put(' <li> <a href="'),a.put((a.esc||function(a){return a})(logoutUrl)),a.put('" data-action="logout">'),a.put(gettext("Logout")),a.put("</a> </li> ")),a.put(" </ul>"), a.compile()};b.blocks.networkActivityPostEntry=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<li class="post"> <div class="post-content '),post.parent&&a.put("post-reply"),a.put('"> <div class="avatar"> <img src="'),a.put((a.esc||function(a){return a})(post.author.avatar.cache)),a.put('" class="source-avatar"/> '),post.parent&&(a.put(' <img src="'),a.put((a.esc||function(a){return a})(post.parent.author.avatar.cache)),a.put('" class="target-avatar"/> ')), a.put(' </div> <div class="post-body"> <header> '),post.parent?(a.put(" "),a.put(b.interpolate(gettext("%(user)s replied to %(author)s"),{user:b.renderBlock("profileLink",post.author),author:b.renderBlock("profileLink",post.parent.author)}))):(a.put(" "),a.put(" "),a.put(b.renderBlock("profileLink",post.author))),a.put(" "),a.put(' <span class="bullet" aria-hidden="true">\u2022</span> <a href="'), a.put((a.esc||function(a){return a})(post.url)),a.put('" class="time-ago" title="'),a.put((a.esc||function(a){return a})(post.formattedCreatedAt)),a.put('">'),a.put((a.esc||function(a){return a})(post.relativeCreatedAt)),a.put('</a> </header> <div class="post-message publisher-anchor-color"> '),a.put(post.message),a.put(" </div> </div> </div></li>"),a.compile()};b.blocks.networkActivity=function(d,c){var a=new b.Builder,e=DISQUS.extend({}, d,c);with(e)return a.put('<div> <ul class="network-activity" data-role="entries"></ul> <div data-role="no-activity" style="display:none"> '),a.put(gettext("You have no activity.")),a.put(' </div> <div class="load-more" data-role="more-activity" style="display:none"> <a href="#" data-action="more" class="btn">'),a.put(gettext("Load more activity")),a.put("</a> </div></div>"),a.compile()};b.blocks.edit=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<div class="edit"> <form> <div class="textarea-wrapper"> <textarea class="textarea">'), a.put((a.esc||function(a){return a})(post.raw_message)),a.put('</textarea> </div> <button class="btn small" type="submit">'),a.put(gettext("Save Edit")),a.put("</button> </form></div>"),a.compile()};b.blocks.activityThread=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="'),a.put((a.esc||function(a){return a})(thread.link)),a.put('">'),a.put((a.esc||function(a){return a})(thread.title||forum)),a.put("</a>"),a.compile()};b.blocks.postLink= function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),typeof url==="undefined"?(a.put(" "),a.put((a.esc||function(a){return a})(thread.title)),a.put(" ")):(a.put(' <a class="publisher-anchor-color" href="'),a.put((a.esc||function(a){return a})(url)),a.put('">'),a.put((a.esc||function(a){return a})(thread.title)),a.put("</a> ")),a.compile()};b.blocks.activityReply=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "), session&&activity.object.parent.author.username==session.username?(a.put(" "),a.put(b.interpolate(gettext("%(user)s has %(replied)s to your comment"),{user:b.renderBlock("activityUser",activity.object.author),replied:b.renderBlock("activityReply",activity.object)}))):(a.put(" "),a.put(b.interpolate(gettext("%(user)s has %(replied)s to a comment by %(author)s"),{user:b.renderBlock("activityUser",activity.object.author),replied:b.renderBlock("activityReply",activity.object),author:b.renderBlock("activityUser", activity.object.parent.author)}))),a.put(" "),a.compile()};b.blocks.dashboard=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put("<div>\t"),a.put('\t<ul class="my-disqus-nav">\t\t<li class="user-comment-count active" data-role="network-tab">\t\t\t<a href="#" title="network" data-action="network">\t\t\t\t<span class="count">'),a.put(gettext("Now")),a.put('</span>\t\t\t\t<span class="label">'),a.put(gettext("in your network")),a.put('</span>\t\t\t</a>\t\t</li>\t\t<li class="user-vote-count" data-role="notifications-tab">\t\t\t<a href="#" title="notifications" data-action="notifications">\t\t\t\t<span class="count"><span data-role="notification-count"></span> '), a.put(gettext("new")),a.put('</span>\t\t\t\t<span class="label">'),a.put(gettext("Notifications")),a.put('</span>\t\t\t</a>\t\t</li>\t\t<li class="user-followers-count">\t\t\t<a href="#">\t\t\t\t<span class="count"> </span>\t\t\t\t<span class="label"> </span>\t\t\t</a>\t\t</li>\t</ul>\t<div data-role="network"></div>\t<div data-role="notifications"></div></div>'),a.compile()};b.blocks.activityItem=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<li class="activity-'), a.put((a.esc||function(a){return a})(activity.type)),a.put(' publisher-anchor-color"> <header> <a href="#" class="avatar" data-action="profile" data-user="'),a.put((a.esc||function(a){return a})(activity.object.author.id)),a.put('"> <img src="'),a.put((a.esc||function(a){return a})(activity.object.author.avatar.cache)),a.put('" class="user" alt="'),a.put(gettext("Avatar")),a.put('" /> </a> '),activity.type=="post"?(a.put(" "),function(){var d={};b.extend(d, c);b.extend(d,{});a.put(b.renderBlock("activityPost",d))}(),a.put(" ")):activity.type=="reply"?(a.put(" "),function(){var d={};b.extend(d,c);b.extend(d,{});a.put(b.renderBlock("activityReply",d))}(),a.put(" ")):activity.type=="like"?(a.put(" "),function(){var d={};b.extend(d,c);b.extend(d,{});a.put(b.renderBlock("activityLike",d))}(),a.put(" ")):activity.type=="thread_like"&&(a.put(" "),function(){var d={};b.extend(d,c);b.extend(d,{});a.put(b.renderBlock("activityThreadLike", d))}(),a.put(" ")),a.put(' <span class="bullet"> · </span> <span class="time-ago">'),a.put((a.esc||function(a){return a})(activity.relativeCreatedAt)),a.put("</span> </header> "),activity.type!="thread_like"&&(a.put(" <article> "),activity.type=="like"?(a.put(" <blockquote>"),a.put(activity.object.post.message)):(a.put(" <blockquote>"),a.put(activity.object.message)),a.put("</blockquote> "),a.put(" </article> ")),a.put("</li>"), a.compile()};b.blocks.notification=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <li class="notification '),notification.isRead||a.put("unseen"),a.put('"> <div class="indicator"></div> '),notification.post?(a.put(" "),a.put(' <div class="avatar"> <img src="'),a.put((a.esc||function(a){return a})(notification.post.author.avatar.cache)),a.put('" /> </div> <p> '),a.put(b.interpolate(gettext("%(user)s has replied to you on %(article)s"), {user:b.renderBlock("profileLink",notification.post.author),article:b.renderBlock("postLink",notification.post)})),a.put(' <p class="notification-meta">'),a.put((a.esc||function(a){return a})(notification.relativeCreatedAt)),a.put(' <span class="bullet" aria-hidden="true">\u2022</span> <a href="'),a.put((a.esc||function(a){return a})(notification.post.forum.url)),a.put('">'),a.put((a.esc||function(a){return a})(notification.post.forum.name)),a.put("</a> </p> ")): (a.put(" "),a.put(' <div class="avatar"> <img src="https://twimg0-a.akamaihd.net/profile_images/2305121474/zcrps8sb7b8zk6ezamf5.png"/> </div> <p class="publisher-anchor-color">'),a.put(notification.formatted.text),a.put('</p> <p class="notification-meta"> '),a.put((a.esc||function(a){return a})(notification.relativeCreatedAt)),a.put(" </p> ")),a.put(" </li>"),a.compile()};b.blocks.profileLink= function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put('<span class="publisher-anchor-color"><a href="#" data-action="profile" data-user="'),typeof id!=="undefined"&&a.put((a.esc||function(a){return a})(id)),a.put('">'),a.put((a.esc||function(a){return a})(name)),a.put("</a></span>"),a.compile()};b.blocks.toggleThreadLink=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(' <a href="#" data-action="'),thread.isClosed?a.put("open"):a.put("close"), a.put('-thread"> '),thread.isClosed?(a.put(" "),a.put(gettext("Open Thread"))):(a.put(" "),a.put(gettext("Close Thread"))),a.put(" "),a.put(" </a>"),a.compile()};b.blocks.profileActions=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "),function(){var d={};b.extend(d,c);b.extend(d,{});a.put(b.renderBlock("followButton",d))}(),a.put(" "),a.compile()};b.blocks.followButton=function(d,c){var a=new b.Builder,e=DISQUS.extend({},d,c);with(e)return a.put(" "), a.put(" "),sessionId&&sessionId!=user.id&&(a.put(" "),user.isFollowing?(a.put(' <a href="#" class="btn small active" data-action="toggleFollow">'),a.put(gettext("Following"))):(a.put(' <a href="#" class="btn small" data-action="toggleFollow">'),a.put(gettext("Follow"))),a.put("</a> "),a.put(" ")),a.compile()}});