DISQUS.define("strings",function(){var b={},d=function(){this.value=(this.ie=DISQUS.isBrowser("ie"))?[]:""};d.prototype={put:function(b){this.ie?this.value.push(b):this.value+=b},esc:function(b){return b},compile:function(){if(this.ie)this.value=this.value.join("");return this.value}};return{translations:b,get:function(f){return b[f]||f},interpolate:function(b,a){return b.replace(/%\(\w+\)s/g,function(b){b=b.slice(2,-2);if(a[b]!==void 0)b=a[b].toString();else throw"Key "+b+" not found in context";
return b})},pluralize:function(b,a,g){return b!=1?g||"s":a||""},trim:function(b){for(var b=b.replace(/^\s\s*/,""),a=/\s/,g=b.length;a.test(b.charAt(--g)););return b.slice(0,g+1)},capitalize:function(b){return b.charAt(0).toUpperCase()+b.slice(1)},isUTF8:function(b){for(var a=0,g=b.length;a<g;a++)if(b.charCodeAt(a)>256)return!0;return!1},Builder:d}});DISQUS.define("dtpl",function(){var b=function(){};b.prototype={container:function(){return this._container},textareaContainer:function(){return this._textareaContainer},show:function(){var a=this.container();if(a)a.style.display="block";this.rpc.show&&this.rpc.show()},hide:function(){var a=this.container();if(a)a.style.display="none"}};var d=function(a,b){var c=this;c.id=a;c.rpcReady=!1;c.focusCalled=!1;c._container=null;var e;e=a?c.render(b):DISQUS.jsonData.forum.template.api=="1.0"?DISQUS.nodes.get("#dsq-textarea-wrapper"):
DISQUS.nodes.get(".dsq-textarea-wrapper",DISQUS.nodes.get("#dsq-reply"))[0];c.rpc=DISQUS.comm.Reply.create(e,a,function(){DISQUS.dtpl.actions.fire("comments.reply.new.onLoadingEnd",a);c.rpcReady=!0;c.focusCalled&&setTimeout(function(){c.focus()},0)});var d=DISQUS.nodes.get(".dsq-attach-media-container",c.container())[0];if(d&&DISQUS.dtpl.actions.registered("comments.reply.media.upload.onSuccess")&&DISQUS.jsonData.context.switches.upload_media)c.uploadrpc=DISQUS.comm.Upload.create(d,a);c._textareaContainer=
e;DISQUS.dtpl.actions.fire("comments.reply.new.onLoadingStart",a)};d.instances={};d.create=function(a,b){var c=new d(a,b);return d.instances[a]=c};d.get=function(a){return d.instances[a]};DISQUS.extend(d.prototype,b.prototype,{focus:function(){this.rpcReady?this.rpc.focus():this.focusCalled=!0},render:function(a){var b=this.id;if(typeof a==="string"){var c=document.createElement("div");c.innerHTML=a;a=c}c=DISQUS.nodes.get(DISQUS.dtpl.APPEND_REPLY_ID(this.id));this._container=a;DISQUS.jsonData.forum.template.api==
"1.0"?(c.appendChild(a),a=DISQUS.nodes.get("#dsq-textarea-wrapper"+(b?"-"+b:""))):(DISQUS.nodes.insertAfter(c,a),a=DISQUS.nodes.get(".dsq-textarea-wrapper",a)[0]);return a}});var f=function(a,b){var c=this;if(typeof b==="string"){var e=document.createElement("div");e.innerHTML=b;b=e}if(DISQUS.jsonData.forum.template.api=="1.0")e=document.createElement("div"),e.appendChild(b),b=e,b.id="dsq-edit-"+a,b.className="dsq-edit dsq-textarea";e=DISQUS.nodes.get(DISQUS.dtpl.APPEND_EDIT_ID(a));DISQUS.jsonData.forum.template.api==
"1.0"?(e.appendChild(b),e=DISQUS.nodes.get("#dsq-edit-iframe-"+a)):(DISQUS.nodes.insertAfter(e,b),e=DISQUS.nodes.get(".dsq-textarea-wrapper",b)[0]);c.rpc=DISQUS.comm.Edit.create(e,a,function(){c.rpc.focus()});c._container=b;c._textareaContainer=e};f.instances={};f.create=function(a,b){var c=new f(a,b);return f.instances[a]=c};f.get=function(a){return f.instances[a]};DISQUS.extend(f.prototype,d.prototype,{focus:function(){}});DISQUS.once("thread.onReady",function(){var a=DISQUS.jsonData;DISQUS.dtpl.actions.fire("messagesx.render",
a.messagesx);DISQUS.dtpl.actions.fire("messagesx.init",a.request);a.context.switches.embed_labs&&DISQUS.requireSet(a.labs.files,!0,function(){DISQUS.trigger("labs.onReady")})});DISQUS.once("loader.onActionsReady",function(){DISQUS.dtpl.actions.fire("mentions.render",DISQUS.jsonData.posts);DISQUS.bind("loader.onDataReady",function(){DISQUS.dtpl.actions.fire("mentions.render",DISQUS.jsonData.posts)})});DISQUS.bind("data.onPostUpdate",function(a){var b={};typeof a.data.message==="string"&&(b[a.id]=DISQUS.jsonData.posts[a.id],
DISQUS.dtpl.actions.fire("mentions.render",b))});return{getAction:function(a,b){function c(){var a=Array.prototype.slice.call(arguments);a.unshift(DISQUS.dtpl.actions.fire);return DISQUS.partial.apply({},a)}function e(b){return a.getAttribute("data-dsq-"+b)}var d=a.getAttribute("data-dsq-action"),f=DISQUS.jsonData.posts[a.getAttribute("data-dsq-comment")]||null,k=DISQUS.jsonData.request;if(b.type!="click"){if(b.type=="change"&&d=="thread:sort")return c("thread.sort",a.value)}else switch(d){case "media:expand":return c("thread.expandMediaEmbed",
e("media"));case "reactions:showRetweets":return c("reactions.showRetweets",e("reaction"));case "reactions:hide":return c("reactions.hide",e("reaction"));case "reactions:more":return c("reactions.loadMore");case "thread:subscribe":return c("thread.subscribe");case "thread:unsubscribe":return c("thread.unsubscribe");case "thread:paginate":return c("thread.paginate",e("page"));case "session:login":return c("auth.login");case "session:help":return c("help.login");case "user:showProfile":return c("profile.show",
f&&f.id,e("username"));case "comments:edit":return c("comments.edit",f.id);case "comments:edit:send":return c("comments.edit.send",f.id);case "comments:edit:cancel":return c("comments.edit.cancel",f.id);case "comments:reply":return c("comments.reply",f.id);case "comments:reply:send":if(k.is_authenticated)return c("comments.send",f&&f.id,a);return c("comments.validate",f&&f.id,a);case "comments:reply:toggleSharing":return d=a.getAttribute("type"),c("share.toggle",a,d,f&&f.id);case "comments:text:collapse":return c("comments.text.collapse",
f.id);case "comments:text:expand":return c("comments.text.expand",f.id);case "comments:like":return c("comments.like",a,f.id);case "comments:showParent":return c("comments.showParent",f.parent_post_id);case "comments:showLikes":return c("comments.showUserVotes",f.id);case "comments:permalink":return c("comments.permalink",f.id);case "comments:moderate":return c("comments.moderate.options",f.id);case "comments:report":return c("comments.report",f.id);case "comments:collapse":return c("comments.collapse",
f.id);case "comments:expand":return c("comments.expand",f.id)}},append:function(a,b){a.innerHTML=b},replaceHtml:function(a,b){a.innerHTML=b},getGuestFields:function(a){function b(c){return DISQUS.nodes.get("#"+c+(a?"-"+a:""))}return{name:b("dsq-field-name"),email:b("dsq-field-email"),website:b("dsq-field-website"),username:b("dsq-field-username"),password:b("dsq-field-password"),subscribe:b("dsq-subscribe-on-post")}},ReplyBox:d,EditBox:f}});DISQUS.define("dtpl.actions",function(){function b(a,b,c){var e;typeof b==="string"?(e=b,b=c):e=">= "+s[0];q[a]||(q[a]={});q[a][e]=b}function d(a,b,c){if(DISQUS.settings.get("disqus.debug"))return a.apply({},b);try{return a.apply({},b)}catch(e){return window.console&&window.console.log&&(c&&window.console.log("Exception in "+c),window.console.log(e),typeof printStackTrace!=="undefined"&&window.console.log(printStackTrace({e:e}).join("\n"))),!1}}function f(a,b){if(o[a])if(typeof b==="undefined")return delete o[a],
!0;else DISQUS.lang.forEach(o[a],function(c,e){if(b.guid&&b.guid==c.guid)return delete o[a][e],!0});return!1}function a(a,b){b=b||u;if(!q[a])return!1;var c=null;DISQUS.each(q[a],function(a,p){var e=p.match(/(=|>=)\s*([0-9\.]+)/),f=e[1],e=e[2];f=="="&&b==e?c=a:f==">="&&b>=e&&(c=a)});return c}function g(p,b){return!!a(p,b)}function c(a,b,c){return!!o[a]||(b?!1:g(a,c))}function e(){var p=arguments[0],b=[],e=!0,f;if(DISQUS.jsonData!=null)if(DISQUS.status=="ready"&&DISQUS.jsonData.ready!==!1)f=DISQUS.jsonData.forum.template.api;
else return;typeof p==="object"&&(f=p[1],p=p[0]);if(!c(p,!1,f))throw"Action "+p+" not found";for(var A=1;A<arguments.length;A++)b.push(arguments[A]);o[p]&&DISQUS.lang.forEach(o[p],function(a){e=e&&!!d(a,b,p)});g(p,f)&&e&&d(a(p,f),b,p);return!1}function h(a){var b=function(b){return"#"+a+(b?"-"+b:"")};b.toString=function(){return b()};return b}function j(a){var a=DISQUS.nodes.get("li",a),b;for(b=0;b<a.length;++b)if(DISQUS.nodes.hasClass(a[b],"dsq-mentions-highlighted"))return a[b];return null}function k(a,
b){if(!a)return!1;if(a.hasAttribute)return a.hasAttribute(b);else if(a.attributes)return!!a.attributes[b];return!1}function n(a,b,c){if(b=b?c=="up"?b.previousSibling:b.nextSibling:a.firstChild){do if(k(b,"data-dsq-username"))return b;while(b=c=="up"?b.previousSibling:b.nextSibling)}}var q={},o={},i=null,l=[],s=["1.0","1.1"],u=s[s.length-1];b("__.comments.reply.media.upload",function(a){e("comments.reply.media.upload.onLoadingStart",a)});b("__.comments.reply.media.upload.onResponse",function(a,b){if(a&&
a.constructor===Array)for(var c=a.length-1;c>=0;--c)e("comments.reply.media.upload.onLoadingEnd",b),e("comments.reply.media.upload.onSuccess",a[c],b);else a&&a.success&&a.media?(b=b||"",c=DISQUS.comm.Upload.recover(b),a.forum_id=DISQUS.jsonData.forum.id,a.thread_id=DISQUS.jsonData.thread.id,a.id=b,c.media("set",a),e("comments.reply.media.upload.onLoadingEnd",b),e("comments.reply.media.upload.onSuccess",a.media,b)):a.silence||(a.message&&e("message.error",a.message,a.title||"Error"),e("comments.reply.media.upload.onLoadingEnd",
b))});b("comments.reply.media.remove",function(a,b){var c={id:b,media:DISQUS.json.stringify(a.media)};DISQUS.request.get(DISQUS.jsonData.urls.upload_remove+"?ts="+ +new Date,c)});b("__.comments.reply.media.remove.onResponse",function(a){delete a.success;a.id=a.id||"";a.forum_id=DISQUS.jsonData.forum.id;a.thread_id=DISQUS.jsonData.thread.id;DISQUS.comm.Upload.recover(a.id).media("remove",a,a.id);e("comments.reply.media.remove.onSuccess",a)});b("__.comments.reply.media.upload.clear",function(a){var b=
DISQUS.comm.Upload.recover(a);b&&(b.media("clear",{forum_id:DISQUS.jsonData.forum.id,thread_id:DISQUS.jsonData.thread.id,id:a||""}),e("comments.reply.media.upload.clear",a))});b("message.error",function(a,b){DISQUS.popup.popModal(a,b||DISQUS.strings.get("Error"))});b("message.error.onField",function(a,b){if(DISQUS.jsonData.forum.revert_new_login_flow)e("message.error",DISQUS.strings.get(a),DISQUS.strings.get("Oops..."));else if(b){var c=DISQUS.nodes.get("#"+b+"-label");if(c)DISQUS.nodes.addClass(c,
"dsq-error"),c.innerHTML=DISQUS.strings.get(a)}else alert(DISQUS.strings.get(a))});b("comments.reply.onCookieFailure","= 1.0",function(a){var b=document.createElement("div");b.innerHTML=DISQUS.renderBlock("cookieFailure");DISQUS.nodes.insertBefore(DISQUS.nodes.get("#dsq-form-area"+(a?"-"+a:"")),b)});b("comments.reply.onCookieFailure",">= 1.1",function(){});b("message.unapprovedComment",function(a,b){DISQUS.popup.popModal(DISQUS.renderBlock("unapprovedCommentMessage",{mustVerify:a}),DISQUS.strings.get("Comment awaiting approval"),
b,!0,"dsq-popup-unapproved")});b("share.toggle",function(a,b,c){DISQUS.nodes.hasClass(a,"dsq-share-toggled")?DISQUS.nodes.removeClass(a,"dsq-share-toggled"):DISQUS.nodes.addClass(a,"dsq-share-toggled");c=c||null;DISQUS.cache.postSharing[c]=DISQUS.cache.postSharing[c]||{twitter:null,facebook:null};a=DISQUS.cache.postSharing[c];a[b]=!a[b]});b("private.setLoadingButton",function(a,b){var c=b?"-"+b:"",e;if(a){e=document.createElement("button");e.id=a.id+"-loading";e.className=a.className+" dsq-post-loading";
e.innerHTML=DISQUS.strings.get("Just a moment...");a.style.display="none";a.parentNode.appendChild(e);if(c=DISQUS.nodes.get("#dsq-cancel-button"+c))c.style.display="none";DISQUS.cache.buttonsToRestore.push(a)}else DISQUS.lang.forEach(DISQUS.cache.buttonsToRestore,function(a){a.style.display="inline";DISQUS.nodes.remove(DISQUS.nodes.get("#"+a.id+"-loading"))})});b("comments.validate",function(a){DISQUS.comm.Reply.recover(a).validate(function(b){b?DISQUS.comm.ensureLoggedIn(function(){e("comments.send",
a)},"postas",{onGuest:function(){e("comments.send",a,null,{fields:DISQUS.dtpl.getGuestFields(null)})}}):(e("message.error",DISQUS.strings.get("Please enter a comment to post.")),e("private.setLoadingButton"))})});b("auth.login",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()})});b("auth.disqus",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"disqus")});b("auth.twitter",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"twitter")});b("auth.yahoo",
function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"yahoo")});b("auth.openid",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"openid")});b("auth.google",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"google")});b("auth.facebook",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"facebook")});b("auth.sso",function(){var a=window.open(DISQUS.config.sso.url,"ssoWindow","location=0,status=0,width="+(DISQUS.config.sso.width||800)+",height="+
(DISQUS.config.sso.height||400)),b=setInterval(function(){DISQUS.window.isClosed(a)&&(clearInterval(b),window.location.reload())},500)});b("comments.text.expand",function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),c=DISQUS.nodes.get("#dsq-comment-text-"+a),e=DISQUS.nodes.get(".dsq-comment-truncate-expand",b)[0],b=DISQUS.nodes.get(".dsq-comment-truncate-collapse",b)[0];e.style.display="none";b.style.display="inline";c.innerHTML=DISQUS.jsonData.posts[a].message;return!1});b("comments.text.collapse",
function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),a=DISQUS.nodes.get("#dsq-comment-text-"+a),c=DISQUS.nodes.get(".dsq-comment-truncate-expand",b)[0],b=DISQUS.nodes.get(".dsq-comment-truncate-collapse",b)[0],e=DISQUS.jsonData.forum.comment_max_words;if(!a||e===0)return!1;if(DISQUS.nodes.truncateComment(a,e,"...")&&c&&b)c.style.display="inline",b.style.display="none";return!1});b("comments.insert",function(a,b,c){var f={};DISQUS.redraw();var d=DISQUS.nodes.get("#dsq-comments"),g=document.createElement("div");
f.comment=DISQUS.jsonData.posts[b];f.comment.id=b;f.comment.author=DISQUS.jsonData.users[f.comment.user_key];if(c&&c.length)f.comment.media=c,DISQUS.jsonData.mediaembed=DISQUS.jsonData.mediaembed.concat(c);if(f.comment.parent_post_id){f.comment.parent=DISQUS.jsonData.posts[f.comment.parent_post_id];f.comment.parent.author=DISQUS.jsonData.users[f.comment.parent.user_key];c=DISQUS.nodes.get("#dsq-comment-"+f.comment.parent_post_id);DISQUS.nodes.addClass(c,"dsq-comment-is-parent");c=f.comment.parent;
do c.num_replies+=1,c=DISQUS.jsonData.posts[c.parent_post_id];while(c!==void 0)}f.comment.stripped=function(a){var b=f.comment.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};DISQUS.dtpl.replaceHtml(g,DISQUS.renderBlock("comment",f));a===-1?d.appendChild(g):a?DISQUS.nodes.get("dsq-comment-"+a)&&(d=DISQUS.nodes.get(DISQUS.dtpl.APPEND_COMMENT_ID(a)),DISQUS.nodes.insertAfter(d,g)):d.insertBefore(g,d.firstChild);d=DISQUS.nodes.get("#dsq-avatar-"+b);d=DISQUS.nodes.get("img.dsq-deferred-avatar",
d);DISQUS.lang.forEach(d,function(a){a.setAttribute("src",a.getAttribute("data-src"));DISQUS.nodes.removeClass(a,"dsq-deferred-avatar")});e("comments.text.collapse",b);DISQUS.ui.applyTooltips(g);DISQUS.dtpl.actions.fire("__.comments.insert.onSuccess",a,b)});b("comments.insert.onSuccess",function(){});b("__.comments.insert.onSuccess",function(a,b){DISQUS.dtpl.actions.fire("comments.insert.onSuccess",a,b)});b("comments.insert.onSuccess",function(){});b("comments.blacklist",function(a,b){var c={forum:DISQUS.jsonData.forum.url},
e={"dsq-blacklist-username":"user","dsq-blacklist-email":"email","dsq-blacklist-ip":"ip","dsq-blacklist-retroactive":"retroactive"},f=0;if(b)if(DISQUS.lang.forEach(e,function(a,b){var p=DISQUS.nodes.get("#"+b);if(p&&p.checked)c[a]=p.value,f++}),f<1)alert(DISQUS.strings.get("Please select something to add to the blacklist."));else{if(c.user)c.user="username:"+c.user;DISQUS.api("blacklists/add",{data:c,type:"POST",success:function(){DISQUS.popup.close(null,!0)},failure:function(){DISQUS.popup.close(null,
!0)}})}else e=DISQUS.jsonData.posts[a],DISQUS.popup.close(null,!0),DISQUS.popup.popModal(DISQUS.renderBlock("blacklistPopup",{comment:e,user:DISQUS.jsonData.users[e.user_key]}),DISQUS.strings.get("Add to Blacklist"))});b("comments.outline",function(a){var b=DISQUS.nodes.get("#dsq-comment-"+a);b&&(DISQUS.nodes.addClass(b,"dsq-comment-outline"),setTimeout(function(){DISQUS.nodes.removeClass(b,"dsq-comment-outline")},3E3))});b("comments.permalink",function(a){DISQUS.popup.popModal(DISQUS.renderBlock("permalinkPopup",
{postId:a}),DISQUS.strings.get("Link to this comment"),a)});b("comments.send",function(a,b,c){if(!DISQUS.cache.postboxBusy[a||null]){DISQUS.cache.postboxBusy[a||null]=!0;var f=DISQUS.comm.Reply.recover(a),c=c||{},d=function(b){try{return+(DISQUS.cache.postSharing[a||null][b]||0)}catch(c){return 0}},g={tw:d("twitter"),fb:d("facebook"),tr:d("tumblr"),wp:d("wordpress"),mt:d("movabletype"),tp:d("typepad"),yh:d("yahoo")};DISQUS.trigger("comments.share",g);var d=function(b){DISQUS.dtpl.actions.fire("comments.send.onSuccess",
b,a)},k=function(e){e=e.data;e.sendArguments={postId:a,element:b,options:c};DISQUS.dtpl.actions.fire("comments.send.onFailure",e)};b&&e("private.setLoadingButton",b,a);DISQUS.jsonData.request.is_authenticated?f.post(g,c.captcha||null,d,k):(g=c.fields||DISQUS.dtpl.getGuestFields(a),DISQUS.dtpl.validators.guestFields(g)&&(DISQUS.trigger("comments.onGuestPost"),f.postAsGuest(g.name.value,g.email.value,g.website?g.website.value:"",g.subscribe&&g.subscribe.checked,c.captcha||null,d,k)));c.force&&DISQUS.cookies.create("skipped_auth",
!0)}});b("comments.send.onSuccess",function(a,b){var c=DISQUS.jsonData.users,f=a.message.post_meta.user_key;DISQUS.cache.postboxBusy[b||null]=!1;a.succeeded&&e("__.comments.reply.media.upload.clear",a.message.post_meta.parent_post_id);DISQUS.updatePost(a.message.id,a.message.post_meta);if(!c[f])c[f]=a.message.user_meta;c=typeof disqus_insert_wrt_sort=="undefined"?DISQUS.jsonData.forum.reply_position?-1:null:DISQUS.jsonData.request.sort=="newest"?null:-1;a.message.post_meta.approved&&e("comments.insert",
a.message.post_meta.parent_post_id||c,a.message.id,a.message.media_embed);b&&e("comments.reply.cancel",b);DISQUS.popup.close(null,!0);a.message.post_meta.approved?(e("thread.incrementCommentsCount"),e("comments.outline",a.message.id)):(e("message.unapprovedComment",DISQUS.jsonData.request.missing_perm=="verify",a.message.id),DISQUS.redraw());a.message.fb_callback&&a.message.fb_callback[0]&&DISQUS.FB.init(function(){DISQUS.FB.streamPublish("",a.message.fb_callback[1])});e("private.setLoadingButton");
DISQUS.trigger("comment.onCreate",{id:a.message.id,text:a.message.post_meta.message})});b("comments.showUserVotes",function(a){DISQUS.request.get(DISQUS.jsonData.urls.show_user_votes,{post_id:a},!0)});b("comments.highlight",function(a){DISQUS.api("posts/highlight",{data:{post:a},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.highlight.onSuccess",a[0])}})});b("comments.highlight.onSuccess",function(){});b("comments.unhighlight",function(a){DISQUS.api("posts/unhighlight",{data:{post:a},
type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.unhighlight.onSuccess",a[0])}})});b("comments.unhighlight.onSuccess",function(){});b("comments.showParent",function(a){var b=DISQUS.jsonData.posts[a],c=DISQUS.renderBlock("commentMessage",{comment:b,cls:""});c+='<br/><br/><a href="#comment-'+a+'">'+DISQUS.strings.get("Jump to comment")+"</a>";DISQUS.popup.popModal(c,b.author.display_name+" "+DISQUS.strings.get("said")+"&hellip;",a)});b("captcha.init",function(a){window.Recaptcha||
DISQUS.require("http://www.google.com/recaptcha/api/js/recaptcha_ajax.js");DISQUS.addJob(function(){return!!window.Recaptcha},a)});b("captcha.open",function(a){function b(){var c=DISQUS.lang.partial(DISQUS.dtpl.actions.fire,"captcha.submit",a),e=DISQUS.nodes.get("button",DISQUS.nodes.get("#dsq-captcha"))[0];DISQUS.events.add(e,"click",c);e=DISQUS.nodes.get("#recaptcha_response_field");DISQUS.events.add(e,"keypress",function(a){(a.keyCode||a.which)==13&&c()});DISQUS.nodes.get("#dsq-captcha-loading").style.display=
"none";DISQUS.nodes.get("#dsq-captcha-container").style.display="block";Recaptcha.focus_response_field()}DISQUS.popup.popModal(DISQUS.renderBlock("recaptcha"),DISQUS.strings.get("One More Step ..."),null,null,null,{onReady:function(){Recaptcha.create(DISQUS.jsonData.settings.recaptcha_public_key,"dsq-captcha-form",{theme:"clean",callback:b})},onClose:function(){Recaptcha.destroy();e("private.setLoadingButton")}})});b("captcha.submit",function(a){var b=a.options,c=DISQUS.nodes.get;b.captcha={recaptcha_challenge_field:c("#recaptcha_challenge_field").value,
recaptcha_response_field:c("#recaptcha_response_field").value};e("comments.send",a.postId,a.element,b);DISQUS.popup.close(null,!0)});b("comments.send.onFailure",function(a){a.sendArguments&&(DISQUS.cache.postboxBusy[a.sendArguments.postId||null]=!1);a.code=="captcha-required"?DISQUS.dtpl.actions.fire("captcha.init",DISQUS.lang.partial(DISQUS.dtpl.actions.fire,"captcha.open",a.sendArguments)):(e("message.error",a.message),e("private.setLoadingButton"))});b("comments.edit",function(a){DISQUS.states.edit[a]?
e("comments.edit.cancel",a):e("comments.edit.new",a);DISQUS.states.edit[a]=!DISQUS.states.edit[a]});b("comments.edit.new",function(a){DISQUS.comm.Edit.recover(a)||e("comments.edit.render",a);e(["comments.edit.show","1.1"],a)});b("comments.edit.render",function(a){var b=DISQUS.renderBlock("editArea",{comment:DISQUS.jsonData.posts[a]});DISQUS.dtpl.EditBox.create(a,b)});b("comments.edit.show",">= 1.1",function(a){DISQUS.popup.close(null,!0);DISQUS.nodes.get("#dsq-comment-message-"+a).style.display="none";
var b=DISQUS.nodes.get("#dsq-media-embed-"+a);if(b)b.style.display="none";b=DISQUS.nodes.get("#dsq-comment-"+a);b=DISQUS.nodes.get(".dsq-editedtxt",b);b.length&&DISQUS.nodes.remove(b[0]);DISQUS.dtpl.EditBox.get(a).show()});b("comments.edit.show","= 1.0",function(a){return e("comments.edit",a)});b("comments.edit.cancel",function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),c=DISQUS.nodes.get("#dsq-media-embed-"+a);b.style.display="block";if(c)c.style.display="block";DISQUS.dtpl.EditBox.get(a).hide()});
b("comments.edit.send",function(a){DISQUS.comm.Edit.recover(a).save(function(b){DISQUS.updatePost(a,b.message);e("comments.edit.onSuccess",b,a)},function(b){e("comments.edit.onFailure",b,a)})});b("comments.edit.onSuccess",function(a,b){var c=DISQUS.nodes.get("#dsq-comment-message-"+b);DISQUS.dtpl.replaceHtml(c,DISQUS.renderBlock("commentMessage",{comment:DISQUS.jsonData.posts[b],cls:"dsq-comment-message"}));for(var f=c.childNodes,d=f.length-1;d>=0;--d)if(RegExp("^dsq-comment-message-"+b).test(f[d].id)){c.innerHTML=
f[d].innerHTML;break}e("comments.edit.cancel",b);a.message.approved||e("message.error",DISQUS.renderBlock("unapprovedEditedComment"),DISQUS.strings.get("Comment awaiting approval"),b)});b("comments.edit.onFailure",function(a,b){var c=DISQUS.strings.get("Can't post this comment.");a.message&&a.message=="empty"?e("message.error",DISQUS.strings.get("Comment can't be empty."),c,b):e("message.error",DISQUS.strings.get("Something went wrong, try again later."),c,b)});b("comments.spam",function(a){DISQUS.popup.close(null,
!0);DISQUS.api("posts/spam",{data:{post:a},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.spam.onSuccess",a[0].id)}})});b("comments.spam.onSuccess","= 1.0",function(a){DISQUS.nodes.get("#comment-"+a).innerHTML=DISQUS.strings.get("Comment marked as spam.");DISQUS.nodes.get("#comment-"+a).className="dsq-remove-message";DISQUS.nodes.get("#dsq-comment-"+a).style.display="none"});b("comments.spam.onSuccess",">= 1.1",function(){});b("comments.reply.onResize",function(){});b("comments.dislike",
function(a){var b=DISQUS.jsonData,c=b.posts[a].down_voted?0:-1;b.request.is_authenticated||b.forum.allow_anon_votes?(e("comments.dislike.onLoadingStart",a),DISQUS.request.get(b.urls.embed_vote,{post_id:a,vote:c},!0)):e("auth.disqus",DISQUS.strings.get("To vote please login"))});b("comments.dislike.onLoadingStart",function(){});b("comments.dislike.onLoadingEnd",function(){});b("comments.dislike.onSuccess",function(){});b("__.comments.dislike.onSuccess",function(a,b,c){var f=DISQUS.jsonData.posts[a].dislikes,
d=c==-1;DISQUS.updatePost(a,{user_voted:c!==0,down_voted:d,dislikes:d?f+1:f-1,points:b});e("comments.dislike.onLoadingEnd",a);e("comments.dislike.onSuccess",a,b)});b("comments.like.loading","= 1.0",function(a){a=DISQUS.nodes.get("#dsq-like-"+a);DISQUS.nodes.get("button",a)[0].style.display="none";var b=document.createElement("img");b.src=DISQUS.jsonData.settings.media_url+"/images/loading-small.gif";a.appendChild(b)});b("comments.like.onLoadingStart","= 1.0",function(a){e("comments.like.loading",
a)});b("comments.like.onLoadingStart",">= 1.1",function(){});b("comments.like.onLoadingEnd",function(){});b("comments.like",function(a,b){var c=+!DISQUS.jsonData.posts[b].up_voted,e=DISQUS.jsonData,f=DISQUS.dtpl.actions.fire;e.request.is_authenticated||e.forum.allow_anon_votes?(f("comments.like.onLoadingStart",b),DISQUS.api("posts/vote",{data:{post:b,vote:c},type:"POST",success:function(a){a=a.post;f("__.comments.like.onSuccess",a.id,a.points,c);f("comments.like.updateCache",a.id,a.points,c)}})):
f("auth.disqus",DISQUS.strings.get("To like please login"))});b("comments.like.updateCache",function(a,b,c){DISQUS.updatePost(a,{up_voted:!!c})});b("comments.like.onSuccess",">= 1.1",function(){});b("comments.like.onSuccess","= 1.0",function(a,b){var c=DISQUS.nodes.get("#dsq-like-pts-"+a),e;e=DISQUS.jsonData.posts[a].user_voted?" and "+(b-1||1)+" more":b+DISQUS.strings.pluralize(b," person"," people");if(c)c.innerHTML=e;DISQUS.nodes.get("#dsq-like-"+a).innerHTML=DISQUS.strings.get("You liked this.")+
"&nbsp;&nbsp;"});b("__.comments.like.onSuccess",function(a,b,c){e("comments.like.onLoadingEnd",a);e("comments.like.onSuccess",a,b,c)});b("comments.report",function(a,b){function c(){DISQUS.popup.popModal(DISQUS.strings.get("Thank you. This comment has been flagged for moderator attention."),DISQUS.strings.get("Successfully flagged"));DISQUS.nodes.remove(DISQUS.nodes.get("#dsq-post-report-"+a))}b?DISQUS.api("posts/report",{data:{post:a},type:"POST",success:c}):DISQUS.popup.popModal(DISQUS.renderBlock("reportConfirmation",
{id:a}),DISQUS.strings.get("Report this comment to a moderator?"),a)});b("comments.reply",function(a,b){DISQUS.cache.toggledReplies[a]?(DISQUS.dtpl.actions.fire("comments.reply.cancel",a,b),DISQUS.cache.toggledReplies[a]=!1):(DISQUS.dtpl.actions.fire("comments.reply.new",a,b),DISQUS.cache.toggledReplies[a]=!0)});b("comments.reply.new",function(a){DISQUS.comm.Reply.recover(a)||e("comments.reply.render",a);e("comments.reply.show",a)});b("comments.reply.new.onLoadingStart",function(){});b("comments.reply.new.onLoadingEnd",
function(){});b("comments.reply.render",function(a){var b=DISQUS.renderBlock("postbox",{comment:DISQUS.jsonData.posts[a]});DISQUS.dtpl.ReplyBox.create(a,b)});b("comments.reply.show",function(a){var b=DISQUS.dtpl.ReplyBox.get(a);b.show();var c=b.container();DISQUS.nodes.addClass(c,"dsq-append-post");(a=DISQUS.nodes.get("#dsq-comment-footer-reply-"+a))&&DISQUS.nodes.addClass(a,"dsq-comment-footer-reply-active");b.focus()});b("comments.reply.cancel",function(a){var b=DISQUS.dtpl.ReplyBox.get(a);b.hide();
b=b.container();DISQUS.nodes.removeClass(b,"dsq-append-post");(a=DISQUS.nodes.get("#dsq-comment-footer-reply-"+a))&&DISQUS.nodes.removeClass(a,"dsq-comment-footer-reply-active")});b("comments.moderate.options",function(a){var b=DISQUS.jsonData.posts[a];b.author=DISQUS.jsonData.users[b.user_key];DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderateOptionsPopup",{comment:b}),DISQUS.strings.get("Moderate Options"),a)});b("comments.delete",function(a){DISQUS.popup.close(null,
!0);DISQUS.api("posts/remove",{data:{post:a},type:"POST",success:function(a){DISQUS.each(a,function(a){e("comments.delete.onSuccess",a.id)})},failure:function(){var b=DISQUS.strings.get("Oops, something went wrong"),c=DISQUS.strings.get("We couldn't delete this post. Please try again later.");DISQUS.popup.popModal(c,b,a)}})});b("comments.delete.onSuccess","= 1.0",function(a){if(DISQUS.nodes.get("#comment-"+a)&&DISQUS.nodes.get("#dsq-comment-"+a))DISQUS.nodes.get("#comment-"+a).innerHTML=DISQUS.strings.get("Comment removed.")+
' <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.restore\', '+a+');">'+DISQUS.strings.get("Undo")+"</a>",DISQUS.nodes.get("#comment-"+a).className="dsq-remove-message",DISQUS.nodes.get("#dsq-comment-"+a).style.display="none"});b("comments.delete.onSuccess",">= 1.1",function(){});b("comments.restore",function(a){DISQUS.api("posts/restore",{data:{post:a},type:"POST",success:function(a){DISQUS.each(a,function(a){e("comments.restore.onSuccess",a.id)})}})});b("comments.restore.onSuccess",
"= 1.0",function(a){if(DISQUS.nodes.get("#comment-"+a)&&DISQUS.nodes.get("#dsq-comment-"+a))DISQUS.nodes.get("#comment-"+a).innerHTML="",DISQUS.nodes.get("#comment-"+a).className="",DISQUS.nodes.get("#dsq-comment-"+a).style.display="block"});b("comments.restore.onSuccess",">= 1.1",function(){});b("cookies.onFailure",function(a){DISQUS.states.noThirdPartyCookies=!0;if(DISQUS.browser.ie)DISQUS.states.useLoginWindow=!0;else if(DISQUS.browser.gecko||DISQUS.browser.opera){var b=DISQUS.jsonData.request.is_authenticated,
c=DISQUS.jsonData.request.is_remote;if(DISQUS.browser.gecko&&(!b||c))DISQUS.states.loginDisabled=!0,e("comments.reply.onCookieFailure",a)}else if(DISQUS.browser.webkit&&DISQUS.jsonData.request.is_sso&&(a=DISQUS.nodes.get("#dsq-sso-iframe"),!a)){a=document.createElement("div");a.id="dsq-sso-iframe";a.style.display="none";DISQUS.nodes.get("body")[0].appendChild(a);var f=DISQUS.comm.SSO.create(function(){var a={forum_url:DISQUS.jsonData.forum.url},b=DISQUS.config.page;b.remote_auth_s2?a.remote_auth_s2=
b.remote_auth_s2:b.remote_auth_s3&&DISQUS.extend(a,{remote_auth_s3:b.remote_auth_s3,api_key:b.api_key});f.authenticate(a)})}});b("user.newUser.onSuccess",function(){function a(){if(DISQUS.getBlock("editProfileSuggestion")){var b=document.createElement("div");b.innerHTML=DISQUS.renderBlock("editProfileSuggestion");var c=DISQUS.nodes.get("#dsq-comments"),e=DISQUS.nodes.get(".dsq-comment",c);c.insertBefore(b,e);(new DISQUS.tooltip.ManualTooltip(DISQUS.nodes.get(".dsq-avatar")[0],{contentId:"dsq-edit-profile-suggestion",
trigger:null})).show()}f("comments.insert",a);return!0}b("comments.insert",a)});b("user.remoteAccountSettings",function(){var a=DISQUS.nodes.createIframe(DISQUS.jsonData.urls.remote_settings,{},{id:"dsq-popup-account-settings"}),b=document.createElement("div");b.appendChild(a);DISQUS.popup.popModal(b.innerHTML,DISQUS.strings.get("Account Settings"))});b("profile.show",function(a,b,c){c===void 0&&(c=a==null?DISQUS.jsonData.request.is_moderator:DISQUS.jsonData.posts[a].author_is_moderator);DISQUS.comm.Default.recover().log("profile:view",
1);return DISQUS.popup.popProfile(a,b,c)});b("profile.dashboard",function(){window.location.href="http://disqus.com/dashboard"});b("profile.edit",function(){(new (DISQUS.states.noThirdPartyCookies?DISQUS.ui.ProfileEditNewWindow:DISQUS.ui.ProfileEditModal)).open({lang:DISQUS.jsonData.forum.language})});b("profile.displayDeferredAvatars",function(){function a(b){var e=DISQUS.nodes.getPosition(b),p=e[1];return e[1]+b.offsetHeight<=g-c?-1:p>=g+k+c?1:0}function b(c){c=f[c];if(a(c)===0)return c.setAttribute("src",
c.getAttribute("data-src")),DISQUS.nodes.removeClass(c,"dsq-deferred-avatar"),c.removeAttribute("data-src"),!0;return!1}for(var c=200,e=DISQUS.nodes.get("img.dsq-deferred-avatar"),f=[],d=0;d<e.length;d++)e[d].offsetParent&&f.push(e[d]);if(f.length){var g,k;DISQUS.browser.ie?function(){var a=document.documentElement;g=a.scrollTop;k=a.clientHeight}():(g=window.pageYOffset,k=window.innerHeight);e=function(){for(var b=f.length,c=0,e,d;c<b;)if(d=parseInt((c+b)/2,10),e=a(f[d]),e===-1)c=d+1;else if(e===
1)b=d;else return d;return-1}();if(e!==-1){for(d=e;d>=0&&b(d);d--);for(d=e+1;d<f.length&&b(d);d++);}}});b("mentions.render",function(a){var b=/@[\w\-]+:\w+/g,c,f={disqus:"mentions.render.disqus",twitter:"mentions.render.twitter"};DISQUS.each(a,function(a){a&&a.message&&(c=a.message.match(b))&&DISQUS.each(c,function(b){var c=b.slice(1).split(":"),p=c[0].toLowerCase(),c=c[1].toLowerCase();f.hasOwnProperty(c)||(c="disqus");e(f[c],a,b,p)})})});b("mentions.render.disqus",function(a,b,c){var e=DISQUS.jsonData.users[c],
c='<span class="dsq-mention dsq-tt dsq-mention-disqus"original-title="Expand '+(e?e.display_name:c)+'\'s profile" data-dsq-username="'+c+'" data-dsq-remote="disqus"><a class="" href="'+DISQUS.settings.get("disqus.urls.main")+"/"+c+'" target="_blank" onclick="DISQUS.dtpl.actions.fire(\'profile.show\', undefined, \''+c+"');return false;\">"+(e?e.display_name:c)+"</a></span>";a.message=a.message.replace(b,c)});b("mentions.render.twitter",function(a,b,c){a.message=a.message.replace(b,'<span class="dsq-mention dsq-tt dsq-mention-twitter"original-title="Expand @'+
c+'\'s profile" data-dsq-username="'+c+'" data-dsq-remote="twitter"><a class="twitter-account" href="http://twitter.com/'+c+'" onclick="window.open(\''+("http://twitter.com/intent/user?screen_name="+c)+"', 'Twitter Mention', 'height=420, width=550');return false;\">@"+c+"</a></span>")});b("messagesx.init",function(){var a=DISQUS.jsonData,b=DISQUS.comm.Default.recover();DISQUS.cache.messagesx={count:a.messagesx.count,unread:a.messagesx.unread};if(a.context.switches.realtime&&a.request.is_authenticated){var c=
!1,e=function(){c||(c=!0,b.realtimePoll(a.thread.id))};document.readyState!="complete"?DISQUS.bean.add(window,"load",e):e();setTimeout(function(){e()},15E3)}});b("messagesx.toggleBar",function(){var a=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon"),b=DISQUS.nodes.get("#dsq-messagesx-toolbar-dropdown"),c=DISQUS.cache.messagesx;DISQUS.nodes.addClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden");DISQUS.nodes.hasClass(a,"dsq-dropdown-tab-active")?(DISQUS.nodes.removeClass(b,"dsq-dropdown-visible"),
DISQUS.nodes.removeClass(a,"dsq-dropdown-tab-active")):(c&&c.unread.length>0&&DISQUS.dtpl.actions.fire("messagesx.markRead"),DISQUS.nodes.addClass(a,"dsq-dropdown-tab-active"),DISQUS.nodes.addClass(b,"dsq-dropdown-visible"));return!1});b("messagesx.newEvent",function(a){a.type=="message"&&e("messagesx.newMessage",a.message)});b("messagesx.newMessage",function(a){var b=DISQUS.nodes.get("#dsq-messagesx-count"),c=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon");if(b)DISQUS.cache.messagesx.unread.push(a),
b.innerHTML=++DISQUS.cache.messagesx.count,a.theme=="achievement"&&DISQUS.nodes.removeClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden"),DISQUS.cache.messagesx.count>0?DISQUS.nodes.addClass(c,"dsq-unread"):DISQUS.nodes.removeClass(c,"dsq-unread"),e("messagesx.renderMessage",a)});b("messagesx.renderMessage",function(a){DISQUS.nodes.hide(DISQUS.nodes.get("#dsq-inbox-no-messages"));var b=document.createElement("li");b.id="dsq-messagesx-message-"+a.id;DISQUS.nodes.addClass(b,"dsq-messagesx");DISQUS.nodes.addClass(b,
"dsq-messagesx-"+a.theme);b.innerHTML=DISQUS.renderBlock("messagesxPopup",{message:a});DISQUS.nodes.get("#dsq-messagesx-inbox").appendChild(b)});b("messagesx.render",function(a){if(DISQUS.nodes.get("#dsq-messagesx-count")){var b=!1;DISQUS.each(a.unread,function(a){a.theme=="achievement"&&(b=!0);e("messagesx.renderMessage",a)});b&&DISQUS.nodes.removeClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden")}});b("messagesx.markRead",function(){var a="",b=DISQUS.nodes.get("#dsq-messagesx-count"),c=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon");
DISQUS.each(DISQUS.cache.messagesx.unread,function(b){a=a+","+b.id});DISQUS.api("messagesx/markRead",{data:{messages:a},type:"POST",success:function(){}});DISQUS.cache.messagesx.count=0;DISQUS.cache.messagesx.unread=[];b.innerHTML=DISQUS.cache.messagesx.count;DISQUS.nodes.removeClass(c,"dsq-unread");return!1});b("thread.initialize",function(){DISQUS.jsonData.forum.template.api=="1.1"?DISQUS.extend(DISQUS.dtpl,{APPEND_REPLY_ID:h("dsq-append-reply"),APPEND_EDIT_ID:h("dsq-append-edit"),APPEND_COMMENT_ID:h("dsq-append-post")}):
DISQUS.extend(DISQUS.dtpl,{APPEND_REPLY_ID:h("dsq-append-post"),APPEND_EDIT_ID:h("dsq-comment-body"),APPEND_COMMENT_ID:h("dsq-append-post")});DISQUS.jsonData.context.forum_facebook_key&&DISQUS.FB.init();e("toolbar.initialize");DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars");DISQUS.events.debounce(window,"scroll",function(){DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars")},250);if(DISQUS.jsonData.context.show_reply){DISQUS.comm.Reply.reset();DISQUS.dtpl.ReplyBox.create();DISQUS.jsonData.realtime_enabled&&
c("realtime.initialize")&&e("realtime.initialize");var a=document.createElement("div");a.innerHTML=DISQUS.renderBlock("pageInfo");var b=DISQUS.nodes.get("#disqus_thread");b.appendChild(a);DISQUS.ui.truncateComments(b);DISQUS.cache.toggledReplies={}}});b("thread.ready",function(){setTimeout(function(){e("profile.displayDeferredAvatars");DISQUS.ui.applyTooltips()},0);DISQUS.defer(function(){var a=DISQUS.comm.Reply.recover();return DISQUS.comm.Default.recover().isReady&&(typeof a=="undefined"||a.isReady)},
function(){DISQUS.trigger("thread.onReady")})});b("thread.incrementCommentsCount",function(){var a=DISQUS.nodes.get("#dsq-num-posts"),b=DISQUS.nodes.get("#dsq-total-posts");if(a){var c=a.innerHTML.split("-");a.innerHTML=c.length==1?parseInt(c[0],10)+1:c[0]+"-"+(parseInt(c[1],10)+1)}if(b)b.innerHTML=parseInt(b.innerHTML,10)+1});b("thread.paginate",function(a,b,c){a={slug:DISQUS.jsonData.thread.slug,sort:DISQUS.jsonData.request.sort,p:a,per_page:c||DISQUS.config.page.per_page};DISQUS.dtpl.actions.fire("thread.paginate.onLoadingStart");
if(b)b.style.display="none";DISQUS.request.get(DISQUS.jsonData.urls.embed_thread,a,!0)});b("thread.paginate.onLoadingStart","= 1.0",function(){DISQUS.jsonData.thread.pagination_type=="num"?(DISQUS.window.anchor("disqus_thread"),DISQUS.nodes.get("#dsq-comments").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading.gif"/>'):DISQUS.nodes.get("#dsq-pagination").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading-small.gif"/>'});b("thread.paginate.onLoadingStart",
">= 1.1",function(){});b("thread.paginate.onLoadingEnd",function(){});b("thread.update",function(){function a(b){if(c)c.innerHTML=b}var b=DISQUS.nodes.get("#dsq-comments"),c=DISQUS.nodes.get("#dsq-num-posts"),e=DISQUS.nodes.get("#dsq-pagination"),f,d=DISQUS.jsonData.thread.num_posts;DISQUS.trigger("loader.onDataReady");if(DISQUS.jsonData.thread.pagination_type=="num")DISQUS.dtpl.replaceHtml(b,DISQUS.renderBlock("comments")),DISQUS.ui.applyTooltips(b),DISQUS.jsonData.thread.total_posts>d?(f=DISQUS.jsonData.thread.offset_posts,
a(f+1+"-"+(f+d))):a(d);else if(DISQUS.jsonData.thread.pagination_type=="append")DISQUS.jsonData.request.page==1?(b.innerHTML=DISQUS.renderBlock("comments"),a(d)):(f=document.createElement("div"),f.innerHTML=DISQUS.renderBlock(function(a){var b="";DISQUS.each(a.comments,function(a){b+=DISQUS.renderBlock("comment",{comment:a})});return b}),b.appendChild(f),DISQUS.ui.applyTooltips(f),f=c?parseInt(c.innerHTML,10):0,a(f+d));e.innerHTML=DISQUS.renderBlock("pagination");DISQUS.trigger("thread.onPaginate");
DISQUS.ui.truncateComments(b);DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars");DISQUS.dtpl.actions.fire("thread.paginate.onLoadingEnd")});b("thread.sort.onLoadingStart","= 1.0",function(){DISQUS.nodes.get("#dsq-comments").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading.gif"/>'});b("thread.sort.onLoadingStart",">= 1.1",function(){});b("thread.sort.onLoadingEnd",function(){});b("thread.sort",function(a){var b;/hot|best|newest|oldest|highlighted/.test(a)&&(b={slug:DISQUS.jsonData.thread.slug,
sort:a,p:1},DISQUS.dtpl.actions.fire("thread.sort.onLoadingStart"),DISQUS.dtpl.actions.fire("realtime.updateState",a),DISQUS.request.get(DISQUS.jsonData.urls.embed_thread,b,!0))});b("thread.subscribe",function(a){var b=DISQUS.jsonData.urls.embed_subscribe,c=DISQUS.jsonData.request;c.is_authenticated&&c.has_email||a?(a&&DISQUS.popup.close(null,!0),DISQUS.request.get(b,{status:1,slug:DISQUS.jsonData.thread.slug,email:a||""},!0)):a||(DISQUS.popup.popModal(DISQUS.renderBlock("subscribeForm"),DISQUS.strings.get("Get notified of new comments by email")),
DISQUS.nodes.get("input",DISQUS.nodes.get("#dsq-popup-message"))[0].focus())});b("__.thread.subscribe.onChange",function(a){a=!!parseInt(a,10);(DISQUS.jsonData.context.subscribed=a)?e("thread.subscribe.onSuccess"):e("thread.unsubscribe.onSuccess")});b("thread.subscribe.onSuccess","= 1.0",function(){var a=DISQUS.strings.get("Subscribed"),b=DISQUS.strings.get("You have subscribed to this comment thread. New comments will be sent directly to your email inbox, where you may read and respond by email.");
DISQUS.nodes.get("#dsq-subscribe").innerHTML='<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.unsubscribe\');">'+DISQUS.strings.get("Unsubscribe")+"</a>";DISQUS.popup.popModal(b,a)});b("thread.subscribe.onSuccess",">= 1.1",function(){});b("thread.unsubscribe",function(){var a=DISQUS.jsonData.urls.embed_subscribe;DISQUS.jsonData.request.is_authenticated&&DISQUS.request.get(a,{status:0,slug:DISQUS.jsonData.thread.slug},!0)});b("thread.unsubscribe.onSuccess","= 1.0",function(){var a=DISQUS.strings.get("Unsubscribed"),
b=DISQUS.strings.get("You have unsubscribed from this comment thread. New comments will no longer be sent to your email inbox.");DISQUS.nodes.get("#dsq-subscribe").innerHTML='<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.subscribe\');">'+DISQUS.strings.get("Subscribe by email")+"</a>";DISQUS.popup.popModal(b,a)});b("thread.unsubscribe.onSuccess",">= 1.1",function(){});b("thread.vote",function(a){function b(c,e){var f=DISQUS.nodes;f.hasClass(c,"dsq-toggled")?(a=0,f.removeClass(c,"dsq-toggled")):
f.addClass(c,"dsq-toggled");f.removeClass(e,"dsq-toggled")}var c=DISQUS.jsonData;if(c.request.is_authenticated||c.forum.allow_anon_votes){var e=DISQUS.nodes.get("#dsq-like-thread-button"),f=DISQUS.nodes.get("#dsq-dislike-thread-button");a>0?b(e,f):b(f,e);DISQUS.api("threads/vote",{data:{thread:c.thread.id,vote:a},type:"POST",success:function(b){DISQUS.dtpl.actions.fire("thread.vote.onSuccess",a,b.thread.likes)}})}else DISQUS.dtpl.actions.fire("auth.disqus",DISQUS.strings.get("To like please login"))});
b("thread.vote.onSuccess",function(a,b){a>0?e("thread.share.new"):e("thread.share.cancel");DISQUS.jsonData.thread.user_vote=a;DISQUS.jsonData.thread.likes=b;if(DISQUS.jsonData.request.is_authenticated){var c=DISQUS.jsonData.request.username;if(a==1){var f={};f[c]={username:c,avatar:DISQUS.jsonData.urls.request_user_avatar,url:DISQUS.jsonData.urls.request_user_profile,name:DISQUS.jsonData.request.display_username};DISQUS.jsonData.thread.voters=DISQUS.lang.extend(f,DISQUS.jsonData.thread.voters)}else delete DISQUS.jsonData.thread.voters[c]}DISQUS.db.available&&
(c=new DISQUS.db.Store("disqus_embed"),f=c.get("thread_votes")||{},f[DISQUS.jsonData.thread.id]={value:a,timestamp:DISQUS.jsonData.request.timestamp},c.set("thread_votes",f));c=DISQUS.nodes.get("#dsq-content");if(c=DISQUS.nodes.get("ul.dsq-like-faces",c)[0])c.innerHTML=DISQUS.renderBlock("likeActivity"),DISQUS.ui.applyTooltips(c)});b("thread.help",function(){DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderatorHelpPopup"),DISQUS.strings.get("Help"))});b("thread.settings",
function(){DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("threadSettingsPopup"),DISQUS.strings.get("Moderator Settings"))});b("thread.moderatorActions",function(){DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderatorActionsPopup"),DISQUS.strings.get("Moderate Options"))});b("thread.close",function(){var a=DISQUS.jsonData;DISQUS.api("threads/close",{data:{forum:a.forum.url,thread:a.thread.id},type:"POST",success:function(){DISQUS.ui.Modal.closeAll();
DISQUS.reload(function(){DISQUS.redraw()})}})});b("thread.open",function(){var a=DISQUS.jsonData;DISQUS.api("threads/open",{data:{forum:a.forum.url,thread:a.thread.id},type:"POST",success:function(){DISQUS.ui.Modal.closeAll();DISQUS.reload(function(){DISQUS.redraw()})}})});b("thread.updateModerationSettings",function(a){var b=DISQUS.jsonData,b={forum:b.forum.url,thread:b.thread.id};DISQUS.extend(b,a);DISQUS.api("threads/updateModerationSettings",{data:b,type:"POST",success:function(a){DISQUS.dtpl.actions.fire("thread.updateModerationSettings.onSuccess",
a)}})});b("thread.updateModerationSettings.onSuccess",function(){});b("thread.updateDaysAlive",function(){var a=DISQUS.nodes.get("#dsq-thread-settings-status"),b=DISQUS.nodes.get("#dsq-thread-days-alive").value;DISQUS.dtpl.actions.fire("thread.updateModerationSettings",{lifespan:b});a.innerHTML=DISQUS.strings.get("Saved!");setTimeout(function(){a.innerHTML=""},1E3)});b("thread.updateModerateAll",function(){var a=DISQUS.nodes.get("#dsq-thread-settings-status"),b=+!!DISQUS.nodes.get("#dsq-thread-moderate-all").checked;
DISQUS.dtpl.actions.fire("thread.updateModerationSettings",{moderate:b});a.innerHTML=DISQUS.strings.get("Saved!");setTimeout(function(){a.innerHTML=""},1E3)});b("thread.expandMediaEmbed",function(a){var b;DISQUS.lang.forEach(DISQUS.jsonData.mediaembed,function(c){c.id==a&&(b=c)});DISQUS.popup.popModal(DISQUS.renderBlock("mediaEmbedPopup",{media:b}),DISQUS.strings.get("Attached File"),null,!0,"dsq-media-embed")});b("thread.share.send",function(){function a(b){if(typeof b==="object")b=b.url;DISQUS.popup.popModal('<div id="dsq-tweetbox-container" style="width:520px;height:160px"></div>',
"Share on Twitter",null,null,null,{onClose:function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")},onReady:function(){var a=DISQUS.nodes.get("#dsq-tweetbox-container"),c=new DISQUS.TweetFrame(a,{onReady:function(){c.setContent(f+": "+b)},onSuccess:function(){DISQUS.popup.close(null,!0);DISQUS.dtpl.actions.fire("thread.share.nextJob")}});c.init()}})}if(i){var b=DISQUS.nodes.get("#dsq-share-thread-twitter"),c=DISQUS.nodes.get("#dsq-share-thread-facebook"),b={facebook:c&&c.checked,twitter:b&&b.checked};
DISQUS.trigger("thread.onShare",b);if(b.twitter||b.facebook){c=DISQUS.nodes.get("#dsq-share-step-1");DISQUS.nodes.hide(c,!0);c=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.show(c,!0);i.reposition();l=[];var e={},f=DISQUS.settings.get("thread.title")||document.title;if(DISQUS.jsonData.request.is_authenticated)c=DISQUS.jsonData.request.sharing,e={tw:+(b.twitter&&c.twitter.enabled),fb:+(b.facebook&&c.facebook.enabled&&!DISQUS.jsonData.request.is_remote)};(e.tw||e.fb)&&l.push(function(){DISQUS.request.get(DISQUS.jsonData.urls.embed_thread_share,
DISQUS.lang.extend({},e,{title:f,thread:DISQUS.jsonData.thread.id}),!0)});b.facebook&&!e.fb&&l.push(function(){var a=window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(window.location),"_blank","width=600,height=400");DISQUS.addJob(function(){return!a||a.closed},function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")})});b.twitter&&!e.tw&&l.push(function(){DISQUS.api("shortener/create",{data:{url:window.location.href,forum:DISQUS.jsonData.forum.url,thread:DISQUS.jsonData.thread.id},
type:"POST",success:a,failure:function(){a(window.location.href)}})});DISQUS.dtpl.actions.fire("thread.share.nextJob")}}});b("thread.share",function(){e("thread.share.send")});b("thread.share.new",function(){if(i){var a=DISQUS.nodes.get("div.dsq-share-step",i.container);DISQUS.lang.forEach(a,function(a){DISQUS.nodes.hide(a,!0)});DISQUS.nodes.show(a[0],!0);i.show()}});b("thread.share.cancel",function(){i&&i.hide()});b("thread.share.nextJob",function(a){i&&(a?DISQUS.FB.init(function(){DISQUS.FB.streamShare("",
a,function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")})}):l.length?l.shift()():DISQUS.dtpl.actions.fire("thread.share.onSuccess"))});b("thread.share.onSuccess",function(){if(i){var a=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.hide(a,!0);a=DISQUS.nodes.get("#dsq-share-step-3");DISQUS.nodes.show(a,!0);i.reposition()}});b("thread.share.onFailure",function(){if(i){var a=DISQUS.nodes.get("#dsq-share-step-3");DISQUS.nodes.hide(a,!0);a=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.show(a,
!0);i.reposition()}});b("realtime.initialize",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle");if(!DISQUS.states.realtime&&a)DISQUS.states.realtime=!0,DISQUS.cache.realtime.last_checked=DISQUS.jsonData.request.timestamp,a.onclick=function(){DISQUS.cache.realtime.interval?e("realtime.disable"):e("realtime.enable");return!1},DISQUS.jsonData.forum.streaming_realtime||e("realtime.updateCount"),DISQUS.jsonData.thread.realtime_rate===0||DISQUS.jsonData.realtime_paused?e("realtime.disable",DISQUS.jsonData.request.sort!=
"oldest"):e("realtime.enable")});b("realtime.enable",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle"),b=DISQUS.nodes.get("#dsq-realtime-status"),c=setInterval(function(){var a=DISQUS.cache.realtime,b=DISQUS.jsonData.urls.realtime;b+="?timestamp="+a.last_checked+"&thread_id="+DISQUS.jsonData.thread.id+"&f="+DISQUS.jsonData.forum.url+"&";if(!a.ongoing_request&&DISQUS.jsonData.realtime_enabled)a.prev_script&&a.prev_script.parentNode&&DISQUS.nodes.remove(a.prev_script),a.ongoing_request=!0,a.prev_script=
DISQUS.request.get(b,void 0,!0)},DISQUS.jsonData.context.realtime_speed);DISQUS.cache.realtime.interval=c;b.innerHTML=DISQUS.strings.get("enabled");a.innerHTML="("+DISQUS.strings.get("Pause")+")"});b("realtime.disable",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle"),b=DISQUS.nodes.get("#dsq-realtime-status"),c=DISQUS.cache.realtime.interval;if(c)clearInterval(c),DISQUS.cache.realtime.interval=null;b.innerHTML=DISQUS.strings.get("paused");a.innerHTML="("+DISQUS.strings.get("Resume")+")"});
b("realtime.updateState",function(a){if(DISQUS.states.realtime){var b=!!DISQUS.cache.realtime.interval;a=="oldest"?DISQUS.dtpl.actions.fire("realtime.disable",!1):DISQUS.jsonData.realtime_was_on&&!b?DISQUS.dtpl.actions.fire("realtime.enable"):DISQUS.dtpl.actions.fire("realtime.toggleResume");DISQUS.jsonData.realtime_was_on=b}});b("realtime.toggleResume",function(){var a=!DISQUS.cache.realtime.interval;DISQUS.nodes.get("#dsq-realtime-toggle").innerHTML=a?"("+DISQUS.strings.get("Resume")+")":"("+DISQUS.strings.get("Pause")+
")"});b("realtime.updateCount",function(){var a=DISQUS.nodes.get("#dsq-content"),a=DISQUS.nodes.get("div.dsq-realtime-alert",a),b=DISQUS.cache.realtime.newPosts.length;if(function(){var a=0,b;for(b in DISQUS.jsonData.posts)if(DISQUS.jsonData.posts.hasOwnProperty(b)&&++a>5)return!1;return!0}())for(;a.length>1;)a.pop();DISQUS.lang.forEach(a,function(a){a.style.display=b?"block":"none";var c=DISQUS.strings.get("new comment was just posted."),f=DISQUS.strings.get("new comments were just posted.");a.innerHTML=
b>1?b+" "+f+" ":b+" "+c+" ";c=document.createElement("A");c.href="#";DISQUS.events.add(c,"click",function(a){a.preventDefault();return e("realtime.show")});c.innerHTML=DISQUS.strings.get("Show");a.appendChild(c)})});b("realtime.insertNewPosts",function(){var a=null,b=DISQUS.nodes.get("#dsq-sort-select");if(!b&&DISQUS.jsonData.request.sort=="hot"||b&&b.value=="oldest")a=-1;DISQUS.lang.forEach(DISQUS.cache.realtime.newPosts,function(b){e("comments.insert",a,b);e("thread.incrementCommentsCount");e("comments.outline",
b)});DISQUS.jsonData.forum.streaming_realtime||(a?(b=DISQUS.nodes.get(".dsq-comment",DISQUS.nodes.get("#disqus_thread")),DISQUS.nodes.scrollTo(b[b.length-1])):DISQUS.nodes.scrollTo("#disqus_thread"));DISQUS.cache.realtime.newPosts=[]});b("realtime.show",function(){e("realtime.insertNewPosts");e("realtime.updateCount")});b("realtime.update",function(a,b,c){var f=DISQUS.cache.realtime;f.ongoing_request=null;f.last_checked=a;c&&DISQUS.lang.forEach(c,function(a,b){DISQUS.jsonData.users[b]||(DISQUS.jsonData.users[b]=
a)});b&&(DISQUS.lang.forEach(b,function(a,b){DISQUS.jsonData.posts[b]||(DISQUS.updatePost(b,a),f.newPosts.push(b))}),DISQUS.jsonData.forum.streaming_realtime?e("realtime.insertNewPosts"):e("realtime.updateCount"))});b("community.show",function(){(new DISQUS.ui.ForumCommunityModal).open({url:DISQUS.jsonData.urls.community,lang:DISQUS.jsonData.forum.language})});b("reactions.hide",function(a){DISQUS.api("reactions/remove",{data:{reaction:a,forum:DISQUS.jsonData.forum.url},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("reactions.hide.onSuccess",
a[0].id)}})});b("reactions.hide.onSuccess",function(a){DISQUS.nodes.hide(DISQUS.nodes.get("#dsq-reaction-"+a))});b("reactions.hide.onSuccess",function(a){DISQUS.nodes.get("#dsq-reaction-"+a).style.display="none"});b("reactions.loadMore",function(){DISQUS.request.get(DISQUS.jsonData.urls.embed_more_reactions,{t:DISQUS.jsonData.thread.id,s:DISQUS.jsonData.reactions_start,l:DISQUS.jsonData.reactions_limit},!0)});b("reactions.insert",function(a){var b=DISQUS.nodes.get("#dsq-reactions"),c=DISQUS.nodes.get("#dsq-show-more-reactions");
DISQUS.lang.forEach(a,function(a){var a={reaction:a},c=document.createElement("div"),e=a.reaction.get_service_name;a.reaction.service_icon=e=="trackback"||e=="pingback"?"rss":e.replace(" ","");c.innerHTML=DISQUS.renderBlock("reaction",a);b.appendChild(DISQUS.nodes.children(c)[0])});DISQUS.ui.applyTooltips(b);if(!DISQUS.jsonData.has_more_reactions)c.style.display="none"});b("reactions.reportMissing",function(){var a=DISQUS.jsonData.urls.embed_queueurl;DISQUS.jsonData.request.is_moderator&&DISQUS.jsonData.forum.reactions_enabled&&
(DISQUS.jsonData.thread.queued?DISQUS.popup.popModal(DISQUS.strings.get("The system will automatically search for new reactions. If any are found, they will displayed on this comment thread."),DISQUS.strings.get("Thank you")):DISQUS.request.get(a,{},!0))});b("reactions.showRetweets",function(a){var b;DISQUS.lang.forEach(DISQUS.jsonData.reactions,function(c){c.id==a&&(b=c)});DISQUS.popup.popModal(DISQUS.renderBlock("retweetsPopup",{reaction:b}),DISQUS.strings.get("Retweets"))});b("toolbar.initialize",
function(){if(DISQUS.nodes.get("#dsq-global-toolbar")){var a=DISQUS.nodes.get("#dsq-like-thread-button");i=new DISQUS.tooltip.ManualTooltip(a,{trigger:null,contentId:"dsq-like-tooltip"});var b=[DISQUS.nodes.get("#dsq-share-thread-twitter"),DISQUS.nodes.get("#dsq-share-thread-facebook")],c=function(){var a=!1;DISQUS.lang.forEach(b,function(b){b&&(a=a||b.checked)});var c=DISQUS.nodes.get(".dsq-primary-action",i.content)[0];a?(c.removeAttribute("disabled"),DISQUS.nodes.removeClass(c,"dsq-tooltip-disabled-button")):
(c.setAttribute("disabled","disabled"),DISQUS.nodes.addClass(c,"dsq-tooltip-disabled-button"))};DISQUS.lang.forEach(b,function(a){a&&DISQUS.events.add(a,"click",c)});var a=DISQUS.nodes.get("#dsq-toolbar-dropdown"),a=DISQUS.nodes.get("a",a)[0],e=DISQUS.nodes.get("#dsq-toolbar-dropdown-wrap");DISQUS.events.add(a,"click",function(a){a.preventDefault();e.style.display=e.style.display=="none"?"block":"none"})}});b("help.login",function(){DISQUS.popup.popModal(DISQUS.renderBlock("helpLogin"),DISQUS.strings.get("Help: Enabling cookies"))});
b("comments.reply.mentions.selectUser",function(a,b){var c=DISQUS.jsonData.users[b],e=DISQUS.comm.Reply.recover(a);c.identifier=b;e.selectUser(c);DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",a)});b("comments.reply.mentions.selectActive",function(a){var b=DISQUS.dtpl.ReplyBox.get(a).textareaContainer();if(b=DISQUS.nodes.get(".dsq-mentions",b.parentNode)[0])b=j(b).getAttribute("data-dsq-username"),DISQUS.dtpl.actions.fire("comments.reply.mentions.selectUser",a,b)});b("comments.reply.mentions.suggest",
function(a,b){function c(a){a=DISQUS.nodes.get("li",a);DISQUS.each(a,function(a){DISQUS.events.add(a,"click",function(a){if((a=a.target||a.srcElement)&&!DISQUS.nodes.hasClass(a,"dsq-mentions"))if(a=k(a,"data-dsq-username")?a:DISQUS.nodes.closest(a,"li"))(a=a.getAttribute("data-dsq-username"))&&DISQUS.dtpl.actions.fire("comments.reply.mentions.selectUser",b,a)});DISQUS.events.add(a,"mouseover",function(a){var a=a.target||a.srcElement,b;if(a&&!DISQUS.nodes.hasClass(a,"dsq-mentions")&&(a=k(a,"data-dsq-username")?
a:DISQUS.nodes.closest(a,"li"))&&k(a,"data-dsq-username"))b=DISQUS.nodes.get("li",a.parentNode),DISQUS.each(b,function(a){DISQUS.nodes.removeClass(a,"dsq-mentions-highlighted")}),DISQUS.nodes.addClass(a,"dsq-mentions-highlighted")})})}function e(a){var b=a.remote_domain_name.toLowerCase()||"disqus";return'<li data-dsq-username="'+a.identifier+'" class="dsq-mentions-'+b+'">  <img class="dsq-mentions-avatar" src="'+a.avatar+'" />  <p class="dsq-mentions-name"><span>'+a.display_name+"</span></p></li>"}
function f(a,b){var e=DISQUS.dtpl.ReplyBox.get(b).textareaContainer(),d=DISQUS.nodes.get(".dsq-mentions",e.parentNode)[0];if(!d)d=document.createElement("ul"),d.className="dsq-mentions",DISQUS.nodes.insertAfter(e,d);a?(d.innerHTML=a,c(d),DISQUS.nodes.show(d),(e=n(d,null,"down"))&&DISQUS.nodes.addClass(e,"dsq-mentions-highlighted")):DISQUS.nodes.hide(d)}if(!a||!a.sections)DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",b);else{var d=!1,g="",l,i,h,j;for(h=0;h<a.sections.length;++h)if(l=a.sections[h],
(i=a[l])&&i.length){g+='<li class="dsq-mention-section"><h5>'+l+"</h5></li>";for(j=0;j<i.length;++j)d||(d=!0),g+=e(a[l][j]),DISQUS.jsonData.users[i[j].identifier]||(DISQUS.jsonData.users[i[j].identifier]=i[j])}d?f(g,b):DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",b)}});b("comments.reply.mentions.move",function(a,b){var c=DISQUS.dtpl.ReplyBox.get(b).textareaContainer(),e=DISQUS.nodes.get(".dsq-mentions",c.parentNode)[0],c=j(e);if(e=n(e,c,a))DISQUS.nodes.removeClass(c,"dsq-mentions-highlighted"),
DISQUS.nodes.addClass(e,"dsq-mentions-highlighted")});b("comments.reply.mentions.clear",function(a){a=DISQUS.dtpl.ReplyBox.get(a).textareaContainer();(a=DISQUS.nodes.get(".dsq-mentions",a.parentNode)[0])&&DISQUS.nodes.hide(a)});return{def:b,callAction:d,register:function(a,b){o[a]=o[a]||[];b.guid=DISQUS.getGuid();o[a].push(b);return b},remove:f,getDefault:a,hasDefault:g,registered:c,fire:e}});DISQUS.define("dtpl.validators",function(){return{email:function(b){if(!/^[a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*\@(([a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*)+\.[a-z]{2,}|([0-9]+\.){3}[0-9]+)$/i.test(b.value))return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please enter a valid email to comment."),b.id),!1;return!0},name:function(b){var d=DISQUS.strings.get("Name");if(b.value==d||b.value.length<=1)return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please enter a name to comment."),
b.id),!1;return!0},website:function(b){var d=DISQUS.strings.get("Website")+" ("+DISQUS.strings.get("Optional")+")";if(!b||!b.value)return!0;else if(b.value==d)return b.value="",!0;if(b.value.indexOf(".")==-1)return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please check your website URL (this field is optional)."),b.id),!1;return!0},guestFields:function(b){b=b&&typeof b==="object"?b:DISQUS.dtpl.getGuestFields(b);if(DISQUS.jsonData.request.is_authenticated)return!0;if(!DISQUS.dtpl.validators.email(b.email))return!1;
if(!DISQUS.dtpl.validators.name(b.name))return!1;if(!DISQUS.dtpl.validators.website(b.website))return!1;return!0}}});DISQUS.define("cookies",function(){return{create:function(b,d){document.cookie=b+"="+d+"; path=/"},read:function(b){b+="=";for(var d,f=document.cookie.split(";"),a=0;a<f.length;a++){for(d=f[a];d.charAt(0)==" ";)d=d.substring(1,d.length);if(d.indexOf(b)===0)return d.substring(b.length,d.length)}return null},erase:function(b){var d=new Date;d.setTime(d.getTime()+-864E5);document.cookie=b+"=;expires="+d.toGMTString()+"; path=/"}}});
DISQUS.define("events",function(){function b(){if(d.ready)return!0;if(document&&document.getElementsByTagName&&document.getElementById&&document.body){if(d.timer)clearInterval(d.timer),d.timer=null;for(var b=0;b<d.queue.length;b++)d.queue[b]();d.queue=[];return d.ready=!0}return!1}var d={ready:!1,timer:null,queue:[]};return{execOnReady:function(f){b()?f():d.timer?d.queue.push(f):(DISQUS.events.add(window,"load",b),d.queue.push(f),d.timer=setInterval(b,13))}}});
DISQUS.define("request",function(){return{get:function(b,d,f,a){var g=document.createElement("script");g.src=DISQUS.getResourceURL(b,d,f);g.charset="UTF-8";(a||DISQUS.nodes.body()).appendChild(g);return g},post:function(b,d,f){var a,g,c,e;a=document.createElement("div");c="dsq-temp-iframe"+(new Date).getTime();g=document.createElement("form");g.method="POST";g.action=b;if(!f)g.target=c;try{e=document.createElement('<iframe name="'+c+'">')}catch(h){e=document.createElement("iframe"),e.name=c}e.style.display=
"none";e.id=c;a.appendChild(e);DISQUS.lang.forEach(d,function(a,b){var c=document.createElement("input");c.name=b;c.type="hidden";c.value=a;g.appendChild(c)});DISQUS.nodes.body().appendChild(a);DISQUS.nodes.body().appendChild(g);g.submit()}}});
DISQUS.define("popup",function(){return{popModal:function(b,d,f,a,g,c){DISQUS.ui.Modal.closeAll();f=new DISQUS.ui.Modal;b={title:d,body:b,extra:g};DISQUS.lang.extend(b,c||{});f.open(b)},popProfile:function(b,d,f){var a=DISQUS.jsonData.posts[b];if(a){if(a.has_been_anonymized){DISQUS.popup.popModal(DISQUS.strings.get("This message was anonymized by its previous owner"),DISQUS.strings.get("Anonymized"),b);return}else if(a.killed){DISQUS.popup.popModal(DISQUS.strings.get("This comment was removed by a moderator"),
DISQUS.strings.get("Comment Removed"),b);return}d=DISQUS.jsonData.posts[b].user_key}b={username:d,anonymous:!!d.match(/^[0-9a-f]{32}/i),isModerator:f,forum:DISQUS.getShortname(),lang:DISQUS.jsonData.forum.language};(new DISQUS.ui.ProfileModal).open(b);return!1},close:function(){DISQUS.ui.Modal.closeAll()},adjustPosition:function(){var b=DISQUS.ui.Modal.last();b&&b.reposition()}}});
DISQUS.define("window",function(){return{anchor:function(b){window.location.hash=b},isClosed:function(b){if(!b)return!0;try{return b.closed||b.closed===void 0}catch(d){return!0}}}});DISQUS.define("hacks.ie",function(){return{fixIframes:function(b){var d=DISQUS.nodes.get("#"+DISQUS.config.container_id).getElementsByTagName("iframe");if(b=b?DISQUS.nodes.get("#"+b):DISQUS.nodes.container)for(var f=0;f<d.length;f++)d[f].style.width=b.offsetWidth}}});DISQUS.define("db",function(){var b,d=DISQUS.json||window.JSON,f;try{f=!!window.localStorage}catch(a){f=!1}f?(b=function(a){if(!a)throw new DISQUS.AssertionError("Database needs key.");this.key=a},b.prototype._getObject=function(){var a=localStorage.getItem(this.key);try{return a?d.parse(a):{}}catch(b){return{}}},b.prototype._saveObject=function(a){try{return localStorage.setItem(this.key,d.stringify(a))}catch(b){return!1}},b.prototype.set=function(a,b){var e=this._getObject();e[a]=b;return this._saveObject(e)},
b.prototype.get=function(a){return this._getObject()[a]}):(b=function(){this.store={}},b.prototype={set:function(a,b){this.store[a]=b},get:function(a){return this.store[a]}});return{available:f,Store:b}});DISQUS.define("nodes",function(){function b(a){return RegExp("(^|\\s)"+a+"(\\s|$)")}function d(a,b){var c=DISQUS.qwery(a,b);return a.slice(0,1)=="#"&&a.indexOf(" ")===-1?c[0]:c}function f(a){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&b.push(a);return b}function a(a,c){return a.nodeType!==1?!1:c.slice(0,1)=="#"?a.id==c.slice(1):c.indexOf(".")!=-1?b(c.slice(1)).test(a.className):a.tagName.toLowerCase().indexOf(c)!=-1}function g(a,b,c){var e;if(a===document)return"";window.getComputedStyle?e=document.defaultView.getComputedStyle(a,
null).getPropertyValue(b):a.currentStyle&&(e=a.currentStyle[b]?a.currentStyle[b]:a.currentStyle[c]);return e=="transparent"||e===""||e=="rgba(0, 0, 0, 0)"?g(a.parentNode,b,c):e||""}function c(){var a;a=d("body")[0];if(i)return i;i={backgroundColor:null,fontColor:null,fontFamily:null,anchorColor:null,direction:null};a=d("#"+DISQUS.config.container_id)||a;i.fontColor=g(a,"color");i.backgroundColor=g(a,"background-color","backgroundColor");i.fontFamily=g(a,"font-family","fontFamily").replace(/['"]/g,
"");i.direction=g(a,"direction");if(a=d("a")[0])i.anchorColor=g(a,"color");return i}function e(){var a=c(),a={to_redirect:window.location,ff:a.fontFamily,fc:a.fontColor,ac:a.anchorColor};DISQUS.jsonData&&DISQUS.lang.extend(a,{f:DISQUS.jsonData.forum.url,t:DISQUS.jsonData.thread.slug,cbp:DISQUS.config.callback_params,default_text:DISQUS.config.def_text});return a}function h(a,c){return b(c).test(a.className)}function j(a,b){var c=(b||"").split(u);if(a.className){for(var e=" "+a.className+" ",f=a.className,
d=0,g=c.length;d<g;d++)e.indexOf(" "+c[d]+" ")<0&&(f+=" "+c[d]);a.className=DISQUS.lang.trim(f)}else a.className=b}function k(a,b){var c=(b||"").split(u);if(b){for(var e=(" "+a.className+" ").replace(s," "),f=0,d=c.length;f<d;f++)e=e.replace(" "+c[f]+" "," ");a.className=DISQUS.lang.trim(e)}else a.className=""}function n(a){var b,c;if(a){b=a.childNodes;for(var e=b.length-1;e>=0;)c=b[e],c.hasChildNodes()&&n(c),typeof c.outerHTML!="undefined"?c.outerHTML="":a.removeChild(c),e-=1}}var q=DISQUS.qwery("#dsq-content")[0],
o=DISQUS.qwery("head")[0]||DISQUS.qwery("#disqus_thread")[0],i,l=null,s=/[\n\t]/g,u=/\s+/;return{container:q,head:o,query:DISQUS.qwery,get:d,siblings:f,children:function(a){return f(a.firstChild)},is:a,body:function(){if(l)return l;var a=DISQUS.qwery("body");a&&a.length&&(l=a[0]);return l},closest:function(b,c){for(var e=b.parentNode;e;){if(a(e,c))return e;e=e.parentNode}return null},createIframe:function(a,b,c){var f,d,g;g=e();b&&DISQUS.lang.forEach(b,function(a,b){g[b]=a});d={marginwidth:0,marginheight:0,
hspace:0,vspace:0,frameborder:0,allowtransparency:"true",src:DISQUS.getResourceURL(a,g,!0)};c&&DISQUS.lang.forEach(c,function(a,b){d[b]=a});f=document.createElement("iframe");DISQUS.lang.forEach(d,function(a,b){f.setAttribute(b,a)});return f},getPosition:function(a){var b=0,c=0;if(a.offsetParent){do b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;while(a)}return[b,c]},getStyle:g,getBasicStyles:c,hasClass:h,addClass:j,removeClass:k,toggleClass:function(a,b){h(a,b)?k(a,b):j(a,b)},remove:function(a){if(a)n(a),
typeof a.outerHTML!="undefined"?a.outerHTML="":a.parentNode&&a.parentNode.removeChild(a)},removeChildren:n,insertBefore:function(a,b){a.parentNode.insertBefore(b,a)},insertAfter:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},firstChild:function(a){var a=a.childNodes,b;for(b=0;b<a.length;b++)if(a[b].nodeType===1)return a[b];return null},toHTML:function(a){var b;b=document.createElement("div");b.appendChild(a);return b.innerHTML},hide:function(a,b){b?a.style.cssText="display:none !important":
a.style.display="none"},show:function(a,b){b?a.style.cssText="display:block !important":a.style.display="block"},scrollTo:function(a){typeof a==="string"&&(a=d(a));a&&(a=DISQUS.nodes.getPosition(a),window.scrollTo(0,a[1]))},truncateComment:function(a,b,c){for(var e=a.childNodes[0],f=0;e!==null;){if(e.nodeType==3&&(f+=e.nodeValue.replace(/^\s+|\s+$/g,"").split(" ").length,f>b))break;if(e.childNodes.length>0)e=e.childNodes[0];else if(e.nextSibling!==null)e=e.nextSibling;else if(e.parentNode===a)break;
else{for(e=e.parentNode;e.parentNode.nextSibling===null&&e!==a;)e=e.parentNode;e=e==a?null:e.nextSibling}}if(f<=b)return!1;var d=e.nodeValue.replace(/^\s+|\s+$/g,"").split(" "),d=d.slice(0,d.length-(f-b));if(e.nodeType===3)e.nodeValue=d.join(" ")+c;for(;e!==a;){for(;e.nextSibling!==null;)e.nextSibling.parentNode.removeChild(e.nextSibling);e=e.parentNode}return!0},slide:function(a,b,c,e){var e=250,f=(new Date).getTime(),d=Math.max(b,c),g=c<b,k=g?Math.max:Math.min;a.style.height=b+"px";a.style.overflow=
"hidden";a.style.display="block";var i=setInterval(function(){var b=(new Date).getTime()-f,l=b/e;g&&(l=1-l);l=parseInt(d*l,10);l=k(l,c);a.style.height=l+"px";if(b>=e){if(l<=0)a.style.display="none",a.style.height="";clearInterval(i)}},13)},getIframeDefaults:e}});DISQUS.define("sandbox",function(){function b(){var a={DISQUS:null,browser:DISQUS.browser,config:DISQUS.config,urls:{},lang:{forEach:DISQUS.lang.forEach,interpolate:DISQUS.strings.interpolate,contains:function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return!0;return!1},pluralize:DISQUS.strings.pluralize,capitalize:DISQUS.strings.capitalize,extend:DISQUS.lang.extend},states:DISQUS.states,trans:DISQUS.strings.get,settings:{}},b={debug:"disqus.debug",minify_js:"disqus.minified",read_only:"disqus.readonly",
disqus_url:"disqus.urls.main",media_url:"disqus.urls.media",ssl_media_url:"disqus.urls.sslMedia",realtime_url:"disqus.urls.realtime",uploads_url:"disqus.urls.uploads",recaptcha_public_key:"disqus.recaptcha.key",facebook_app_id:"disqus.facebook.appId",facebook_api_key:"disqus.facebook.apiKey"};if(DISQUS.jsonData&&DISQUS.jsonData.context.switches.realtime_setting_change)b.realtimeHost="realtime.host",b.realtimePort="realtime.port";for(var f in b)b.hasOwnProperty(f)&&(a.settings[f]=DISQUS.settings.get(b[f]));
if(!DISQUS.jsonData)return a;var d=DISQUS.jsonData,b=d.settings.media_url;DISQUS.lang.extend(a,{context:d.context,messagesx:d.messagesx,comments:[],highlighted:[],unapproved:[],comment:null,forum:d.forum,integration:d.integration,loginOptions:[{name:"disqus",button_url:b+"/images/themes/narcissus/login-disqus.gif",enabled:!d.forum.disqus_auth_disabled,action:"auth.disqus"},{name:"facebook",button_url:b+"/images/themes/narcissus/login-facebook.gif",enabled:d.context.use_fb_connect,action:"auth.facebook"},
{name:"twitter",button_url:b+"/images/themes/narcissus/login-twitter.gif",enabled:d.context.use_twitter_signin,action:"auth.twitter"},{name:"google",button_url:b+"/images/themes/narcissus/login-twitter.gif",enabled:d.context.use_google_signin,action:"auth.google"},{name:"openid",button_url:b+"/images/themes/narcissus/login-openid.gif",enabled:d.context.use_openid,action:"auth.openid"},{name:"yahoo",button_url:b+"/images/themes/narcissus/login-yahoo.png",enabled:d.context.use_yahoo,action:"auth.yahoo"}],
ranks:d.ranks,request:d.request,reactions:d.reactions,session:d.session,sorting:[{value:"hot",label:DISQUS.strings.get("Popular now"),selected:d.request.sort=="hot"},{value:"best",label:DISQUS.strings.get("Best rating"),selected:d.request.sort=="best"},{value:"newest",label:DISQUS.strings.get("Newest first"),selected:d.request.sort=="newest"},{value:"oldest",label:DISQUS.strings.get("Oldest first"),selected:d.request.sort=="oldest"}],thread:d.thread,urls:d.urls});DISQUS.config.sso&&a.loginOptions.push({name:DISQUS.config.sso.name,
button_url:DISQUS.config.sso.button,action:"auth.sso",enabled:!0,userDefined:!0});DISQUS.lang.extend(a.settings,d.settings);if(DISQUS.db.available&&(c||(c=new DISQUS.db.Store("disqus_embed")),(f=c.get("thread_votes"))&&f[d.thread.id]))b=f[d.thread.id],b.timestamp>=d.request.timestamp?(f=b.value-a.thread.user_vote,a.thread.likes+=f<0?0:f,a.thread.user_vote=b.value):(delete f[d.thread.id],c.set("thread_votes",f));a.context.realtime_enabled=d.realtime_enabled;a.context.has_more_reactions=d.has_more_reactions;
DISQUS.config.trackback_url&&DISQUS.config.trackbacks?(a.context.trackback_url=DISQUS.config.trackback_url,a.context.trackbacks=DISQUS.config.trackbacks):(a.context.trackback_url=d.settings.disqus_url+"/forums/"+d.forum.url+"/"+d.thread.slug+"/trackback/",a.context.trackbacks=d.trackbacks);a.context.sharing=[];DISQUS.lang.forEach(a.request.sharing,function(b,c){if(!(a.request.is_remote&&a.request.remote_domain!=c))b.key=c,b.checked=b.auto===!0||a.request.remote_domain==c,a.context.sharing.push(b)});
a.request.display_sharing_options=d.request.is_authenticated;if(d.request.is_remote&&!d.request.sharing.hasOwnProperty(d.request.remote_domain))a.request.display_sharing_options=!1;if(a.reactions&&a.reactions.length>0){for(g=0;g<a.reactions.length;g++)b=a.reactions[g].get_service_name,a.reactions[g].service_icon=b=="trackback"||b=="pingback"?"rss":b.replace(" ","");if(a.reactions.retweets&&a.reactions.retweets.length===0)a.reactions.retweets=null}else a.reactions=null;DISQUS.lang.forEach(d.mediaembed,
function(a){a.thumbnailURL=d.settings.media_url+"/images/mediaembed-thumbnail.png";switch(a.type){case 1:case 5:if(a.metadata.thumbnail)a.thumbnailURL=d.settings.media_url.replace(/\/$/,"")+"/uploads/"+a.metadata.thumbnail.replace(/^\//,"");break;case 2:case 4:if(a.metadata.thumbnail)a.thumbnailURL=a.metadata.thumbnail}if(!d.posts[a.post].media)d.posts[a.post].media=[];d.posts[a.post].media.push(a)});var n={avatar:DISQUS.jsonData.forum.default_avatar_url,display_name:"Guest"};DISQUS.each(d.ordered_highlighted,
function(b){var c=d.highlighted[b];c.author=d.users[c.user_key]||n;c.id=b;c.stripped=function(a){var b=c.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};a.highlighted.push(c)});if(d&&d.context.switches.show_unapproved){var q=d.request;DISQUS.each(q.ordered_unapproved_posts,function(b){var c=q.unapproved_posts[b];c.author=d.users[c.user_key]||n;c.id=b;a.unapproved.push(c)})}var o=0;DISQUS.lang.forEach(d.ordered_posts,function(b){var c=d.posts[b];c.isFirst=!1;c.isLast=
!1;c.id=b;c.author=d.users[c.user_key]||n;c.even=o%2===0;if(c.parent_post_id&&d.posts[c.parent_post_id])c.parent=d.posts[c.parent_post_id],c.parent.author=d.users[c.parent.user_key]||n;c.stripped=function(a){var b=c.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};if(o===0)c.isFirst=!0;else if(b=a.comments[o-1],b.depth<c.depth)c.isFirst=!0;else if(b.depth>c.depth)b.isLast=!0;a.comments.push(c);o++});if(o>0)a.comments[o-1].isLast=!0;a.thread.page_numbers=[];for(g=a.request.page-
2;g<a.request.page+2;g++)g>0&&g<=a.thread.num_pages&&a.thread.page_numbers.push(g);a.thread.page_numbers[0]==2&&a.thread.page_numbers.unshift(1);a.thread.page_numbers[a.thread.page_numbers.length-1]==a.thread.num_pages-1&&a.thread.page_numbers.push(a.thread.num_pages);return a}function d(){var b={};DISQUS.lang.forEach(a,function(a){typeof a!="undefined"&&DISQUS.lang.extend(b,a)});return b}var f,a={},g,c=null;return{wrap:function(c,g,j){typeof f=="undefined"&&(f=b());j&&(a[c]=j);j=d();g=g(f,j);a[c]&&
(a[c]=void 0);return g},invalidateGlobals:function(){f=void 0}}});DISQUS.define("tooltip",function(){var b=function(d,a){a=DISQUS.lang.extend({},b.defaults,a===void 0?{}:a);this.element=d;this.options=a;this.returnTo=this.content=null;this.enabled=!0;this.init()};b.prototype={init:function(){var b=this,a=this.element,d=this.options;if(d.trigger==="click"){var c,e,h,j;h=function(){b.enter();DISQUS.events.remove(a,"click",c);setTimeout(function(){e=DISQUS.events.add(document,"click",j)},0)};c=DISQUS.events.add(a,"click",h);j=function(d){d=d||window.event;DISQUS.nodes.closest(d.target||
d.srcElement,".dsq-tooltip-outer")||(b.hide(),DISQUS.events.remove(document,"click",e),c=DISQUS.events.add(a,"click",h))}}else d.trigger&&(DISQUS.events.add(a,"mouseout",function(){b.leave()}),DISQUS.events.add(a,"mouseover",function(){b.enter()}))},show:function(){var b=this.getTitle();if(this.enabled&&(b||this.options.contentId)){var a=this.outer(),d=DISQUS.nodes.get(".dsq-tooltip-inner",a)[0],c;this.options.contentId?(c="big",this.content=DISQUS.nodes.get("#"+this.options.contentId),this.returnTo=
this.content.parentNode,d.appendChild(this.content),this.content.setAttribute("style","display:block !important")):(c="small",DISQUS.nodes.addClass(a,"dsq-tooltip-small"),this.options.html?d.innerHTML=b:typeof d.innerText!=="string"?d.textContent=b:d.textText=b);a.className="";DISQUS.nodes.addClass(a,"dsq-tooltip-outer");DISQUS.nodes.addClass(a,"dsq-tooltip-"+c);a.style.visibility="hidden";a.style.top="0";a.style.left="0";a.style.display="block";document.getElementsByTagName("body")[0].appendChild(a);
this.reposition()}},reposition:function(){var b=this.outer(),a=DISQUS.nodes.getPosition(this.element),a={left:a[0],top:a[1],width:this.element.offsetWidth,height:this.element.offsetHeight};b.style.top=a.top-b.offsetHeight+"px";b.style.left=a.left+"px";b.style.backgroundPosition=a.width/2+"px bottom";if(!this.options.fade)b.style.visibility="visible",b.style.opacity=this.options.opacity},hide:function(){if(!this.options.fade)this.content&&(this.content.setAttribute("style","display:none !important"),
this.returnTo.appendChild(this.content)),this.outer().style.visibility="hidden"},getTitle:function(){var b,a=this.element,d=this.options;a.title&&(a.setAttribute("original-title",a.title),a.removeAttribute("title"));typeof d.title=="string"?b=a.getAttribute(d.title=="title"?"original-title":d.title):typeof d.title=="function"&&(b=d.title.call(a));return(b=b&&b.replace(/(^\s*|\s*$)/,""))||d.fallback},outer:function(){if(!this._outer){var b=this._outer=document.createElement("div");b.className="dsq-tooltip-outer";
b.style.position="absolute";b.style.zIndex="9999";b.innerHTML='<div class="dsq-tooltip dsq-cleanslate">  <div class="dsq-tooltip-notch"></div>  <div class="dsq-tooltip-inner"></div></div>'}return this._outer},validate:function(){this.$element[0].parentNode||this.hide()},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},leave:function(){if(this.hoverState!=="out")this.hoverState="out",this.options.delayOut===0?this.hide():setTimeout(function(){this.hoverState==
"out"&&this.hide()},this.options.delayOut)},enter:function(){if(this.hoverState!=="in")this.hoverState="in",this.options.delayIn===0?this.show():setTimeout(function(){this.hoverState=="in"&&this.show()},this.options.delayIn)}};b.defaults={delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,opacity:0.95,title:"title",trigger:"hover",contentId:null,noclip:!1};var d=function(d,a){b.call(this,d,a)};d.prototype=DISQUS.lang.extend({},b.prototype);d.prototype.show=function(){var d=this,
a;b.prototype.show.call(this);a=DISQUS.events.add(document,"click",function(b){b=b||window.event;DISQUS.nodes.closest(b.target||b.srcElement,".dsq-tooltip-outer")||(d.hide(),DISQUS.events.remove(document,"click",a))})};return{Tooltip:b,ManualTooltip:d}});DISQUS.define("comm",function(){var b,d,f={Default:null,Facebook:null,SSO:null,Reply:{},Auth:{},Edit:{},Twitter:{},Upload:{}};return{Default:{create:function(a){if(f.Default!==null)return f.Default;var b,c={remote:DISQUS.settings.get("disqus.debug")?DISQUS.jsonData.urls.channels.def:DISQUS.settings.get("disqus.urls.media")+"/build/system/def.html#",onReady:function(){b.isReady=!0;a&&a()}};b=DISQUS.net.rpc(c,{local:{realtimeNotify:function(a){DISQUS.dtpl.actions.fire("messagesx.newEvent",a)}},remote:{api:{},
echo:{},enable:{},flushLog:{},addMeta:{},log:{},setApiKey:{},realtimePoll:{},gaPush:{}}});return f.Default=b},recover:function(){return f.Default}},Reply:{create:function(){var a=Array.prototype.slice.call(arguments),g=a.length,c=a[g-1],e=arguments[0],h=Object.prototype.toString.call(c)=="[object Function]"?c:null,j=g>0&&a[1]!=h?a[1]:0,j=j||null,a={},g=!1;if((!DISQUS.browser.ie||!DISQUS.browser.quirks)&&!DISQUS.browser.ie6&&!DISQUS.browser.ie7&&DISQUS.dtpl.actions.registered("comments.reply.onResize",
!0))a.scrolling="no",g=!0;if(typeof b=="undefined")b=DISQUS.jsonData,d=DISQUS.nodes.getBasicStyles();c={f:b.forum.url,t:b.thread.slug,ff:d.fontFamily,d:d.direction,p:DISQUS.config.def_text,upload_media:DISQUS.jsonData.context.switches.upload_media,mentions:DISQUS.jsonData.context.switches.mentions&&DISQUS.jsonData.forum.mentions_enabled};DISQUS.config.absorbStyles&&DISQUS.extend(c,{fc:d.fontColor,bg:d.backgroundColor});c=b.urls.channels.reply+"#"+DISQUS.serializeArgs(c);if(DISQUS.browser.ie&&window.postMessage==
null){var k=!1;if(typeof window.ActiveXObject!="undefined")try{var n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(n){var q=n.GetVariable("$version");q&&(q=q.split(" ")[1].split(","),parseInt(q[0],10)==10&&(k=!0))}}catch(o){}if(!k&&!DISQUS.nodes.get("#dsq-old-flash-notice"))n=DISQUS.nodes.get("#disqus_thread"),q=document.createElement("div"),q.id="dsq-old-flash-notice",q.className="dsq-notice",q.innerHTML=DISQUS.renderBlock("oldFlashMessage"),n.insertBefore(q,n.firstChild)}var i=DISQUS.net.rpc({remote:c,
container:e,props:a,onReady:function(){var a=DISQUS.nodes.get(".dsq-iframe-loading",e);a.length&&e.removeChild(a[0]);a=b.posts[j]||{};i.setState(a.id||null,a.depth===void 0?null:a.depth,DISQUS.jsonData.forum.id,DISQUS.jsonData.thread.id);i.setData({users:DISQUS.jsonData.users,browser:DISQUS.browser,media_url:DISQUS.jsonData.media_url});i.isReady=!0;h&&h();if(DISQUS.browser.ie&&DISQUS.browser.quirks&&this.container)a=DISQUS.nodes.get("iframe",e)[0],a.style.width=parseInt(a.parentNode.offsetWidth,10)+
"px"},appendElement:!0},{local:{cookieFailure:function(){DISQUS.dtpl.actions.fire("cookies.onFailure")},resizeFrame:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.onResize",b,a)},onFocus:function(){DISQUS.dtpl.actions.fire("comments.reply.onFocus",j)},onBlur:function(){DISQUS.dtpl.actions.fire("comments.reply.onBlur",j)},onUploadAdd:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload.onResponse",a,j)},onUploadRemove:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.remove.onResponse",
a,j)},onSuggest:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.mentions.suggest",a,b||void 0)},onSuggestMove:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.mentions.move",a,b||void 0)},onSuggestSelect:function(a){DISQUS.dtpl.actions.fire("comments.reply.mentions.selectActive",a||void 0)},onSuggestClear:function(a){DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",a||void 0)}},remote:{show:{},post:{},postAsGuest:{},validate:{},setState:{},focus:{},setupResize:{},setData:{},selectUser:{}}});
g&&i.setupResize();return f.Reply[j]=i},recover:function(a){return f.Reply[a||null]},reset:function(){f.Reply={}}},Auth:{create:function(a,g,c){if(typeof b=="undefined")b=DISQUS.jsonData,d=DISQUS.nodes.getBasicStyles();var e={f:b.forum.url,t:b.thread.slug,to_redirect:window.location,cbp:DISQUS.config.callback_params,ff:d.fontFamily,fc:d.fontColor,ac:d.anchorColor,lang:b.forum.language};if(DISQUS.config.frame_theme)e.theme=DISQUS.config.frame_theme;var e=DISQUS.getResourceURL(b.urls.channels.auth,
e,!0),h=DISQUS.net.rpc({remote:e,onReady:function(){h.isReady=!0;c&&c()},container:a},{local:{onAuth:function(a){DISQUS.states.loginDisabled?DISQUS.popup.close(null,!0):DISQUS.reload(function(){g(a)})},onSignupViewed:function(){DISQUS.trigger("signup.viewed")}},remote:{focus:{}}});return f.Auth.def=h},recover:function(){return f.Auth.def}},Edit:{create:function(a,g,c){if(typeof b=="undefined")b=DISQUS.jsonData,d=DISQUS.nodes.getBasicStyles();var e=DISQUS.getResourceURL(b.urls.channels.edit,{f:b.forum.url,
t:b.thread.slug,p:g,ff:d.fontFamily},!0),h=DISQUS.net.rpc({remote:e,container:a,onReady:function(){h.isReady=!0;c&&c()}},{local:{},remote:{save:{},focus:{}}});f.Edit[g]=h;if(a=DISQUS.nodes.get("#dsq-edit-textarea-"+g))if(a.style.display="none",g=DISQUS.nodes.get("#dsq-edit-iframe-"+g))g.style.display="block",a.parentNode.appendChild(g);return h},recover:function(a){return f.Edit[a]}},Twitter:{create:function(a,b,c){var d=DISQUS.net.rpc({remote:DISQUS.jsonData.urls.channels.tweetbox,container:a,onReady:function(){d.isReady=
!0;b&&b()}},{local:{onTweet:function(){c&&c()}},remote:{setContent:{}}});return f.Twitter=d},recover:function(){return f.Twitter}},Facebook:{create:function(a,b){var c=DISQUS.jsonData.urls.channels.facebook;c+="#"+DISQUS.serializeArgs({f:DISQUS.jsonData.forum.url});var d=DISQUS.net.rpc({remote:c,container:a,props:{scrolling:"no"},onReady:function(){d.isReady=!0;if(b.onReady)b.onReady()}},{local:{onSuccess:function(){if(b.onSuccess)b.onSuccess()},onBusy:function(){if(b.onBusy)b.onBusy()},onFailure:function(){if(b.onFailure)b.onFailure()}},
remote:{authenticatePublisherSession:{},authenticatePublicSessionData:{},init:{},streamPublish:{}}});return f.Facebook=d},recover:function(){return f.Facebook}},SSO:{create:function(a,b){var c=DISQUS.net.rpc({remote:DISQUS.jsonData.urls.channels.sso,onReady:function(){c.isReady=!0;a!==void 0&&a()}},{local:{onSuccess:function(){b!==void 0&&b()}},remote:{authenticate:{}}});return f.SSO=c},recover:function(){return f.SSO}},Upload:{create:function(a,d){if(a){DISQUS.jsonData.request.display_sharing_options&&
DISQUS.nodes.addClass(a,"dsq-attach-media-border");var d=d||null,c=DISQUS.jsonData.urls.channels.upload;c+="#"+DISQUS.serializeArgs({f:b.forum.url,t:b.thread.slug});var e=new DISQUS.net.rpc({remote:c,container:a,props:{scrolling:"no",allowTransparency:"true"},onReady:function(){e.setupUpload(d||"",DISQUS.jsonData.forum.id,DISQUS.jsonData.thread.id);e.isReady=!0}},{local:{onUploadStart:function(){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload",d)},onUpload:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload.onResponse",
a,d)}},remote:{setupUpload:{},media:{}}});return f.Upload[d]=e}},recover:function(a){return f.Upload[a||null]}},reset:function(a){function g(a){a&&a.destroy()}DISQUS.each(f,function(b,d){d==="Default"&&a||b!==null&&(b.origin&&b.destroy?g(b):DISQUS.each(b,g))});b=d=void 0},ensureLoggedIn:function(a,b,c){c=c||{};if(DISQUS.jsonData.request.is_authenticated)a();else{switch(b){case "disqus":b=new DISQUS.ui.DisqusLoginBox;break;case "twitter":b=new DISQUS.ui.TwitterLoginBox;break;case "yahoo":b=new DISQUS.ui.YahooLoginBox;
break;case "openid":b=new DISQUS.ui.OpenIDLoginBox;break;case "google":b=new DISQUS.ui.GoogleLoginBox;break;case "facebook":b=DISQUS.FB.publisherKeySupported()?new DISQUS.ui.PublisherFacebookLoginBox:new DISQUS.ui.DefaultFacebookLoginBox;break;case "sso":b=new DISQUS.ui.SSOLoginBox;break;case "postas":b=new DISQUS.ui.LoginBox(c,{title:"Before we post this, who are you?",guestTab:!0});break;default:b=new DISQUS.ui.LoginBox(c)}b.onClose=function(){if(DISQUS.jsonData.request.is_authenticated)a();else if(typeof c.onFailure==
"function")c.onFailure()};b.open()}}}});DISQUS.define("ui",function(){var b={},d=0,f=function(){this.guid=++d;b[this.guid]=this};DISQUS.extend(f,{closeAll:function(){DISQUS.lang.forEach(b,function(a){a.close()})},last:function(){return b[d]}});f.prototype={init:function(){var a=this,b=a.container;b.className="dsq-popup dsq-popup-message "+(a.extra||"");DISQUS.browser.ie6||DISQUS.browser.ie7?DISQUS.events.execOnReady(function(){a._onContentReady()}):a._onContentReady();(b=DISQUS.nodes.get(".dsq-popup-close",b))&&b.length&&DISQUS.events.add(b[0],
"mouseup",function(){a.close()});a.mouseUpListener=function(b){DISQUS.nodes.closest(b.target||b.srcElement,"#"+a.container.id)||a.close()};a.keyUpListener=function(b){b.keyCode==27&&a.close()};DISQUS.bean.add(document,"mouseup",a.mouseUpListener);DISQUS.bean.add(document,"keyup",a.keyUpListener)},_onContentReady:function(){var a=this.container;DISQUS.nodes.body().appendChild(a);a.style.display="block";this.reposition();if(this.onReady)this.onReady()},open:function(a){f.closeAll();DISQUS.extend(this,
a||{});var b=this.title||"",c=this.body||"",d=this.container=document.createElement("div");d.id="dsq-popup-message";d.innerHTML=DISQUS.renderBlock("popup",{strict:a.strict,popupHeader:b,popupBody:c,popupClass:"",footer:typeof a.footer!=="undefined"?a.footer:!0});this.init();return d},close:function(){var a=this.container;if(a){if(this.mouseUpListener)DISQUS.bean.remove(document,"mouseup",this.mouseUpListener),this.mouseUpListener=null;if(this.keyUpListener)DISQUS.bean.remove(document,"keyup",this.keyUpListener),
this.keyUpListener=null;var c=DISQUS.nodes.get("#dsq-overlay");c&&DISQUS.nodes.remove(c);try{DISQUS.nodes.remove(a)}catch(d){for(var c=a.getElementsByTagName("IFRAME"),e=0;e<c.length;e++)c[e].parentNode.removeChild(c[e]);a.parentNode.removeChild(a)}this.container=null;if(this.onClose)this.onClose();b[this.guid]=null;delete b[this.guid]}},reposition:function(){var a=this.container;if(!a)return!1;var b=DISQUS.window.getSize(),c=(b[0]-a.offsetWidth)/2,b=(b[1]-a.offsetHeight)/2;DISQUS.browser.ie6&&(b=
DISQUS.window.getScrollPosition()[1]);a.style.left=c+"px";a.style.top=b+"px";return!0}};var a=function(){f.call(this)};DISQUS.extend(a.prototype,f.prototype,{open:function(a){DISQUS.extend(this,a||{});this.body='<div class="dsq-border" style="width:'+a.width+"px; height:"+a.height+'px"><a href="#" class="dsq-modal-close-btn" onclick="DISQUS.popup.close(null, true); return false">Close</a><div class="dsq-popup-raw-container"></div></div>';var b=this.container=document.createElement("div");b.id="dsq-popup-message";
b.innerHTML=this.body;this.extra="dsq-popup-raw";this.init();var c=DISQUS.nodes.createIframe(a.url,{},{width:"100%",height:"100%",scrolling:"no",frameBorder:"0",frameSpacing:"0",style:"visibility:hidden"}),b=DISQUS.nodes.get(".dsq-popup-raw-container",this.container)[0];b.appendChild(c);c.onreadystatechange=c.onload=function(){c.style.visibility="visible"};return b}});var g=function(){f.call(this)};DISQUS.extend(g.prototype,a.prototype,{open:function(b){b=b||{};typeof b==="string"&&(b={username:b});
var c=DISQUS.config&&DISQUS.config.domain?"http://"+DISQUS.config.domain:DISQUS.settings.get("disqus.urls.main");c+=(b.anonymous?"/embed/guest/":"/embed/")+b.username;var c=DISQUS.getResourceURL(c,{is_moderator:b.isModerator,forum:b.forum,lang:b.lang}),d=570,e=525,f=DISQUS.jsonData&&DISQUS.jsonData.context.active_gargoyle_switches;f&&DISQUS.contains(f,"new_embed_profile")&&(d=710,e=399);a.prototype.open.call(this,{url:c,width:d,height:e,onClose:b.onClose})}});var c=function(){this.tabs={};this.enabledTab=
null};DISQUS.extend(c.prototype,f.prototype,{open:function(a){var b=this,a=a||{};DISQUS.extend(a,{strict:!0,title:DISQUS.strings.get("Edit your profile"),extra:"dsq-profile-edit-modal",onClose:b.onClose,onReady:function(){b.onContentReady(a.selectedTab)}});b.lang=a.lang||"en";DISQUS.request.get(DISQUS.settings.get("disqus.urls.unmerged")||DISQUS.jsonData.urls.unmerged_profiles,{},!0);var c=function(d){DISQUS.dtpl.actions.remove("profile.getUnmerged.onSuccess",c);b.has_unmerged_users=d;f.prototype.open.call(b,
DISQUS.extend(a,{body:DISQUS.renderBlock("profileEdit",{has_unmerged_users:d})}))};DISQUS.dtpl.actions.register("profile.getUnmerged.onSuccess",c)},onContentReady:function(a){var b=this.tabs,c=this.lang,d=DISQUS.ui,e=DISQUS.settings.get("disqus.urls.main"),f=DISQUS.config.page?encodeURIComponent(DISQUS.config.page.url):"";if(this.has_unmerged_users)b.merge=new d.LoginBoxTab(this,"dsq-tab-profile-merge",new d.iFrameContent("dsq-profile-merge",e+"/embed/profile/merge?thread_url="+f+"&lang="+c));b.edit=
new d.LoginBoxTab(this,"dsq-tab-profile-edit",new d.iFrameContent("dsq-profile-edit",e+"/embed/profile/info?thread_url="+f+"&lang="+c));b.avatar=new d.LoginBoxTab(this,"dsq-tab-profile-avatar",new d.iFrameContent("dsq-profile-avatar",e+"/embed/profile/avatar?thread_url="+f+"&lang="+c));b.services=new d.LoginBoxTab(this,"dsq-tab-profile-services",new d.iFrameContent("dsq-profile-services",e+"/embed/profile/connections?thread_url="+f+"&lang="+c));b.notifications=new d.LoginBoxTab(this,"dsq-tab-profile-notifications",
new d.iFrameContent("dsq-profile-notifications",e+"/embed/account/notifications?thread_url="+f+"&lang="+c));b.account=new d.LoginBoxTab(this,"dsq-tab-profile-account",new d.iFrameContent("dsq-profile-account",e+"/embed/account?thread_url="+f+"&lang="+c));b.apps=new d.LoginBoxTab(this,"dsq-tab-profile-apps",new d.iFrameContent("dsq-profile-apps",e+"/embed/account/apps/?lang="+c));a&&b[a]?b[a].enable():(b.merge||b.edit).enable()}});var e=function(){f.call(this)};DISQUS.extend(e.prototype,a.prototype,
{open:function(b){b=b||{url:DISQUS.jsonData.urls.community};typeof b==="string"&&(b={url:b});var c=DISQUS.getResourceURL(b.url,{lang:b.lang});a.prototype.open.call(this,{url:c,width:700,height:525,onClose:b.onClose})}});var h=function(){this.name="disqus_edit_profile_"+DISQUS.getGuid()};h.prototype={open:function(a){a=DISQUS.getResourceURL(DISQUS.jsonData.urls.edit_profile_window,{lang:a.lang});this.window=window.open(a,"_blank","location=no,status=no,width=650,height=440,menubar=no")}};var j=function(a){this.name=
"disqus_"+DISQUS.getGuid();DISQUS.extend(this,a||{})};j.prototype={open:function(){var a=this;a.window=window.open(a.url,a.name,"location=0,status=0,width="+(a.width||800)+",height="+(a.height||400));a.window&&DISQUS.defer(function(){return DISQUS.window.isClosed(a.window)},function(){a.reload()})},reload:function(){var a=this;DISQUS.reload(function(){a.onClose()})},close:function(){this.window&&window.close()}};var k=function(a,b){this.opts=b||{};this.container=DISQUS.nodes.get("#"+a)};k.prototype=
{show:function(){DISQUS.nodes.show(this.container,!0);var a=DISQUS.nodes.get("input",this.container);a.length&&!this.opts.noAutoFocus&&a[0].focus()},hide:function(){DISQUS.nodes.hide(this.container,!0)}};var n=function(a,b,c){var d=a?"-"+a:"";k.call(this,"dsq-login-guest"+d,c);DISQUS.events.add(DISQUS.nodes.get("#dsq-field-email"+d),"keyup",function(a){var b=(a.target||a.srcElement).value,a="";if(b){for(var b=b.split("@")[0].split("."),c=0;c<b.length;c++)a+=b[c].charAt(0).toUpperCase()+b[c].slice(1)+
" ";a=DISQUS.lang.trim(a)}else a=void 0;if(a)DISQUS.nodes.get("#dsq-field-name"+d).value=a});var e=DISQUS.nodes.get("a",DISQUS.nodes.get(".dsq-login-add-url")[0])[0];e&&DISQUS.events.add(e,"click",function(a){DISQUS.nodes.hide(e.parentNode.parentNode,!0);DISQUS.nodes.show(DISQUS.nodes.get("#dsq-optional-field-website"),!0);a.preventDefault()});c=DISQUS.nodes.get("#dsq-submit-guest"+d);DISQUS.events.add(c,"click",function(){DISQUS.dtpl.validators.guestFields(a)&&b(this)})};DISQUS.extend(n.prototype,
k.prototype);var q=function(a,b,c){var d=this;a?parseInt(a,10)&&(a="dsq-login-disqus-"+a):a="dsq-login-disqus";k.call(d,a,c);d.iframeReady=!1;d.focusOnReady=!1;var e=DISQUS.comm.Auth.create(d.container,b,function(){d.iframeReady=!0;d.focusOnReady&&e.focus()})};DISQUS.extend(q.prototype,k.prototype,{show:function(){k.prototype.show.call(this);this.iframeReady?this.opts.noAutoFocus||DISQUS.comm.Auth.recover().focus():this.focusOnReady=!0}});var o=function(a,b){var c=this,d=DISQUS.nodes.get,e=DISQUS.nodes.hide,
f=DISQUS.nodes.show;k.call(this,b||"dsq-login-facebook-content");var g=DISQUS.nodes.get("#dsq-login-facebook-frame");c.rpc=DISQUS.comm.Facebook.create(g,{onReady:function(){c.rpc.init()},onBusy:function(){e(d(".dsq-connect-msg",c.container)[0],!0);f(d(".dsq-remote-authentication",c.container)[0],!0)},onFailure:function(){f(d(".dsq-connect-msg",c.container)[0],!0);e(d(".dsq-remote-authentication",c.container)[0],!0)},onSuccess:function(){DISQUS.reload(function(){a.close()})}})};DISQUS.extend(o.prototype,
k.prototype);var i=function(a,b){k.call(this,"dsq-login-"+b);var c=this,d=DISQUS.nodes.get(".dsq-external-launcher",this.container)[0];DISQUS.events.add(d,"click",function(){DISQUS.nodes.hide(DISQUS.nodes.get(".dsq-connect-msg",c.container)[0],!0);DISQUS.nodes.show(DISQUS.nodes.get(".dsq-remote-authentication",c.container)[0],!0);DISQUS.comm.ensureLoggedIn(function(){a.close()},b,{onFailure:function(){DISQUS.nodes.hide(DISQUS.nodes.get(".dsq-remote-authentication",c.container)[0],!0);DISQUS.nodes.show(DISQUS.nodes.get(".dsq-connect-msg",
c.container)[0],!0)}})})};DISQUS.extend(i.prototype,k.prototype);var l=function(a){i.call(this,a,"yahoo")};DISQUS.extend(l.prototype,i.prototype);var s=function(a){i.call(this,a,"twitter")};DISQUS.extend(s.prototype,i.prototype);var u=function(a){i.call(this,a,"facebook")};DISQUS.extend(u.prototype,i.prototype);var p=function(a){i.call(this,a,"google")};DISQUS.extend(p.prototype,i.prototype);var D=function(a){k.call(this,"dsq-login-openid");var b=DISQUS.nodes.get("#dsq-openid-submit-button");DISQUS.events.add(b,
"click",function(){var b,c,d=DISQUS.jsonData.urls.openid_connect,e=DISQUS.nodes.get("#dsq-openid-url").value;/^\s*$/.test(e)||(d=DISQUS.getResourceURL(d,{url:e,username:DISQUS.nodes.get("#dsq-openid-username").value}),b=window.open(d,"openidWindow","location=0,status=0,width=800,height=500"),c=setInterval(function(){DISQUS.window.isClosed(b)&&(clearInterval(c),DISQUS.reload(function(){a.close()}))},500))})};DISQUS.extend(D.prototype,k.prototype);var v=function(a){i.call(this,a,"sso")};DISQUS.extend(v.prototype,
i.prototype);var r=function(a,b){k.call(this,a);this.url=DISQUS.serialize(b,{},!0);this.iframe=null};DISQUS.extend(r.prototype,k.prototype,{show:function(){var a=this;if(!this.iframe)this.iframe=DISQUS.nodes.createIframe(this.url,{},{style:"display:none !important;",frameBorder:"0",frameSpacing:"0",height:"100%",width:"100%"}),DISQUS.events.add(this.iframe,"load",function(){DISQUS.nodes.hide(a.spinner,!0);DISQUS.nodes.show(a.iframe,!0)}),this.spinner=document.createElement("img"),this.spinner.src=
DISQUS.settings.get("disqus.urls.media")+"/images/dsq-loader.gif",this.container.appendChild(this.spinner),this.container.appendChild(this.iframe);k.prototype.show.call(this)}});var A=function(a,b,c){var d=this;d.parent=a;d.tabNode=DISQUS.nodes.get("#"+b);d.content=c;a=DISQUS.nodes.get("a",d.tabNode)[0];DISQUS.events.add(a,"click",function(a){d.enable();a.preventDefault();return!1})};A.prototype={enable:function(){this.parent.enabledTab&&this.parent.enabledTab.disable();DISQUS.nodes.addClass(this.tabNode,
"dsq-active");this.content.show();this.parent.enabledTab=this},disable:function(){DISQUS.nodes.removeClass(this.tabNode,"dsq-active");this.content.hide()}};var C=function(a,b){this.events=a;this.tabs={};this.tabsArray=[];this.enabledTab=null;b=b||{};this.title=DISQUS.strings.get(b.title||"Login or Register");this.guestTab=b.guestTab||!1};DISQUS.extend(C.prototype,f.prototype,{open:function(a){var b=this,a=a||{};DISQUS.extend(a,{strict:!0,title:b.title,body:DISQUS.renderBlock("loginPopup",{guestTab:b.guestTab}),
extra:"dsq-login-box",onClose:b.onClose,onReady:function(){b.onContentReady(a.selectedTab)}});f.prototype.open.call(b,a)},onContentReady:function(){var a=this,b=DISQUS.ui;DISQUS.jsonData.forum.allow_anon_post&&a.guestTab&&a.add("guest",new b.LoginBoxTab(this,"dsq-login-tab-guest",new b.GuestLoginContent(null,function(){a.events.onGuest();a.close()})));var c;if(DISQUS.config.sso&&(a.add("sso",new b.LoginBoxTab(this,"dsq-login-tab-sso",new b.SSOLoginContent(this))),DISQUS.config.sso.icon))c=DISQUS.nodes.get("span",
DISQUS.nodes.get("#dsq-login-tab-sso"))[0],c.style.cssText="background: url("+DISQUS.config.sso.icon+") !important;";DISQUS.jsonData.forum.disqus_auth_disabled||a.add("disqus",new b.LoginBoxTab(this,"dsq-login-tab-disqus",DISQUS.states.useLoginWindow?new b.ExternalLoginContent(this,"disqus"):new b.DisqusLoginContent(null,function(b){b.newUser&&DISQUS.dtpl.actions.fire("user.newUser.onSuccess");a.close()})));c=null;(c=DISQUS.FB.publisherKeySupported()?new b.PublisherFacebookLoginContent(this):new b.DefaultFacebookLoginContent(this,
"dsq-login-facebook"))&&a.add("facebook",new b.LoginBoxTab(this,"dsq-login-tab-facebook",c));a.add("google",new b.LoginBoxTab(this,"dsq-login-tab-google",new b.GoogleLoginContent(this)));a.add("twitter",new b.LoginBoxTab(this,"dsq-login-tab-twitter",new b.TwitterLoginContent(this)));a.add("yahoo",new b.LoginBoxTab(this,"dsq-login-tab-yahoo",new b.YahooLoginContent(this)));a.add("openid",new b.LoginBoxTab(this,"dsq-login-tab-openid",new b.OpenIdLoginContent(this)));this.tabsArray[0].enable()},add:function(a,
b){this.tabs[a]=b;this.tabsArray.push(b)}});var H=function(){};DISQUS.extend(H.prototype,f.prototype,{open:function(a){var b=this,a=a||{};if(DISQUS.states.useLoginWindow){a=DISQUS.nodes.getIframeDefaults();a.is_popup=!0;var c=window.open(DISQUS.getResourceURL(DISQUS.jsonData.urls.channels.auth,a,!0),"_blank","height=420,width=400");window.focus&&c.focus();var d=setInterval(function(){DISQUS.window.isClosed(c)&&(clearInterval(d),DISQUS.reload(function(){b.onClose()}))},500)}else DISQUS.extend(a,{strict:!1,
title:DISQUS.strings.get("Login or Register"),body:'<div id="dsq-login-iframe-wrapper" style="height:320px;"></div>',extra:"dsq-popup-login",onClose:b.onClose,onReady:function(){b.content=new q("dsq-login-iframe-wrapper",function(a){a.newUser&&DISQUS.dtpl.actions.fire("user.newUser.onSuccess");b.close()});b.content.show()}}),f.prototype.open.call(b,a)}});var I=function(){j.call(this,{url:DISQUS.jsonData.urls.twitter_connect,width:800,height:698})};DISQUS.extend(I.prototype,j.prototype);var J=function(){j.call(this,
{url:DISQUS.jsonData.urls.googleConnect,width:800,height:400})};DISQUS.extend(J.prototype,j.prototype);var B=function(){j.call(this,{url:DISQUS.jsonData.urls.yahoo_connect,width:800,height:400})};DISQUS.extend(B.prototype,j.prototype);var m=function(){var a=DISQUS.config.sso;j.call(this,{url:a.url,width:a.width||800,height:a.height||400})};DISQUS.extend(m.prototype,j.prototype,{reload:function(){window.location.reload()}});var K=function(){};DISQUS.extend(K.prototype,f.prototype,{open:function(){var a=
this,b={title:DISQUS.strings.get("Sign in with OpenID"),body:DISQUS.renderBlock("openidForm"),onClose:a.onClose,onReady:function(){a.content=new D(a)}};f.prototype.open.call(a,b)}});var x=function(){};DISQUS.extend(x.prototype,f.prototype,{open:function(){var a=this;f.prototype.open.call(this,{title:DISQUS.strings.get("Sign in using Facebook"),body:DISQUS.renderBlock("facebookLoginForm",{title:!1}),onClose:a.onClose,onReady:function(){a.content=new o(a)}})}});var E=function(){};E.prototype.open=function(){var a=
this;DISQUS.FB.init(function(){DISQUS.FB.login(function(){DISQUS.FB.authenticateViaPublisherKey(function(){DISQUS.reload(function(){if(a.onClose)a.onClose()})})},function(){if(a.onClose)a.onClose()})})};return{Modal:f,IframeModal:a,ProfileModal:g,ProfileEditModal:c,ProfileEditNewWindow:h,ForumCommunityModal:e,NewWindowModal:j,ContentBase:k,GuestLoginContent:n,DisqusLoginContent:q,DefaultFacebookLoginContent:o,ExternalLoginContent:i,YahooLoginContent:l,TwitterLoginContent:s,PublisherFacebookLoginContent:u,
GoogleLoginContent:p,OpenIdLoginContent:D,SSOLoginContent:v,iFrameContent:r,LoginBoxTab:A,LoginBox:C,DisqusLoginBox:H,TwitterLoginBox:I,GoogleLoginBox:J,YahooLoginBox:B,SSOLoginBox:m,OpenIDLoginBox:K,DefaultFacebookLoginBox:x,PublisherFacebookLoginBox:E,applyTooltips:function(a){typeof a==="undefined"&&(a=DISQUS.nodes.get("#disqus_thread"));a=DISQUS.nodes.get(".dsq-tt",a);DISQUS.lang.forEach(a,function(a){new DISQUS.tooltip.Tooltip(a,{gravity:"s",trigger:"hover",opacity:0.96,html:!0,contentId:a.getAttribute("data-dsq-content-id")})})},
truncateComments:function(a){var a=DISQUS.nodes.get(".dsq-comment-message",a),b=DISQUS.jsonData.forum.comment_max_words;DISQUS.lang.forEach(a,function(a){(a=a.id.match(/\d+$/))&&a.length&&b>0&&DISQUS.dtpl.actions.fire("comments.text.collapse",a[0])})}}});(function(){DISQUS.ui.PublisherFacebookLoginBox.prototype.show=DISQUS.ui.PublisherFacebookLoginBox.prototype.open;DISQUS.ui.FacebookLoginBox=DISQUS.ui.PublisherFacebookLoginBox;DISQUS.api=DISQUS.api||{};DISQUS.api.FacebookLoginBox=DISQUS.ui.FacebookLoginBox})();DISQUS.define("sso",function(){return{auth:function(b){var d=DISQUS.comm.SSO.create(function(){d.authenticate(b)},function(){if(b.onSuccess)b.onSuccess()})}}});DISQUS.ReplyFrame=function(b,d){this.frame=null;this.container=b;this.id=d;this._type=b.id&&b.id.match(/edit/)?"edit":"reply"};DISQUS.ReplyFrame.prototype={setState:function(){},init:function(){this.frame=this._type=="edit"?DISQUS.comm.Edit.create(this.container.id,this.id):DISQUS.comm.Reply.create(this.container.id,this.id)}};DISQUS.TweetFrame=function(b,d){var f=DISQUS.comm.Twitter.create(b,d.onReady,d.onSuccess);this.init=function(){};this.setContent=function(a){f.setContent(a)}};DISQUS.define("FB",function(){function b(){if(!DISQUS.nodes.get("#fb-root")){var a=document.createElement("div");a.id="fb-root";DISQUS.nodes.get("#disqus_thread").appendChild(a)}}function d(b){return function(){a[b].apply(a,arguments)}}var f=[],a=null,g=function(){this.authResponse=null};g.prototype={init:function(a,b){FB.init({apiKey:a,channelUrl:b,status:!0,cookie:!0,oauth:!0})},login:function(a,b){var c=this;FB.login(function(d){d.authResponse?(c.authResponse=d.authResponse,a()):(c.session=null,
b())})},authenticateViaPublisherKey:function(a){FB.login(function(b){var c=DISQUS.comm.Facebook.create(null,{onReady:function(){c.authenticatePublisherSession(b.authResponse)},onSuccess:a})})},streamPublish:function(a,b,c){FB.ui({method:"stream.publish",message:a,attachment:b},function(a,b){typeof c==="function"&&c(a,b)})},streamShare:function(a,b,c){FB.ui({method:"stream.share",u:b.href},function(a){typeof c==="function"&&c(a.post_id)})}};var c=function(a){this.rpc=a};c.prototype={init:function(){this.rpc.init()},
streamPublish:function(a,b,c){this.rpc.streamPublish(a,b,c)},streamShare:function(a,b,c){this.rpc.streamPublish(a,b,c)},authenticateViaPublisherKey:function(){}};return{init:function(){DISQUS.FB.init=function(b){typeof b==="function"&&f.push(b);if(a)for(;f.length;)f.shift()()};DISQUS.FB.init();if(DISQUS.FB.publisherKeySupported())b(),window.FB||DISQUS.require("http://connect.facebook.net/en_US/all.js"),DISQUS.addJob(function(){return window.FB&&FB.init},function(){a=new g;a.init(DISQUS.config.facebook_key||
DISQUS.jsonData.context.forum_facebook_key,window.facebookXdReceiverPath||null);DISQUS.FB.init()});else var d=DISQUS.comm.Facebook.create(null,{onReady:function(){a=new c(d);a.init();DISQUS.FB.init()}})},publisherKeySupported:function(){return(DISQUS.config.facebook_key||DISQUS.jsonData.context.forum_facebook_key)&&!(window.FB&&FB.dynData)},authenticateViaPublisherKey:d("authenticateViaPublisherKey"),login:d("login"),streamShare:d("streamShare"),streamPublish:d("streamPublish")}});(function(){function b(){var a=DISQUS.jsonData.request;e=a.is_authenticated?a.remote_domain||"disqus":"not_logged_in"}function d(a,b){k(["_trackEvent",g,a,c,b])}function f(a){if(a.length){for(var b=0,d=a.length;b<d;b++)a[b]=["_trackEvent",g,a[b][0],c,a[b][1]];k.apply(null,a)}}function a(){var a=function(a,b){DISQUS.dtpl.actions.register(a,function(){b.apply(this,arguments);return!0})};a("thread.vote",function(a){a==1?d("like_thread",1):a==-1&&d("dislike_thread",1)});a("comments.like",function(){d("like_comment",
1)});a("comments.report",function(a,b){b&&d("flag_comment",1)});a("comments.send",function(a){d(a===null?"post_comment":"post_comment_reply",1)});DISQUS.bind("thread.onShare",function(a){var b=[];DISQUS.each(a,function(a,c){a&&b.push(["share_thread_"+c,1])});f(b)});DISQUS.bind("comments.share",function(a){var b=[],c={tw:"twitter",fb:"facebook",tr:"tumblr",wp:"wordpress",mt:"movabletype",tp:"typepad",yh:"yahoo"};DISQUS.each(a,function(a,d){a&&b.push(["share_comment_"+c[d],1])});f(b)});DISQUS.once("thread.bottomViewed",
function(){d("view_bottom_embed",1)});a("realtime.show",function(){d("load_rtcomments",1)});a("comments.moderate.options",function(){d("moderate_comment_open",1)});a("profile.show",function(){d("open_profile",1)});a("community.show",function(){d("open_community",1)});a("auth.login",function(){d("open_login",1)});DISQUS.bind("signup.viewed",function(){d("open_signup",1)});a("thread.paginate",function(){d("load_comments",1)});a("comments.edit.send",function(){d("edit_comment",1)});a("thread.subscribe",
function(a){(a||DISQUS.jsonData.request.is_authenticated)&&d("subscribe_thread",1)})}var g,c,e,h,j,k;DISQUS.once("thread.topViewed",function(){DISQUS.defer(function(){return k&&g&&c},function(){d("view_embed",1)})});DISQUS.once("loader.onFilesReady",function(){a()});DISQUS.once("loader.onDataReady",function(){c=DISQUS.jsonData.forum.url||"?";var a=DISQUS.jsonData.forum.features;h=a.support_preferred?"plus":a.support_priority?"pro":a.support_vip?"vip":"free";b()});DISQUS.once("loader.onTemplateReady",
function(){var a=DISQUS.jsonData.forum.template.name;g=a=DISQUS.states.isMobile?"mobile":a=="Discovery Preview"?"houdini_discovery":a=="Houdini"?"houdini":a=="Narcissus"?"narcissus":"custom"});DISQUS.once("loader.onDefaultChannelReady",function(){j=DISQUS.comm.Default.recover();k=j.gaPush;DISQUS.once("comments.onGuestPost",function(){e="guest";k(["_setCustomVar",5,"userType",e])});DISQUS.dtpl.actions.register("thread.initialize",function(){b();k(["_setCustomVar",5,"userType",e]);return!0});DISQUS.once("discovery.onView",
function(){d("view_discovery",1)});DISQUS.defer(function(){return g&&c&&e&&h},function(){k(["_setCustomVar",1,"component","embed"],["_setCustomVar",2,"package",h],["_setCustomVar",3,"forum",c],["_setCustomVar",4,"version",g],["_setCustomVar",5,"userType",e],["_trackPageview"])})});DISQUS.once("discovery.onDisplay",function(){for(var a=DISQUS.nodes.get("#dsq-related a.redirect"),b=0;b<a.length;b++)DISQUS.bean.add(a[b],"click",function(){d("click_link_discovery",1)})})})();(function(b,d,f,a,g,c){function e(a,b){var c=typeof a[b];return c=="function"||!!(c=="object"&&a[b])||c=="unknown"}function h(){h=C;G=!0;for(var a=0;a<L.length;a++)L[a]();L.length=0}function j(a,b){G?a.call(b):L.push(function(){a.call(b)})}function k(){var a=parent;if(B!=="")for(var b=0,c=B.split(".");b<c.length;b++)a=a[c[b]];return a.easyXDM}function n(a){var b=a.match(H),a=b[2],c=b[3],b=b[4]||"";if(a=="http:"&&b==":80"||a=="https:"&&b==":443")b="";return a+"//"+c+b}function q(a){a=a.replace(J,"$1/");
if(!a.match(/^(http||https):\/\//)){var b=a.substring(0,1)==="/"?"":f.pathname;b.substring(b.length-1)!=="/"&&(b=b.substring(0,b.lastIndexOf("/")+1));a=f.protocol+"//"+f.host+b+a}for(;I.test(a);)a=a.replace(I,"");return a}function o(a,b){var d="",e=a.indexOf("#");e!==-1&&(d=a.substring(e).replace("#","&"),a=a.substring(0,e));var e=[],f;for(f in b)b.hasOwnProperty(f)&&e.push(f+"="+c(b[f]));return a+(O?"#":a.indexOf("?")==-1?"?":"&")+e.join("&")+d}function i(a){return typeof a==="undefined"}function l(){var a=
{},b={a:[1,2,3]};if(typeof JSON!="undefined"&&typeof JSON.stringify==="function"&&JSON.stringify(b).replace(/\s/g,"")==='{"a":[1,2,3]}')return JSON;if(Object.toJSON&&Object.toJSON(b).replace(/\s/g,"")==='{"a":[1,2,3]}')a.stringify=Object.toJSON;if(typeof String.prototype.evalJSON==="function"&&(b='{"a":[1,2,3]}'.evalJSON(),b.a&&b.a.length===3&&b.a[2]===3))a.parse=function(a){return a.evalJSON()};if(a.stringify&&a.parse)return l=function(){return a},a;return null}function s(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&
(e in a?(d=b[e],typeof d==="object"?s(a[e],d,c):c||(a[e]=b[e])):a[e]=b[e]);return a}function u(a){if(i(E)){var c=d.createElement("iframe");c.name=x+"TEST";s(c.style,{position:"absolute",left:"-2000px",top:"0px"});d.body.appendChild(c);E=c.contentWindow!==b.frames[c.name];d.body.removeChild(c)}E&&!~navigator.userAgent.indexOf("Firefox")?c=d.createElement('<iframe name="'+a.props.name+'"/>'):(c=d.createElement("IFRAME"),c.name=a.props.name);c.id=c.name=a.props.name;delete a.props.name;a.onLoad&&z(c,
"load",a.onLoad);if(typeof a.container=="string")a.container=d.getElementById(a.container);if(!a.container)c.style.position="absolute",c.style.top="-2000px",c.style.left="0px",a.container=d.body;var e=a.props.src;delete a.props.src;s(c,a.props);c.border=c.frameBorder=0;a.container.appendChild(c);c.src=e;a.props.src=e;return c}function p(a){var c=a.protocol,g;a.isHost=a.isHost||i(y.xdm_p);O=a.hash||!1;if(!a.props)a.props={};if(a.isHost){if(a.remote=q(a.remote),a.channel=a.channel||"default"+A++,a.secret=
Math.random().toString(16).substring(2),i(c))if(r.parent==r&&n(f.href)==n(a.remote))c="4";else if(e(b,"postMessage")||e(d,"postMessage"))c="1";else{if(c=e(b,"ActiveXObject"))try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),c=!0}catch(V){c=!1}c?c="6":navigator.product==="Gecko"&&"frameElement"in b&&navigator.userAgent.indexOf("WebKit")==-1?c="5":a.remoteHelper?(a.remoteHelper=q(a.remoteHelper),c="2"):c="0"}}else{a.channel=y.xdm_c;a.secret=y.xdm_s;a.remote=y.xdm_e;var c=y.xdm_p,w;if(w=a.acl){a:{w=
a.acl;var j=a.remote;typeof w=="string"&&(w=[w]);for(var t,P=w.length;P--;)if(t=w[P],t=RegExp(t.substr(0,1)=="^"?t:"^"+t.replace(/(\*)/g,".$1").replace(/\?/g,".")+"$"),t.test(j)){w=!0;break a}w=!1}w=!w}if(w)throw Error("Access denied for "+a.remote);}switch(c){case "0":s(a,{interval:100,delay:2E3,useResize:!0,useParent:!1,usePolling:!1},!0);if(a.isHost){if(!a.local){g=f.protocol+"//"+f.host;c=d.body.getElementsByTagName("img");for(j=c.length;j--;)if(w=c[j],w.src.substring(0,g.length)===g){a.local=
w.src;break}if(!a.local)a.local=b}g={xdm_c:a.channel,xdm_p:0};a.local===b?(a.usePolling=!0,a.useParent=!0,a.local=f.protocol+"//"+f.host+f.pathname+f.search,g.xdm_e=a.local,g.xdm_pa=1):g.xdm_e=q(a.local);if(a.container)a.useResize=!1,g.xdm_po=1;a.remote=o(a.remote,g)}else s(a,{channel:y.xdm_c,remote:y.xdm_e,useParent:!i(y.xdm_pa),usePolling:!i(y.xdm_po),useResize:a.useParent?!1:a.useResize});g=[new m.stack.HashTransport(a),new m.stack.ReliableBehavior({}),new m.stack.QueueBehavior({encode:!0,maxLength:4E3-
a.remote.length}),new m.stack.VerifyBehavior({initiate:a.isHost})];break;case "1":g=[new m.stack.PostMessageTransport(a)];break;case "2":g=[new m.stack.NameTransport(a),new m.stack.QueueBehavior,new m.stack.VerifyBehavior({initiate:a.isHost})];break;case "3":g=[new m.stack.NixTransport(a)];break;case "4":g=[new m.stack.SameOriginTransport(a)];break;case "5":g=[new m.stack.FrameElementTransport(a)];break;case "6":if(!a.swf)a.swf="../../tools/easyxdm.swf";g=[new m.stack.FlashTransport(a)]}g.push(new m.stack.QueueBehavior({lazy:a.lazy,
remove:!0}));return g}function D(a){for(var b,c={incoming:function(a,b){this.up.incoming(a,b)},outgoing:function(a,b){this.down.outgoing(a,b)},callback:function(a){this.up.callback(a)},init:function(){this.down.init()},destroy:function(){this.down.destroy()}},d=0,e=a.length;d<e;d++){b=a[d];s(b,c,!0);if(d!==0)b.down=a[d-1];if(d!==e-1)b.up=a[d+1]}return b}function v(a){a.up.down=a.down;a.down.up=a.up;a.up=a.down=null}var r=this,A=Math.floor(Math.random()*1E4),C=Function.prototype,H=/^((http.?:)\/\/([^:\/\s]+)(:\d+)*)/,
I=/[\-\w]+\/\.\.\//,J=/([^:])\/\//g,B="",m={},K=b.easyXDM,x="easyXDM_",E,O=!1,z,F;if(e(b,"addEventListener"))z=function(a,b,c){a.addEventListener(b,c,!1)},F=function(a,b,c){a.removeEventListener(b,c,!1)};else if(e(b,"attachEvent"))z=function(a,b,c){a.attachEvent("on"+b,c)},F=function(a,b,c){a.detachEvent("on"+b,c)};else throw Error("Browser not supported");var G=!1,L=[],M;"readyState"in d?(M=d.readyState,G=M=="complete"||~navigator.userAgent.indexOf("AppleWebKit/")&&(M=="loaded"||M=="interactive")):
G=!!d.body;G||(e(b,"addEventListener")?z(d,"DOMContentLoaded",h):(z(d,"readystatechange",function(){d.readyState=="complete"&&h()}),d.documentElement.doScroll&&b===top&&function Q(){if(!G){try{d.documentElement.doScroll("left")}catch(b){a(Q,1);return}h()}}()),z(b,"load",h));var y=function(a){for(var a=a.substring(1).split("&"),b={},c,d=a.length;d--;)c=a[d].split("="),b[c[0]]=g(c[1]);return b}(/xdm_e=/.test(f.search)?f.search:f.hash);s(m,{version:"2.4.12.1",query:y,stack:{},apply:s,getJSONObject:l,
whenReady:j,noConflict:function(a){b.easyXDM=K;(B=a)&&(x="easyXDM_"+B.replace(".","_")+"_");return m}});m.DomHelper={on:z,un:F,requiresJSON:function(a){typeof b.JSON=="object"&&b.JSON||d.write('<script type="text/javascript" src="'+a+'"><\/script>')}};(function(){var a={};m.Fn={set:function(b,c){a[b]=c},get:function(b,c){var d=a[b];c&&delete a[b];return d}}})();m.Socket=function(a){var b=D(p(a).concat([{incoming:function(b,c){a.onMessage(b,c)},callback:function(b){if(a.onReady)a.onReady(b)}}])),c=
n(a.remote);this.origin=n(a.remote);this.destroy=function(){b.destroy()};this.postMessage=function(a){b.outgoing(a,c)};b.init()};m.Rpc=function(a,b){if(b.local)for(var c in b.local)if(b.local.hasOwnProperty(c)){var d=b.local[c];typeof d==="function"&&(b.local[c]={method:d})}var e=D(p(a).concat([new m.stack.RpcBehavior(this,b),{callback:function(b){if(a.onReady)a.onReady(b)}}]));this.origin=n(a.remote);this.destroy=function(){e.destroy()};e.init()};m.stack.SameOriginTransport=function(b){var c,d,e,
g;return c={outgoing:function(a,b,c){e(a);c&&c()},destroy:function(){d&&(d.parentNode.removeChild(d),d=null)},onDOMReady:function(){g=n(b.remote);b.isHost?(s(b.props,{src:o(b.remote,{xdm_e:f.protocol+"//"+f.host+f.pathname,xdm_c:b.channel,xdm_p:4}),name:x+b.channel+"_provider"}),d=u(b),m.Fn.set(b.channel,function(b){e=b;a(function(){c.up.callback(!0)},0);return function(a){c.up.incoming(a,g)}})):(e=k().Fn.get(b.channel,!0)(function(a){c.up.incoming(a,g)}),a(function(){c.up.callback(!0)},0))},init:function(){j(c.onDOMReady,
c)}}};m.stack.FlashTransport=function(b){function c(b){a(function(){f.up.incoming(b,i)},0)}function e(a){var c=b.swf,f="easyXDM_swf_"+Math.floor(Math.random()*1E4);m.Fn.set("flash_loaded",function(){m.stack.FlashTransport.__swf=h=l.firstChild;a()});l=d.createElement("div");s(l.style,{height:"1px",width:"1px",postition:"absolute",left:0,top:0});d.body.appendChild(l);var g="proto="+r.location.protocol+"&domain="+r.location.href.match(H)[3]+"&ns="+B;l.innerHTML="<object height='1' width='1' type='application/x-shockwave-flash' id='"+
f+"' data='"+c+"'><param name='allowScriptAccess' value='always'></param><param name='wmode' value='transparent'><param name='movie' value='"+c+"'></param><param name='flashvars' value='"+g+"'></param><embed type='application/x-shockwave-flash' FlashVars='"+g+"' allowScriptAccess='always' wmode='transparent' src='"+c+"' height='1' width='1'></embed></object>"}var f,g,i,h,l;return f={outgoing:function(a,c,d){h.postMessage(b.channel,a);d&&d()},destroy:function(){try{h.destroyChannel(b.channel)}catch(a){}h=
null;g&&(g.parentNode.removeChild(g),g=null)},onDOMReady:function(){i=b.remote;h=m.stack.FlashTransport.__swf;m.Fn.set("flash_"+b.channel+"_init",function(){a(function(){f.up.callback(!0)})});m.Fn.set("flash_"+b.channel+"_onMessage",c);var d=function(){h.createChannel(b.channel,b.secret,n(b.remote),b.isHost);b.isHost&&(s(b.props,{src:o(b.remote,{xdm_e:n(r.location.href),xdm_c:b.channel,xdm_p:6,xdm_s:b.secret}),name:x+b.channel+"_provider"}),g=u(b))};h?d():e(d)},init:function(){j(f.onDOMReady,f)}}};
m.stack.PostMessageTransport=function(c){function d(a){var b;if(a.origin)b=n(a.origin);else if(a.uri)b=n(a.uri);else if(a.domain)b=f.protocol+"//"+a.domain;else throw"Unable to retrieve the origin of the event";b==t&&a.data.substring(0,c.channel.length+1)==c.channel+" "&&e.up.incoming(a.data.substring(c.channel.length+1),b)}var e,g,i,t;return e={outgoing:function(a,b,d){i.postMessage(c.channel+" "+a,b||t);d&&d()},destroy:function(){F(b,"message",d);g&&(i=null,g.parentNode.removeChild(g),g=null)},
onDOMReady:function(){t=n(c.remote);c.isHost?(z(b,"message",function R(f){f.data==c.channel+"-ready"&&(i="postMessage"in g.contentWindow?g.contentWindow:g.contentWindow.document,F(b,"message",R),z(b,"message",d),a(function(){e.up.callback(!0)},0))}),s(c.props,{src:o(c.remote,{xdm_e:n(f.href),xdm_c:c.channel,xdm_p:1}),name:x+c.channel+"_provider"}),g=u(c)):(z(b,"message",d),i="postMessage"in b.parent?b.parent:b.parent.document,i.postMessage(c.channel+"-ready",t),a(function(){e.up.callback(!0)},0))},
init:function(){j(e.onDOMReady,e)}}};m.stack.FrameElementTransport=function(c){var e,g,i,h;return e={outgoing:function(a,b,c){i.call(this,a);c&&c()},destroy:function(){g&&(g.parentNode.removeChild(g),g=null)},onDOMReady:function(){h=n(c.remote);if(c.isHost)s(c.props,{src:o(c.remote,{xdm_e:n(f.href),xdm_c:c.channel,xdm_p:5}),name:x+c.channel+"_provider"}),g=u(c),g.fn=function(b){delete g.fn;i=b;a(function(){e.up.callback(!0)},0);return function(a){e.up.incoming(a,h)}};else{if(d.referrer&&n(d.referrer)!=
y.xdm_e)b.top.location=y.xdm_e;i=b.frameElement.fn(function(a){e.up.incoming(a,h)});e.up.callback(!0)}},init:function(){j(e.onDOMReady,e)}}};m.stack.NixTransport=function(c){var g,i,h,l,t;return g={outgoing:function(a,b,c){h(a);c&&c()},destroy:function(){t=null;i&&(i.parentNode.removeChild(i),i=null)},onDOMReady:function(){l=n(c.remote);if(c.isHost){try{e(b,"getNixProxy")||b.execScript("Class NixProxy\n    Private m_parent, m_child, m_Auth\n\n    Public Sub SetParent(obj, auth)\n        If isEmpty(m_Auth) Then m_Auth = auth\n        SET m_parent = obj\n    End Sub\n    Public Sub SetChild(obj)\n        SET m_child = obj\n        m_parent.ready()\n    End Sub\n\n    Public Sub SendToParent(data, auth)\n        If m_Auth = auth Then m_parent.send(CStr(data))\n    End Sub\n    Public Sub SendToChild(data, auth)\n        If m_Auth = auth Then m_child.send(CStr(data))\n    End Sub\nEnd Class\nFunction getNixProxy()\n    Set GetNixProxy = New NixProxy\nEnd Function\n",
"vbscript"),t=getNixProxy(),t.SetParent({send:function(a){g.up.incoming(a,l)},ready:function(){a(function(){g.up.callback(!0)},0)}},c.secret),h=function(a){t.SendToChild(a,c.secret)}}catch(j){throw Error("Could not set up VBScript NixProxy:"+j.message);}s(c.props,{src:o(c.remote,{xdm_e:n(f.href),xdm_c:c.channel,xdm_s:c.secret,xdm_p:3}),name:x+c.channel+"_provider"});i=u(c);i.contentWindow.opener=t}else{if(d.referrer&&n(d.referrer)!=y.xdm_e)b.top.location=y.xdm_e;try{t=b.opener}catch(k){throw Error("Cannot access window.opener");
}t.SetChild({send:function(a){r.setTimeout(function(){g.up.incoming(a,l)},0)}});h=function(a){t.SendToParent(a,c.secret)};a(function(){g.up.callback(!0)},0)}},init:function(){j(g.onDOMReady,g)}}};m.stack.NameTransport=function(b){function c(a){h.contentWindow.sendMessage(a,b.remoteHelper+(i?"#_3":"#_2")+b.channel)}function d(){i?(++k===2||!i)&&g.up.callback(!0):(c("ready"),g.up.callback(!0))}function e(a){g.up.incoming(a,r)}function f(){N&&a(function(){N(!0)},0)}var g,i,h,l,k,N,r,p;return g={outgoing:function(a,
b,d){N=d;c(a)},destroy:function(){h.parentNode.removeChild(h);h=null;i&&(l.parentNode.removeChild(l),l=null)},onDOMReady:function(){i=b.isHost;k=0;r=n(b.remote);b.local=q(b.local);i?(m.Fn.set(b.channel,function(a){i&&a==="ready"&&(m.Fn.set(b.channel,e),d())}),p=o(b.remote,{xdm_e:b.local,xdm_c:b.channel,xdm_p:2}),s(b.props,{src:p+"#"+b.channel,name:x+b.channel+"_provider"}),l=u(b)):(b.remoteHelper=b.remote,m.Fn.set(b.channel,e));h=u({props:{src:b.local+"#_4"+b.channel},onLoad:function S(){var c=h||
this;F(c,"load",S);m.Fn.set(b.channel+"_load",f);(function U(){typeof c.contentWindow.sendMessage=="function"?d():a(U,50)})()}})},init:function(){j(g.onDOMReady,g)}}};m.stack.HashTransport=function(c){function d(){if(o){var a=o.location.href,b="",c=a.indexOf("#");c!=-1&&(b=a.substring(c));b&&b!=h&&(h=b,e.up.incoming(h.substring(h.indexOf("_")+1),r))}}var e,f,g,i,h,l,o,k,m,r;return e={outgoing:function(a){if(k)a=c.remote+"#"+l++ +"_"+a,(f||!m?k.contentWindow:k).location=a},destroy:function(){b.clearInterval(g);
(f||!m)&&k.parentNode.removeChild(k);k=null},onDOMReady:function(){f=c.isHost;i=c.interval;h="#"+c.channel;l=0;m=c.useParent;r=n(c.remote);if(f){c.props={src:c.remote,name:x+c.channel+"_provider"};if(m)c.onLoad=function(){o=b;g=setInterval(d,i);e.up.callback(!0)};else{var j=0,p=c.delay/50;(function T(){if(++j>p)throw Error("Unable to reference listenerwindow");try{o=k.contentWindow.frames[x+c.channel+"_consumer"]}catch(b){}o?(g=setInterval(d,i),e.up.callback(!0)):a(T,50)})()}k=u(c)}else o=b,g=setInterval(d,
i),m?(k=parent,e.up.callback(!0)):(s(c,{props:{src:c.remote+"#"+c.channel+new Date,name:x+c.channel+"_consumer"},onLoad:function(){e.up.callback(!0)}}),k=u(c))},init:function(){j(e.onDOMReady,e)}}};m.stack.ReliableBehavior=function(){var a,b,c=0,d=0,e="";return a={incoming:function(f,g){var i=f.indexOf("_"),h=f.substring(0,i).split(","),f=f.substring(i+1);h[0]==c&&(e="",b&&b(!0));f.length>0&&(a.down.outgoing(h[1]+","+c+"_"+e,g),d!=h[1]&&(d=h[1],a.up.incoming(f,g)))},outgoing:function(f,g,i){e=f;b=
i;a.down.outgoing(d+","+ ++c+"_"+f,g)}}};m.stack.QueueBehavior=function(b){function d(){if(b.remove&&f.length===0)v(e);else if(!h&&!(f.length===0||l)){h=!0;var c=f.shift();e.down.outgoing(c.data,c.origin,function(b){h=!1;c.callback&&a(function(){c.callback(b)},0);d()})}}var e,f=[],h=!0,j="",l,o=0,k=!1,m=!1;return e={init:function(){i(b)&&(b={});if(b.maxLength)o=b.maxLength,m=!0;b.lazy?k=!0:e.down.init()},callback:function(a){h=!1;var b=e.up;d();b.callback(a)},incoming:function(a,c){if(m){var d=a.indexOf("_"),
f=parseInt(a.substring(0,d),10);j+=a.substring(d+1);f===0&&(b.encode&&(j=g(j)),e.up.incoming(j,c),j="")}else e.up.incoming(a,c)},outgoing:function(a,g,i){b.encode&&(a=c(a));var h=[],j;if(m){for(;a.length!==0;)j=a.substring(0,o),a=a.substring(j.length),h.push(j);for(;j=h.shift();)f.push({data:h.length+"_"+j,origin:g,callback:h.length===0?i:null})}else f.push({data:a,origin:g,callback:i});k?e.down.init():d()},destroy:function(){l=!0;e.down.destroy()}}};m.stack.VerifyBehavior=function(a){function b(){d=
Math.random().toString(16).substring(2);c.down.outgoing(d)}var c,d,e;return c={incoming:function(f,g){var i=f.indexOf("_");i===-1?f===d?c.up.callback(!0):e||(e=f,a.initiate||b(),c.down.outgoing(f)):f.substring(0,i)===e&&c.up.incoming(f.substring(i+1),g)},outgoing:function(a,b,e){c.down.outgoing(d+"_"+a,b,e)},callback:function(){a.initiate&&b()}}};m.stack.RpcBehavior=function(a,b){function c(a){a.jsonrpc="2.0";f.down.outgoing(g.stringify(a))}function d(a,b){var e=Array.prototype.slice;return function(){var d=
arguments.length,f,g={method:b};d>0&&typeof arguments[d-1]==="function"?(d>1&&typeof arguments[d-2]==="function"?(f={success:arguments[d-2],error:arguments[d-1]},g.params=e.call(arguments,0,d-2)):(f={success:arguments[d-1]},g.params=e.call(arguments,0,d-1)),j[""+ ++h]=f,g.id=h):g.params=e.call(arguments,0);if(a.namedParams&&g.params.length===1)g.params=g.params[0];c(g)}}function e(a,b,d,f){if(d){var g,h;b?(g=function(a){g=C;c({id:b,result:a})},h=function(a,d){h=C;var e={id:b,error:{code:-32099,message:a}};
if(d)e.error.data=d;c(e)}):g=h=C;Object.prototype.toString.call(f)==="[object Array]"||(f=[f]);try{var j=d.method.apply(d.scope,f.concat([g,h]));i(j)||g(j)}catch(l){h(l.message)}}else b&&c({id:b,error:{code:-32601,message:"Procedure not found."}})}var f,g=b.serializer||l(),h=0,j={};return f={incoming:function(a){a=g.parse(a);if(a.method)b.handle?b.handle(a,c):e(a.method,a.id,b.local[a.method],a.params);else{var d=j[a.id];a.error?d.error&&d.error(a.error):d.success&&d.success(a.result);delete j[a.id]}},
init:function(){if(b.remote)for(var c in b.remote)b.remote.hasOwnProperty(c)&&(a[c]=d(b.remote[c],c));f.down.init()},destroy:function(){for(var c in b.remote)b.remote.hasOwnProperty(c)&&a.hasOwnProperty(c)&&delete a[c];f.down.destroy()}}};r.easyXDM=m})(window,document,location,window.setTimeout,decodeURIComponent,encodeURIComponent);
DISQUS.net={easyXDM:easyXDM.noConflict("DISQUS.net"),rpc:function(b,d){if(!b.swf)b.swf=DISQUS.settings.get("disqus.debug")?DISQUS.settings.get("disqus.urls.main")+"/xdm.swf":DISQUS.settings.get("disqus.urls.media")+"/xdm.swf";if(typeof b.hash=="undefined")b.hash=!DISQUS.settings.get("disqus.debug");DISQUS.extend(d,{serializer:{parse:DISQUS.json.parse,stringify:DISQUS.json.stringify}});var f=new DISQUS.net.easyXDM.Rpc(b,d);f.isReady=!1;return f}};(function(){function b(a){return a<10?"0"+a:a}function d(a){e.lastIndex=0;return e.test(a)?'"'+a.replace(e,function(a){var b=k[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function f(a,b){var c,e,k,p,q=h,v,r=b[a];r&&typeof r==="object"&&typeof r.toJSON==="function"&&!g&&(r=r.toJSON(a));typeof n==="function"&&(r=n.call(b,a,r));switch(typeof r){case "string":return d(r);case "number":return isFinite(r)?String(r):"null";case "boolean":case "null":return String(r);
case "object":if(!r)return"null";h+=j;v=[];if(Object.prototype.toString.apply(r)==="[object Array]"){p=r.length;for(c=0;c<p;c+=1)v[c]=f(c,r)||"null";k=v.length===0?"[]":h?"[\n"+h+v.join(",\n"+h)+"\n"+q+"]":"["+v.join(",")+"]";h=q;return k}if(n&&typeof n==="object"){p=n.length;for(c=0;c<p;c+=1)e=n[c],typeof e==="string"&&(k=f(e,r))&&v.push(d(e)+(h?": ":":")+k)}else for(e in r)Object.hasOwnProperty.call(r,e)&&(k=f(e,r))&&v.push(d(e)+(h?": ":":")+k);k=v.length===0?"{}":h?"{\n"+h+v.join(",\n"+h)+"\n"+
q+"}":"{"+v.join(",")+"}";h=q;return k}}var a={},g=!1;if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,h,j,k={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},n;a.stringify=function(a,b,c){var d;j=h="";if(typeof c==="number")for(d=0;d<c;d+=1)j+=" ";else typeof c==="string"&&(j=c);if((n=b)&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number"))throw Error("JSON.stringify");return f("",{"":a})};a.parse=function(a,b){function d(a,
c){var e,f,g=a[c];if(g&&typeof g==="object")for(e in g)Object.hasOwnProperty.call(g,e)&&(f=d(g,e),f!==void 0?g[e]=f:delete g[e]);return b.call(a,c,g)}var e,a=String(a);c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),
typeof b==="function"?d({"":e},""):e;throw new SyntaxError("JSON.parse");};DISQUS.json={};var q={a:[1,2,3]};if(Object.toJSON&&Object.toJSON(q).replace(/\s/g,"")==='{"a":[1,2,3]}')DISQUS.json.stringify=Object.toJSON;if(typeof String.prototype.evalJSON==="function"&&(q='{"a":[1,2,3]}'.evalJSON(),q.a&&q.a.length===3&&q.a[2]===3))DISQUS.json.parse=function(a){return a.evalJSON()};(function(){var a=[1,2,3];typeof a.toJSON==="function"&&(a=a.toJSON(),g=!(a&&a.length===3&&a[2]===3))})();if(!DISQUS.json.stringify||
!DISQUS.json.parse)DISQUS.json={stringify:a.stringify,parse:a.parse}})();DISQUS.sdk.add("getThread","1.0",function(b){var d=DISQUS.jsonData,f=[];DISQUS.each(d.ordered_posts,function(a){var a=d.posts[a],b=d.users[a.user_key];f.push({id:a.id,date:a.real_date,prettyDate:a.date,contents:a.message,likesCount:a.likes,isApproved:a.approved,isDeleted:a.killed,isEdited:a.edited,author:{username:b.username,displayName:b.display_name,points:b.points||0,isRegistered:b.registered,isModerator:a.author_is_moderator,isVerified:b.verified}})});b({id:d.thread.id,slug:d.thread.slug,isClosed:d.thread.closed,
isDeleted:d.thread.killed,posts:f,forum:{id:d.forum.id,name:d.forum.name,shortname:d.forum.url,language:d.forum.language,apiKey:d.forum.apiKey}})});DISQUS.sdk.add("getSession","1.0",function(b){var d=DISQUS.jsonData;b({user:{username:d.request.username,profileUrl:d.request.profile_url,displayName:d.request.display_username,points:d.request.points,isAuthenticated:d.request.is_authenticated,isModerator:d.request.is_moderator,isVerified:d.request.is_verified}})});DISQUS.addBlocks("defaults")(function(b){b.blocks.comment=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("    "),a.compile()};b.blocks.postSharingOptions=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g){a.put("  ");if(request.is_authenticated){a.put('<div class="dsq-sharing-options dsq-tt"');request.display_sharing_options||a.put('style="display:none;"');a.put('title="');a.put(trans("Toggle to share your comment"));a.put('">');if(request.sharing.twitter.enabled||
request.sharing.facebook.enabled)a.put('<span class="dsq-sharing-options-label">'),a.put(trans("Share on")),a.put("</span>"),request.sharing.twitter.enabled&&(a.put('<button type="button" class="dsq-share-toggle" id="dsq-share-twitter" onclick="DISQUS.dtpl.actions.fire(\'share.toggle\', this, \'twitter\''),comment&&(a.put(","),a.put((a.esc||function(a){return a})(comment.id))),a.put(');"><span class="dsq-share-icon"></span><span class="dsq-share-status"></span></button>')),request.sharing.facebook.enabled&&
(a.put('<button type="button" class="dsq-share-toggle" id="dsq-share-facebook"onclick="DISQUS.dtpl.actions.fire(\'share.toggle\', this, \'facebook\''),comment&&(a.put(","),a.put((a.esc||function(a){return a})(comment.id))),a.put(');"><span class="dsq-share-icon"></span><span class="dsq-share-status"></span></button>')),a.put('<input style="display: none" type="checkbox" id="dsq-sharing-twitter'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" />    <input style="display: none" type="checkbox" id="dsq-sharing-facebook'),
comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" />');a.put("</div>")}return a.compile()}};b.blocks.messagesxNotice=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div class="dsq-messagesx-icon">    </div>    <p>        '),a.put((a.esc||function(a){return a})(message.formatted.text)),a.put("    </p>"),a.compile()};b.blocks.googleForm=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div id="dsq-login-google-content" class="dsq-auth-form">    <div class="dsq-connect-msg">      <h3>'),
a.put(trans("Sign in with your Google account")),a.put("</h3>      <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>      <p><span class="dsq-google-connect dsq-external-launcher"></span></p>    </div>    <div class="dsq-remote-authentication" style="display:none !important">      <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif">      <p>'),a.put(trans("Connecting to Google")),a.put("</p>    </div>    <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put("</small></p>  </div>"),a.compile()};b.blocks.facebookLoginForm=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g){a.put('  <div id="dsq-login-facebook-content" class="dsq-auth-form">    <div class="dsq-connect-msg">      ');if(typeof title==="undefined"||title)a.put("      <h3>"),a.put(trans("Sign in with your Facebook account")),a.put("</h3>      ");a.put("      <p>");a.put(trans("Click the button below to continue."));a.put('</p>      <p id="dsq-login-facebook-frame">        <\!-- frame goes here --\>      </p>    </div>    <div class="dsq-remote-authentication" style="display:none !important">      <img src="');
a.put((a.esc||function(a){return a})(settings.media_url));a.put('/images/dsq-loader.gif" />      <p>');a.put(trans("Connecting to Facebook"));a.put("</p>    </div>    <p><small>");a.put(trans("You might need to disable your popup blocker to sign in."));a.put("</small></p>  </div>");return a.compile()}};b.blocks.reportConfirmation=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div style="text-align: center">  <button type="button" class="dsq-button" onclick="DISQUS.dtpl.actions.fire(\'comments.report\', '),
a.put((a.esc||function(a){return a})(id)),a.put(', true);">     '),a.put(trans("Yes, flag as inappropriate")),a.put('  </button>  <a href="#" onclick="DISQUS.popup.close(null, true); return false;" style="margin: 0 0 0 10px">    '),a.put(trans("Cancel")),a.put("  </a>  <br/><br/>  </div>  "),a.put(trans("This will flag comments for moderators to take action.")),a.compile()};b.blocks.globalToolbarDropdown=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),a.put('  <div id="dsq-toolbar-dropdown">    <a href="#" class="dsq-toolbar-logo dsq-toolbar-item dsq-clearfix"><span class="dsq-toolbar-icon">Disqus</span></a>    <div id="dsq-toolbar-dropdown-wrap" style="display: none">      <ul class="dsq-clearfix">        '),
request.is_authenticated?(a.put("            "),!request.is_remote&&!forum.disqus_auth_disabled?(a.put('                <li class="dsq-dashboard-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.dashboard\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Dashboard")),a.put('</span></a></li>                <li class="dsq-editprofile-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),
a.put(trans("Edit Profile")),a.put("</span></a></li>            ")):request.is_remote&&request.has_email&&(a.put('                <li class="dsq-editprofile-link"><a href="#" onclick="return DISQUS.dtpl.actions.fire(\'user.remoteAccountSettings\');"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Settings")),a.put("</span></a></li>            ")),a.put("            "),request.is_sso&&config.sso&&config.sso.logout?(a.put('              <li class="dsq-logout-link"><a href="'),
a.put((a.esc||function(a){return a})(config.sso.logout))):(a.put('              <li class="dsq-logout-link"><a href="'),a.put((a.esc||function(a){return a})(urls.logout)),a.put("?ctkn="),a.put((a.esc||function(a){return a})(context.csrf_token))),a.put('"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Logout")),a.put("</span></a></li>            "),a.put("        ")):(a.put('            <li class="dsq-login-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'auth.login\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),
a.put(trans("Login")),a.put("</span></a></li>        ")),a.put('            <li class="dsq-about-link"><a href="http://disqus.com" target="_blank"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("About Disqus")),a.put("</span></a></li>      </ul>    </div>  </div>"),a.compile()};b.blocks.messagesxReply=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div class="dsq-messagesx-icon">        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),
a.put('/img/disqus-bar/icons/reply.png" />    </div>   <p>        '),a.put((a.esc||function(a){return a})(message.formatted.text)),a.put("    </p>"),a.compile()};b.blocks.moderatorActionsPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),a.put('<div class="dsq-moderate-options">    <table>      <tr>        <th>'),a.put(trans("Actions")),a.put("</th>        <td>          <ul>            <li>"),thread.closed?(a.put('<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.open\');">'),
a.put(trans("Open thread"))):(a.put('<a href="#" onclick="return DISQUS.dtlp.actions.fire(\'thread.close\');">'),a.put(trans("Close thread"))),a.put("</a>"),a.put("</li>          </ul>        </td>      </tr>    </table>  </div>  <p>"),a.put(trans("Go to the full")),a.put('<a href="'),a.put((a.esc||function(a){return a})(urls.moderate_threads)),a.put('" target="_blank">'),a.put(trans("moderate panel")),a.put("</a>"),a.put(trans("for more options")),a.put(".</p>"),a.put("  "),a.compile()};b.blocks.comments=
function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div id="dsq-edit-profile-suggestion" style="display:none">        <p>'),a.put(trans("Thanks for posting.")),a.put(" "),a.put(trans("Would you like to")),a.put(' <a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false">edit your profile</a>?</p>    </div>    '),b.each(comments,function(c,d){var f={comment:c,index:d};a.put("        ");(function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("comment",
c))})();a.put("    ")}),a.compile()};b.blocks.oldFlashMessage=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put(trans("You are using an older browser. In order to comment, please upgrade to either Flash 10 or Internet Explorer 8.")),a.compile()};b.blocks.publisherFacebookLoginForm=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div id="dsq-login-facebook-content" class="dsq-auth-form">      <div class="dsq-connect-msg">        <h3>'),
a.put(trans("Sign in with your Facebook account")),a.put("</h3>        <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>        <p><span class="dsq-facebook-connect dsq-external-launcher"></span></p>      </div>      <div class="dsq-remote-authentication" style="display:none !important">        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />        <p>'),a.put(trans("Connecting to Facebook")),a.put("</p>      </div>      <p><small>"),
a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>    </div>"),a.compile()};b.blocks.permalinkPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('<div class="dsq-field">    <label>'),a.put(trans("You are anchored to")),a.put('</label>    <input type="text" readonly="true" class="dsq-anchored-to"       value="'),a.put((a.esc||function(a){return a})(document.location.protocol)),a.put("//"),a.put((a.esc||function(a){return a})(document.location.host)),
a.put((a.esc||function(a){return a})(document.location.pathname)),a.put((a.esc||function(a){return a})(document.location.search)),a.put("#comment-"),a.put((a.esc||function(a){return a})(postId)),a.put('"/></div>'),a.compile()};b.blocks.openidForm=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-auth-form">    <p class="dsq-field">      <label for="dsq-openid-url">'),a.put(trans("OpenID URL")),a.put('</label>      <input type="text" id="dsq-openid-url" value="http://"/>    </p>    <p class="dsq-field">      <label for="dsq-openid-url">'),
a.put(trans("Your name")),a.put('</label>      <input type="text" id="dsq-openid-username"/>    </p>    <p><button class="dsq-button" id="dsq-openid-submit-button">'),a.put(trans("Sign in")),a.put("</button></p>  </div>"),a.compile()};b.blocks.loginPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-tabbed-modal" id="dsq-tabbed-login-modal">    <ul class="dsq-modal-tabs">      '),guestTab&&(a.put('      <li id="dsq-login-tab-guest"><a href="#dsq-login-guest" '),
forum.allow_anon_post||a.put(' style="display: none !important"'),a.put("><span></span>"),a.put(trans("Guest")),a.put("</a></li>      ")),a.put("      "),config.sso&&(a.put('<li id="dsq-login-tab-sso"><a href="#dsq-login-sso"><span></span>'),a.put((a.esc||function(a){return a})(config.sso.name)),a.put("</a></li>")),a.put("      "),forum.disqus_auth_disabled||a.put('      <li id="dsq-login-tab-disqus"><a href="#dsq-login-disqus"><span></span>Disqus</a></li>      '),a.put('      <li id="dsq-login-tab-google"><a href="#dsq-login-google"><span></span>Google</a></li>      <li id="dsq-login-tab-twitter"><a href="#dsq-login-twitter"><span></span>Twitter</a></li>      <li id="dsq-login-tab-facebook"><a href="#dsq-login-facebook"><span></span>Facebook</a></li>      <li id="dsq-login-tab-yahoo"><a href="#dsq-login-yahoo"><span></span>Yahoo</a></li>      <li id="dsq-login-tab-openid"><a href="#dsq-login-openid"><span></span>OpenID</a></li>    </ul>    <div class="dsq-tab-container">      <div id="dsq-login-guest" class="dsq-tab-content dsq-auth-form" style="display: none !important">        <p class="dsq-field">          <label for="dsq-field-email" id="dsq-field-email-label">'),
a.put(trans("Your email")),a.put('</label>          <input type="text"            value="'),config.def_email?a.put((a.esc||function(a){return a})(config.def_email)):session.email&&a.put((a.esc||function(a){return a})(session.email)),a.put('" id="dsq-field-email"/>          </span>        <p class="dsq-field">          <label for="dsq-field-name" id="dsq-field-name-label">'),a.put(trans("Your name")),a.put('</label>          <input type="text"            value="'),config.def_name?a.put((a.esc||function(a){return a})(config.def_name)):
session.name?a.put((a.esc||function(a){return a})(session.name)):a.put(trans("Guest")),a.put('" id="dsq-field-name" />        </p>        <p>          <span class="dsq-login-add-url">'),a.put(trans("Optional")),a.put(': <a href="#">'),a.put(trans("Link to your website")),a.put('</a></span>        </p>        <p class="dsq-field" style="display:none !important" id="dsq-optional-field-website">          <label for="dsq-field-website" id="dsq-field-website-label">'),a.put(trans("Your website")),a.put('</label>          <input type="text" value="'),
session.url&&a.put((a.esc||function(a){return a})(session.url)),a.put('" id="dsq-field-website" />        </p>        <p class="dsq-login-subscribe">          <span>            <input id="dsq-subscribe-on-post'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" type="checkbox"              '),request.subscribe_on_post&&a.put('checked="true"'),a.put('/>          </span>          <label for="dsq-subscribe-on-post'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),
a.put('">'),a.put(trans("Subscribe to all comments by email")),a.put('</label>        </p>        <p>          <button type="button" id="dsq-submit-guest" class="dsq-button">'),a.put(trans("Post comment")),a.put("</button>        </p>      </div>        "),a.put("        "),typeof states.useLoginWindow!=="undefined"&&!states.useLoginWindow?a.put('            <div id="dsq-login-disqus" class="dsq-tab-content dsq-auth-form" style="display: none !important">              <\!-- disqus iframe gets inserted here dynamically --\>            </div>        '):
(a.put('        <div id="dsq-login-disqus" class="dsq-tab-content dsq-auth-form" style="display: none !important">              <div class="dsq-connect-msg">                <h3>'),a.put(trans("Sign in with your Disqus account")),a.put("</h3>                <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>                <p><span class="dsq-disqus-connect dsq-external-launcher"></span></p>              </div>            <div class="dsq-remote-authentication" style="display:none !important">              <img src="'),
a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />              <p>'),a.put(trans("Connecting to Disqus")),a.put("</p>            </div>            <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>        </div>        ")),a.put('        <div id="dsq-login-facebook" class="dsq-tab-content" style="display:none !important">            '),a.put("            "),context.forum_facebook_key&&(!window.FB||!window.FB.dynData)?
(a.put("                "),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("publisherFacebookLoginForm",c))}()):(a.put(" "),a.put("                "),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("facebookLoginForm",c))}()),a.put("            "),a.put('        </div>        <div id="dsq-login-twitter" class="dsq-tab-content dsq-auth-form" style="display:none !important">          <div class="dsq-connect-msg">            <h3>'),a.put(trans("Sign in with your Twitter account")),
a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-twitter-connect dsq-external-launcher"></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(trans("Connecting to Twitter")),a.put("</p>          </div>          <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put('</small></p>        </div>        <div id="dsq-login-openid" class="dsq-tab-content" style="display:none !important">          '),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("openidForm",c))}(),a.put('        </div>        <div id="dsq-login-google" class="dsq-tab-content" style="display:none !important">          '),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("googleForm",c))}(),a.put('        </div>        <div id="dsq-login-yahoo" class="dsq-tab-content dsq-auth-form" style="display: none !important">          <div class="dsq-connect-msg">            <h3>'),
a.put(trans("Sign in with your Yahoo account")),a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-yahoo-connect dsq-external-launcher"></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(trans("Connecting to Yahoo")),a.put("</p>          </div>          <p><small>"),
a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>        </div>        "),config.sso&&(a.put('        <div id="dsq-login-sso" class="dsq-tab-content dsq-auth-form" style="display:none !important">          <div class="dsq-connect-msg">            <h3>'),a.put(b.interpolate(trans("Sign in with your %(account)s account"),{account:config.sso.name})),a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-sso-connect dsq-external-launcher"><img src="'),
a.put((a.esc||function(a){return a})(config.sso.button)),a.put('"/></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(b.interpolate(trans("Connecting to %(account)s"),{account:config.sso.name})),a.put("</p>          </div>          <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put("</small></p>        </div>        ")),a.put("    </div>  </div>"),a.compile()};b.blocks.profileEdit=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-tabbed-modal" id="dsq-profile-edit-modal">    <ul class="dsq-modal-tabs">      '),has_unmerged_users&&(a.put('      <li id="dsq-tab-profile-merge">        <a href="#dsq-profile-merge">          <span></span>'),a.put(trans("Merging")),a.put("        </a>      </li>      ")),a.put('      <li id="dsq-tab-profile-edit">        <a href="#dsq-profile-edit">          <span></span>'),
a.put(trans("Profile")),a.put('        </a>      </li>      <li id="dsq-tab-profile-avatar">        <a href="#dsq-profile-avatar">          <span></span>'),a.put(trans("Avatar")),a.put('        </a>      </li>      <li id="dsq-tab-profile-services">        <a href="#dsq-profile-services">          <span></span>'),a.put(trans("Services")),a.put('        </a>      </li>      <li id="dsq-tab-profile-notifications">        <a href="#dsq-profile-notifications">          <span></span>'),a.put(trans("Notifications")),
a.put('        </a>      </li>      <li id="dsq-tab-profile-account">        <a href="#dsq-profile-account">          <span></span>'),a.put(trans("Account")),a.put('        </a>      </li>      <li id="dsq-tab-profile-apps">        <a href="#dsq-profile-apps">          <span></span>'),a.put(trans("Applications")),a.put('        </a>      </li>    </ul>    <div class="dsq-tab-container" style="height:90% !important;">        '),has_unmerged_users&&a.put('        <div id="dsq-profile-merge" class="dsq-tab-content"></div>        '),
a.put('        <div id="dsq-profile-edit" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-avatar" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-services" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-notifications" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-account" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-apps" class="dsq-tab-content dsq-auth-form"></div>    </div>  </div>'),
a.compile()};b.blocks.commentMessage=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="'),a.put((a.esc||function(a){return a})(cls)),a.put('" id="dsq-comment-message-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('">    '),comment.killed?(a.put("      <em>"),a.put(trans("Comment removed.")),a.put("</em>    ")):comment.approved?(a.put("      "),a.put((a.esc||function(a){return a})(comment.message)),a.put("      "),comment.last_modified_by=="moderator"?
(a.put('        <p class="dsq-editedtxt">('),a.put(trans("Edited by a moderator")),a.put(")</p>      ")):comment.last_modified_by=="author"&&comment.has_replies&&(a.put('        <p class="dsq-editedtxt">('),a.put(trans("Edited by author")),a.put(" "),a.put((a.esc||function(a){return a})(comment.last_modified_date)),a.put(")</p>      ")),a.put("    ")):(a.put("      <em>"),a.put(trans("This comment was flagged for review.")),a.put("</em>    ")),a.put("  </div>"),a.compile()};b.blocks.popup=function(d,
f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-popup-container '),strict&&a.put("dsq-cleanslate "),a.put('">    <table>      <tbody>        <tr>          <td class="dsq-popup-tl"></td>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-tr"></td>        </tr>        <tr>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-body">            <div class="dsq-popup-wrapper">                <div class="dsq-popup-title">                    <button type="button" class="dsq-popup-close dsq-button-small" style="float:right; color: #fff">'),
a.put(trans("Close")),a.put("</button>                    <h3>"),a.put((a.esc||function(a){return a})(popupHeader)),a.put('</h3>                </div>                <div class="dsq-popup-content">                  '),a.put((a.esc||function(a){return a})(popupBody)),a.put("                </div>                "),footer&&(a.put('                <div class="powered-by">                  <a href="'),a.put((a.esc||function(a){return a})(settings.disqus_url)),a.put('">                    <img src="'),
a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/embed/disqus-logo-noborder.png" alt="Disqus Comments" style="margin-bottom:-5px;"/>                  </a>                </div>                ')),a.put('            </div>          </td>          <td class="dsq-popup-b"></td>        </tr>        <tr>          <td class="dsq-popup-bl"></td>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-br"></td>        </tr>      </tbody>    </table>  </div>'),a.compile()};
b.blocks.globalToolbar=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div id="dsq-global-toolbar" class="dsq-clearfix">        <ul class="dsq-global-toolbar-right dsq-clearfix">        '),request.is_authenticated&&(a.put('            <li class="dsq-messages">                <div id="dsq-messagesx-toolbar-icon" class="'),messagesx.count>0&&a.put(" dsq-unread "),a.put(' dsq-dropdown-tab dsq-toolbar-item dsq-clearfix" onclick="DISQUS.dtpl.actions.fire(\'messagesx.toggleBar\'); return false;">                    <a href="#" class="dsq-message-count dsq-toolbar-label" id="dsq-messagesx-count">'),
a.put((a.esc||function(a){return a})(messagesx.count)),a.put('</a>                </div>                <div id="dsq-messagesx-toolbar-dropdown" class="dsq-dropdown">                    <h4>'),a.put(trans("Notifications")),a.put('</h4>                    <ul class="dsq-inbox" id="dsq-messagesx-inbox">                      <li id="dsq-inbox-no-messages">'),a.put(trans("You have no messages")),a.put('</li>                    </ul>                </div>                <div id="dsq-alert" class="dsq-alert dsq-alert-hidden">                  <div class="dsq-alert-notch"></div>                  <p>'),
a.put(trans("You've received a new rank!")),a.put("</p>                </div>            </li>        ")),a.put("        "),context.switches.community_icon&&(a.put('            <li class="dsq-community-box">                <a href="#" class="dsq-toolbar-item dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'community.show\'); return false" title="'),a.put(trans("Expand Community Box")),a.put('"><span class="dsq-toolbar-icon"></span></a>            </li>        ')),a.put("        "),request.is_moderator&&
(a.put('            <li class="dsq-admin-settings">                <a href="#" class="dsq-toolbar-item dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.settings\'); return false;"  title="'),a.put(trans("Settings")),a.put('"><span class="dsq-toolbar-icon"></span></a>            </li>        ')),a.put('            <li class="dsq-global-toolbar-dropdown-container">                '),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("globalToolbarDropdown",c))}(),a.put("            </li>        </ul>        "),
forum.thread_votes_disabled||(a.put('        <ul class="dsq-global-toolbar-left dsq-clearfix">            <li class="dsq-like-thread">                <a href="#" id="dsq-like-thread-button" class="dsq-toolbar-item dsq-clearfix '),thread.user_vote==1&&a.put("dsq-toggled"),a.put(' dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.vote\', 1); return false;" title="'),a.put(trans("I like this page")),a.put('">                    <span class="dsq-toolbar-icon"></span>                    <span class="dsq-toolbar-label">'),
a.put(trans("Like")),a.put('</span>                </a>            </li>            <li class="dsq-dislike-thread">                <a href="#" id="dsq-dislike-thread-button" class="dsq-toolbar-item dsq-clearfix '),thread.user_vote==-1&&a.put("dsq-toggled"),a.put(' dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.vote\', -1); return false" title="'),a.put(trans("I don&#39;t like this page")),a.put('">                    <span class="dsq-toolbar-icon">'),a.put(trans("Dislike")),a.put('</span>                </a>            </li>            <li class="dsq-like-panel">                <ul class="dsq-like-faces dsq-clearfix">                    '),
function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("likeActivity",c))}(),a.put("                </ul>            </li>        </ul>        ")),a.put('    </div>    <div id="dsq-like-tooltip">      <div id="dsq-share-step-1" class="dsq-share-step">        <h3>'),a.put(trans("Glad you liked it. Would you like to share?")),a.put('</h3>        <p class="dsq-tooltip-checkbox"><input type="checkbox" id="dsq-share-thread-facebook" value="Facebook" /><label for="dsq-share-thread-facebook"><span class="dsq-facebook">Facebook</span></label></p>        <p class="dsq-tooltip-checkbox"><input type="checkbox" id="dsq-share-thread-twitter" value="Twitter" /><label for="dsq-share-thread-twitter"><span class="dsq-twitter">Twitter</span></label></p>        <ul id="dsq-tooltip-actions">          '),
forum.template.api=="1.0"?a.put('              <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share\'); return false" class="dsq-primary-action">'):a.put('              <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share.send\'); return false" class="dsq-primary-action">'),a.put(trans("Share")),a.put("</a></li>          "),a.put('          <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share.cancel\'); return false" class="dsq-secondary-action">'),a.put(trans("No thanks")),
a.put('</a></li>        </ul>      </div>      <div id="dsq-share-step-2" class="dsq-share-step" style="display:none !important">        <p>'),a.put(trans("Sharing this page")),a.put(' &hellip;</p>      </div>      <div id="dsq-share-step-3" class="dsq-share-step" style="display:none !important">        <p>'),a.put(trans("Thanks!")),a.put(' <a href="#" class="dsq-tooltip-decline" onclick="DISQUS.dtpl.actions.fire(\'thread.share.cancel\'); return false">Close</a></p>      </div>    </div>    '),context.switches.show_unapproved&&
unapproved.length&&(a.put('    <div id="dsq-unapproved">      <h4>        '),unapproved.length>1?(a.put("          "),a.put(b.interpolate(trans("You have %(unapproved)s unapproved comments"),{unapproved:unapproved.length}))):(a.put("          "),a.put(trans("You have 1 unapproved comment"))),a.put("        "),a.put("      </h4>      <ul>      "),b.each(unapproved,function(b){a.put('        <li><img src="');a.put((a.esc||function(a){return a})(b.author.avatar));a.put('"/> ');a.put((a.esc||function(a){return a})(b.raw_message.replace(/\n/,
"")));a.put("</li>      ")}),a.put("      </ul>      <p>        "),unapproved.length>1?(a.put("          "),a.put(trans("A moderator needs to approve these comments before they will be published."))):(a.put("          "),a.put(trans("A moderator needs to approve this comment before it will be published."))),a.put("        "),a.put("      </p>    </div>    ")),a.compile()};b.blocks.recaptcha=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div id="dsq-captcha">      <div id="dsq-captcha-loading">          '),
a.put('          <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/loading.gif"/>      </div>      <div id="dsq-captcha-container" style="display:none">          <p>'),a.put(trans("Please type in the following words to finish posting.")),a.put("</p>          "),a.put('          <div id="dsq-captcha-form"></div>          <button type="button" class="dsq-button">'),a.put(trans("Continue")),a.put("</button>      </div>  </div>"),a.compile()};b.blocks.messagesxPopup=
function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("    "),message.theme=="notice"?(a.put("        "),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("messagesxNotice",c))}(),a.put("    ")):message.theme=="reply"?(a.put("        "),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("messagesxReply",c))}(),a.put("    ")):message.theme=="achievement"&&(a.put("        "),function(){var c={};b.extend(c,f);b.extend(c,{});a.put(b.renderBlock("messagesxAchievement",
c))}(),a.put("    ")),a.compile()};b.blocks.unapprovedEditedComment=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  <p>"),a.put(trans("Your comment must be approved by a moderator.")),a.put("</p>  <p>"),a.put(trans("Moderators of this website chose to explicitly approve all edits made by a comment's author.")),a.put("</p>"),a.compile()};b.blocks.likeActivity=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),b.each(thread.voters,function(b){a.put('    <li class="dsq-tt" title="');
a.put((a.esc||function(a){return a})(b.name));a.put('"><a href="');a.put((a.esc||function(a){return a})(b.url));a.put("\" onclick=\"return DISQUS.dtpl.actions.fire('profile.show', null, '");a.put((a.esc||function(a){return a})(b.username));a.put("', ");a.put((a.esc||function(a){return a})(b.is_moderator));a.put('); return false"><img src="');a.put((a.esc||function(a){return a})(b.avatar));a.put('"/></a></li>  ')}),a.put('  <li class="dsq-like-activity">  '),thread.voters_count>0?(a.put("      "),
thread.likes-thread.voters_count>0?(a.put("          "),a.put(b.interpolate(trans("and %(count)s %(other)s liked this."),{count:thread.likes-thread.voters_count,other:lang.pluralize(thread.likes-thread.voters_count,"other","others")}))):(a.put("          "),a.put((a.esc||function(a){return a})("liked this."))),a.put("      "),a.put("  ")):thread.likes>0&&(a.put("      "),a.put(b.interpolate(trans("%(count)s %(person)s liked this."),{count:thread.likes,person:lang.pluralize(thread.likes,"person","people")})),
a.put("  ")),a.put("  </li>"),a.compile()};b.blocks.threadSettingsPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <span id="dsq-thread-settings-status" class="dsq-options-status"></span>  <p>'),a.put(trans("These settings only apply to this thread. To change settings site-wide,  visit the main")),a.put(' <a href="'),a.put((a.esc||function(a){return a})(urls.settings)),a.put('" target="_blank">'),a.put(trans("settings page")),a.put('</a>.</p>  <div class="dsq-moderate-options">    <table class="dsq-moderator-settings">      <tr>        <td>          <h4>            '),
thread.closed?(a.put('            <a href="#" class="dsq-toggle-thread"               onclick="return DISQUS.dtpl.actions.fire(\'thread.open\');">'),a.put(trans("Open thread"))):(a.put('            <a href="#" class="dsq-toggle-thread"               onclick="return DISQUS.dtpl.actions.fire(\'thread.close\');">'),a.put(trans("Close thread"))),a.put("</a>            "),a.put("          </h4>        </td>      </tr>      <tr>        <td>          <h4>"),a.put(trans("Automatic Closing")),a.put("</h4>          <p>"),
a.put(trans("Do not allow comments after")),a.put('          <input size="3" id="dsq-thread-days-alive" value="'),a.put((a.esc||function(a){return a})(thread.days_alive)),a.put('"                 type="text" /> '),a.put(trans("days")),a.put(".           "),a.put(trans("Using 0 days will disable this feature.")),a.put('</p>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'thread.updateDaysAlive\');" class="dsq-button-small">              <span>'),
a.put(trans("Save")),a.put("</span>            </button>          </p>        </td>      </tr>      <tr>        <td>          <h4>"),a.put(trans("Moderate all comments")),a.put('</h4>          <ul class="dsq-moderator-radios">            <li><label><input type="radio" id="dsq-thread-moderate-all"                 name="moderate_all_comments" value="1" '),thread.moderate_all&&a.put('checked="true" '),a.put("/>          "),a.put(trans("<strong>Yes</strong>, moderators must approve all comments before they are published.")),
a.put('          </label></li>            <li><label><input type="radio" name="moderate_all_comments" value="0" '),thread.moderate_none&&a.put('checked="true"'),a.put("/>          "),a.put(trans("<strong>No</strong>, comments don't need to be approved before they are published.")),a.put('</label></li>            <li><label><input type="radio" name="moderate_all_comments" value="2" '),!thread.moderate_all&&!thread.moderate_none&&a.put('checked="true"'),a.put("/>          "),a.put(trans("Use the <strong>default</strong> forum setting:")),
a.put("&nbsp;"),forum.moderate_all?a.put(trans("moderate all comments")):a.put(trans("don't require moderation")),a.put('</label></li>          </ul>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'thread.updateModerateAll\');" class="dsq-button-small">              <span>'),a.put(trans("Save")),a.put("</span>            </button>          </p>        </td>      </tr>      "),thread.identifiers&&(a.put("      <tr>        <td "),forum.reactions_enabled||
a.put('class="last"'),a.put(">          <h4>"),a.put(trans("Thread information:")),a.put("</h4>          <p><strong>"),a.put(trans("Shortname:")),a.put("</strong> "),a.put((a.esc||function(a){return a})(forum.url)),a.put("</p>          <p><strong>"),a.put(trans("Thread ID:")),a.put("</strong> "),a.put((a.esc||function(a){return a})(thread.id)),a.put('</p>          <p class="dsq-thread-identifiers">            <strong>'),thread.identifiers.length==1?a.put(trans("Identifier:")):a.put(trans("Identifiers:")),
a.put("</strong> "),a.put((a.esc||function(a){return a})(thread.identifiers.join(", "))),a.put("          </p>        </td>      </tr>      ")),a.put("      "),forum.reactions_enabled&&(a.put('      <tr>        <td class="last">          <h4>'),a.put(trans("Manually scan reactions")),a.put("</h4>          <p>"),a.put(trans("Are you expecting Reactions for this thread, but do not see them? Click here to tell the system to search again.")),a.put('</p>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'reactions.reportMissing\');" class="dsq-button-small">              <span>'),
a.put(trans("Scan")),a.put("</span>            </button>          </p>        </td>      </tr>      ")),a.put("    </table>  </div>"),a.compile()};b.blocks.moderatorOptions=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),request.is_moderator&&(a.put('    <div id="dsq-thread-settings" class="dsq-thread-settings">'),a.put(trans("Moderator options")),a.put(':      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.settings\');">'),a.put(trans("Settings")),
a.put('</a>      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.moderatorActions\');">'),a.put(trans("Moderate")),a.put('</a>      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.help\');">'),a.put(trans("Help")),a.put("</a>    </div>  ")),a.compile()};b.blocks.subscribeForm=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div style="width:350px">    <div class="dsq-field">        <label for="dsq-subscribe-email">'),a.put(trans("Your email")),
a.put('</label>        <input type="text" id="dsq-subscribe-email"/>    </div>    <button type="button" class="dsq-button"            onclick="DISQUS.dtpl.actions.fire(\'thread.subscribe\', DISQUS.nodes.get(\'#dsq-subscribe-email\').value);">      '),a.put(trans("Subscribe")),a.put("    </button>  </div>"),a.compile()};b.blocks.moderateOptionsPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-moderate-options">    <table>      '),comment.email&&
(a.put("      <tr>        <th>"),a.put(trans("Email")),a.put("</th>        <td>"),a.put((a.esc||function(a){return a})(comment.email)),a.put("</td>      </tr>      ")),a.put("      "),comment.ip&&(a.put("      <tr>        <th>"),a.put(trans("IP address")),a.put("</th>        <td>"),a.put((a.esc||function(a){return a})(comment.ip)),a.put("</td>      </tr>      ")),a.put("      <tr>        <th>"),a.put(trans("Actions")),a.put("</th>        <td>          <ul>            "),request.moderator_can_edit&&
(a.put('            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.edit.new\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Edit Comment")),a.put("</a>            </li>            ")),a.put('            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.delete\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Delete Comment")),a.put('</a>            </li>            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.spam\', '),
a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Mark Spam")),a.put('</a>            </li>            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.blacklist\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Add to Blacklist")),a.put("</a>            </li>          </ul>        </td>      </tr>    </table>  </div>  <p>"),a.put(trans("Go to the full")),a.put(' <a href="'),a.put((a.esc||function(a){return a})(urls.moderate)),
a.put('" target="_blank">'),a.put(trans("moderate panel")),a.put("</a> "),a.put(trans("for more options.")),a.put("</p>"),a.compile()};b.blocks.pageInfo=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),request.is_global_moderator&&(a.put('    <div class="dsq-global-moderator-extras"         style="display: block; margin-top: 10px; line-height: 20px; font-size: 14px; list-style-type: none; margin-left: 0;">      <strong>Shortname:</strong> '),a.put((a.esc||function(a){return a})(forum.url)),
a.put("<br/>      <strong>Thread ID:</strong> "),a.put((a.esc||function(a){return a})(thread.id)),a.put("<br/>      <strong>Thread slug:</strong> "),a.put((a.esc||function(a){return a})(thread.slug)),a.put("<br/>      <strong>Switches (Legacy):</strong> "),context.active_switches?b.each(context.active_switches,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>none</em>"),a.put("<br/>      <strong>Switches (Gargoyle):</strong> "),context.active_gargoyle_switches?
b.each(context.active_gargoyle_switches,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>none</em>"),a.put("<br/>      "),thread.topics&&(a.put("        <strong>Thread topics:</strong> "),thread.topics.length?b.each(thread.topics,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>not classified</em>"),a.put("<br/>      ")),a.put("      "),forum.packages&&(a.put("        <strong>Packages:</strong> "),forum.packages.length?
b.each(forum.packages,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>no packages</em>"),a.put("<br/>      ")),a.put("    </div>  ")),a.compile()};b.blocks.editProfileSuggestion=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div id="dsq-edit-profile-suggestion" style="display:none">    <p>'),a.put(trans("Thanks for posting.")),a.put(" "),a.put(trans("Would you like to")),a.put(' <a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false">edit your profile</a>?  </div>'),
a.compile()};b.blocks.editArea=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <div class="dsq-textarea-wrapper">    <textarea class="dsq-edit-textarea" id="dsq-edit-textarea-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('">      '),a.put((a.esc||function(a){return a})(comment.message)),a.put('    </textarea>    <div id="dsq-edit-iframe-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('" style="display: none;"></div>  </div>  <div class="dsq-save-edit">    <button type="button" class="dsq-button"      onclick="DISQUS.dtpl.actions.fire(\'comments.edit.send\', '),
a.put((a.esc||function(a){return a})(comment.id)),a.put(', this);">      <span>'),a.put(trans("Save Edit")),a.put("</span>    </button>  </div>"),a.compile()};b.blocks.retweetsPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  <p><strong>"),a.put((a.esc||function(a){return a})(reaction.author_name)),a.put(":</strong> "),a.put((a.esc||function(a){return a})(reaction.body)),a.put('<br/><a href="'),a.put((a.esc||function(a){return a})(reaction.url)),a.put('">'),a.put((a.esc||
function(a){return a})(reaction.url)),a.put('<br/></p>  <ul class="dsq-retweets">    '),b.each(reaction.retweets,function(b){a.put('    <li><a href="');a.put((a.esc||function(a){return a})(b.url));a.put('">by ');a.put((a.esc||function(a){return a})(b.author_name));a.put("</a></li>    ")}),a.put("  </ul>  "),a.compile()};b.blocks.mediaEmbedPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),media.type==1||media.type==5?(a.put('  <p><img src="'),a.put((a.esc||function(a){return a})(media.location)),
a.put('" onload="DISQUS.popup.adjustPosition();"/></p>  <p><a href="'),a.put((a.esc||function(a){return a})(media.location)),a.put('" target="_blank">'),a.put(trans("Original")),a.put("</a></p>  ")):media.type==2?(a.put('  <div style="width:480px !important;height:385px !important;">    <object width="480" height="385">      <param name="movie" value="http://www.youtube.com/v/'),a.put((a.esc||function(a){return a})(media.location)),a.put('&hl=en_US&fs=1&"></param>      <param name="allowFullScreen" value="true"></param>      <param name="allowscriptaccess" value="always"></param>      <embed src="http://www.youtube.com/v/'),
a.put((a.esc||function(a){return a})(media.location)),a.put('&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>    </object>  </div>  ')):media.type==4&&(a.put('  <p><img src="'),a.put((a.esc||function(a){return a})(media.metadata.medium)),a.put('" onload="DISQUS.popup.adjustPosition();"/></p>  <p><a href="'),a.put((a.esc||function(a){return a})(media.metadata.url)),a.put('" target="_blank">'),a.put(trans("Original")),
a.put("</a></p>  ")),a.compile()};b.blocks.postbox_login_options_dropdown=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('  <ul class="dsq-login-buttons">    '),b.each(loginOptions,function(b){a.put("      ");b.enabled&&(a.put("        "),b.userDefined?(a.put('          <li class="dsq-login-button">            <a href="#" onclick="return DISQUS.dtpl.actions.fire(\''),a.put((a.esc||function(a){return a})(b.action)),a.put('\');">              <img src="'),a.put((a.esc||
function(a){return a})(b.button_url)),a.put('">            </a>          </li>        ')):(a.put('          <li class="dsq-login-button dsq-login-button-'),a.put((a.esc||function(a){return a})(b.name)),a.put('">            <a href="#" onclick="return DISQUS.dtpl.actions.fire(\''),a.put((a.esc||function(a){return a})(b.action)),a.put("');\"></a>          </li>        ")),a.put("      "));a.put("    ")}),a.put('    <li style="clear:both"></li>  </ul>'),a.compile()};b.blocks.unapprovedCommentMessage=
function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  "),mustVerify?(a.put("  "),a.put(trans("You must finish verifying your Disqus Profile email address in order for your comment to appear here.")),a.put('<br/><br/>  <a href="'),a.put((a.esc||function(a){return a})(urls.verify_email)),a.put('">'),a.put(trans("Click here to verify your email address")),a.put("</a>  ")):(a.put("  "),a.put(trans("Your comment must be approved by a moderator before appearing here.")),a.put("  ")),
a.compile()};b.blocks.userVotesPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  <ul>    "),b.each(users,function(b){a.put('    <li class="dsq-liked-by-user">      <a href="');a.put((a.esc||function(a){return a})(settings.disqus_url));a.put("/");a.put((a.esc||function(a){return a})(b.username));a.put('" target="_blank">        <img src="');a.put((a.esc||function(a){return a})(b.avatar_url));a.put('" alt=""/>        ');b.display_name?a.put((a.esc||function(a){return a})(b.display_name)):
a.put((a.esc||function(a){return a})(b.username));a.put("      </a>    </li>    ")}),a.put("  </ul>  "),anon_likes>0&&(a.put("  <p>    "),users.length>0?(a.put("      "),anon_likes<2?(a.put("      "),a.put(b.interpolate(trans("and %(anon_likes)s guest"),{anon_likes:anon_likes}))):(a.put("      "),a.put(b.interpolate(trans("and %(anon_likes)s guests"),{anon_likes:anon_likes})))):(a.put("      "),anon_likes<2?(a.put("      "),a.put(b.interpolate(trans("%(anon_likes)s guest"),{anon_likes:anon_likes}))):
(a.put("      "),a.put(b.interpolate(trans("%(anon_likes)s guests"),{anon_likes:anon_likes})))),a.put("      "),a.put("    "),a.put("  </p>  ")),a.compile()};b.blocks.helpLogin=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("<p>"),a.put(trans("In order to properly log you in, your browser needs to accept cookies from all domains.")),a.put("</p><p>"),a.put(trans("Open up Settings > Privacy. Then, make sure <strong>Accept cookies from sites</strong> is checked. Also, make sure <strong>Accept third-party</strong> is checked as well.")),
a.put("</p><p>"),a.put(trans("After closing your settings, you may try logging in again.")),a.put("</p><p>"),a.put(trans("Optional: If you would rather add an exception just for Disqus, click &ldquo;Exceptions...&rdquo; and add disqus.com as an allowed domain.")),a.put("</p>"),a.compile()};b.blocks.moderatorHelpPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('<ul class="dsq-thread-help">  '),forum.reactions_enabled&&(a.put('  <li>    <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'reactions.reportMissing\');">'),
a.put(trans("Report missing reactions")),a.put("</a>    <p>"),a.put(trans("Are you expecting Reactions for this thread, but do not see them? Select this option to tell the system to search again.")),a.put("</p>  </li>  ")),a.put('  <li>    <a href="http://help.disqus.com/forums/" target="_blank">'),a.put(trans("Knowledge Base")),a.put("</a>    <p>"),a.put(trans("Our Knowledge Base has the answers to the most common questions.")),a.put("</p>  </li></ul>"),a.compile()};b.blocks.messagesxAchievement=
function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('    <div class="dsq-messagesx-icon">        '),message.formatted.icon?(a.put('        <img src="'),a.put((a.esc||function(a){return a})(message.formatted.icon)),a.put('" alt="" />        ')):(a.put('        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/img/disqus-bar/icons/trophey.png" alt="" />        ')),a.put("    </div>   <p>        "),a.put((a.esc||function(a){return a})(message.formatted.text)),
a.put("    </p>"),a.compile()};b.blocks.loadingPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put('<div style="text-align: center; padding: 5px 0 10px 0;">  <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/loading.gif" alt=""/></div>'),a.compile()};b.blocks.blacklistPopup=function(d,f){var a=new b.Builder,g=DISQUS.extend({},d,f);with(g)return a.put("  <p>    "),a.put(trans("Adding this person to the blacklist will block him or her from commenting on this site. Check the following types that you would like to add to the blacklist")),
a.put(":  </p>  "),user.registered&&(a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-username" type="checkbox" checked="true" value="'),a.put((a.esc||function(a){return a})(user.username)),a.put('"/>    <label for="dsq-blacklist-username"><strong>'),a.put(trans("Username")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(user.username)),a.put("</label>  </div>  ")),a.put("  "),comment.email&&(a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-email" type="checkbox" checked="true" value="'),
a.put((a.esc||function(a){return a})(comment.email)),a.put('"/>    <label for="dsq-blacklist-email"><strong>'),a.put(trans("Email address")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(comment.email)),a.put("</label>  </div>  ")),a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-ip" type="checkbox" onclick="DISQUS.nodes.get(\'#dsq-blacklist-ip-warning\').style.display=\'block\';" value="'),a.put((a.esc||function(a){return a})(comment.ip)),a.put('"/>    <label for="dsq-blacklist-ip"><strong>'),
a.put(trans("IP address")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(comment.ip)),a.put('</label>    <p id="dsq-blacklist-ip-warning" style="display:none">      '),a.put(trans("Note: Blocking this person's IP address may also unintentionally      prevent others, who share his/her IP address, from commenting on      this site. This may include people who are sharing the same      computer, living in the same house, or using the same Internet      provider. Only block an IP address as a last resort.")),
a.put('    </p>  </div>  <div class="dsq-blacklist-submit">    <span>      <input id="dsq-blacklist-retroactive" type="checkbox" value="1"/>      <label for="dsq-blacklist-retroactive">Apply to last 30 days of comments</label>    </span>    <button class="dsq-button" type="button" onclick="DISQUS.dtpl.actions.fire(\'comments.blacklist\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(', true);">        '),a.put(trans("Add to Blacklist")),a.put("    </button>  </div>"),a.compile()}});
