var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
!function(a){function b(){return"Microsoft Internet Explorer"===a.navigator.appName&&t.test(a.navigator.userAgent)&&a.XDomainRequest}function c(c,d){var e;b()?(e=new a.XDomainRequest,e.open("get",c)):(e=new XMLHttpRequest,e.open("get",c,!0)),e.ontimeout=function(){d(new Error("Timeout getting publisher config"))},e.onerror=function(){d(new Error("Error getting publisher config"))},e.onprogress=function(){},e.onload=function(){var a={};try{a=JSON.parse(e.responseText)}catch(b){return d(new Error("Error parsing responseText "+b.message))}d(null,a)},setTimeout(function(){e.send()},0)}function d(b,d,e){var f=v[b];return f?(f=a.location.protocol.toString()+f,f+="/"+d+".json",void c(f,e)):e(new Error("Missing endpoint for environment "+b))}function e(a,b){a.document.body?b():setTimeout(function(){e(a,b)},10)}function f(a){var b,c,d=!1;try{b=JSON.parse(localStorage.getItem("SHR_V2_OVERRIDES"))}catch(f){}return b&&b.script&&!window.SHR_OVERRIDE_MODE&&(c=document.createElement("script"),c.setAttribute("data-shr-assetbase",b.script.assetbase),c.setAttribute("data-shr-entrypoint",b.script.entrypoint),c.src=b.script.src,window.SHR_OVERRIDE_MODE=!0,e(a,function(){a.document.body.appendChild(c)}),d=!0),d}function g(){for(var b,c,d=a.document.getElementsByTagName("script"),e=d.length;e--;){if(c=d[e],c.hasAttribute(o))return c;r.test(c.src)&&(b=c)}return b}function h(a,b,c,d,e){function f(a){clearTimeout(h),l||(l=!0,d(a))}function g(){function b(){var a;if(!l)return a=document.getElementById(k),a&&a.contentWindow.SHR_FRAME?f(a.contentWindow):void(h=setTimeout(b,100))}function d(a){return j.contentWindow?a():void setTimeout(d,10)}var e,g;c.appendChild(j),d(function(){try{j.contentWindow.document.open()}catch(c){e='javascript:var d=document.open();d.domain="'+a.document.domain+'";',j.src=e+"void(0);"}g=j.contentWindow.document,g.write(i),g.close(),j.contentWindow.__ready=f,b()})}var h,i="<!doctype html><html><head><title></title></head><body>",j=a.document.createElement("iframe"),k="SHR-"+Math.round(1e3*Math.random())+1,l=!1;return d=d||function(){},i+=b,i+='<script type="text/javascript">setTimeout(function() {window.__ready(window)}, 1);</script>',i+="</body></html>",j.id=k,e?e(j,g):(j.style.display="none",j.frameBorder="0",setTimeout(g,1)),j}function i(){var a,b,c=!0;return"Microsoft Internet Explorer"===navigator.appName&&(a=navigator.userAgent,b=new RegExp("MSIE ([5-8]{1,}[.0-8]{0,})"),null!=b.exec(a)&&(c=!1)),c}function j(a){var b;return a.bookmarklet?a.assetbase:/[0-9a-f]{5,40}/.test(u)?(b=a.assetbase||p,b+u+"/"):a.assetbase||p}function k(a){for(var b,c,d=/^data-shr-/,e={},f=0,g=a.attributes,h=g.length;h>f;f++)c=g[f],d.test(c.nodeName)&&(b=c.nodeName.replace(d,""),e[b]=c.value);return e.entrypoint=e.entrypoint||q,e.namespace=e.namespace||s,e.assetbase=j(e),e}function l(a,b){function c(c){var f=b.environment||"production";d(f,c,function(a,b){e(c,b||{})}),a.init=function(){}}var e=a.init;b.siteid?c(b.siteid):a.init=c}function m(a){function b(){}function c(a,b,c){a[b]=function(){var d=Array.prototype.slice.call(arguments);a.push(c.concat(d)),a[b].args=d}}var d,j="",m={};return i()?(d=g(a))?(d.parentNode.removeChild(d),w=k(d),w.assetbase?(j+='<script type="text/javascript"> window.SHR_FRAME = true;</script>',j+='<script type="text/javascript"> window.settings = '+JSON.stringify(w)+";</script>",j+='<script type="text/javascript" src="',j+=w.assetbase+w.entrypoint||"shrMain.min.js",j+='"></script>',w.namespace===s&&(b.prototype.Bookmarklet=!0,b.isV2=!0,c(b,"init",["init"]),c(b,"init_bookmarklet",["share",{service:"all"}]),l(b,w),m=b),m.commands=[],m.push=function(a){m.commands.push(a)},f(a)?(m.override=!0,m):(e(a,function(){h(a,j,a.document.body)}),m)):{err:"NO ASSET BASE CONFIGURED"}):{err:"COULD NOT LOCATE SCRIPT TAG"}:{err:"NOT SUPPORTED"}}var n,o="data-shr-assetbase",p="http://dsms0mj1bbhn4.cloudfront.net/v2/",q="shrMain.min.js",r=/shareaholic\.js/,s="Shareaholic",t=/MSIE 9\./,u="d485cef0906afd0159645a2127ca0fdd20b43b8e",v={dev:"http://s3.amazonaws.com/publisher_configurations.development.shareaholic",stage:"http://s3.amazonaws.com/publisher_configurations.staging.shareaholic",production:"http://s3.amazonaws.com/publisher_configurations.shareaholic"},w={},x=window.SHR_NAMESPACE||s;a.SHR_FRAME&&"function"==typeof define&&define.amd?define(function(){return h}):(n=m(a),x=w.namespace||x,"[object Array]"===Object.prototype.toString.call(a[x])?(n.commands=a[x],a[x]=n):a[x]=a[x]||n)}(this);
}