!function(){window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.BASE_URL="https://shareaholic.com",window.Shareaholic.ORIGIN_URL="https://shareaholic.com",window.Shareaholic.TRAFFIC_URL="https://traffic.shareaholic.com",window.Shareaholic.TRAFFIC_LINK_URL="https://go.shareaholic.com",window.Shareaholic.ANALYTICS_URL="https://analytics.shareaholic.com",window.Shareaholic.IMAGES_URL="https://images.shareaholic.com",window.Shareaholic.RECOMMENDATIONS_URL="https://recommendations.shareaholic.com",window.Shareaholic.STATIC_URL="https://shareaholic.com",window.Shareaholic.CONTENT_MANAGEMENT_URL="https://cm.shareaholic.com",window.Shareaholic.PUB_CONFIG="https://s3.amazonaws.com/publisher_configurations.shareaholic"}.call(this),function(){var e;window.Shareaholic||(window.Shareaholic=function(){}),null!=(e=window.Shareaholic)&&(e.URI=function(){function e(e,t){var i;if(this.original_url=e,this.is_canonical=null!=t?t:!1,null===this.original_url)throw new TypeError("wrong number of arguments (0 for 1)");this.original_url?(i=document.createElement("a"),i.href=this.original_url):i={pathname:"",protocol:"",hostname:"",port:"",search:"",hash:""},this.link_element=i,this.scheme=i.protocol.replace(":","")||"http",this.hostname=i.hostname,i.port&&(this.port=parseInt(i.port)),this.fragment=i.hash.replace("#",""),this.query=this.constructor.parse_query(i.search.replace("?","")),this.user_info=void 0}return e.cctlds=["ac","ad","ae","af","ag","ai","al","am","an","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bm","bn","bo","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cs","cu","cv","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","eu","fi","fj","fk","fm","fo","fr","ga","gb","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","na","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","st","sv","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tp","tr","tt","tv","tw","tz","ua","ug","uk","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","yu","za","zm","zw"],e.common_second_level_tlds=["co","net","gov","org","edu"],e.DEFAULT_PORTS={https:443,https:80},e.canonical_query_param_blacklist=["utm"],e.parse=function(e,t){return null==t&&(t=!1),new Shareaholic.URI(e,t)},e.parse_query=function(e){var t;try{return Shareaholic.Utils.deparam(e)}catch(i){return t=i,{}}},e.prototype.origin=function(){var e;return e="",this.scheme&&(e+=this.scheme,e+=":"),this.host()&&(e+=this.host()),e},e.prototype.host=function(){var e;return e=this.hostname,this.port&&!this.is_default_port()&&(e+=":",e+=this.port),e},e.prototype.pathname=function(){var e;return e=this.link_element.pathname.replace(/^\//,""),"/"+e},e.prototype.is_default_port=function(){return this.constructor.DEFAULT_PORTS[this.scheme]===this.port},e.prototype.query_string=function(){return Shareaholic.Utils.query_string(this.query)},e.prototype.filtered_query_string=function(){return Shareaholic.Utils.query_string(Shareaholic.Utils.sort_keys(Shareaholic.Utils.object_except(this.query,this.constructor.canonical_query_param_blacklist)))},e.prototype.url=function(){var e;return e="",this.scheme&&(e+=this.scheme,e+=":"),this.host()&&(e+="//"),this.userinfo&&(e+=this.userinfo,e+="@"),this.host()&&(e+=this.host()),this.pathname()&&(e+=this.pathname()),this.query_string()&&(e+="?",e+=this.query_string()),this.fragment&&(e+="#",e+=this.fragment),"https:/"===e&&(e=void 0),e},e.prototype.to_s=function(){return this.url()},e.prototype.toString=function(){return this.url()},e.prototype.clean_url=function(){var e;return e="",this.scheme&&(e+=this.scheme.toLowerCase(),e+=":"),this.host()&&(e+="//"),this.host()&&(e+=this.host().toLowerCase()),this.pathname()&&(e+=this.pathname().replace(/\/{2,}/g,"/")),this.filtered_query_string()&&(e+="?",e+=this.filtered_query_string()),"https:/"===e&&(e=void 0),e},e.prototype.canonical_url=function(){var e;return e="",this.scheme&&(e+=this.scheme.toLowerCase(),e+=":"),this.host()&&(e+="//"),this.host()&&(e+=this.host().toLowerCase()),this.pathname()&&(e+=this.pathname()),this.query_string()&&(e+="?",e+=this.query_string()),"https:/"===e&&(e=void 0),e},e.prototype.to_canonical=function(){return this.is_canonical?this.canonical_url():this.clean_url()},e.prototype.domain_parts=function(){return this.hostname.split(".")},e.prototype.levels=function(){var e,t,i,n,r,o,s;for(i={},t=["top","second","third","fourth","fifth"],s=this.domain_parts().reverse(),e=r=0,o=s.length;o>r;e=++r)n=s[e],i[t[e]]=n;return i},e.prototype.domain_name=function(){var e,t,i;return t=this.domain_parts().reverse(),e=t[0],i=t[1],this.constructor.cctlds.indexOf(e)>=0&&this.constructor.common_second_level_tlds.indexOf(i)>=0?t[2]:t[1]},e}())}.call(this);var JSON;JSON||(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var i,n,r,o,s,a=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,i=0;o>i;i+=1)s[i]=str(i,l)||"null";return r=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,r}if(rep&&"object"==typeof rep)for(o=rep.length,i=0;o>i;i+=1)"string"==typeof rep[i]&&(n=rep[i],r=str(n,l),r&&s.push(quote(n)+(gap?": ":":")+r));else for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r=str(n,l),r&&s.push(quote(n)+(gap?": ":":")+r));return r=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,r}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,t,i){var n;if(gap="",indent="","number"==typeof i)for(n=0;i>n;n+=1)indent+=" ";else"string"==typeof i&&(indent=i);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(e,t){var i,n,r=e[t];if(r&&"object"==typeof r)for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n=walk(r,i),void 0!==n?r[i]=n:delete r[i]);return reviver.call(e,t,r)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")}),"function"!=typeof JSON.safeParse&&(JSON.safeParse=function(e){var t;try{t=JSON.parse(e)}catch(i){return e}return t})}(),function(){var e=[].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1};document.getElementsByAttribute=function(e,t,i){var n,r,o,s,a,l;for(null==i&&(i=new RegExp(".*")),t||(t=e,e="*"),t instanceof RegExp&&(i=t,t=e,e="*"),o=[],n=document.getElementsByTagName(e),a=0,l=n.length;l>a;a++)r=n[a],(s=r.getAttribute(t))&&s.match(i)&&o.push(r);return o},window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.Utils=function(){function t(){}return t.callbacks={},t.debug_mode=function(){return window.shareaholic_debug||Shareaholic.Utils.get_url_parameter("shareaholic_debug")},t.add_load_event=function(e){var t;return t=window.onload,window.onload="function"!=typeof t?e:function(){return"function"==typeof t&&t(),"function"==typeof e?e():void 0}},t.merge_objects=function(e,t){var i,n;if("object"!=typeof e)throw new TypeError("First parameter must be an Object.");if("object"!=typeof t)throw new TypeError("Second parameter must be an Object.");for(i in t)n=t[i],i in e||(e[i]=t[i]);return e},t.test_same_domain=function(e){var t,i;return t=new Shareaholic.URI(window.location).domain_name(),i=new Shareaholic.URI(e).domain_name(),this.debug("In test same domain: URL: "+e+", Domain:"+i+", Page Hostname: "+t),t===i},t.create_standard_xhr=function(){var e;try{return this.debug("USING XMLHTTPREQUEST"),new window.XMLHttpRequest}catch(t){return e=t,Shareaholic.Utils.error(e)}},t.create_active_xhr=function(){var e;try{return this.debug("USING ACTIVEXOBJECT"),new window.ActiveXObject("Microsoft.XMLHTTP")}catch(t){return e=t,Shareaholic.Utils.error(e)}},t.create_xhr=function(e){try{return window.ActiveXObject?!e&&this.create_standard_xhr()||this.create_active_xhr():this.create_standard_xhr()}catch(t){}},t.proxy_ajax=function(e,t){var i,n,r,o,s,a,l=this;return null==t&&(t={}),this.debug("Shitty Browser Detected - Using proxy method."),this.debug("IE Version:",Shareaholic.Utils.Browser.ie_version),o=this.time_key(),a=new Shareaholic.URI(e),e=a.url(),i=document.getElementsByTagName("body")[0],n=document.createElement("iframe"),n.id="request_frame_"+o,s={success:function(e){return"function"==typeof t.success&&t.success(e),null==l.debug_mode()?i.removeChild(n):void 0},failure:function(e){return"function"==typeof t.failure&&t.failure(e),null==l.debug_mode()?i.removeChild(n):void 0}},this.PostMessage.receive("ajax_request_"+o,s),(r=""+this.determine_ajax_helper(e)+"?url="+encodeURIComponent(e)+"&request_id="+o)?(null!=this.debug_mode()&&(r+="&shareaholic_debug=true"),this.debug("Setting Frame source:",r),n.src=r,n.style.width="100%",n.style.height="200px",null==this.debug_mode()&&(n.style.display="none"),Shareaholic.dispatcher.add_once("document_ready",function(){return i.appendChild(n)},!0)):void 0},t.determine_ajax_helper=function(e){switch(e=new Shareaholic.URI(e),e.domain_name()){case"spreadaholic":return"https://spreadaholic.com:8080/v2/request_ajax";case"stageaholic":return e.scheme+"://stageaholic.com/v2/request_ajax";case"shareaholic":return e.scheme+"://shareaholic.com/v2/request_ajax";case"amazonaws":return"https://s3.amazonaws.com/cdn-shareaholic/amazon_ajax_request.html"}},t.Cache=function(){function e(e){this.key=e.cache_key,this.ttl=e.cache_ttl,this.ttl_unit=e.cache_ttl_unit,this.bust_cache=e.bust_cache,this.is_cache_valid=e.is_cache_valid,this.success=e.success||function(){}}return e.expiry_date=function(e,t){var i,n,r;if(null==t&&(t="hour"),"number"!=typeof e)try{if(r=e.split(" "),e=parseFloat(r[0]),isNaN(e))return null;r[1]&&(t=r[1])}catch(o){return n=o,null}switch(i=new Date,t.replace(/s$/,"")){case"year":return i.setYear(i.getFullYear()+e);case"day":return i.setDate(i.getDate()+e);case"hour":return i.setHours(i.getHours()+e);case"minute":return i.setMinutes(i.getMinutes()+e);case"second":return i.setSeconds(i.getSeconds()+e);default:return null}},e.prototype.get_result=function(){var e,t;return Shareaholic.Utils.debug("in get_cache_result"),t=new Date,(e=JSON.parse(localStorage.getItem(this.key)))?e.expires&&t>e.expires?(Shareaholic.Utils.debug("Cache has expired: "+e.expires),localStorage.removeItem(this.key),!1):e:!1},e.prototype.set_result=function(e){var t,i;return i=this.constructor.expiry_date(this.ttl,this.ttl_unit),Shareaholic.Utils.debug("in set_cache_result"),Shareaholic.Utils.debug("Cache expiry_date: "+i),t={result:e,received:new Date},i&&(t.expires=i),localStorage.setItem(this.key,JSON.stringify(t))},e.prototype.process=function(){var e;return Shareaholic.Utils.debug("do_cache_result"),!this.bust_cache&&(e=this.get_result())&&this.is_cache_valid(e)?(Shareaholic.Utils.debug("Get result from Cache"),this.success(e.result),!0):!1},e}(),t.ajax=function(e){var t,i,n,r,o,s,a,l,c,h,u,d,p;if(null==e&&(e={}),e=this.merge_objects(e,{fallback:"proxy",method:"GET",success:!1,failure:!1,async:!0,headers:null,cache:!1,cache_ttl:null,cache_ttl_unit:"hours",cache_key:null,bust_cache:!1,is_cache_valid:function(){return!0}}),e.cache_key||(e.cache_key="ajax_"+Shareaholic.Utils.query_string(e.data,e.url)),Shareaholic.Utils.Browser.supports_local_storage&&e.cache&&(n=new this.Cache(e),n.process()))return!0;h=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,u=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/;try{i=location.href}catch(f){r=f,Shareaholic.Utils.error(r),i=document.createElement("a"),i.href="",i=i.href}if(t=u.exec(i.toLowerCase())||[],a=h.test(t[1]),"GET"===e.method?c=this.query_string(e.data,e.url):(c=e.url,l=this.query_string(e.data)),Shareaholic.Utils.Browser.is_shitty_browser){if("jsonp"===e.fallback)return this.debug("Crappy browser falling back to JSONP."),this.debug("We dont care about domain restrictions lets just use the more reliable JSONP alternative."),this.jsonp(e);if("proxy"===e.fallback&&!this.test_same_domain(e.url))return this.debug("Crappy browser && different domains, falling back to PROXY."),this.proxy_ajax(c,e);if(!this.test_same_domain(e.url))return this.debug("Crappy browser and different domains but no fallback. Do nothing."),!1}if(s=this.create_xhr(a),s.open(e.method,c,e.async),e.headers){p=e.headers;for(o in p)d=p[o],s.setRequestHeader(o,d)}return Shareaholic.Utils.Browser.is_ie10||(s.withCredentials=e.withCredentials),s.onreadystatechange=function(){var t,i;return 4===s.readyState?(Shareaholic.Utils.debug("Ajax call to "+e.url+" status: "+s.status,s.responseText),200===s.status?(t=JSON.safeParse(s.responseText),n&&n.set_result(t),"function"==typeof e.success?e.success(t):void 0):(i={status:s.status,responseText:JSON.safeParse(s.responseText)},"function"==typeof e.failure?e.failure(i):void 0)):void 0},l?s.send(l):s.send()},t.jsonp=function(e){var t,i,n,r,o,s;return null==e&&(e={}),Shareaholic.Utils.debug("In JSONP",e),e=this.merge_objects(e,{url:null,callback_parameter:"callback",callback:"jsonp_callback",data:{},success:function(){},failure:function(){},cache:!1,cache_ttl:null,cache_ttl_unit:"hours",cache_key:null,bust_cache:!1,is_cache_valid:function(){return!0}}),e.cache_key||(e.cache_key="jsonp_"+Shareaholic.Utils.query_string(e.data,e.url)),Shareaholic.Utils.Browser.supports_local_storage&&e.cache&&(t=new this.Cache(e),t.process())?!0:(r=this.time_key(),i=""+e.callback+"_"+r,e.data[e.callback_parameter]="Shareaholic.Utils.callbacks."+i,o=this.query_string(e.data,e.url),n=document.getElementsByTagName("head")[0],s=document.createElement("script"),this.callbacks[i]=function(i){var r;Shareaholic.Utils.debug("In JSONP callback. Data: "+JSON.stringify(i)),i?(t&&t.set_result(i),e.success(i)):e.failure();try{return n.removeChild(s)}catch(o){return r=o,Shareaholic.Utils.error(r)}},s.id="jsonp_frame_"+r,s.src=o,s.onerror=function(){return e.failure(),n.removeChild(s)},n.appendChild(s))},t.sort_keys=function(e){var t,i,n,r,o;for(i=Object.keys(e),i.sort(),n={},r=0,o=i.length;o>r;r++)t=i[r],n[t]=e[t];return n},t.array_select=function(e,t){var i,n,r,o;for(n=[],r=0,o=e.length;o>r;r++)i=e[r],t(i)&&n.push(i);return n},t.array_reject=function(e,t){var i,n,r,o;for(n=[],r=0,o=e.length;o>r;r++)i=e[r],t(i)||n.push(i);return n},t.object_slice=function(e,t){var i,n,r,o,s;for(Shareaholic.Utils.is_array(t)||(t=[t]),n={},r=Object.keys(e),o=0,s=r.length;s>o;o++)i=r[o],t.indexOf(i)>=0&&(n[i]=e[i]);return n},t.object_except=function(e,t){var i,n,r,o,s;for(Shareaholic.Utils.is_array(t)||(t=[t]),n={},r=Object.keys(e),o=0,s=r.length;s>o;o++)i=r[o],t.indexOf(i)>=0||(n[i]=e[i]);return n},t.params=function(e){var t,i,n;n=[],t=function(e,t){return t="function"==typeof t?t():t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};for(i in e)this.build_params(i,e[i],t);return n.join("&").replace(/%20/g,"+")},t.query_string=function(e,t){var i;return i=this.params(e),t?(/\?$/.test(t)&&(t=t.substring(0,t.length-1)),i?""+t+(t.match(/\?/)?"&":"?")+i:t):i},t.build_params=function(e,t,n){var r,o,s,a,l,c,h,u;if(t instanceof Array){for(h=[],r=l=0,c=t.length;c>l;r=++l)s=t[r],/\[\]$/.test(e)?h.push(n(e,s)):h.push(this.build_params(e+"["+("object"==typeof s?i:"")+"]",s,n));return h}if("object"==typeof t){u=[];for(o in t)a=t[o],u.push(this.build_params(e+"["+o+"]",a,n));return u}return n(e,t)},t.css_is_loaded=function(e){return this.Browser.is_ie||this.Browser.is_webkit?Shareaholic.Utils.filter_array(document.styleSheets,function(t){var i;return(null!=(i=t.href)?i.indexOf(e):void 0)>-1}).length>0:void 0},t.load_css=function(e){var t,i,n,r,o,s,a;return null==e&&(e={}),this.debug("In load_css. ("+e.href+")"),e=this.merge_objects(e,{href:null,id:null,success:function(){},failure:function(){}}),t=Shareaholic.Utils.map_array(document.getElementsByAttribute("link","type",/text\/css/),function(e){return e.href}),o=Shareaholic.Utils.map_array(document.getElementsByAttribute("link","type",/text\/css/),function(e){return e.getAttribute("href")}),i=function(t){var i;return i="textContent"in t?"textContent":"innerText",t[i].indexOf(e.href)>-1},s=Shareaholic.Utils.filter_array(document.getElementsByTagName("style"),i).length>0,a=t.concat(o).indexOf(e.href)>-1,document.getElementById(e.id)?(this.debug("CSS is already present on this page. ("+e.href+")"),e.success()):(n=document.createElement("link"),n.rel="stylesheet",n.type="text/css",n.href=e.href,n.async="true",n.id=e.id,n.onload=e.success,r=document.getElementsByTagName("head")[0],r.appendChild(n),Shareaholic.Utils.Browser.is_webkit&&Shareaholic.Utils.Browser.webkit_version<=535?Shareaholic.Utils.poll_css(n,e.success):void 0)},t.poll_css=function(e,t){var i;try{e.sheet.cssRules}catch(n){if(i=n,"NS_ERROR_DOM_SECURITY_ERR"!==i.name)return setTimeout(function(){return Shareaholic.Utils.poll_css(e,t)},50),void 0}return t()},t.load_script=function(e){var t,i,n,r,o,s;if(null==e&&(e={}),this.debug("In load_script. ("+e.src+")"),e=this.merge_objects(e,{src:null,id:null,async:"true",success:function(){},failure:function(){return Shareaholic.Utils.debug("Failure loading Script. ("+e.src+")")}}),i="on_loaded_"+e.src,t=Shareaholic.Utils.map_array(document.getElementsByTagName("script"),function(e){return e.src}),r=Shareaholic.Utils.map_array(document.getElementsByTagName("script"),function(e){return e.getAttribute("src")}),s=t.concat(r).indexOf(e.src)>-1,Shareaholic.dispatcher.add_once(i,e.success,!0),!s){if(this.debug("Script is not yet loaded on this page. ("+e.src+")"),null===e.src)throw new ReferenceError("Script source 'src' is required in parameter object.");if("function"!=typeof e.success)throw new TypeError("Parameter 'success' must be a function.");if("function"!=typeof e.failure)throw new TypeError("Parameter 'failure' must be a function.");return n=document.getElementsByTagName("head")[0],o=document.createElement("script"),o.type="text/javascript",e.id&&(o.id=e.id),o.src=e.src,o.setAttribute("data-cfasync","false"),o.async=e.async,o.onload=o.onreadystatechange=function(){var t;return t=this.readyState,t&&"complete"!==t&&"loaded"!==t?void 0:(Shareaholic.Utils.debug("In script load callback. ("+e.src+")"),Shareaholic.dispatcher.trigger(i))},o.onerror=function(){return e.failure(),n.removeChild(o)},n.appendChild(o)}return e.no_dup?void 0:(this.debug("Script is already present on this page and we dont care about firing the success early. ("+e.src+")"),Shareaholic.dispatcher.trigger(i))},t.load_image=function(e){var t;return t=new Image,t.onload=function(){return Shareaholic.Utils.debug("loaded image: "+e)},t.src=e,t},t.underscore=function(e){return e.replace(/[A-Z]/g,function(e){return"_"+e.toLowerCase()}).replace(/^_/,"")},t.underscore_keys=function(e){var t,i,n;i={};for(t in e)n=e[t],i[this.underscore(t)]=n;return i},t.camelcase=function(e){return e.charAt(0).toUpperCase()+e.replace(/_[a-z]/g,function(e){return e.toUpperCase().replace(/_/,"")}).slice(1)},t.abbreviate_number=function(e){var t,i,n,r,o,s,a,l;if(i=e,e>=1e3){for(a=["","k","m","b","t"],s=Math.floor((""+e).length/3-.01),this.debug("suffixNum",s),o="",n=l=3;l>=2&&(o=parseFloat((0!==s?e/Math.pow(1e3,s):e).toPrecision(n)),this.debug("MATH POW",Math.pow(1e3,s)),this.debug("shortValue",o),t=(o+"").replace(/[^a-zA-Z 0-9]+/g,""),this.debug("dotLessShortValue",t),!(t.length<=3));n=l+=-1);0!==o%1&&(r=o.toFixed(2)),i=o+a[s]}return i},t.ellipsis=function(e,t){return this.truncate(e,t,{separator:" "})},t.truncate=function(e,t,i){var n,r,o;return null==i&&(i={}),(null!=e?e.length:void 0)>=t?(i.omission||(i.omission="..."),r=t-i.omission.length,o=i.separator?(n=e.substring(0,r).lastIndexOf(i.separator),n>=0?n:r):r,""+e.substring(0,o)+i.omission):e},t.truncate_html=function(e,t,i){var n,r,o,s;null==i&&(i={}),i.omission||(i.omission="..."),i.separator||(i.separator=" "),o=t-i.omission.length,n=document.createElement("div"),n.innerHTML=e,n.letter_count=0,n.maximun_reached=!1,s=function(e){var r,o,a,l,c,h,u,d,p;if(3===e.nodeType)return n.maximun_reached?e.nodeValue="":(h=e.nodeValue,c=h.length,l=n.letter_count+c,r=t-n.letter_count,l>=t?(e.nodeValue=Shareaholic.Utils.truncate(h,r,i),n.maximun_reached=!0):n.letter_count+=c);if(1===e.nodeType){for(a=e.childNodes,p=[],u=0,d=a.length;d>u;u++)o=a[u],p.push(s(o));return p}};try{s(n)}catch(a){r=a,Shareaholic.Utils.error("Error in truncate_html",r)}return n.innerHTML},t.random_color=function(){var e,t;return e=["red-lighter","orange-lighter","yellow-lighter","green-lighter","aqua-lighter","blue-lighter"],t=function(){var e;return e=Math.floor(6*Math.random())+1,e===this.last_random_number&&(e=t()),this.last_random_number=e},"shareaholic-"+e[t()-1]},t.has_only_same_name_elements=function(e){var t,i,n;for(i=0,n=e.length;n>i;i++)if(t=e[i],t!==e[0])return!1;return!0},t.get_wrapping_post=function(e){var t,i,n;for(this.debug("In get wrapping post",e),t=e;"body"!==t.tagName.toLowerCase();){if((null!=(i=t.id)?i.match(/post[-|_]/):void 0)||(null!=(n=t.className)?n.split(" ").indexOf("post"):void 0)>-1)return this.debug("Post element found: ",t),t;t=t.parentNode}return!1},t.title_heuristic=function(e){var t;return this.debug("In Title Heuristic",e),void 0!==e&&(t=this.get_wrapping_post(e))?this.get_post_title(t)||this.get_page_title():this.get_page_title()},t.link_heuristic=function(e,t){var i,n;if(null==t&&(t=!1),this.debug("In Link Heuristic",e),void 0!==e){if(1===(null!=(n=Shareaholic.page_info.posts)?n.length:void 0))return this.get_page_url();if(i=this.get_wrapping_post(e))return this.get_post_canonical_url(i,t)||this.get_page_url()}return this.get_page_url()},t.get_post_title=function(e){var t,i,n,r,o,s,a,l,c;for(i=e.getElementsByTagName("*"),r=0,t=[],l=0,c=i.length;c>l;l++){n=i[l],a=n.textContent||n.innerText;try{a=a.trim().replace(/(\r\n|\n|\r|\s+(?= ))/g,"")}catch(h){}(null!=a?a.length:void 0)&&(o=0,n.tagName.match(/header|h1/i)&&(o+=10),n.className.match(/title/)&&(o+=8),o>0&&t.push(""+o+" - "+a),o>r&&(r=o,s=a))}return this.debug("Ranked Titles",t),s},t.get_page_title=function(){return this.remove_multiple_spaces(document.getElementsByTagName("title")[0].text)},t.get_page_url=function(){var e;return e=this.get_page_canonical_url()||window.location.href},t.get_page_canonical_url=function(){var e,t,i,n;return e=(null!=(t=document.getElementsByAttribute("link","rel",/canonical/)[0])?t.href:void 0)||(null!=(i=document.getElementsByAttribute("meta","name",/shareaholic:url/)[0])?i.getAttribute("content"):void 0)||(null!=(n=document.getElementsByAttribute("meta","property",/og:url/)[0])?n.getAttribute("content"):void 0),Shareaholic.URI.parse(e,!0).to_canonical()},t.get_post_canonical_url=function(e,t){var i,n,r,o,s,a,l,c,h,u,d;for(l=e.getElementsByTagName("a"),r=["^javascript:","dtym7iokkjlif","dsms0mj1bbhn4","/feed/",".rss"],t&&(r=r.concat([".jpg",".jpeg",".gif",".png"])),n=new RegExp(r.join("|")),o=0,i=[],u=0,d=l.length;d>u;u++)a=l[u],s=a.href,0===s.length||this.has_parent_with(a,"class",/shareaholic-ui/)||s.match(n)||(c=0,s.match(/post/)&&(c+=8),s.match(/\?p=/)&&(c+=8),s.match(/\/[\d]{4}\/[\d]{2}\//)&&(c+=8),s.match(/\/blog\//)&&(c+=6),"bookmark"===a.rel&&(c+=12),a.title.match(/permalink/i)&&(c+=12),a.parentNode.tagName.toLowerCase().match(/header|h1/)&&(c+=8),a.parentNode.tagName.toLowerCase().match(/h2/)&&(c+=7),a.parentNode.tagName.toLowerCase().match(/h3/)&&(c+=6),a.parentNode.tagName.toLowerCase().match(/h4/)&&(c+=5),a.parentNode.tagName.toLowerCase().match(/h5/)&&(c+=4),a.parentNode.tagName.toLowerCase().match(/h6/)&&(c+=3),a.parentNode.tagName.toLowerCase().match(/header|h1|h2|h3|h4|h5|h6/)&&a.parentNode.className.match(/title/)&&(c+=10),document.getChildrenByClassName(a,"for_permalink").length&&(c+=12),i.push(""+c+" - "+s),c>o&&(o=c,h=s));return this.debug("Ranked Links",i),Shareaholic.URI.parse(h).to_canonical()},t.image_heuristic=function(e){var t,i,n,r,o,s,a,l,c,h;o=e,r=[];try{for(;"body"!==o.tagName.toLowerCase();){if((null!=(c=o.id)?c.match(/post/):void 0)||(null!=(h=o.className)?h.match(/post/):void 0)){for(s=o.getElementsByTagName("img"),a=0,l=s.length;l>a;a++)i=s[a],n=i.src,this.has_parent_with(i,"class",/shareaholic/)||r.push(i.src);return r}o=o.parentNode}}catch(u){t=u,this.error("An error occured in image_heuristic.",t)}return r},t.get_page_images=function(e){var t,i,n,r,o,s,a;for(null==e&&(e=!1),r=[],t=document.getElementsByTagName("img"),s=0,a=t.length;a>s;s++)i=t[s],n=i.src,this.has_parent_with(i,"class",/shareaholic/)||r.push(i.src);return e&&(o=this.get_meta_images(),0!==o.length&&(r=r.concat(o))),this.demote(this.remove_duplicates(r),/dtym7iokkjlif|dsms0mj1bbhn4/)},t.get_meta_images=function(){var e,t,i,n,r;for(t=[],i=document.getElementsByAttribute("meta","property",/image$/),n=0,r=i.length;r>n;n++)e=i[n],t.push(e.getAttribute("content"));return this.remove_duplicates(t)},t.get_images=function(e,t){var i,n;return null==e&&(e=null),null==t&&(t=[]),t="object"==typeof t?t:[t],i=[],n=this.get_page_images(!0),e&&(i=i.concat(this.image_heuristic(e))),0!==n.length&&(i=i.concat(n)),0!==t.length&&(i=t.concat(i)),this.remove_duplicates(i)},t.has_parent_with=function(t,i,n){var r,o;if(r=t,o=document.getElementsByAttribute(i,n),o.length>0){for(;"html"!==r.tagName.toLowerCase();){if(e.call(o,r)>=0)return!0;r=r.parentNode}return!1}return!1},t.delete_key=function(e,t){var i;return i=e[t],delete e[t],i},t.debug=function(){var e,t,i,n;if((t=this.debug).history||(t.history=[]),this.debug.history.push(arguments),null!=this.debug_mode()&&"error"!==this.debug_mode())for(i=0,n=arguments.length;n>i;i++)e=arguments[i],this.write_to_console(e,"[DEBUG]")},t.log=function(){var e,t,i,n;for((t=this.log).history||(t.history=[]),this.log.history.push(arguments),i=0,n=arguments.length;n>i;i++)e=arguments[i],this.write_to_console(e,"[LOG]")},t.error=function(){var e,t,i,n;if((t=this.error).history||(t.history=[]),this.error.history.push(arguments),null!=this.debug_mode())for(i=0,n=arguments.length;n>i;i++)e=arguments[i],this.write_to_console(e,"[ERROR]")},t.write_to_console=function(e,t){var i;try{if("object"==typeof e&&this.Browser.is_ie&&(Function.prototype.toJSON=function(){return"function(){}"},e=JSON.stringify(e),delete Function.prototype.toJSON),window.console&&console.log(""+t+" "+e),this.Browser.has_mobile)return this.write_to_mobile_console(e,t)}catch(n){i=n}},t.write_to_mobile_console=function(e,t){var i,n;return this.mobile_console||this.created_mobile_console(),i=document.createElement("p"),i.style.borderBottom="1px solid #F0F0F0",i.style.margin="0",i.style.padding="3px 0",t.match(/error/i)&&(i.style.color="red"),n="textContent"in i?"textContent":"innerText",i[n]=t?""+t+" "+e:e,this.mobile_console.appendChild(i)},t.created_mobile_console=function(){var e;return e=document.createElement("div"),e.style.width="auto",e.style.wordWrap="break-word",e.style.borderTop="1px solid #ccc",e.style.margin=0,e.style.padding="10px",this.mobile_console=e,document.getElementsByTagName("body")[0].appendChild(e)},t.escape_regexp=function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},t.compile_string=function(e,t,i){var n,r,o,s,a,l,c;for(null==i&&(i=!1),r=new RegExp("\\$\\{([a-z_]*)\\}","g"),s=e.match(r)||[],l=0,c=s.length;c>l;l++)o=s[l],n=o.substr(2,o.length-3),a=t[n]||"",i&&(a=encodeURIComponent(a)),e=e.replace(o,a);return e},t.filter_object=function(e,t,i){var n,r,o,s;o=t instanceof RegExp?t:new RegExp(this.escape_regexp(t),"gi"),n={};for(r in e)s=e[r],"/"===i?s.match(o)&&(n[r]=s):i?this.path_index(s,i).match(o)&&(n[r]=s):r.match(o)&&(n[r]=s);return n},t.remove_duplicates=function(e){var t,i,n,r;for(t=[],n=0,r=e.length;r>n;n++)i=e[n],-1===t.indexOf(i)&&""!==i&&t.push(i);return t},t.is_array=function(e){return this.is_class(e,"array")},t.is_string=function(e){return this.is_class(e,"string")},t.is_number=function(e){return this.is_class(e,"number")},t.is_string_or_number=function(e){return this.is_string(e)||this.is_number(e)},t.is_object=function(e){return this.is_class(e,"object")},t.is_class=function(e,t){var i;return i=Object.prototype.toString.call(e).match(/\[object\s(.*)\]/)[1],t.toLowerCase()===i.toLowerCase()},t.arguments_to_array=function(e){var t;return t=Array.prototype.slice.call(e,0)},t.demote=function(e,t){var i,n,r,o,s;for(r=[],n=[],o=0,s=e.length;s>o;o++)i=e[o],i.match(t)?r.push(i):n.push(i);return n.concat(r)},t.remove_multiple_spaces=function(e){return this.trim(e.replace(/\s{2,}/g," "))},t.trim=function(e){return e&&this.is_string(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e},t.path_index=function(e,t){return"string"==typeof t?this.path_index(e,t.split("/")):t.length?this.path_index(e[t[0]],t.slice(1)):e},t.is_empty=function(e){var t,i;for(t in e)if(i=e[t],e.hasOwnProperty(t))return!1;return!0},t.count=function(e){return e?this.is_object(e)?this.count_properties(e):e.length:0},t.count_properties=function(e){var t,i;t=0;for(i in e)e.hasOwnProperty(i)&&t++;return t},t.text_length=function(e,t){var i,n,r;if(null==t&&(t=!1),!t)return e.length;try{i=document.createElement("div"),i.innerHTML=e,r=i.textContent.length}catch(o){n=o,r=e.length}return r},t.shorten_url=function(e){var t,i,n,r,o;if(this.debug("In shorten_url"),null!=(r=e.url)?r.match(/shr\.lc|goo\.gl|bit\.ly|yhoo\.it|j\.mp|tinyurl/):void 0)return e.success(e.url);i=""+Shareaholic.ORIGIN_URL+"/v2/share/shorten_link",i+="?url="+encodeURIComponent(e.url),o=e.options;for(t in o)n=o[t],i+="&"+t+"="+n;return this.ajax({url:i,async:!0,success:function(t){return Shareaholic.Utils.debug("URL "+e.url+" Shortened to "+t.data),e.success(t.data)},failure:function(t){return e.failure(t)}})},t.shorten_urls=function(e){var t,i,n,r,o,s,a,l;for(this.debug("In shorten_urls"),o="object"==typeof e.urls?e.urls:[e.urls],i=o.length,n={},t=function(){return Object.keys(n).length===i?e.success(n):void 0},l=[],s=0,a=o.length;a>s;s++)r=o[s],l.push(this.shorten_url({url:r,options:e.options,success:function(e){return n[r]=e,t()},failure:function(){return n[r]=r,t()}}));return l},t.get_url_parameter=function(e){var t,i,n;return e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),i="[\\?&]"+e+"=?([^&#]*)",t=new RegExp(i),n=t.exec(window.location.search),null===n?null:decodeURIComponent(n[1].replace(/\+/g," "))},t.has_url_parameter=function(e){return null!==this.get_url_parameter(e)},t.force_url_scheme=function(e,t){return null==t&&(t="http"),e.match(/^[a-zA-Z]*:\/\//)?e:e.match(/^\/\//)?""+t+":"+e:""+t+"://"+e},t.time_key=function(e){var t;return null==e&&(e=1e5),t=(new Date).getTime(),t+Math.floor(Math.random()*e+1)},t.report_event=function(e,t){var i;return this.debug("In report_event"),i=""+Shareaholic.ORIGIN_URL+"/api/events?name="+e,t&&(i+="&data="+t),this.ajax({url:i,method:"POST"})},t.find_urls_in_string=function(e){var t,i; return i=/\b(((https?:\/\/)|(www\.))\S+)|(\S+\.)+(com|org|io|net|biz|co\.uk){1}\S*/gi,t=e.match(i)||[],t=Shareaholic.Utils.array_select(t,function(e){return/^[^#]/.test(e)})},t.get_max_z_index=function(){var e,t;return e=Math.max.apply(null,Shareaholic.Utils.map_array(document.getElementsByTagName("*"),function(e){var t,i;return window.getComputedStyle?(t=getComputedStyle(e,null),i=parseInt(t.zIndex)):document.documentElement.currentStyle&&(i=parseInt(e.currentStyle.zIndex)),isNaN(i)?1:i})),null!=(t=e>=2147483647)?t:{2147483646:e}},t.computed_z_index=function(e){var t,i,n,r;t=0,n=0;try{for(;e.length;)r=parseInt(e.css("z-index")),r>n&&(n=r),t++,e=e.parent()}catch(o){return i=o,"auto"}return n},t.now=Date.now||function(){return(new Date).getTime()},t.throttle=function(e,t,i){var n,r,o,s,a,l;return r=void 0,n=void 0,a=void 0,l=null,s=0,i||(i={}),o=function(){s=i.leading===!1?0:Shareaholic.Utils.now(),l=null,a=e.apply(r,n),r=n=null},function(){var c,h;return c=Shareaholic.Utils.now(),s||i.leading!==!1||(s=c),h=t-(c-s),r=this,n=arguments,0>=h?(clearTimeout(l),l=null,s=c,a=e.apply(r,n),r=n=null):l||i.trailing===!1||(l=setTimeout(o,h)),a}},t.debounce=function(e,t,i){var n,r,o,s,a,l;return a=void 0,n=void 0,r=void 0,l=void 0,s=void 0,o=function(){var c;c=Shareaholic.Utils.now()-l,t>c?a=setTimeout(o,t-c):(a=null,i||(s=e.apply(r,n),r=n=null))},function(){var c;return r=this,n=arguments,l=Shareaholic.Utils.now(),c=i&&!a,a||(a=setTimeout(o,t)),c&&(s=e.apply(r,n),r=n=null),s}},t.deparam=function(e,t){var i,n,r,o,s,a,l,c,h,u,d,p,f,m;for(c={},i={"true":!0,"false":!1,"null":null},m=e.replace(/^\?/,"").replace(/\+/g," ").split("&"),o=p=0,f=m.length;f>p;o=++p)if(u=m[o],h=u.split("="),s=decodeURIComponent(h[0]),d=void 0,n=c,r=0,a=s.split("]["),l=a.length-1,/\[/.test(a[0])&&/\]$/.test(a[l])?(a[l]=a[l].replace(/\]$/,""),a=a.shift().split("[").concat(a),l=a.length-1):l=0,2===h.length)if(d=decodeURIComponent(h[1]),t&&(d=d&&!isNaN(d)?+d:"undefined"===d?void 0:void 0!==i[d]?i[d]:d),l)for(;l>=r;)s=""===a[r]?n.length:a[r],n=n[s]=l>r?n[s]||(a[r+1]&&isNaN(a[r+1])?{}:[]):d,r++;else Shareaholic.Utils.is_array(c[s])?c[s].push(d):c[s]=void 0!==c[s]?[c[s],d]:d;else s&&(c[s]=t?void 0:"");return c},t.site_name_from_url=function(e){return Shareaholic.URI.parse(e).domain_name()},t.filter_array=function(e,t){var i,n,r,o,s,a,l;if(null===e)throw new TypeError;if(i=Object(e),"function"!=typeof t)throw new TypeError;for(r=[],o=arguments[2],n=a=0,l=i.length;l>a;n=++a)s=i[n],"undefined"!=typeof s&&t.call(o,s,n,i)&&r.push(s);return r},t.shuffle_array=function(e){var t,i,n,r;if(null===e)throw new TypeError;for(n=Object(e),t=n.length;t--;)i=0|Math.random()*t,r=n[t],n[t]=n[i],n[i]=r;return n},t.includes=function(e,t){var i;if(null===e)throw new TypeError;return i=Object(e),i.indexOf(t)>-1},t.map_array=function(e,t,i){var n,r,o,s,a,l,c;if(null===e)throw new TypeError(" array is null or not defined");if(c=Object(e),a=c.length>>0,"function"!=typeof t)throw new TypeError(t+" is not a function");for(i&&(r=i),n=new Array(a),o=0;a>o;)o in c&&(s=c[o],l=t.call(r,s,o,c),n[o]=l),o++;return n},t.Browser=function(){function e(){}return e.init=function(e){var t,i,n,r,o;try{return this.nav=e,this.user_agent=this.nav.userAgent,this.has_mobile=/Mobi/.test(this.user_agent),this.is_ios=/ipad|ipod|iphone/i.test(this.user_agent),this.is_android=/(android)/i.test(this.user_agent),this.blackberry=/(blackberry)/i.test(this.user_agent),this.is_palm=/(palm)/i.test(this.user_agent),this.is_windows_phone=/Windows Phone/.test(this.user_agent),this.is_windows=/Windows/.test(this.user_agent)&&!this.is_windows_phone,this.is_mac=/Mac/.test(this.user_agent)&&!this.is_ios,this.is_chrome=/Chrome/.test(this.user_agent),this.is_firefox=/Firefox/.test(this.user_agent),this.is_safari=/Safari/.test(this.user_agent)&&!this.is_chrome,this.is_ie=!this.is_webkit&&!this.is_opera&&/MSIE/gi.test(this.user_agent)&&/Explorer/gi.test(this.nav.appName),this.is_ie6=this.is_ie&&/MSIE [56]/.test(this.user_agent),this.is_ie7=this.is_ie&&/MSIE [7]/.test(this.user_agent),this.is_ie8=this.is_ie&&/MSIE [8]/.test(this.user_agent),this.is_ie9=this.is_ie&&/MSIE [9]/.test(this.user_agent),this.is_ie10=this.is_ie&&/MSIE 10/.test(this.user_agent),this.is_opera=window.opera&&opera.buildNumber,this.is_air=/adobeair/i.test(this.user_agent),this.is_shitty_browser=this.is_ie8||this.is_ie9,this.supports_local_storage=!this.is_ie6&&!this.is_ie7,this.is_ie_mobile=/(iemobile)/i.test(this.user_agent),this.is_opera_mobile=/Opera Mobi/.test(this.user_agent),this.is_chrome_ios=/crios/i.test(this.user_agent),this.is_chrome_mobile=/crmo/i.test(this.user_agent)||this.is_chrome_ios,this.safari_version=this.is_safari&&(n=/Version\/([0-9]+)/.exec(this.user_agent))&&parseInt(n[1]),this.ios_version=this.is_ios&&(n=/Version\/([0-9]+)/.exec(this.user_agent))&&parseInt(n[1]),this.ie_version=this.is_ie&&(n=/MSIE ([0-9]+)/.exec(this.user_agent))&&parseInt(n[1]),this.ie_mobile_version=this.is_ie_mobile&&(n=/IEMobile\/([0-9]+)/.exec(this.user_agent))&&parseInt(n[1]),this.is_webkit=/WebKit/.test(this.user_agent),this.is_trident=/Trident/.test(this.user_agent),this.is_gecko=!this.is_webkit&&/Gecko/.test(this.user_agent),this.webkit_version=this.is_webkit&&(n=/WebKit\/([0-9]+)/.exec(this.user_agent))&&parseInt(n[1]),this.is_ipad=/(ipad)/i.test(this.user_agent),this.is_ipod=/(ipod)/i.test(this.user_agent),this.is_iphone=/(iphone)/i.test(this.user_agent)&&!this.is_ipad,this.is_blackberry_phone=this.is_blackberry&&this.has_mobile,this.is_blackberry_tablet=/PlayBook|RIM Tablet/.test(this.user_agent),this.is_android_phone=this.is_android&&this.has_mobile,this.is_android_tablet=this.is_android&&!this.has_mobile,this.is_kindle=/Kindle/.test(this.user_agent),this.is_tablet=this.is_ipad||this.is_android_tablet||this.is_blackberry_tablet||this.is_kindle,this.is_phone=this.is_mobile=this.is_iphone||this.is_ipod||this.is_blackberry_phone||this.is_android_phone||this.is_windows_phone,this.is_desktop=!this.is_phone&&!this.is_tablet,this.device_type=this.get_device_type(),this.device_name=this.get_device_name(),this.platform=this.get_platform_name(),this.browser_name=this.get_browser_name(),this.os_name=this.get_os_name(),o=document.getElementsByAttribute("meta","name","viewport")[0],r=o?o.getAttribute("content"):"",this.is_viewport_width=o?/device\-width/i.test(r):!1,this.is_user_scalable=!/user\-scalable\s*=\s*no/i.test(r),i="function"==typeof window.matchMedia?window.matchMedia("(min-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6/2), (min-resolution: 1.3dppx)"):void 0,this.is_retina=i&&i.matches}catch(s){t=s}},e.get_device_name=function(){var e;return e=this.is_ipad?"iPad":this.is_ipod?"iPod":this.is_iphone?"iPhone":this.is_android?"Android":this.is_mac?"Mac":"PC"},e.get_browser_name=function(){var e;return e=this.is_ie?"IE "+this.ie_version:this.is_chrome?"Chrome":this.is_safari?"Safari":this.is_firefox?"Firefox":this.is_opera?"Opera":"Unknown"},e.get_os_name=function(){var e;return this.is_windows&&(e="Windows"),e=this.is_windows_phone?"Windows Phone":this.is_mac?"Mac OS":this.is_ios?"iOS":this.is_android?"Android":"Unknown"},e.get_device_type=function(){return this.get_platform_name().toLowerCase()},e.get_platform_name=function(){var e;return e=this.is_phone?"Phone":this.is_tablet?"Tablet":"Desktop"},e.init(window.debug_navigator||window.navigator),e}(),t.PostMessage=function(){function e(){}return e.listeners={},e.register_listener=function(e,t,i){var n;return Shareaholic.Utils.debug('in PostMessage Receiver. Listenting for message on channel "'+e+'"'),n={once:t.once,callback:function(e){return e=JSON.safeParse(e),Shareaholic.Utils.debug("RESPONSE STRING: ",JSON.stringify(e)),200===e.status?(Shareaholic.Utils.debug("in PostMessage success callback "),"function"==typeof t.success?t.success(e.responseText):void 0):(Shareaholic.Utils.debug("in PostMessage failure callback "),"function"==typeof t.failure?t.failure(e):void 0)}},this.listeners[e]=n,Shareaholic.Utils.debug("After register listener",this.listeners),i?(Shareaholic.Utils.debug("we need to POLL"),this.poll(e)):window.addEventListener?window.addEventListener("message",this.dispatch,!1):window.attachEvent("onmessage",this.dispatch)},e.add=function(t,i,n){return i="function"==typeof i?{success:i}:i,i.once=!1,e.register_listener(t,i,n)},e.add_once=function(t,i,n){return i="function"==typeof i?{success:i}:i,i.once=!0,e.register_listener(t,i,n)},e.receive=function(t,i,n){return e.add_once(t,i,n)},e.send=function(e,t,i,n){var r;return null==i&&(i=parent),null==n&&(n="*"),r={name:e,message:JSON.safeParse(t)},i.postMessage(JSON.stringify(r),n),Shareaholic.Utils.debug("in PostMessage Sender. Sent: ",JSON.stringify(r))},e.create_polling_frame=function(e,t){var i,n;n=document.createElement("iframe"),n.id="polling_frame",n.src=""+Shareaholic.ORIGIN_URL+"/v2/poll?message_key="+e,n.style.display="none",i=document.getElementsByTagName("body")[0],i.appendChild(n),n.onload=function(){return"function"==typeof t?t():void 0}},e.destroy_helper_frame=function(e){var t,i;return i=document.getElementById("polling_frame_"+e),i?(t=document.getElementsByTagName("body")[0],t.removeChild(i)):void 0},e.poll=function(i){var n,r;return r=t.Cookie.get(i),Shareaholic.Utils.debug("in PostMessage Poller",i,r),r&&"false"!==r?(Shareaholic.Utils.debug("the message changed: ",r),n={name:i,message:JSON.safeParse(r)},Shareaholic.Utils.debug("this is the data formated again: ",n),e.dispatch({data:JSON.stringify(n)}),clearTimeout(e.poll_timeout),!0):(e.poll_timeout=setTimeout(function(){return e.poll(i)},1e3),!1)},e.dispatch=function(t){var i,n,r;Shareaholic.Utils.debug("in PostMessage Dispatcher",t.data),i=JSON.safeParse(t.data),Shareaholic.Utils.debug("Attempting to access listenter registered under: ",i.name),Shareaholic.Utils.debug("Using the following data: "),Shareaholic.Utils.debug(i.message),Shareaholic.Utils.debug("Available listeners: ",e.listeners);try{if(r=e.listeners[i.name],r&&("function"==typeof r.callback&&r.callback(i.message),r.once))return delete e.listeners[i.name]}catch(o){return n=o,Shareaholic.Utils.error("There was an issue dispatching your event."),Shareaholic.Utils.error(n.message)}},e}.call(this),t.Cookie=function(){function e(){}return e.set=function(e,t,i){var n,r,o,s,a;return null==i&&(i={}),!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e)?!1:(r="",i.expires&&(r=function(){switch(i.expires.constructor){case Number:return 1/0===i.expires?"; expires=Tue, 19 Jan 2038 03:14:07 GMT":"; max-age="+i.expires;case String:return"; expires="+i.expires;case Date:return"; expires="+i.expires.toUTCString()}}()),o=""+encodeURIComponent(e)+"="+encodeURIComponent(t),n=i.domain?"; domain="+i.domain:"",s=i.path?"; path="+i.path:"",a=i.secure?"; secure":"",document.cookie=[o,r,n,s,a].join(""),!0)},e.get=function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},e["delete"]=function(e,t){var i,n;return null==t&&(t={}),e&&this.has_item(e)?(i=t.domain?"; domain="+t.domain:"",n=t.path?"; path="+t.path:"",document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+i+n,!0):!1},e.has_item=function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},e.keys=function(){var e,t,i,n,r;for(i=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=[],n=0,r=i.length;r>n;n++)t=i[n],e.push(decodeURIComponent(t));return e},e}(),t}.call(this),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t,i,n,r,o;if(null===this)return-1;if(r=Object(this),!r)return-1;if(i=r.length>>>0,0===i)return-1;if(n=0,arguments.length>1&&(n=Number(arguments[1]),n!==n?n=0:0!==n&&1/0!==n&&n!==-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(t=n>=0?n:Math.max(i-Math.abs(n),0),t=o=0;i>=0?i>=o:o>=i;t=i>=0?++o:--o)if(t in r&&r[t]===e)return t;return-1}),document.getElementsByClassName||(document.getElementsByClassName=function(e){return Shareaholic.Utils.debug("Using custom get class method"),document.querySelectorAll("."+e)}),document.getChildrenByClassName=function(e,t){var i,n,r,o,s;for(n=[],s=e.childNodes,r=0,o=s.length;o>r;r++)i=s[r],i.className&&Shareaholic.Utils.is_string(i.className)&&i.className.split(" ").indexOf(t)>=0&&n.push(i);return n},String.prototype.capitalize=function(){return this.replace(/(^|\s)([a-z])/g,function(e,t,i){return t+i.toUpperCase()})},Object.keys||(Object.keys=function(){"use strict";var e,t,i;return i=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),e=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],function(n){var r,o,s,a,l,c;if("object"!=typeof n&&("function"!=typeof n||null===n))throw new TypeError("Object.keys called on non-object");s=[];for(o in n)a=n[o],i.call(n,o)&&s.push(o);if(t)for(l=0,c=e.length;c>l;l++)r=e[l],i.call(n,e[r])&&s.push(e[r]);return s}}())}.call(this),function(){window.Shareaholic||(window.Shareaholic=function(){}),Shareaholic.Dispatcher=function(){function e(){this.events={},this.history=[],this.constructor.instances.push(this)}var t;return e.instances=[],e.prototype.add=function(e,t,i){var n;return null==i&&(i={}),"boolean"==typeof i&&(i={historical:i}),(n=i.dependencies)?(delete i.dependencies,this.dependency_handler(e,n,t,i)):this.standard_handler(e,t,i),this},e.prototype.add_once=function(e,t,i){return null==i&&(i={}),"boolean"==typeof i&&(i={historical:i}),i.once=!0,this.add(e,t,i),this},e.prototype.standard_handler=function(e,t,i){var n,r,o;return null==i&&(i={}),i=Shareaholic.Utils.merge_objects(i,{historical:!1,position:"bottom"}),i.historical&&this.has_fired(e)&&t(),r=(o=this.events)[e]||(o[e]=[]),n={callback:t},i.once&&(n.once=!0),r["top"===i.position?"unshift":"push"](n)},e.prototype.dependency_handler=function(e,t,i,n){var r,o,s,a,l,c;for(t=Shareaholic.Utils.is_array(t)?t:[t],r=this,o=function(){return Shareaholic.Dispatcher.prototype.has_fired.call(r,t.concat([e]))?i():void 0},this.add(e,o,n),c=[],a=0,l=t.length;l>a;a++)s=t[a],this.has_fired(s)?c.push(void 0):c.push(this.add_once(s,o,{historical:!0,once:!0}));return c},e.prototype.add_to_top=function(e,t){return this.add(e,t,{position:"top"}),this},e.prototype.add_once_to_top=function(e,t){return this.add_once(e,t,{position:"top"}),this},e.prototype.trigger=function(e,t){var i,n,r,o,s,a,l;for(e=Shareaholic.Utils.is_array(e)?e:[e],a=0,l=e.length;l>a;a++)if(n=e[a],r=this.events[n],this.history.push(n),r)for(o in r){s=r[o];try{"function"==typeof s.callback&&s.callback(Shareaholic,t)}catch(c){i=c,Shareaholic.report_error(i)}s.once&&delete r[o]}return this},e.prototype.has_fired=function(e){var t,i,n;for(e=Shareaholic.Utils.is_array(e)?e:[e],i=0,n=e.length;n>i;i++)if(t=e[i],this.history.indexOf(t)<0)return!1;return!0},e.notify_dispatchers=function(t){var i,n,r,o,s;for(o=e.instances,s=[],n=0,r=o.length;r>n;n++)i=o[n],s.push(i.trigger(t));return s},e.ready_bound=!1,e.is_ready=!1,e.ready=function(){return e.is_ready?void 0:document.body?(Shareaholic.is_ready=!0,e.notify_dispatchers("document_ready")):setTimeout(e.ready,13)},e.setup_ready_listeners=function(){var e,i,n,r=this;if(this.ready_bound)return!0;if(this.ready_bound=!0,"complete"===document.readyState)return this.ready();if(e=function(){return document.addEventListener?document.removeEventListener("DOMContentLoaded",e,!1):document.attachEvent&&"complete"===document.readyState&&document.detachEvent("onreadystatechange",e),r.ready()},document.addEventListener)return document.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",this.ready,!1);if(document.attachEvent){document.attachEvent("onreadystatechange",e),window.attachEvent("onload",this.ready),n=!1;try{return n=null===window.frameElement}catch(o){if(i=o,document.documentElement.doScroll&&n)return t()}}},t=function(){var e;if(Shareaholic.is_ready)return!0;try{document.documentElement.doScroll("left")}catch(i){return e=i,setTimeout(t,1),!0}return Shareaholic.ready()},e}.call(this),Shareaholic.Dispatcher.setup_ready_listeners(),Shareaholic.dispatcher||(Shareaholic.dispatcher=new Shareaholic.Dispatcher)}.call(this),/*! * jQuery JavaScript Library v1.8.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time) */ function(e,t){function i(e){var t=ft[e]={};return J.each(e.split(tt),function(e,i){t[i]=!0}),t}function n(e,i,n){if(n===t&&1===e.nodeType){var r="data-"+i.replace(gt,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:mt.test(n)?J.parseJSON(n):n}catch(o){}J.data(e,i,n)}else n=t}return n}function r(e){var t;for(t in e)if(("data"!==t||!J.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function o(){return!1}function s(){return!0}function a(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,i){if(t=t||0,J.isFunction(t))return J.grep(e,function(e,n){var r=!!t.call(e,n,e);return r===i});if(t.nodeType)return J.grep(e,function(e){return e===t===i});if("string"==typeof t){var n=J.grep(e,function(e){return 1===e.nodeType});if(Ot.test(t))return J.filter(t,n,!i);t=J.filter(t,n)}return J.grep(e,function(e){return J.inArray(e,t)>=0===i})}function h(e){var t=zt.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function u(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function d(e,t){if(1===t.nodeType&&J.hasData(e)){var i,n,r,o=J._data(e),s=J._data(t,o),a=o.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,r=a[i].length;r>n;n++)J.event.add(t,i,a[i][n])}s.data&&(s.data=J.extend({},s.data))}}function p(e,t){var i;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),i=t.nodeName.toLowerCase(),"object"===i?(t.parentNode&&(t.outerHTML=e.outerHTML),J.support.html5Clone&&e.innerHTML&&!J.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===i&&Kt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===i?t.selected=e.defaultSelected:"input"===i||"textarea"===i?t.defaultValue=e.defaultValue:"script"===i&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(J.expando))}function f(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Kt.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t){if(t in e)return t;for(var i=t.charAt(0).toUpperCase()+t.slice(1),n=t,r=gi.length;r--;)if(t=gi[r]+i,t in e)return t;return n}function v(e,t){return e=t||e,"none"===J.css(e,"display")||!J.contains(e.ownerDocument,e)}function _(e,t){for(var i,n,r=[],o=0,s=e.length;s>o;o++)i=e[o],i.style&&(r[o]=J._data(i,"olddisplay"),t?(r[o]||"none"!==i.style.display||(i.style.display=""),""===i.style.display&&v(i)&&(r[o]=J._data(i,"olddisplay",k(i.nodeName)))):(n=ii(i,"display"),r[o]||"none"===n||J._data(i,"olddisplay",n)));for(o=0;s>o;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[o]||"":"none"));return e}function y(e,t,i){var n=ci.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function b(e,t,i,n){for(var r=i===(n?"border":"content")?4:"width"===t?1:0,o=0;4>r;r+=2)"margin"===i&&(o+=J.css(e,i+mi[r],!0)),n?("content"===i&&(o-=parseFloat(ii(e,"padding"+mi[r]))||0),"margin"!==i&&(o-=parseFloat(ii(e,"border"+mi[r]+"Width"))||0)):(o+=parseFloat(ii(e,"padding"+mi[r]))||0,"padding"!==i&&(o+=parseFloat(ii(e,"border"+mi[r]+"Width"))||0));return o}function w(e,t,i){var n="width"===t?e.offsetWidth:e.offsetHeight,r=!0,o=J.support.boxSizing&&"border-box"===J.css(e,"boxSizing");if(0>=n){if(n=ii(e,t),(0>n||null==n)&&(n=e.style[t]),hi.test(n))return n;r=o&&(J.support.boxSizingReliable||n===e.style[t]),n=parseFloat(n)||0}return n+b(e,t,i||(o?"border":"content"),r)+"px"}function k(e){if(di[e])return di[e];var t=J("<"+e+">").appendTo(B.body),i=t.css("display");return t.remove(),("none"===i||""===i)&&(ni=B.body.appendChild(ni||J.extend(B.createElement("iframe"),{frameBorder:0,width:0,height:0})),ri&&ni.createElement||(ri=(ni.contentWindow||ni.contentDocument).document,ri.write(""),ri.close()),t=ri.body.appendChild(ri.createElement(e)),i=ii(t,"display"),B.body.removeChild(ni)),di[e]=i,i}function x(e,t,i,n){var r;if(J.isArray(t))J.each(t,function(t,r){i||yi.test(e)?n(e,r):x(e+"["+("object"==typeof r?t:"")+"]",r,i,n)});else if(i||"object"!==J.type(t))n(e,t);else for(r in t)x(e+"["+r+"]",t[r],i,n)}function S(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r,o,s=t.toLowerCase().split(tt),a=0,l=s.length;if(J.isFunction(i))for(;l>a;a++)n=s[a],o=/^\+/.test(n),o&&(n=n.substr(1)||"*"),r=e[n]=e[n]||[],r[o?"unshift":"push"](i)}}function C(e,i,n,r,o,s){o=o||i.dataTypes[0],s=s||{},s[o]=!0;for(var a,l=e[o],c=0,h=l?l.length:0,u=e===Li;h>c&&(u||!a);c++)a=l[c](i,n,r),"string"==typeof a&&(!u||s[a]?a=t:(i.dataTypes.unshift(a),a=C(e,i,n,r,a,s)));return!u&&a||s["*"]||(a=C(e,i,n,r,"*",s)),a}function T(e,i){var n,r,o=J.ajaxSettings.flatOptions||{};for(n in i)i[n]!==t&&((o[n]?e:r||(r={}))[n]=i[n]);r&&J.extend(!0,e,r)}function A(e,i,n){var r,o,s,a,l=e.contents,c=e.dataTypes,h=e.responseFields;for(o in h)o in n&&(i[h[o]]=n[o]);for(;"*"===c[0];)c.shift(),r===t&&(r=e.mimeType||i.getResponseHeader("content-type"));if(r)for(o in l)if(l[o]&&l[o].test(r)){c.unshift(o);break}if(c[0]in n)s=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){s=o;break}a||(a=o)}s=s||a}return s?(s!==c[0]&&c.unshift(s),n[s]):void 0}function D(e,t){var i,n,r,o,s=e.dataTypes.slice(),a=s[0],l={},c=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s[1])for(i in e.converters)l[i.toLowerCase()]=e.converters[i];for(;r=s[++c];)if("*"!==r){if("*"!==a&&a!==r){if(i=l[a+" "+r]||l["* "+r],!i)for(n in l)if(o=n.split(" "),o[1]===r&&(i=l[a+" "+o[0]]||l["* "+o[0]])){i===!0?i=l[n]:l[n]!==!0&&(r=o[0],s.splice(c--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(h){return{state:"parsererror",error:i?h:"No conversion from "+a+" to "+r}}}a=r}return{state:"success",data:t}}function E(){try{return new e.XMLHttpRequest}catch(t){}}function I(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function M(){return setTimeout(function(){Yi=t},0),Yi=J.now()}function P(e,t){J.each(t,function(t,i){for(var n=(Ji[t]||[]).concat(Ji["*"]),r=0,o=n.length;o>r;r++)if(n[r].call(e,t,i))return})}function N(e,t,i){var n,r=0,o=Qi.length,s=J.Deferred().always(function(){delete a.elem}),a=function(){for(var t=Yi||M(),i=Math.max(0,l.startTime+l.duration-t),n=1-(i/l.duration||0),r=0,o=l.tweens.length;o>r;r++)l.tweens[r].run(n);return s.notifyWith(e,[l,n,i]),1>n&&o?i:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:J.extend({},t),opts:J.extend(!0,{specialEasing:{}},i),originalProperties:t,originalOptions:i,startTime:Yi||M(),duration:i.duration,tweens:[],createTween:function(t,i){var n=J.Tween(e,l.opts,t,i,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){for(var i=0,n=t?l.tweens.length:0;n>i;i++)l.tweens[i].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for($(c,l.opts.specialEasing);o>r;r++)if(n=Qi[r].call(l,e,c,l.opts))return n;return P(l,c),J.isFunction(l.opts.start)&&l.opts.start.call(e,l),J.fx.timer(J.extend(a,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function $(e,t){var i,n,r,o,s;for(i in e)if(n=J.camelCase(i),r=t[n],o=e[i],J.isArray(o)&&(r=o[1],o=e[i]=o[0]),i!==n&&(e[n]=o,delete e[i]),s=J.cssHooks[n],s&&"expand"in s){o=s.expand(o),delete e[n];for(i in o)i in e||(e[i]=o[i],t[i]=r)}else t[n]=r}function L(e,t,i){var n,r,o,s,a,l,c,h,u=this,d=e.style,p={},f=[],m=e.nodeType&&v(e);i.queue||(c=J._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,h=c.empty.fire,c.empty.fire=function(){c.unqueued||h()}),c.unqueued++,u.always(function(){u.always(function(){c.unqueued--,J.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===J.css(e,"display")&&"none"===J.css(e,"float")&&(J.support.inlineBlockNeedsLayout&&"inline"!==k(e.nodeName)?d.zoom=1:d.display="inline-block")),i.overflow&&(d.overflow="hidden",J.support.shrinkWrapBlocks||u.done(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]}));for(n in t)if(o=t[n],Xi.exec(o)){if(delete t[n],o===(m?"hide":"show"))continue;f.push(n)}if(s=f.length)for(a=J._data(e,"fxshow")||J._data(e,"fxshow",{}),m?J(e).show():u.done(function(){J(e).hide()}),u.done(function(){var t;J.removeData(e,"fxshow",!0);for(t in p)J.style(e,t,p[t])}),n=0;s>n;n++)r=f[n],l=u.createTween(r,m?a[r]:0),p[r]=a[r]||J.style(e,r),r in a||(a[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}function O(e,t,i,n,r){return new O.prototype.init(e,t,i,n,r)}function j(e,t){for(var i,n={height:e},r=0;4>r;r+=2-t)i=mi[r],n["margin"+i]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function U(e){return J.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var z,R,B=e.document,H=e.location,W=e.navigator,F=e.sQuery,q=e.$,Y=Array.prototype.push,G=Array.prototype.slice,X=Array.prototype.indexOf,K=Object.prototype.toString,V=Object.prototype.hasOwnProperty,Q=String.prototype.trim,J=function(e,t){return new J.fn.init(e,t,z)},Z=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,et=/\S/,tt=/\s+/,it=et.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,nt=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,rt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^[\],:{}\s]*$/,st=/(?:^|:|,)(?:\s*\[)+/g,at=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,lt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ct=/^-ms-/,ht=/-([\da-z])/gi,ut=function(e,t){return(t+"").toUpperCase()},dt=function(){B.addEventListener?(B.removeEventListener("DOMContentLoaded",dt,!1),J.ready()):"complete"===B.readyState&&(B.detachEvent("onreadystatechange",dt),J.ready())},pt={};J.fn=J.prototype={constructor:J,init:function(e,i,n){var r,o,s;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:nt.exec(e),!r||!r[1]&&i)return!i||i.jquery?(i||n).find(e):this.constructor(i).find(e);if(r[1])return i=i instanceof J?i[0]:i,s=i&&i.nodeType?i.ownerDocument||i:B,e=J.parseHTML(r[1],s,!0),rt.test(r[1])&&J.isPlainObject(i)&&this.attr.call(e,i,!0),J.merge(this,e);if(o=B.getElementById(r[2]),o&&o.parentNode){if(o.id!==r[2])return n.find(e);this.length=1,this[0]=o}return this.context=B,this.selector=e,this}return J.isFunction(e)?n.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),J.makeArray(e,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return G.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,i){var n=J.merge(this.constructor(),e);return n.prevObject=this,n.context=this.context,"find"===t?n.selector=this.selector+(this.selector?" ":"")+i:t&&(n.selector=this.selector+"."+t+"("+i+")"),n},each:function(e,t){return J.each(this,e,t)},ready:function(e){return J.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(e){return this.pushStack(J.map(this,function(t,i){return e.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:Y,sort:[].sort,splice:[].splice},J.fn.init.prototype=J.fn,J.extend=J.fn.extend=function(){var e,i,n,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},l=2),"object"==typeof a||J.isFunction(a)||(a={}),c===l&&(a=this,--l);c>l;l++)if(null!=(e=arguments[l]))for(i in e)n=a[i],r=e[i],a!==r&&(h&&r&&(J.isPlainObject(r)||(o=J.isArray(r)))?(o?(o=!1,s=n&&J.isArray(n)?n:[]):s=n&&J.isPlainObject(n)?n:{},a[i]=J.extend(h,s,r)):r!==t&&(a[i]=r));return a},J.extend({noConflict:function(t){return e.$===J&&(e.$=q),t&&e.sQuery===J&&(e.sQuery=F),J},isReady:!1,readyWait:1,holdReady:function(e){e?J.readyWait++:J.ready(!0)},ready:function(e){if(e===!0?!--J.readyWait:!J.isReady){if(!B.body)return setTimeout(J.ready,1);J.isReady=!0,e!==!0&&--J.readyWait>0||(R.resolveWith(B,[J]),J.fn.trigger&&J(B).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===J.type(e)},isArray:Array.isArray||function(e){return"array"===J.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):pt[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==J.type(e)||e.nodeType||J.isWindow(e))return!1;try{if(e.constructor&&!V.call(e,"constructor")&&!V.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}var n;for(n in e);return n===t||V.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,i){var n;return e&&"string"==typeof e?("boolean"==typeof t&&(i=t,t=0),t=t||B,(n=rt.exec(e))?[t.createElement(n[1])]:(n=J.buildFragment([e],t,i?null:[]),J.merge([],(n.cacheable?J.clone(n.fragment):n.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=J.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ot.test(t.replace(at,"@").replace(lt,"]").replace(st,""))?new Function("return "+t)():(J.error("Invalid JSON: "+t),void 0)):null},parseXML:function(i){var n,r;if(!i||"string"!=typeof i)return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(i,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(i))}catch(o){n=t}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||J.error("Invalid XML: "+i),n},noop:function(){},globalEval:function(t){t&&et.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ct,"ms-").replace(ht,ut)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,i,n){var r,o=0,s=e.length,a=s===t||J.isFunction(e);if(n)if(a){for(r in e)if(i.apply(e[r],n)===!1)break}else for(;s>o&&i.apply(e[o++],n)!==!1;);else if(a){for(r in e)if(i.call(e[r],r,e[r])===!1)break}else for(;s>o&&i.call(e[o],o,e[o++])!==!1;);return e},trim:Q?function(e){return null==e?"":Q.call(e)}:function(e){return null==e?"":e.toString().replace(it,"")},makeArray:function(e,t){var i,n=t||[];return null!=e&&(i=J.type(e),null==e.length||"string"===i||"function"===i||"regexp"===i||J.isWindow(e)?Y.call(n,e):J.merge(n,e)),n},inArray:function(e,t,i){var n;if(t){if(X)return X.call(t,e,i);for(n=t.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,i){var n=i.length,r=e.length,o=0;if("number"==typeof n)for(;n>o;o++)e[r++]=i[o];else for(;i[o]!==t;)e[r++]=i[o++];return e.length=r,e},grep:function(e,t,i){var n,r=[],o=0,s=e.length;for(i=!!i;s>o;o++)n=!!t(e[o],o),i!==n&&r.push(e[o]);return r},map:function(e,i,n){var r,o,s=[],a=0,l=e.length,c=e instanceof J||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||J.isArray(e));if(c)for(;l>a;a++)r=i(e[a],a,n),null!=r&&(s[s.length]=r);else for(o in e)r=i(e[o],o,n),null!=r&&(s[s.length]=r);return s.concat.apply([],s)},guid:1,proxy:function(e,i){var n,r,o;return"string"==typeof i&&(n=e[i],i=e,e=n),J.isFunction(e)?(r=G.call(arguments,2),o=function(){return e.apply(i,r.concat(G.call(arguments)))},o.guid=e.guid=e.guid||o.guid||J.guid++,o):t},access:function(e,i,n,r,o,s,a){var l,c=null==n,h=0,u=e.length;if(n&&"object"==typeof n){for(h in n)J.access(e,i,h,n[h],1,s,r);o=1}else if(r!==t){if(l=a===t&&J.isFunction(r),c&&(l?(l=i,i=function(e,t,i){return l.call(J(e),i)}):(i.call(e,r),i=null)),i)for(;u>h;h++)i(e[h],n,l?r.call(e[h],h,i(e[h],n)):r,a);o=1}return o?e:c?i.call(e):u?i(e[0],n):s},now:function(){return(new Date).getTime()}}),J.ready.promise=function(t){if(!R)if(R=J.Deferred(),"complete"===B.readyState||"loading"!==B.readyState&&B.addEventListener)setTimeout(J.ready,1);else if(B.addEventListener)B.addEventListener("DOMContentLoaded",dt,!1),e.addEventListener("load",J.ready,!1);else{B.attachEvent("onreadystatechange",dt),e.attachEvent("onload",J.ready);var i=!1;try{i=null==e.frameElement&&B.documentElement}catch(n){}i&&i.doScroll&&function r(){if(!J.isReady){try{i.doScroll("left")}catch(e){return setTimeout(r,50)}J.ready()}}()}return R.promise(t)},J.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pt["[object "+t+"]"]=t.toLowerCase()}),z=J(B);var ft={};J.Callbacks=function(e){e="string"==typeof e?ft[e]||i(e):J.extend({},e);var n,r,o,s,a,l,c=[],h=!e.once&&[],u=function(t){for(n=e.memory&&t,r=!0,l=s||0,s=0,a=c.length,o=!0;c&&a>l;l++)if(c[l].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,c&&(h?h.length&&u(h.shift()):n?c=[]:d.disable())},d={add:function(){if(c){var t=c.length;!function i(t){J.each(t,function(t,n){!J.isFunction(n)||e.unique&&d.has(n)?n&&n.length&&i(n):c.push(n)})}(arguments),o?a=c.length:n&&(s=t,u(n))}return this},remove:function(){return c&&J.each(arguments,function(e,t){for(var i;(i=J.inArray(t,c,i))>-1;)c.splice(i,1),o&&(a>=i&&a--,l>=i&&l--)}),this},has:function(e){return J.inArray(e,c)>-1},empty:function(){return c=[],this},disable:function(){return c=h=n=t,this},disabled:function(){return!c},lock:function(){return h=t,n||d.disable(),this},locked:function(){return!h},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!c||r&&!h||(o?h.push(t):u(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},J.extend({Deferred:function(e){var t=[["resolve","done",J.Callbacks("once memory"),"resolved"],["reject","fail",J.Callbacks("once memory"),"rejected"],["notify","progress",J.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return J.Deferred(function(i){J.each(t,function(t,n){var o=n[0],s=e[t];r[n[1]](J.isFunction(s)?function(){var e=s.apply(this,arguments);e&&J.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o+"With"](this===r?i:this,[e])}:i[o])}),e=null}).promise()},promise:function(e){return"object"==typeof e?J.extend(e,n):n}},r={};return n.pipe=n.then,J.each(t,function(e,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add(function(){i=a},t[1^e][2].disable,t[2][2].lock),r[o[0]]=s.fire,r[o[0]+"With"]=s.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t,i,n,r=0,o=G.call(arguments),s=o.length,a=1!==s||e&&J.isFunction(e.promise)?s:0,l=1===a?e:J.Deferred(),c=function(e,i,n){return function(r){i[e]=this,n[e]=arguments.length>1?G.call(arguments):r,n===t?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(s>1)for(t=new Array(s),i=new Array(s),n=new Array(s);s>r;r++)o[r]&&J.isFunction(o[r].promise)?o[r].promise().done(c(r,n,o)).fail(l.reject).progress(c(r,i,t)):--a;return a||l.resolveWith(n,o),l.promise()}}),J.support=function(){var t,i,n,r,o,s,a,l,c,h,u,d=B.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
a",i=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],n.style.cssText="top:1px;float:left;opacity:.5",!i||!i.length||!n)return{};r=B.createElement("select"),o=r.appendChild(B.createElement("option")),s=d.getElementsByTagName("input")[0],t={leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===s.value,optSelected:o.selected,getSetAttribute:"t"!==d.className,enctype:!!B.createElement("form").enctype,html5Clone:"<:nav>"!==B.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===B.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},s.checked=!0,t.noCloneChecked=s.cloneNode(!0).checked,r.disabled=!0,t.optDisabled=!o.disabled;try{delete d.test}catch(p){t.deleteExpando=!1}if(!d.addEventListener&&d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",u=function(){t.noCloneEvent=!1}),d.cloneNode(!0).fireEvent("onclick"),d.detachEvent("onclick",u)),s=B.createElement("input"),s.value="t",s.setAttribute("type","radio"),t.radioValue="t"===s.value,s.setAttribute("checked","checked"),s.setAttribute("name","t"),d.appendChild(s),a=B.createDocumentFragment(),a.appendChild(d.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=s.checked,a.removeChild(s),a.appendChild(d),d.attachEvent)for(c in{submit:!0,change:!0,focusin:!0})l="on"+c,h=l in d,h||(d.setAttribute(l,"return;"),h="function"==typeof d[l]),t[c+"Bubbles"]=h;return J(function(){var i,n,r,o,s="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=B.getElementsByTagName("body")[0];a&&(i=B.createElement("div"),i.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(i,a.firstChild),n=B.createElement("div"),i.appendChild(n),n.innerHTML="
t
",r=n.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",h=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=h&&0===r[0].offsetHeight,n.innerHTML="",n.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===n.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(n,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(n,null)||{width:"4px"}).width,o=B.createElement("div"),o.style.cssText=n.style.cssText=s,o.style.marginRight=o.style.width="0",n.style.width="1px",n.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof n.style.zoom&&(n.innerHTML="",n.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===n.offsetWidth,n.style.display="block",n.style.overflow="visible",n.innerHTML="
",n.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==n.offsetWidth,i.style.zoom=1),a.removeChild(i),i=n=r=o=null)}),a.removeChild(d),i=n=r=o=s=a=d=null,t}();var mt=/^(?:\{.*\}|\[.*\])$/,gt=/([A-Z])/g;J.extend({cache:{},deletedIds:[],uuid:0,expando:"sQuery"+(J.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?J.cache[e[J.expando]]:e[J.expando],!!e&&!r(e)},data:function(e,i,n,r){if(J.acceptData(e)){var o,s,a=J.expando,l="string"==typeof i,c=e.nodeType,h=c?J.cache:e,u=c?e[a]:e[a]&&a;if(u&&h[u]&&(r||h[u].data)||!l||n!==t)return u||(c?e[a]=u=J.deletedIds.pop()||++J.uuid:u=a),h[u]||(h[u]={},c||(h[u].toJSON=J.noop)),("object"==typeof i||"function"==typeof i)&&(r?h[u]=J.extend(h[u],i):h[u].data=J.extend(h[u].data,i)),o=h[u],r||(o.data||(o.data={}),o=o.data),n!==t&&(o[J.camelCase(i)]=n),l?(s=o[i],null==s&&(s=o[J.camelCase(i)])):s=o,s}},removeData:function(e,t,i){if(J.acceptData(e)){var n,o,s,a=e.nodeType,l=a?J.cache:e,c=a?e[J.expando]:J.expando;if(l[c]){if(t&&(n=i?l[c]:l[c].data)){J.isArray(t)||(t in n?t=[t]:(t=J.camelCase(t),t=t in n?[t]:t.split(" ")));for(o=0,s=t.length;s>o;o++)delete n[t[o]];if(!(i?r:J.isEmptyObject)(n))return}(i||(delete l[c].data,r(l[c])))&&(a?J.cleanData([e],!0):J.support.deleteExpando||l!=l.window?delete l[c]:l[c]=null)}}},_data:function(e,t,i){return J.data(e,t,i,!0)},acceptData:function(e){var t=e.nodeName&&J.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),J.fn.extend({data:function(e,i){var r,o,s,a,l,c=this[0],h=0,u=null;if(e===t){if(this.length&&(u=J.data(c),1===c.nodeType&&!J._data(c,"parsedAttrs"))){for(s=c.attributes,l=s.length;l>h;h++)a=s[h].name,0===a.indexOf("data-")&&(a=J.camelCase(a.substring(5)),n(c,a,u[a]));J._data(c,"parsedAttrs",!0)}return u}return"object"==typeof e?this.each(function(){J.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",o=r[1]+"!",J.access(this,function(i){return i===t?(u=this.triggerHandler("getData"+o,[r[0]]),u===t&&c&&(u=J.data(c,e),u=n(c,e,u)),u===t&&r[1]?this.data(r[0]):u):(r[1]=i,this.each(function(){var t=J(this);t.triggerHandler("setData"+o,r),J.data(this,e,i),t.triggerHandler("changeData"+o,r)}),void 0)},null,i,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){J.removeData(this,e)})}}),J.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=J._data(e,t),i&&(!n||J.isArray(i)?n=J._data(e,t,J.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=J.queue(e,t),n=i.shift(),r=J._queueHooks(e,t),o=function(){J.dequeue(e,t)};"inprogress"===n&&(n=i.shift()),n&&("fx"===t&&i.unshift("inprogress"),delete r.stop,n.call(e,o,r)),!i.length&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return J._data(e,i)||J._data(e,i,{empty:J.Callbacks("once memory").add(function(){J.removeData(e,t+"queue",!0),J.removeData(e,i,!0)})})}}),J.fn.extend({queue:function(e,i){var n=2;return"string"!=typeof e&&(i=e,e="fx",n--),arguments.length1)},removeAttr:function(e){return this.each(function(){J.removeAttr(this,e)})},prop:function(e,t){return J.access(this,J.prop,e,t,arguments.length>1)},removeProp:function(e){return e=J.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(i){}})},addClass:function(e){var t,i,n,r,o,s,a;if(J.isFunction(e))return this.each(function(t){J(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(tt),i=0,n=this.length;n>i;i++)if(r=this[i],1===r.nodeType)if(r.className||1!==t.length){for(o=" "+r.className+" ",s=0,a=t.length;a>s;s++)~o.indexOf(" "+t[s]+" ")||(o+=t[s]+" ");r.className=J.trim(o)}else r.className=e;return this},removeClass:function(e){var i,n,r,o,s,a,l;if(J.isFunction(e))return this.each(function(t){J(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(i=(e||"").split(tt),a=0,l=this.length;l>a;a++)if(r=this[a],1===r.nodeType&&r.className){for(n=(" "+r.className+" ").replace(bt," "),o=0,s=i.length;s>o;o++)for(;n.indexOf(" "+i[o]+" ")>-1;)n=n.replace(" "+i[o]+" "," ");r.className=e?J.trim(n):""}return this},toggleClass:function(e,t){var i=typeof e,n="boolean"==typeof t;return J.isFunction(e)?this.each(function(i){J(this).toggleClass(e.call(this,i,this.className,t),t)}):this.each(function(){if("string"===i)for(var r,o=0,s=J(this),a=t,l=e.split(tt);r=l[o++];)a=n?a:!s.hasClass(r),s[a?"addClass":"removeClass"](r);else("undefined"===i||"boolean"===i)&&(this.className&&J._data(this,"__className__",this.className),this.className=this.className||e===!1?"":J._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(bt," ").indexOf(t)>-1)return!0;return!1},val:function(e){var i,n,r,o=this[0];{if(arguments.length)return r=J.isFunction(e),this.each(function(n){var o,s=J(this);1===this.nodeType&&(o=r?e.call(this,n,s.val()):e,null==o?o="":"number"==typeof o?o+="":J.isArray(o)&&(o=J.map(o,function(e){return null==e?"":e+""})),i=J.valHooks[this.type]||J.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,o,"value")!==t||(this.value=o))});if(o)return i=J.valHooks[o.type]||J.valHooks[o.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(wt,""):null==n?"":n)}}}),J.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,i,n,r,o=e.selectedIndex,s=[],a=e.options,l="select-one"===e.type;if(0>o)return null;for(i=l?o:0,n=l?o+1:a.length;n>i;i++)if(r=a[i],!(!r.selected||(J.support.optDisabled?r.disabled:null!==r.getAttribute("disabled"))||r.parentNode.disabled&&J.nodeName(r.parentNode,"optgroup"))){if(t=J(r).val(),l)return t;s.push(t)}return l&&!s.length&&a.length?J(a[o]).val():s},set:function(e,t){var i=J.makeArray(t);return J(e).find("option").each(function(){this.selected=J.inArray(J(this).val(),i)>=0}),i.length||(e.selectedIndex=-1),i}}},attrFn:{},attr:function(e,i,n,r){var o,s,a,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return r&&J.isFunction(J.fn[i])?J(e)[i](n):"undefined"==typeof e.getAttribute?J.prop(e,i,n):(a=1!==l||!J.isXMLDoc(e),a&&(i=i.toLowerCase(),s=J.attrHooks[i]||(Ct.test(i)?_t:vt)),n!==t?null===n?(J.removeAttr(e,i),void 0):s&&"set"in s&&a&&(o=s.set(e,n,i))!==t?o:(e.setAttribute(i,""+n),n):s&&"get"in s&&a&&null!==(o=s.get(e,i))?o:(o=e.getAttribute(i),null===o?t:o))},removeAttr:function(e,t){var i,n,r,o,s=0;if(t&&1===e.nodeType)for(n=t.split(tt);s=0:void 0}})});var At=/^(?:textarea|input|select)$/i,Dt=/^([^\.]*|)(?:\.(.+)|)$/,Et=/(?:^|\s)hover(\.\S+|)\b/,It=/^key/,Mt=/^(?:mouse|contextmenu)|click/,Pt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){return J.event.special.hover?e:e.replace(Et,"mouseenter$1 mouseleave$1")};J.event={add:function(e,i,n,r,o){var s,a,l,c,h,u,d,p,f,m,g;if(3!==e.nodeType&&8!==e.nodeType&&i&&n&&(s=J._data(e))){for(n.handler&&(f=n,n=f.handler,o=f.selector),n.guid||(n.guid=J.guid++),l=s.events,l||(s.events=l={}),a=s.handle,a||(s.handle=a=function(e){return"undefined"==typeof J||e&&J.event.triggered===e.type?t:J.event.dispatch.apply(a.elem,arguments)},a.elem=e),i=J.trim(Nt(i)).split(" "),c=0;c=0&&(g=g.slice(0,-1),a=!0),g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),r&&!J.event.customEvent[g]||J.event.global[g]))if(i="object"==typeof i?i[J.expando]?i:new J.Event(g,i):new J.Event(g),i.type=g,i.isTrigger=!0,i.exclusive=a,i.namespace=v.join("."),i.namespace_re=i.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u=g.indexOf(":")<0?"on"+g:"",r){if(i.result=t,i.target||(i.target=r),n=null!=n?J.makeArray(n):[],n.unshift(i),d=J.event.special[g]||{},!d.trigger||d.trigger.apply(r,n)!==!1){if(f=[[r,d.bindType||g]],!o&&!d.noBubble&&!J.isWindow(r)){for(m=d.delegateType||g,c=Pt.test(m+g)?r:r.parentNode,h=r;c;c=c.parentNode)f.push([c,m]),h=c;h===(r.ownerDocument||B)&&f.push([h.defaultView||h.parentWindow||e,m])}for(l=0;ln;n++)u=p[n],d=u.selector,l[d]===t&&(l[d]=s.is(d)),l[d]&&h.push(u);h.length&&_.push({elem:o,matches:h})}for(p.length>f&&_.push({elem:this,matches:p.slice(f)}),n=0;n<_.length&&!i.isPropagationStopped();n++)for(c=_[n],i.currentTarget=c.elem,r=0;r0?this.on(t,null,e,i):this.trigger(t)},It.test(t)&&(J.event.fixHooks[t]=J.event.keyHooks),Mt.test(t)&&(J.event.fixHooks[t]=J.event.mouseHooks)}),/*! * Sizzle CSS Selector Engine * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * https://sizzlejs.com/ */ function(e,t){function i(e,t,i,n){for(var r=0,o=t.length;o>r;r++)ot(e,t[r],i,n)}function n(e,t,n,r,o,s){var a,l=st.setFilters[t.toLowerCase()];return l||ot.error(t),(e||!(a=o))&&i(e||"*",r,a=[],o),a.length>0?l(a,n,s):[]}function r(e,r,o,s,a){for(var l,c,h,u,d,p,f,m,g=0,v=a.length,_=F.POS,y=new RegExp("^"+_.source+"(?!"+S+")","i"),b=function(){for(var e=1,i=arguments.length-2;i>e;e++)arguments[e]===t&&(l[e]=t)};v>g;g++){for(_.exec(""),e=a[g],u=[],h=0,d=s;l=_.exec(e);)m=_.lastIndex=l.index+l[0].length,m>h&&(f=e.slice(h,l.index),h=m,p=[r],$.test(f)&&(d&&(p=d),d=s),(c=R.test(f))&&(f=f.slice(0,-5).replace($,"$&*")),l.length>1&&l[0].replace(y,b),d=n(f,l[1],l[2],p,d,c));d?(u=u.concat(d),(f=e.slice(h))&&")"!==f?$.test(f)?i(f,u,o,s):ot(f,r,o,s?s.concat(d):d):k.apply(o,u)):ot(e,r,o,s)}return 1===v?o:ot.uniqueSort(o)}function o(e,t,i){for(var n,r,o,s=[],a=0,l=O.exec(e),c=!l.pop()&&!l.pop(),h=c&&e.match(L)||[""],u=st.preFilter,d=st.filter,p=!i&&t!==m;null!=(r=h[a])&&c;a++)for(s.push(n=[]),p&&(r=" "+r);r;){c=!1,(l=$.exec(r))&&(r=r.slice(l[0].length),c=n.push({part:l.pop().replace(N," "),captures:l}));for(o in d)!(l=F[o].exec(r))||u[o]&&!(l=u[o](l,t,i))||(r=r.slice(l.shift().length),c=n.push({part:o,captures:l}));if(!c)break}return c||ot.error(e),s}function s(e,t,i){var n=t.dir,r=b++;return e||(e=function(e){return e===i}),t.first?function(t,i){for(;t=t[n];)if(1===t.nodeType)return e(t,i)&&t}:function(t,i){for(var o,s=r+"."+u,a=s+"."+h;t=t[n];)if(1===t.nodeType){if((o=t[x])===a)return t.sizset;if("string"==typeof o&&0===o.indexOf(s)){if(t.sizset)return t}else{if(t[x]=a,e(t,i))return t.sizset=!0,t;t.sizset=!1}}}}function a(e,t){return e?function(i,n){var r=t(i,n);return r&&e(r===!0?i:r,n)}:t}function l(e,t,i){for(var n,r,o=0;n=e[o];o++)st.relative[n.part]?r=s(r,st.relative[n.part],t):(n.captures.push(t,i),r=a(r,st.filter[n.part].apply(null,n.captures)));return r}function c(e){return function(t,i){for(var n,r=0;n=e[r];r++)if(n(t,i))return!0;return!1}}var h,u,d,p,f,m=e.document,g=m.documentElement,v="undefined",_=!1,y=!0,b=0,w=[].slice,k=[].push,x=("sizcache"+Math.random()).replace(".",""),S="[\\x20\\t\\r\\n\\f]",C="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",T=C.replace("w","w#"),A="([*^$|!~]?=)",D="\\["+S+"*("+C+")"+S+"*(?:"+A+S+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+T+")|)|)"+S+"*\\]",E=":("+C+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",I=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",M=S+"*([\\x20\\t\\r\\n\\f>+~])"+S+"*",P="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+D+"|"+E.replace(2,7)+"|[^\\\\(),])+",N=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g"),$=new RegExp("^"+M),L=new RegExp(P+"?(?="+S+"*,|$)","g"),O=new RegExp("^(?:(?!,)(?:(?:^|,)"+S+"*"+P+")*?|"+S+"*(.*?))(\\)|$)"),j=new RegExp(P.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+M,"g"),U=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,z=/[\x20\t\r\n\f]*[+~]/,R=/:not\($/,B=/h\d/i,H=/input|select|textarea|button/i,W=/\\(?!\\)/g,F={ID:new RegExp("^#("+C+")"),CLASS:new RegExp("^\\.("+C+")"),NAME:new RegExp("^\\[name=['\"]?("+C+")['\"]?\\]"),TAG:new RegExp("^("+C.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+E),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),POS:new RegExp(I,"ig"),needsContext:new RegExp("^"+S+"*[>+~]|"+I,"i")},q={},Y=[],G={},X=[],K=function(e){return e.sizzleFilter=!0,e},V=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}},Q=function(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}},Z=function(e){var t=!1,i=m.createElement("div");try{t=e(i)}catch(n){}return i=null,t},et=Z(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),tt=Z(function(e){e.id=x+0,e.innerHTML="
",g.insertBefore(e,g.firstChild);var t=m.getElementsByName&&m.getElementsByName(x).length===2+m.getElementsByName(x+0).length;return f=!m.getElementById(x),g.removeChild(e),t}),it=Z(function(e){return e.appendChild(m.createComment("")),0===e.getElementsByTagName("*").length}),nt=Z(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==v&&"#"===e.firstChild.getAttribute("href")}),rt=Z(function(e){return e.innerHTML="",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length?(e.lastChild.className="e",1!==e.getElementsByClassName("e").length):!1}),ot=function(e,t,i,n){i=i||[],t=t||m;var r,o,s,a,l=t.nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return i;if(s=lt(t),!s&&!n&&(r=U.exec(e)))if(a=r[1]){if(9===l){if(o=t.getElementById(a),!o||!o.parentNode)return i;if(o.id===a)return i.push(o),i}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&ct(t,o)&&o.id===a)return i.push(o),i}else{if(r[2])return k.apply(i,w.call(t.getElementsByTagName(e),0)),i;if((a=r[3])&&rt&&t.getElementsByClassName)return k.apply(i,w.call(t.getElementsByClassName(a),0)),i}return dt(e,t,i,n,s)},st=ot.selectors={cacheLength:50,match:F,order:["ID","TAG"],attrHandle:{},createPseudo:K,find:{ID:f?function(e,t,i){if(typeof t.getElementById!==v&&!i){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}}:function(e,i,n){if(typeof i.getElementById!==v&&!n){var r=i.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==v&&r.getAttributeNode("id").value===e?[r]:t:[]}},TAG:it?function(e,t){return typeof t.getElementsByTagName!==v?t.getElementsByTagName(e):void 0}:function(e,t){var i=t.getElementsByTagName(e);if("*"===e){for(var n,r=[],o=0;n=i[o];o++)1===n.nodeType&&r.push(n);return r}return i}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(W,""),e[3]=(e[4]||e[5]||"").replace(W,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||ot.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&ot.error(e[0]),e},PSEUDO:function(e){var t,i=e[4];return F.CHILD.test(e[0])?null:(i&&(t=O.exec(i))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-i.length-1),i=t[0].slice(0,-1)),e.splice(2,3,i||e[3]),e)}},filter:{ID:f?function(e){return e=e.replace(W,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(W,""),function(t){var i=typeof t.getAttributeNode!==v&&t.getAttributeNode("id");return i&&i.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(W,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=q[e];return t||(t=q[e]=new RegExp("(^|"+S+")"+e+"("+S+"|$)"),Y.push(e),Y.length>st.cacheLength&&delete q[Y.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!==v&&e.getAttribute("class")||"")}},ATTR:function(e,t,i){return t?function(n){var r=ot.attr(n,e),o=r+"";if(null==r)return"!="===t;switch(t){case"=":return o===i;case"!=":return o!==i;case"^=":return i&&0===o.indexOf(i);case"*=":return i&&o.indexOf(i)>-1;case"$=":return i&&o.substr(o.length-i.length)===i;case"~=":return(" "+o+" ").indexOf(i)>-1;case"|=":return o===i||o.substr(0,i.length+1)===i+"-"}}:function(t){return null!=ot.attr(t,e)}},CHILD:function(e,t,i,n){if("nth"===e){var r=b++;return function(e){var t,o,s=0,a=e;if(1===i&&0===n)return!0;if(t=e.parentNode,t&&(t[x]!==r||!e.sizset)){for(a=t.firstChild;a&&(1!==a.nodeType||(a.sizset=++s,a!==e));a=a.nextSibling);t[x]=r}return o=e.sizset-n,0===i?0===o:0===o%i&&o/i>=0}}return function(t){var i=t;switch(e){case"only":case"first":for(;i=i.previousSibling;)if(1===i.nodeType)return!1;if("first"===e)return!0;i=t;case"last":for(;i=i.nextSibling;)if(1===i.nodeType)return!1;return!0}}},PSEUDO:function(e,t,i,n){var r=st.pseudos[e]||st.pseudos[e.toLowerCase()];return r||ot.error("unsupported pseudo: "+e),r.sizzleFilter?r(t,i,n):r}},pseudos:{not:K(function(e,t,i){var n=ut(e.replace(N,"$1"),t,i);return function(e){return!n(e)}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!st.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:K(function(e){return function(t){return(t.textContent||t.innerText||ht(t)).indexOf(e)>-1}}),has:K(function(e){return function(t){return ot(e,t).length>0}}),header:function(e){return B.test(e.nodeName)},text:function(e){var t,i;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(i=e.getAttribute("type"))||i.toLowerCase()===t)},radio:V("radio"),checkbox:V("checkbox"),file:V("file"),password:V("password"),image:V("image"),submit:Q("submit"),reset:Q("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return H.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return!(e!==t.activeElement||t.hasFocus&&!t.hasFocus()||!e.type&&!e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t,i){return i?e.slice(1):[e[0]]},last:function(e,t,i){var n=e.pop();return i?e:[n]},even:function(e,t,i){for(var n=[],r=i?1:0,o=e.length;o>r;r+=2)n.push(e[r]);return n},odd:function(e,t,i){for(var n=[],r=i?0:1,o=e.length;o>r;r+=2)n.push(e[r]);return n},lt:function(e,t,i){return i?e.slice(+t):e.slice(0,+t)},gt:function(e,t,i){return i?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,i){var n=e.splice(+t,1);return i?e:n}}};st.setFilters.nth=st.setFilters.eq,st.filters=st.pseudos,nt||(st.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),tt&&(st.order.push("NAME"),st.find.NAME=function(e,t){return typeof t.getElementsByName!==v?t.getElementsByName(e):void 0}),rt&&(st.order.splice(1,0,"CLASS"),st.find.CLASS=function(e,t,i){return typeof t.getElementsByClassName===v||i?void 0:t.getElementsByClassName(e)});try{w.call(g.childNodes,0)[0].nodeType}catch(at){w=function(e){for(var t,i=[];t=this[e];e++)i.push(t);return i}}var lt=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},ct=ot.contains=g.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:g.contains?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t.parentNode;return e===n||!!(n&&1===n.nodeType&&i.contains&&i.contains(n))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ht=ot.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=ht(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n];n++)i+=ht(t);return i};ot.attr=function(e,t){var i,n=lt(e);return n||(t=t.toLowerCase()),st.attrHandle[t]?st.attrHandle[t](e):et||n?e.getAttribute(t):(i=e.getAttributeNode(t),i?"boolean"==typeof e[t]?e[t]?t:null:i.specified?i.value:null:null)},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return y=0}),g.compareDocumentPosition?d=function(e,t){return e===t?(_=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(d=function(e,t){if(e===t)return _=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var i,n,r=[],o=[],s=e.parentNode,a=t.parentNode,l=s;if(s===a)return p(e,t);if(!s)return-1;if(!a)return 1;for(;l;)r.unshift(l),l=l.parentNode;for(l=a;l;)o.unshift(l),l=l.parentNode;i=r.length,n=o.length;for(var c=0;i>c&&n>c;c++)if(r[c]!==o[c])return p(r[c],o[c]);return c===i?p(e,o[c],-1):p(r[c],t,1)},p=function(e,t,i){if(e===t)return i;for(var n=e.nextSibling;n;){if(n===t)return-1;n=n.nextSibling}return 1}),ot.uniqueSort=function(e){var t,i=1;if(d&&(_=y,e.sort(d),_))for(;t=e[i];i++)t===e[i-1]&&e.splice(i--,1);return e};var ut=ot.compile=function(e,t,i){var n,r,s,a=G[e];if(a&&a.context===t)return a;for(r=o(e,t,i),s=0;n=r[s];s++)r[s]=l(n,t,i);return a=G[e]=c(r),a.context=t,a.runs=a.dirruns=0,X.push(e),X.length>st.cacheLength&&delete G[X.shift()],a};ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){return ot(t,null,null,[e]).length>0};var dt=function(e,t,i,n,o){e=e.replace(N,"$1");var s,a,l,c,d,p,f,m,g,v=e.match(L),_=e.match(j),y=t.nodeType;if(F.POS.test(e))return r(e,t,i,n,v);if(n)s=w.call(n,0);else if(v&&1===v.length){if(_.length>1&&9===y&&!o&&(v=F.ID.exec(_[0]))){if(t=st.find.ID(v[1],t,o)[0],!t)return i;e=e.slice(_.shift().length)}for(m=(v=z.exec(_[0]))&&!v.index&&t.parentNode||t,g=_.pop(),p=g.split(":not")[0],l=0,c=st.order.length;c>l;l++)if(f=st.order[l],v=F[f].exec(p)){if(s=st.find[f]((v[1]||"").replace(W,""),m,o),null==s)continue;p===g&&(e=e.slice(0,e.length-g.length)+p.replace(F[f],""),e||k.apply(i,w.call(s,0)));break}}if(e)for(a=ut(e,t,o),u=a.dirruns++,null==s&&(s=st.find.TAG("*",z.test(e)&&t.parentNode||t)),l=0;d=s[l];l++)h=a.runs++,a(d,t)&&i.push(d);return i};m.querySelectorAll&&function(){var e,t=dt,i=/'|\\/g,n=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,r=[],o=[":active"],s=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.oMatchesSelector||g.msMatchesSelector;Z(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||r.push("\\["+S+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||r.push(":checked")}),Z(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&r.push("[*^$]="+S+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||r.push(":enabled",":disabled")}),r=r.length&&new RegExp(r.join("|")),dt=function(e,n,o,s,a){if(!(s||a||r&&r.test(e)))if(9===n.nodeType)try{return k.apply(o,w.call(n.querySelectorAll(e),0)),o}catch(l){}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var c=n.getAttribute("id"),h=c||x,u=z.test(e)&&n.parentNode||n;c?h=h.replace(i,"\\$&"):n.setAttribute("id",h);try{return k.apply(o,w.call(u.querySelectorAll(e.replace(L,"[id='"+h+"'] $&")),0)),o}catch(l){}finally{c||n.removeAttribute("id")}}return t(e,n,o,s,a)},s&&(Z(function(t){e=s.call(t,"div");try{s.call(t,"[test!='']:sizzle"),o.push(st.match.PSEUDO)}catch(i){}}),o=new RegExp(o.join("|")),ot.matchesSelector=function(t,i){if(i=i.replace(n,"='$1']"),!(lt(t)||o.test(i)||r&&r.test(i)))try{var a=s.call(t,i);if(a||e||t.document&&11!==t.document.nodeType)return a}catch(l){}return ot(i,null,null,[t]).length>0})}(),ot.attr=J.attr,J.find=ot,J.expr=ot.selectors,J.expr[":"]=J.expr.pseudos,J.unique=ot.uniqueSort,J.text=ot.getText,J.isXMLDoc=ot.isXML,J.contains=ot.contains}(e);var $t=/Until$/,Lt=/^(?:parents|prev(?:Until|All))/,Ot=/^.[^:#\[\.,]*$/,jt=J.expr.match.needsContext,Ut={children:!0,contents:!0,next:!0,prev:!0};J.fn.extend({find:function(e){var t,i,n,r,o,s,a=this;if("string"!=typeof e)return J(e).filter(function(){for(t=0,i=a.length;i>t;t++)if(J.contains(a[t],this))return!0});for(s=this.pushStack("","find",e),t=0,i=this.length;i>t;t++)if(n=s.length,J.find(e,this[t],s),t>0)for(r=n;ro;o++)if(s[o]===s[r]){s.splice(r--,1);break}return s},has:function(e){var t,i=J(e,this),n=i.length;return this.filter(function(){for(t=0;n>t;t++)if(J.contains(this,i[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?jt.test(e)?J(e,this.context).index(this[0])>=0:J.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var i,n=0,r=this.length,o=[],s=jt.test(e)||"string"!=typeof e?J(e,t||this.context):0;r>n;n++)for(i=this[n];i&&i.ownerDocument&&i!==t&&11!==i.nodeType;){if(s?s.index(i)>-1:J.find.matchesSelector(i,e)){o.push(i);break}i=i.parentNode}return o=o.length>1?J.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?J.inArray(this[0],J(e)):J.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var i="string"==typeof e?J(e,t):J.makeArray(e&&e.nodeType?[e]:e),n=J.merge(this.get(),i);return this.pushStack(a(i[0])||a(n[0])?n:J.unique(n))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),J.fn.andSelf=J.fn.addBack,J.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return J.dir(e,"parentNode")},parentsUntil:function(e,t,i){return J.dir(e,"parentNode",i)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return J.dir(e,"nextSibling")},prevAll:function(e){return J.dir(e,"previousSibling")},nextUntil:function(e,t,i){return J.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return J.dir(e,"previousSibling",i)},siblings:function(e){return J.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return J.sibling(e.firstChild)},contents:function(e){return J.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:J.merge([],e.childNodes)}},function(e,t){J.fn[e]=function(i,n){var r=J.map(this,t,i);return $t.test(e)||(n=i),n&&"string"==typeof n&&(r=J.filter(n,r)),r=this.length>1&&!Ut[e]?J.unique(r):r,this.length>1&&Lt.test(e)&&(r=r.reverse()),this.pushStack(r,e,G.call(arguments).join(","))}}),J.extend({filter:function(e,t,i){return i&&(e=":not("+e+")"),1===t.length?J.find.matchesSelector(t[0],e)?[t[0]]:[]:J.find.matches(e,t)},dir:function(e,i,n){for(var r=[],o=e[i];o&&9!==o.nodeType&&(n===t||1!==o.nodeType||!J(o).is(n));)1===o.nodeType&&r.push(o),o=o[i];return r},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}});var zt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Rt=/ sQuery\d+="(?:null|\d+)"/g,Bt=/^\s+/,Ht=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Wt=/<([\w:]+)/,Ft=/]","i"),Kt=/^(?:checkbox|radio)$/,Vt=/checked\s*(?:[^=]|=\s*.checked.)/i,Qt=/\/(java|ecma)script/i,Jt=/^\s*\s*$/g,Zt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ei=h(B),ti=ei.appendChild(B.createElement("div"));Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,J.support.htmlSerialize||(Zt._default=[1,"X
","
"]),J.fn.extend({text:function(e){return J.access(this,function(e){return e===t?J.text(this):this.empty().append((this[0]&&this[0].ownerDocument||B).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(J.isFunction(e))return this.each(function(t){J(this).wrapAll(e.call(this,t))});if(this[0]){var t=J(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return J.isFunction(e)?this.each(function(t){J(this).wrapInner(e.call(this,t))}):this.each(function(){var t=J(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=J.isFunction(e);return this.each(function(i){J(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(){return this.parent().each(function(){J.nodeName(this,"body")||J(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!a(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=J.clean(arguments);return this.pushStack(J.merge(e,this),"before",this.selector)}},after:function(){if(!a(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=J.clean(arguments);return this.pushStack(J.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var i,n=0;null!=(i=this[n]);n++)(!e||J.filter(e,[i]).length)&&(t||1!==i.nodeType||(J.cleanData(i.getElementsByTagName("*")),J.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&J.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return J.clone(this,e,t)})},html:function(e){return J.access(this,function(e){var i=this[0]||{},n=0,r=this.length;if(e===t)return 1===i.nodeType?i.innerHTML.replace(Rt,""):t;if(!("string"!=typeof e||Yt.test(e)||!J.support.htmlSerialize&&Xt.test(e)||!J.support.leadingWhitespace&&Bt.test(e)||Zt[(Wt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Ht,"<$1>");try{for(;r>n;n++)i=this[n]||{},1===i.nodeType&&(J.cleanData(i.getElementsByTagName("*")),i.innerHTML=e);i=0}catch(o){}}i&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return a(this[0])?this.length?this.pushStack(J(J.isFunction(e)?e():e),"replaceWith",e):this:J.isFunction(e)?this.each(function(t){var i=J(this),n=i.html();i.replaceWith(e.call(this,t,n))}):("string"!=typeof e&&(e=J(e).detach()),this.each(function(){var t=this.nextSibling,i=this.parentNode;J(this).remove(),t?J(t).before(e):J(i).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,i,n){e=[].concat.apply([],e);var r,o,s,a,l=0,c=e[0],h=[],d=this.length;if(!J.support.checkClone&&d>1&&"string"==typeof c&&Vt.test(c))return this.each(function(){J(this).domManip(e,i,n)});if(J.isFunction(c))return this.each(function(r){var o=J(this);e[0]=c.call(this,r,i?o.html():t),o.domManip(e,i,n)});if(this[0]){if(r=J.buildFragment(e,this,h),s=r.fragment,o=s.firstChild,1===s.childNodes.length&&(s=o),o)for(i=i&&J.nodeName(o,"tr"),a=r.cacheable||d-1;d>l;l++)n.call(i&&J.nodeName(this[l],"table")?u(this[l],"tbody"):this[l],l===a?s:J.clone(s,!0,!0));s=o=null,h.length&&J.each(h,function(e,t){t.src?J.ajax?J.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):J.error("no ajax"):J.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Jt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),J.buildFragment=function(e,i,n){var r,o,s,a=e[0];return i=i||B,i=i instanceof J?i[0]:i,i=i.ownerDocument||i,"undefined"==typeof i.createDocumentFragment&&(i=B),!(1===e.length&&"string"==typeof a&&a.length<512&&i===B&&"<"===a.charAt(0))||Gt.test(a)||!J.support.checkClone&&Vt.test(a)||!J.support.html5Clone&&Xt.test(a)||(o=!0,r=J.fragments[a],s=r!==t),r||(r=i.createDocumentFragment(),J.clean(e,i,r,n),o&&(J.fragments[a]=s&&r)),{fragment:r,cacheable:o}},J.fragments={},J.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){J.fn[e]=function(i){var n,r=0,o=[],s=J(i),a=s.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===a)return s[t](this[0]),this;for(;a>r;r++)n=(r>0?this.clone(!0):this).get(),J(s[r])[t](n),o=o.concat(n);return this.pushStack(o,e,s.selector)}}),J.extend({clone:function(e,t,i){var n,r,o,s;if(J.support.html5Clone||J.isXMLDoc(e)||!Xt.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(ti.innerHTML=e.outerHTML,ti.removeChild(s=ti.firstChild)),!(J.support.noCloneEvent&&J.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||J.isXMLDoc(e)))for(p(e,s),n=f(e),r=f(s),o=0;n[o];++o)r[o]&&p(n[o],r[o]);if(t&&(d(e,s),i))for(n=f(e),r=f(s),o=0;n[o];++o)d(n[o],r[o]);return n=r=null,s},clean:function(e,t,i,n){var r,o,s,a,l,c,u,d,p,f,g,v=0,_=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=B),o=t===B&&ei;null!=(s=e[v]);v++)if("number"==typeof s&&(s+=""),s){if("string"==typeof s)if(qt.test(s)){for(o=o||h(t),u=u||o.appendChild(t.createElement("div")),s=s.replace(Ht,"<$1>"),a=(Wt.exec(s)||["",""])[1].toLowerCase(),l=Zt[a]||Zt._default,c=l[0],u.innerHTML=l[1]+s+l[2];c--;)u=u.lastChild;if(!J.support.tbody)for(d=Ft.test(s),p="table"!==a||d?""!==l[1]||d?[]:u.childNodes:u.firstChild&&u.firstChild.childNodes,r=p.length-1;r>=0;--r)J.nodeName(p[r],"tbody")&&!p[r].childNodes.length&&p[r].parentNode.removeChild(p[r]);!J.support.leadingWhitespace&&Bt.test(s)&&u.insertBefore(t.createTextNode(Bt.exec(s)[0]),u.firstChild),s=u.childNodes,u=o.lastChild}else s=t.createTextNode(s);s.nodeType?_.push(s):_=J.merge(_,s)}if(u&&(o.removeChild(u),s=u=o=null),!J.support.appendChecked)for(v=0;null!=(s=_[v]);v++)J.nodeName(s,"input")?m(s):"undefined"!=typeof s.getElementsByTagName&&J.grep(s.getElementsByTagName("input"),m);if(i)for(f=function(e){return!e.type||Qt.test(e.type)?n?n.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):void 0},v=0;null!=(s=_[v]);v++)J.nodeName(s,"script")&&f(s)||(i.appendChild(s),"undefined"!=typeof s.getElementsByTagName&&(g=J.grep(J.merge([],s.getElementsByTagName("script")),f),_.splice.apply(_,[v+1,0].concat(g)),v+=g.length));return _},cleanData:function(e,t){for(var i,n,r,o,s=0,a=J.expando,l=J.cache,c=J.support.deleteExpando,h=J.event.special;null!=(r=e[s]);s++)if((t||J.acceptData(r))&&(n=r[a],i=n&&l[n])){if(i.events)for(o in i.events)h[o]?J.event.remove(r,o):J.removeEvent(r,o,i.handle);l[n]&&(delete l[n],c?delete r[a]:r.removeAttribute?r.removeAttribute(a):r[a]=null,J.deletedIds.push(n))}}}),function(){var e,t;J.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=J.uaMatch(W.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.webkit&&(t.safari=!0),J.browser=t,J.sub=function(){function e(t,i){return new e.fn.init(t,i)}J.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(i,n){return n&&n instanceof J&&!(n instanceof e)&&(n=e(n)),J.fn.init.call(this,i,n,t)},e.fn.init.prototype=e.fn;var t=e(B);return e}}();var ii,ni,ri,oi=/alpha\([^)]*\)/i,si=/opacity=([^)]*)/,ai=/^(top|right|bottom|left)$/,li=/^margin/,ci=new RegExp("^("+Z+")(.*)$","i"),hi=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),ui=new RegExp("^([-+])=("+Z+")","i"),di={},pi={position:"absolute",visibility:"hidden",display:"block"},fi={letterSpacing:0,fontWeight:400,lineHeight:1},mi=["Top","Right","Bottom","Left"],gi=["Webkit","O","Moz","ms"],vi=J.fn.toggle;J.fn.extend({css:function(e,i){return J.access(this,function(e,i,n){return n!==t?J.style(e,i,n):J.css(e,i)},e,i,arguments.length>1)},show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(e,t){var i="boolean"==typeof e;return J.isFunction(e)&&J.isFunction(t)?vi.apply(this,arguments):this.each(function(){(i?e:v(this))?J(this).show():J(this).hide()})}}),J.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=ii(e,"opacity");return""===i?"1":i}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":J.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,i,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,a,l=J.camelCase(i),c=e.style;if(i=J.cssProps[l]||(J.cssProps[l]=g(c,l)),a=J.cssHooks[i]||J.cssHooks[l],n===t)return a&&"get"in a&&(o=a.get(e,!1,r))!==t?o:c[i];if(s=typeof n,"string"===s&&(o=ui.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(J.css(e,i)),s="number"),!(null==n||"number"===s&&isNaN(n)||("number"!==s||J.cssNumber[l]||(n+="px"),a&&"set"in a&&(n=a.set(e,n,r))===t)))try{c[i]=n}catch(h){}}},css:function(e,i,n,r){var o,s,a,l=J.camelCase(i);return i=J.cssProps[l]||(J.cssProps[l]=g(e.style,l)),a=J.cssHooks[i]||J.cssHooks[l],a&&"get"in a&&(o=a.get(e,!0,r)),o===t&&(o=ii(e,i)),"normal"===o&&i in fi&&(o=fi[i]),n||r!==t?(s=parseFloat(o),n||J.isNumeric(s)?s||0:o):o},swap:function(e,t,i){var n,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];n=i.call(e);for(r in t)e.style[r]=o[r];return n}}),e.getComputedStyle?ii=function(e,t){var i,n,r,o,s=getComputedStyle(e,null),a=e.style;return s&&(i=s[t],""!==i||J.contains(e.ownerDocument.documentElement,e)||(i=J.style(e,t)),hi.test(i)&&li.test(t)&&(n=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=i,i=s.width,a.width=n,a.minWidth=r,a.maxWidth=o)),i}:B.documentElement.currentStyle&&(ii=function(e,t){var i,n,r=e.currentStyle&&e.currentStyle[t],o=e.style;return null==r&&o&&o[t]&&(r=o[t]),hi.test(r)&&!ai.test(t)&&(i=o.left,n=e.runtimeStyle&&e.runtimeStyle.left,n&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":r,r=o.pixelLeft+"px",o.left=i,n&&(e.runtimeStyle.left=n)),""===r?"auto":r}),J.each(["height","width"],function(e,t){J.cssHooks[t]={get:function(e,i,n){return i?0!==e.offsetWidth||"none"!==ii(e,"display")?w(e,t,n):J.swap(e,pi,function(){return w(e,t,n)}):void 0},set:function(e,i,n){return y(e,i,n?b(e,t,n,J.support.boxSizing&&"border-box"===J.css(e,"boxSizing")):0)}}}),J.support.opacity||(J.cssHooks.opacity={get:function(e,t){return si.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var i=e.style,n=e.currentStyle,r=J.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,t>=1&&""===J.trim(o.replace(oi,""))&&i.removeAttribute&&(i.removeAttribute("filter"),n&&!n.filter)||(i.filter=oi.test(o)?o.replace(oi,r):o+" "+r)}}),J(function(){J.support.reliableMarginRight||(J.cssHooks.marginRight={get:function(e,t){return J.swap(e,{display:"inline-block"},function(){return t?ii(e,"marginRight"):void 0})}}),!J.support.pixelPosition&&J.fn.position&&J.each(["top","left"],function(e,t){J.cssHooks[t]={get:function(e,i){if(i){var n=ii(e,t);return hi.test(n)?J(e).position()[t]+"px":n}}}})}),J.expr&&J.expr.filters&&(J.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!J.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||ii(e,"display"))},J.expr.filters.visible=function(e){return!J.expr.filters.hidden(e)}),J.each({margin:"",padding:"",border:"Width"},function(e,t){J.cssHooks[e+t]={expand:function(i){var n,r="string"==typeof i?i.split(" "):[i],o={};for(n=0;4>n;n++)o[e+mi[n]+t]=r[n]||r[n-2]||r[0];return o}},li.test(e)||(J.cssHooks[e+t].set=y)});var _i=/%20/g,yi=/\[\]$/,bi=/\r?\n/g,wi=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ki=/^(?:select|textarea)/i;J.fn.extend({serialize:function(){return J.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?J.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ki.test(this.nodeName)||wi.test(this.type))}).map(function(e,t){var i=J(this).val();return null==i?null:J.isArray(i)?J.map(i,function(e){return{name:t.name,value:e.replace(bi,"\r\n")}}):{name:t.name,value:i.replace(bi,"\r\n")}}).get()}}),J.param=function(e,i){var n,r=[],o=function(e,t){t=J.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(i===t&&(i=J.ajaxSettings&&J.ajaxSettings.traditional),J.isArray(e)||e.jquery&&!J.isPlainObject(e))J.each(e,function(){o(this.name,this.value)});else for(n in e)x(n,e[n],i,o);return r.join("&").replace(_i,"+")};var xi,Si,Ci=/#.*$/,Ti=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ai=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Di=/^(?:GET|HEAD)$/,Ei=/^\/\//,Ii=/\?/,Mi=/)<[^<]*)*<\/script>/gi,Pi=/([?&])_=[^&]*/,Ni=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,$i=J.fn.load,Li={},Oi={},ji=["*/"]+["*"];try{xi=H.href}catch(Ui){xi=B.createElement("a"),xi.href="",xi=xi.href}Si=Ni.exec(xi.toLowerCase())||[],J.fn.load=function(e,i,n){if("string"!=typeof e&&$i)return $i.apply(this,arguments); if(!this.length)return this;var r,o,s,a=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),J.isFunction(i)?(n=i,i=t):"object"==typeof i&&(o="POST"),J.ajax({url:e,type:o,dataType:"html",data:i,complete:function(e,t){n&&a.each(n,s||[e.responseText,t,e])}}).done(function(e){s=arguments,a.html(r?J("
").append(e.replace(Mi,"")).find(r):e)}),this},J.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){J.fn[t]=function(e){return this.on(t,e)}}),J.each(["get","post"],function(e,i){J[i]=function(e,n,r,o){return J.isFunction(n)&&(o=o||r,r=n,n=t),J.ajax({type:i,url:e,data:n,success:r,dataType:o})}}),J.extend({getScript:function(e,i){return J.get(e,t,i,"script")},getJSON:function(e,t,i){return J.get(e,t,i,"json")},ajaxSetup:function(e,t){return t?T(e,J.ajaxSettings):(t=e,e=J.ajaxSettings),T(e,t),e},ajaxSettings:{url:xi,isLocal:Ai.test(Si[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ji},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":J.parseJSON,"text xml":J.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:S(Li),ajaxTransport:S(Oi),ajax:function(e,i){function n(e,i,n,s){var c,u,_,y,w,x=i;2!==b&&(b=2,l&&clearTimeout(l),a=t,o=s||"",k.readyState=e>0?4:0,n&&(y=A(d,k,n)),e>=200&&300>e||304===e?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(J.lastModified[r]=w),w=k.getResponseHeader("Etag"),w&&(J.etag[r]=w)),304===e?(x="notmodified",c=!0):(c=D(d,y),x=c.state,u=c.data,_=c.error,c=!_)):(_=x,(!x||e)&&(x="error",0>e&&(e=0))),k.status=e,k.statusText=""+(i||x),c?m.resolveWith(p,[u,x,k]):m.rejectWith(p,[k,x,_]),k.statusCode(v),v=t,h&&f.trigger("ajax"+(c?"Success":"Error"),[k,d,c?u:_]),g.fireWith(p,[k,x]),h&&(f.trigger("ajaxComplete",[k,d]),--J.active||J.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=t),i=i||{};var r,o,s,a,l,c,h,u,d=J.ajaxSetup({},i),p=d.context||d,f=p!==d&&(p.nodeType||p instanceof J)?J(p):J.event,m=J.Deferred(),g=J.Callbacks("once memory"),v=d.statusCode||{},_={},y={},b=0,w="canceled",k={readyState:0,setRequestHeader:function(e,t){if(!b){var i=e.toLowerCase();e=y[i]=y[i]||e,_[e]=t}return this},getAllResponseHeaders:function(){return 2===b?o:null},getResponseHeader:function(e){var i;if(2===b){if(!s)for(s={};i=Ti.exec(o);)s[i[1].toLowerCase()]=i[2];i=s[e.toLowerCase()]}return i===t?null:i},overrideMimeType:function(e){return b||(d.mimeType=e),this},abort:function(e){return e=e||w,a&&a.abort(e),n(0,e),this}};if(m.promise(k),k.success=k.done,k.error=k.fail,k.complete=g.add,k.statusCode=function(e){if(e){var t;if(2>b)for(t in e)v[t]=[v[t],e[t]];else t=e[k.status],k.always(t)}return this},d.url=((e||d.url)+"").replace(Ci,"").replace(Ei,Si[1]+"//"),d.dataTypes=J.trim(d.dataType||"*").toLowerCase().split(tt),null==d.crossDomain&&(c=Ni.exec(d.url.toLowerCase()),d.crossDomain=!(!c||c[1]==Si[1]&&c[2]==Si[2]&&(c[3]||("https:"===c[1]?80:443))==(Si[3]||("https:"===Si[1]?80:443)))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=J.param(d.data,d.traditional)),C(Li,d,i,k),2===b)return k;if(h=d.global,d.type=d.type.toUpperCase(),d.hasContent=!Di.test(d.type),h&&0===J.active++&&J.event.trigger("ajaxStart"),!d.hasContent&&(d.data&&(d.url+=(Ii.test(d.url)?"&":"?")+d.data,delete d.data),r=d.url,d.cache===!1)){var x=J.now(),S=d.url.replace(Pi,"$1_="+x);d.url=S+(S===d.url?(Ii.test(d.url)?"&":"?")+"_="+x:"")}(d.data&&d.hasContent&&d.contentType!==!1||i.contentType)&&k.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(r=r||d.url,J.lastModified[r]&&k.setRequestHeader("If-Modified-Since",J.lastModified[r]),J.etag[r]&&k.setRequestHeader("If-None-Match",J.etag[r])),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+ji+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)k.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(p,k,d)===!1||2===b))return k.abort();w="abort";for(u in{success:1,error:1,complete:1})k[u](d[u]);if(a=C(Oi,d,i,k)){k.readyState=1,h&&f.trigger("ajaxSend",[k,d]),d.async&&d.timeout>0&&(l=setTimeout(function(){k.abort("timeout")},d.timeout));try{b=1,a.send(_,n)}catch(T){if(!(2>b))throw T;n(-1,T)}}else n(-1,"No Transport");return k},active:0,lastModified:{},etag:{}});var zi=[],Ri=/\?/,Bi=/(=)\?(?=&|$)|\?\?/,Hi=J.now();J.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zi.pop()||J.expando+"_"+Hi++;return this[e]=!0,e}}),J.ajaxPrefilter("json jsonp",function(i,n,r){var o,s,a,l=i.data,c=i.url,h=i.jsonp!==!1,u=h&&Bi.test(c),d=h&&!u&&"string"==typeof l&&!(i.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bi.test(l);return"jsonp"===i.dataTypes[0]||u||d?(o=i.jsonpCallback=J.isFunction(i.jsonpCallback)?i.jsonpCallback():i.jsonpCallback,s=e[o],u?i.url=c.replace(Bi,"$1"+o):d?i.data=l.replace(Bi,"$1"+o):h&&(i.url+=(Ri.test(c)?"&":"?")+i.jsonp+"="+o),i.converters["script json"]=function(){return a||J.error(o+" was not called"),a[0]},i.dataTypes[0]="json",e[o]=function(){a=arguments},r.always(function(){e[o]=s,i[o]&&(i.jsonpCallback=n.jsonpCallback,zi.push(o)),a&&J.isFunction(s)&&s(a[0]),a=s=t}),"script"):void 0}),J.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return J.globalEval(e),e}}}),J.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),J.ajaxTransport("script",function(e){if(e.crossDomain){var i,n=B.head||B.getElementsByTagName("head")[0]||B.documentElement;return{send:function(r,o){i=B.createElement("script"),i.async="async",e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(e,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,n&&i.parentNode&&n.removeChild(i),i=t,r||o(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(0,1)}}}});var Wi,Fi=e.ActiveXObject?function(){for(var e in Wi)Wi[e](0,1)}:!1,qi=0;J.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&E()||I()}:E,function(e){J.extend(J.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(J.ajaxSettings.xhr()),J.support.ajax&&J.ajaxTransport(function(i){if(!i.crossDomain||J.support.cors){var n;return{send:function(r,o){var s,a,l=i.xhr();if(i.username?l.open(i.type,i.url,i.async,i.username,i.password):l.open(i.type,i.url,i.async),i.xhrFields)for(a in i.xhrFields)l[a]=i.xhrFields[a];i.mimeType&&l.overrideMimeType&&l.overrideMimeType(i.mimeType),i.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(a in r)l.setRequestHeader(a,r[a])}catch(c){}l.send(i.hasContent&&i.data||null),n=function(e,r){var a,c,h,u,d;try{if(n&&(r||4===l.readyState))if(n=t,s&&(l.onreadystatechange=J.noop,Fi&&delete Wi[s]),r)4!==l.readyState&&l.abort();else{a=l.status,h=l.getAllResponseHeaders(),u={},d=l.responseXML,d&&d.documentElement&&(u.xml=d);try{u.text=l.responseText}catch(e){}try{c=l.statusText}catch(p){c=""}a||!i.isLocal||i.crossDomain?1223===a&&(a=204):a=u.text?200:404}}catch(f){r||o(-1,f)}u&&o(a,c,u,h)},i.async?4===l.readyState?setTimeout(n,0):(s=++qi,Fi&&(Wi||(Wi={},J(e).unload(Fi)),Wi[s]=n),l.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}});var Yi,Gi,Xi=/^(?:toggle|show|hide)$/,Ki=new RegExp("^(?:([-+])=|)("+Z+")([a-z%]*)$","i"),Vi=/queueHooks$/,Qi=[L],Ji={"*":[function(e,t){var i,n,r,o=this.createTween(e,t),s=Ki.exec(t),a=o.cur(),l=+a||0,c=1;if(s){if(i=+s[2],n=s[3]||(J.cssNumber[e]?"":"px"),"px"!==n&&l){l=J.css(o.elem,e,!0)||i||1;do r=c=c||".5",l/=c,J.style(o.elem,e,l+n),c=o.cur()/a;while(1!==c&&c!==r)}o.unit=n,o.start=l,o.end=s[1]?l+(s[1]+1)*i:i}return o}]};J.Animation=J.extend(N,{tweener:function(e,t){J.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var i,n=0,r=e.length;r>n;n++)i=e[n],Ji[i]=Ji[i]||[],Ji[i].unshift(t)},prefilter:function(e,t){t?Qi.unshift(e):Qi.push(e)}}),J.Tween=O,O.prototype={constructor:O,init:function(e,t,i,n,r,o){this.elem=e,this.prop=i,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(J.cssNumber[i]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,i=O.propHooks[this.prop];return this.pos=t=J.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=J.css(e.elem,e.prop,!1,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){J.fx.step[e.prop]?J.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[J.cssProps[e.prop]]||J.cssHooks[e.prop])?J.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},J.each(["toggle","show","hide"],function(e,t){var i=J.fn[t];J.fn[t]=function(n,r,o){return null==n||"boolean"==typeof n||!e&&J.isFunction(n)&&J.isFunction(r)?i.apply(this,arguments):this.animate(j(t,!0),n,r,o)}}),J.fn.extend({fadeTo:function(e,t,i,n){return this.filter(v).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=J.isEmptyObject(e),o=J.speed(t,i,n),s=function(){var t=N(this,J.extend({},e),o);r&&t.stop(!0)};return r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,i,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=i,i=e,e=t),i&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=J.timers,s=J._data(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Vi.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&J.dequeue(this,e)})}}),J.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){J.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),J.speed=function(e,t,i){var n=e&&"object"==typeof e?J.extend({},e):{complete:i||!i&&t||J.isFunction(e)&&e,duration:e,easing:i&&t||t&&!J.isFunction(t)&&t};return n.duration=J.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in J.fx.speeds?J.fx.speeds[n.duration]:J.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){J.isFunction(n.old)&&n.old.call(this),n.queue&&J.dequeue(this,n.queue)},n},J.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},J.timers=[],J.fx=O.prototype.init,J.fx.tick=function(){for(var e,t=J.timers,i=0;i-1,u={},d={};h?(d=s.position(),r=d.top,o=d.left):(r=parseFloat(l)||0,o=parseFloat(c)||0),J.isFunction(t)&&(t=t.call(e,i,a)),null!=t.top&&(u.top=t.top-a.top+r),null!=t.left&&(u.left=t.left-a.left+o),"using"in t?t.using.call(e,u):s.css(u)}},J.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),i=this.offset(),n=Zi.test(t[0].nodeName)?{top:0,left:0}:t.offset();return i.top-=parseFloat(J.css(e,"marginTop"))||0,i.left-=parseFloat(J.css(e,"marginLeft"))||0,n.top+=parseFloat(J.css(t[0],"borderTopWidth"))||0,n.left+=parseFloat(J.css(t[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||B.body;e&&!Zi.test(e.nodeName)&&"static"===J.css(e,"position");)e=e.offsetParent;return e||B.body})}}),J.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var n=/Y/.test(i);J.fn[e]=function(r){return J.access(this,function(e,r,o){var s=U(e);return o===t?s?i in s?s[i]:s.document.documentElement[r]:e[r]:(s?s.scrollTo(n?J(s).scrollLeft():o,n?o:J(s).scrollTop()):e[r]=o,void 0)},e,r,arguments.length,null)}}),J.each({Height:"height",Width:"width"},function(e,i){J.each({padding:"inner"+e,content:i,"":"outer"+e},function(n,r){J.fn[r]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return J.access(this,function(i,n,r){var o;return J.isWindow(i)?i.document.documentElement["client"+e]:9===i.nodeType?(o=i.documentElement,Math.max(i.body["scroll"+e],o["scroll"+e],i.body["offset"+e],o["offset"+e],o["client"+e])):r===t?J.css(i,n,r,a):J.style(i,n,r,a)},i,s?r:t,s)}})}),e.sQuery=J,"function"==typeof define&&define.amd&&define.amd.sQuery&&define("jquery",[],function(){return J})}(window),/*! jQuery UI - v1.9.2 - 2012-12-18 * https://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js * Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ function(e,t){function i(t,i){var r,o,s,a=t.nodeName.toLowerCase();return"area"===a?(r=t.parentNode,o=r.name,t.href&&o&&"map"===r.nodeName.toLowerCase()?(s=e("img[usemap=#"+o+"]")[0],!!s&&n(s)):!1):(/input|select|textarea|button|object/.test(a)?!t.disabled:"a"===a?t.href||i:i)&&n(t)}function n(t){return e.expr.filters.visible(t)&&!e(t).parents().andSelf().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var r=0,o=/^ui-id-\d+$/;e.ui=e.ui||{},e.ui.version||(e.extend(e.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,i){return"number"==typeof t?this.each(function(){var n=this;setTimeout(function(){e(n).focus(),i&&i.call(n)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var n,r,o=e(this[0]);o.length&&o[0]!==document;){if(n=o.css("position"),("absolute"===n||"relative"===n||"fixed"===n)&&(r=parseInt(o.css("zIndex"),10),!isNaN(r)&&0!==r))return r;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,n){return!!e.data(t,n[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,i=t.appendChild(i=document.createElement("div"));i.offsetHeight,e.extend(i.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=100===i.offsetHeight,e.support.selectstart="onselectstart"in i,t.removeChild(i).style.display="none"}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(i,n){function r(t,i,n,r){return e.each(o,function(){i-=parseFloat(e.css(t,"padding"+this))||0,n&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),r&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var o="Width"===n?["Left","Right"]:["Top","Bottom"],s=n.toLowerCase(),a={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(i){return i===t?a["inner"+n].call(this):this.each(function(){e(this).css(s,r(this,i)+"px")})},e.fn["outer"+n]=function(t,i){return"number"!=typeof t?a["outer"+n].call(this,t):this.each(function(){e(this).css(s,r(this,t,!0,i)+"px")})}}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),function(){var t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];e.ui.ie=t.length?!0:!1,e.ui.ie6=6===parseFloat(t[1],10)}(),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,n){var r,o=e.ui[t].prototype;for(r in n)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([i,n[r]])},call:function(e,t,i){var n,r=e.plugins[t];if(r&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(n=0;n0?!0:(t[n]=1,r=t[n]>0,t[n]=0,r)},isOverAxis:function(e,t,i){return e>t&&t+i>e},isOver:function(t,i,n,r,o,s){return e.ui.isOverAxis(t,n,o)&&e.ui.isOverAxis(i,r,s)}}))}(sQuery),function(e,t){var i=0,n=Array.prototype.slice,r=e.cleanData;e.cleanData=function(t){for(var i,n=0;null!=(i=t[n]);n++)try{e(i).triggerHandler("remove")}catch(o){}r(t)},e.widget=function(t,i,n){var r,o,s,a,l=t.split(".")[0];t=t.split(".")[1],r=l+"-"+t,n||(n=i,i=e.Widget),e.expr[":"][r.toLowerCase()]=function(t){return!!e.data(t,r)},e[l]=e[l]||{},o=e[l][t],s=e[l][t]=function(e,t){return this._createWidget?(arguments.length&&this._createWidget(e,t),void 0):new s(e,t)},e.extend(s,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),a=new i,a.options=e.widget.extend({},a.options),e.each(n,function(t,r){e.isFunction(r)&&(n[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},n=function(e){return i.prototype[t].apply(this,e)};return function(){var t,i=this._super,o=this._superApply;return this._super=e,this._superApply=n,t=r.apply(this,arguments),this._super=i,this._superApply=o,t}}())}),s.prototype=e.widget.extend(a,{widgetEventPrefix:o?a.widgetEventPrefix:t},n,{constructor:s,namespace:l,widgetName:t,widgetBaseClass:r,widgetFullName:r}),o?(e.each(o._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,s,i._proto)}),delete o._childConstructors):i._childConstructors.push(s),e.widget.bridge(t,s)},e.widget.extend=function(i){for(var r,o,s=n.call(arguments,1),a=0,l=s.length;l>a;a++)for(r in s[a])o=s[a][r],s[a].hasOwnProperty(r)&&o!==t&&(i[r]=e.isPlainObject(o)?e.isPlainObject(i[r])?e.widget.extend({},i[r],o):e.widget.extend({},o):o);return i},e.widget.bridge=function(i,r){var o=r.prototype.widgetFullName||i;e.fn[i]=function(s){var a="string"==typeof s,l=n.call(arguments,1),c=this;return s=!a&&l.length?e.widget.extend.apply(null,[s].concat(l)):s,a?this.each(function(){var n,r=e.data(this,o);return r?e.isFunction(r[s])&&"_"!==s.charAt(0)?(n=r[s].apply(r,l),n!==r&&n!==t?(c=n&&n.jquery?c.pushStack(n.get()):n,!1):void 0):e.error("no such method '"+s+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+s+"'")}):this.each(function(){var t=e.data(this,o);t?t.option(s||{})._init():e.data(this,o,new r(s,this))}),c}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),n!==this&&(e.data(n,this.widgetName,this),e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,n){var r,o,s,a=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(a={},r=i.split("."),i=r.shift(),r.length){for(o=a[i]=e.widget.extend({},this.options[i]),s=0;s=9||t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(sQuery),function(e,t){function i(e,t,i){return[parseInt(e[0],10)*(d.test(e[0])?t/100:1),parseInt(e[1],10)*(d.test(e[1])?i/100:1)]}function n(t,i){return parseInt(e.css(t,i),10)||0}e.ui=e.ui||{};var r,o=Math.max,s=Math.abs,a=Math.round,l=/left|center|right/,c=/top|center|bottom/,h=/[\+\-]\d+%?/,u=/^\w+/,d=/%$/,p=e.fn.position;e.position={scrollbarWidth:function(){if(r!==t)return r;var i,n,o=e("
"),s=o.children()[0];return e("body").append(o),i=s.offsetWidth,o.css("overflow","scroll"),n=s.offsetWidth,i===n&&(n=o[0].clientWidth),o.remove(),r=i-n},getScrollInfo:function(t){var i=t.isWindow?"":t.element.css("overflow-x"),n=t.isWindow?"":t.element.css("overflow-y"),r="scroll"===i||"auto"===i&&t.widthn?"left":i>0?"right":"center",vertical:0>a?"top":r>0?"bottom":"middle"};u>d&&s(i+n)f&&s(r+a)o(s(r),s(a))?"horizontal":"vertical",t.using.call(this,e,l)}),h.offset(e.extend(T,{using:c}))})},e.ui.position={fit:{left:function(e,t){var i,n=t.within,r=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,a=e.left-t.collisionPosition.marginLeft,l=r-a,c=a+t.collisionWidth-s-r;t.collisionWidth>s?l>0&&0>=c?(i=e.left+l+t.collisionWidth-s-r,e.left+=l-i):e.left=c>0&&0>=l?r:l>c?r+s-t.collisionWidth:r:l>0?e.left+=l:c>0?e.left-=c:e.left=o(e.left-a,e.left)},top:function(e,t){var i,n=t.within,r=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,a=e.top-t.collisionPosition.marginTop,l=r-a,c=a+t.collisionHeight-s-r;t.collisionHeight>s?l>0&&0>=c?(i=e.top+l+t.collisionHeight-s-r,e.top+=l-i):e.top=c>0&&0>=l?r:l>c?r+s-t.collisionHeight:r:l>0?e.top+=l:c>0?e.top-=c:e.top=o(e.top-a,e.top)}},flip:{left:function(e,t){var i,n,r=t.within,o=r.offset.left+r.scrollLeft,a=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,c=e.left-t.collisionPosition.marginLeft,h=c-l,u=c+t.collisionWidth-a-l,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];0>h?(i=e.left+d+p+f+t.collisionWidth-a-o,(0>i||i0&&(n=e.left-t.collisionPosition.marginLeft+d+p+f-l,(n>0||s(n)h?(n=e.top+p+f+m+t.collisionHeight-a-o,e.top+p+f+m>h&&(0>n||n0&&(i=e.top-t.collisionPosition.marginTop+p+f+m-l,e.top+p+f+m>u&&(i>0||s(i)10&&11>r,t.innerHTML="",i.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var i=e.fn.position;e.fn.position=function(n){if(!n||!n.offset)return i.call(this,n);var r=n.offset.split(" "),o=n.at.split(" ");return 1===r.length&&(r[1]=r[0]),/^\d/.test(r[0])&&(r[0]="+"+r[0]),/^\d/.test(r[1])&&(r[1]="+"+r[1]),1===o.length&&(/left|center|right/.test(o[0])?o[1]="center":(o[1]=o[0],o[0]="center")),i.call(this,e.extend(n,{at:o[0]+r[0]+" "+o[1]+r[1],offset:t}))}}(sQuery)}(sQuery),function(e){e.widget("ui.draggable",e.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var i=this.options;return this.helper||i.disabled||e(t.target).is(".ui-resizable-handle")?!1:(this.handle=this._getHandle(t),this.handle?(e(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){e('
').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),i.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,i){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(this._trigger("drag",t,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(i=e.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1);for(var n=this.element[0],r=!1;n&&(n=n.parentNode);)n==document&&(r=!0);if(!r&&"original"===this.options.helper)return!1;if("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)){var o=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){o._trigger("stop",t)!==!1&&o._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var i=this.options.handle&&e(this.options.handle,this.element).length?!1:!0;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(i=!0)}),i},_createHelper:function(t){var i=this.options,n=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t])):"clone"==i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"==i.appendTo?this.element[0].parentNode:i.appendTo),n[0]==this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;if("parent"==t.containment&&(t.containment=this.helper[0].parentNode),("document"==t.containment||"window"==t.containment)&&(this.containment=["document"==t.containment?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==t.containment?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==t.containment?0:e(window).scrollLeft())+e("document"==t.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==t.containment?0:e(window).scrollTop())+(e("document"==t.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(t.containment)||t.containment.constructor==Array)t.containment.constructor==Array&&(this.containment=t.containment);else{var i=e(t.containment),n=i[0];if(!n)return;i.offset();var r="hidden"!=e(n).css("overflow");this.containment=[(parseInt(e(n).css("borderLeftWidth"),10)||0)+(parseInt(e(n).css("paddingLeft"),10)||0),(parseInt(e(n).css("borderTopWidth"),10)||0)+(parseInt(e(n).css("paddingTop"),10)||0),(r?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css("borderLeftWidth"),10)||0)-(parseInt(e(n).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(r?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css("borderTopWidth"),10)||0)-(parseInt(e(n).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i}},_convertPositionTo:function(t,i){i||(i=this.position);var n="absolute"==t?1:-1,r=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),o=/(html|body)/i.test(r[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"==this.cssPosition?-this.scrollParent.scrollTop():o?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():o?0:r.scrollLeft())*n}},_generatePosition:function(t){var i=this.options,n="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(n[0].tagName),o=t.pageX,s=t.pageY;if(this.originalPosition){var a;if(this.containment){if(this.relative_container){var l=this.relative_container.offset();a=[this.containment[0]+l.left,this.containment[1]+l.top,this.containment[2]+l.left,this.containment[3]+l.top]}else a=this.containment;t.pageX-this.offset.click.lefta[2]&&(o=a[2]+this.offset.click.left),t.pageY-this.offset.click.top>a[3]&&(s=a[3]+this.offset.click.top)}if(i.grid){var c=i.grid[1]?this.originalPageY+Math.round((s-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY;s=a?c-this.offset.click.topa[3]?c-this.offset.click.topa[2]?h-this.offset.click.left=0;h--){var u=n.snapElements[h].left,d=u+n.snapElements[h].width,p=n.snapElements[h].top,f=p+n.snapElements[h].height;if(s>u-o&&d+o>s&&l>p-o&&f+o>l||s>u-o&&d+o>s&&c>p-o&&f+o>c||a>u-o&&d+o>a&&l>p-o&&f+o>l||a>u-o&&d+o>a&&c>p-o&&f+o>c){if("inner"!=r.snapMode){var m=Math.abs(p-c)<=o,g=Math.abs(f-l)<=o,v=Math.abs(u-a)<=o,_=Math.abs(d-s)<=o;m&&(i.position.top=n._convertPositionTo("relative",{top:p-n.helperProportions.height,left:0}).top-n.margins.top),g&&(i.position.top=n._convertPositionTo("relative",{top:f,left:0}).top-n.margins.top),v&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left-n.margins.left),_&&(i.position.left=n._convertPositionTo("relative",{top:0,left:d}).left-n.margins.left)}var y=m||g||v||_;if("outer"!=r.snapMode){var m=Math.abs(p-l)<=o,g=Math.abs(f-c)<=o,v=Math.abs(u-s)<=o,_=Math.abs(d-a)<=o;m&&(i.position.top=n._convertPositionTo("relative",{top:p,left:0}).top-n.margins.top),g&&(i.position.top=n._convertPositionTo("relative",{top:f-n.helperProportions.height,left:0}).top-n.margins.top),v&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u}).left-n.margins.left),_&&(i.position.left=n._convertPositionTo("relative",{top:0,left:d-n.helperProportions.width}).left-n.margins.left)}!n.snapElements[h].snapping&&(m||g||v||_||y)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[h].item})),n.snapElements[h].snapping=m||g||v||_||y}else n.snapElements[h].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[h].item})),n.snapElements[h].snapping=!1}}}),e.ui.plugin.add("draggable","stack",{start:function(){var t=e(this).data("draggable").options,i=e.makeArray(e(t.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});if(i.length){var n=parseInt(i[0].style.zIndex)||0;e(i).each(function(e){this.style.zIndex=n+e}),this[0].style.zIndex=n+i.length}}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i){var n=e(i.helper),r=e(this).data("draggable").options;n.css("zIndex")&&(r._zIndex=n.css("zIndex")),n.css("zIndex",r.zIndex)},stop:function(t,i){var n=e(this).data("draggable").options;n._zIndex&&e(i.helper).css("zIndex",n._zIndex)}})}(sQuery),/* * jQuery Reveal Plugin 1.0 * Copyright 2010, ZURB * Free to use under the MIT license. * https://www.opensource.org/licenses/mit-license.php * * Modified : Dan Horan * * Added functionality to mention scrollheight in the config * */ function(e){e("a[data-reveal-id]").live("click",function(t){t.preventDefault();var i=e(this).attr("data-reveal-id");e("#"+i).reveal(e(this).data())}),e.widget("ui.reveal",{options:{animation:"fadeAndPop",animationspeed:300,closeonbackgroundclick:!0,closeonesc:!0,dismissmodalclass:"close-reveal-modal",backdrop:!0,autoshow:!0,showevent:"show",shownevent:"shown",hideevent:"hide",hiddenevent:"hidden",draggable:!1,draghandle:null,fixed:!0},_create:function(){var t=this,i=t.options,n=t.modal=t.element.addClass("reveal-modal"),r=t._topMeasure=parseInt(n.css("top")),o=(t._topOffset=n.height()+r,t._locked=!1,t.modalBG=e(".reveal-modal-bg"));if(n.attr("id")||n.attr("id",(new Date).getTime()+Math.floor(100*Math.random()+1)),t._isOpen=!1,i.draggable){var s={handle:i.draghandle};n.draggable(s)}0==o.length&&(o=t.modalBG=e('
').insertAfter(n)),e("."+i.dismissmodalclass).off("click.reveal").on("click.reveal",function(){t.close()}),i.closeonbackgroundclick&&(t.modalBG.css({cursor:"pointer"}),t.modalBG.off("click.reveal").on("click.reveal",function(){t.close()}))},_init:function(){var e=this,t=e.options;e.modal.on("reveal:open "+t.showevent,function(){e._isOpen||e.open()}),e.modal.on("reveal:close "+t.hideevent,function(){e._isOpen&&e.close()}),t.autoshow&&e.modal.trigger("reveal:open")},open:function(){var t=this,i=t.options;if(e("."+i.dismissmodalclass).off("click.modalEvent"),!t._locked){if(t.lockModal(),t.modal.css({left:"50%"}),"fadeAndPop"==i.animation){var n="undefined"!=typeof i.scrollheight?i.scrollheight:e(document).scrollTop();t.modal.css({top:i.fixed?0:n-t._topOffset,opacity:0,visibility:"visible"}),i.backdrop&&t.modalBG.fadeIn(i.animationspeed/2),t.modal.show().delay(i.animationspeed/2).animate({top:i.fixed?150:n+t._topMeasure+"px",opacity:1},i.animationspeed,t.shown())}"fade"==i.animation&&(t.modal.css({opacity:0,visibility:"visible",top:e(document).scrollTop()+t._topMeasure}),t.modalBG.fadeIn(i.animationspeed/2),t.modal.show().delay(i.animationspeed/2).animate({opacity:1},i.animationspeed,t.shown())),"none"==i.animation&&(t.modal.css({visibility:"visible",top:e(document).scrollTop()+t._topMeasure}),t.modalBG.show(),t.shown())}i.closeonesc&&e("body").on("keyup.reveal_"+t.modal.attr("id"),function(e){27===e.which&&t.close()}),t.modal.unbind("reveal:open")},close:function(t){var i=this,n=i.options;if(!i._locked){if(i.lockModal(),"fadeAndPop"==n.animation){var r="undefined"!=typeof n.scrollheight?n.scrollheight:e(document).scrollTop();n.backdrop&&i.modalBG.delay(n.animationspeed).fadeOut(n.animationspeed),i.modal.animate({top:n.fixed?0:r-i._topOffset+"px",opacity:0},n.animationspeed/2,function(){i.modal.css({top:i._topMeasure,opacity:1,visibility:"hidden"}),i.hidden(t)})}"fade"==n.animation&&(i.modalBG.delay(n.animationspeed).fadeOut(n.animationspeed),i.modal.animate({opacity:0},n.animationspeed,function(){i.modal.css({opacity:1,visibility:"hidden",top:i._topMeasure}),i.hidden(t)})),"none"==n.animation&&(i.modal.css({visibility:"hidden",top:i._topMeasure}),i.modalBG.hide(),i.hidden(t))}e("body").off("keyup.reveal_"+i.modal.attr("id")),i.modal.unbind("reveal:close")},shown:function(){var e=this,t=e.options;e.modal.trigger(t.shownevent),e._isOpen=!0,e.unlockModal()},hidden:function(e){var t=this,i=t.options;t.modal.trigger(i.hiddenevent),t._trigger("close",e),t._isOpen=!1,t.unlockModal()},unlockModal:function(){self._locked=!1},lockModal:function(){self._locked=!0}})}(sQuery),function(e){function t(e,t){return"function"==typeof e?e.call(t):e}function i(e){for(;e=e.parentNode;)if(e==document)return!0;return!1}function n(t,i){this.$element=e(t),this.options=i,this.enabled=!0,this.fixTitle()}var r="shareaholic-tipsy";n.prototype={show:function(){this.enabled=!this.$element.hasClass("ui-sortable-helper");var i=this.getTitle();if(i&&this.enabled){var n=this.tip();n.find("."+r+"-inner")[this.options.html?"html":"text"](i),this.options.className&&n.addClass(t(this.options.className,this.$element[0])),n.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).prependTo(document.body);var o,s=e.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight}),a=n[0].offsetWidth,l=n[0].offsetHeight,c=t(this.options.gravity,this.$element[0]);switch(c.charAt(0)){case"n":o={top:s.top+s.height+this.options.offset,left:s.left+s.width/2-a/2};break;case"s":o={top:s.top-l-this.options.offset,left:s.left+s.width/2-a/2};break;case"e":o={top:s.top+s.height/2-l/2,left:s.left-a-this.options.offset};break;case"w":o={top:s.top+s.height/2-l/2,left:s.left+s.width+this.options.offset}}2==c.length&&(o.left="w"==c.charAt(1)?s.left+s.width/2-15:s.left+s.width/2-a+15),n.css(o).removeClass(r+"-n "+r+"-e "+r+"-s "+r+"-w").addClass(r+"-"+c),n.find("."+r+"-arrow")[0].className=r+"-arrow "+r+"-arrow-"+c.charAt(0),this.options.fade?n.stop().css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:this.options.opacity}):n.css({visibility:"visible",opacity:this.options.opacity})}},hide:function(){this.options.fade?this.tip().stop().fadeOut(function(){e(this).remove()}):this.tip().remove()},fixTitle:function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},getTitle:function(){var e,t=this.$element,i=this.options;return this.fixTitle(),"string"==typeof i.title?e=t.attr("title"==i.title?"data-original-title":i.title):"function"==typeof i.title&&(e=i.title.call(t[0])),e=(""+e).replace(/(^\s*|\s*$)/,""),e||i.fallback},tip:function(){return this.$tip||(this.$tip=e("#"+r).first()),this.$tip.length||(this.$tip=e("#"+r),this.$tip=e("
",{"class":r,id:r}).html('
'),this.$tip.data(r+"-pointee",this.$element[0])),this.$tip},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},setGravity:function(e){this.options.gravity=e}},e.fn.tipsy=function(t){function i(i){var r=e.data(i,"tipsy");return r||(r=new n(i,e.fn.tipsy.elementOptions(i,t)),e.data(i,"tipsy",r)),r}function r(){var e=i(this);e.hoverState="in",0==t.delayIn?e.show():(e.fixTitle(),setTimeout(function(){"in"==e.hoverState&&e.show()},t.delayIn))}function o(){var e=i(this);e.hoverState="out",0==t.delayOut?e.hide():setTimeout(function(){"out"==e.hoverState&&e.hide()},t.delayOut)}if(t===!0)return this.data("tipsy");if("string"==typeof t){var s=this.data("tipsy");return s&&s[t].apply(s,Array.prototype.slice.call(arguments,1)),this}if(t=e.extend({},e.fn.tipsy.defaults,t),t.live||this.each(function(){i(this)}),"manual"!=t.trigger){var a=t.live?"on":"bind",l="hover"==t.trigger?"mouseenter":"focus",c="hover"==t.trigger?"mouseleave":"blur";this[a](l,r)[a](c,o)[a]("click.tipsy",o)}return this},e.fn.tipsy.defaults={className:null,delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,offset:0,opacity:1,title:"title",trigger:"hover"},e.fn.tipsy.revalidate=function(){e("."+r).each(function(){var t=e.data(this,r+"-pointee");t&&i(t)||e(this).remove()})},e.fn.tipsy.elementOptions=function(t,i){return e.metadata?e.extend({},i,e(t).metadata()):i},e.fn.tipsy.autoNS=function(){return e(this).offset().top>e(document).scrollTop()+e(window).height()/2?"s":"n"},e.fn.tipsy.autoWE=function(){return e(this).offset().left>e(document).scrollLeft()+e(window).width()/2?"e":"w"},e.fn.tipsy.autoBounds=function(t,i){return function(){var n={ns:i[0],ew:i.length>1?i[1]:!1},r=e(document).scrollTop()+t,o=e(document).scrollLeft()+t,s=e(this);return s.offset().top").appendTo(n.element),i=n.uiIndicator=e("
",{"class":o}).appendTo(t),t.hide()},_init:function(){var e=this,n=e.options,r="pacify-curtain "+n.namespace+"-"+("dark"==n.theme?t:i);e.uiCurtain.removeClass().addClass(r),n.autoStart&&e.start()},start:function(){var e=this,t=e.options;e.uiIndicator[t.indicator?"show":"hide"](),e._position()},stop:function(){var e=this;e.uiCurtain.hide()},_position:function(){var t=this,i=e(t.element);t.uiCurtain.show().css({width:i.outerWidth(),height:i.outerHeight()}).position({my:"left top",at:"left top",of:t.element});var n=t.uiCurtain.outerHeight()>600?{my:"center",at:"center top",of:t.uiCurtain,offset:"0 300px"}:{my:"center",at:"center",of:t.uiCurtain};if(!parseInt(t.uiCurtain.css("z-index"))){var r=t._maxZ();t.uiCurtain.css("z-index",r)}t.uiIndicator.position(n)},_maxZ:function(){var t=this,i=Math.max.apply(null,e.map(e(t.element).parents().andSelf(),function(t){var i,n=e(t).css("position");return("absolute"==n||"fixed"==n)&&(i=parseInt(e(t).css("z-index"))||1),i}));return i}})}(sQuery),function(){var e;e=sQuery,window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.prototype.Core=function(){function t(){Shareaholic.Utils.debug("In Shareaholic-core constructor")}return t.requesters={},t.instances=[],Shareaholic.compiled_at="2014-04-10 18:30:32 +0000",Shareaholic.ASSET_DIRECTORY=/(assets-?[a-z]*)\//.exec("https://dsms0mj1bbhn4.cloudfront.net/assets/")[1],Shareaholic.templates={},Shareaholic.compiled_templates={},Shareaholic.ASSET_ROOT_URL="https://dsms0mj1bbhn4.cloudfront.net/assets/".replace(/\/$/,""),t.init=function(t,i){var n,r,o,s,a,l,c=this;try{if(Shareaholic.Utils.debug("in Shareaholic Core init, "+t+" "+i),!this.initialized){this.initialized=!0,Shareaholic.page_info=new Shareaholic.prototype.PageInfo,Shareaholic.dispatcher||(Shareaholic.dispatcher=new Shareaholic.Dispatcher),e(window).on("scroll.shareaholic",this.determine_focused_post),e(document).ready(function(){return c.index_posts(),c.determine_focused_post(),!0}),this.process_page_configuration(t,i),Shareaholic.Utils.Browser.is_desktop||!Shareaholic.Utils.Browser.is_viewport_width||Shareaholic.Utils.Browser.is_user_scalable||this.init_mobile(),null!=Shareaholic.Utils.get_url_parameter("shareaholic_version")&&this.show_version(),this.page_config("init_canvases")&&Shareaholic.dispatcher.add_once("document_ready",this.init_widgets,!0),this.page_config("init_legacy")&&Shareaholic.dispatcher.add_once("document_ready",this.init_legacy,!0),a=this.page_config("dispatchers"),l=[];for(n in a)o=a[n],l.push(function(){var e,t,i;for(i=[],e=0,t=o.length;t>e;e++)r=o[e],i.push(Shareaholic.dispatcher[n].apply(Shareaholic.dispatcher,r));return i}());return l}}catch(h){return s=h,Shareaholic.report_error(s)}},t.auto_init=function(){var e,t;Shareaholic.Utils.debug("Try auto_init");try{return this.script_tag=document.getElementById("shareaholic_source"),t=this.script_tag.getAttribute("data-site-id"),this.init(t,Shareaholic.DOMUtils.object_from_element_data(this.script_tag,"shareaholic",!0))}catch(i){return e=i,Shareaholic.Utils.debug("Could not auto init.")}},t.process_page_configuration=function(e,t){return Shareaholic.window_config=Shareaholic.Utils.is_object(window.shareaholic_settings)?window.shareaholic_settings:{},this.is_site_id(e)&&(Shareaholic.SITE_ID=e),Shareaholic.Utils.is_object(t)&&(Shareaholic.manual_config=t),Shareaholic.Utils.is_object(e)?Shareaholic.manual_config=e:void 0},t.page_config=function(t){return this.page_app_config=e.extend(!0,{},{site_id:Shareaholic.SITE_ID},Shareaholic.DefaultPublisherConfiguration,Shareaholic.publisher_configuration,Shareaholic.prototype.Core.window_config(),Shareaholic.prototype.Core.manual_config()),t?this.page_app_config[t]:this.page_app_config},t.window_config=function(){var e,t,i,n;if(null!=(i=Shareaholic.window_config)?i.apps:void 0){n=Shareaholic.window_config.apps;for(e in n)t=n[e],Shareaholic.window_config.apps[e]=Shareaholic.Utils.object_except(t,"approved")}return Shareaholic.window_config},t.manual_config=function(){var e,t,i,n;if(null!=(i=Shareaholic.manual_config)?i.apps:void 0){n=Shareaholic.manual_config.apps;for(e in n)t=n[e],t=Shareaholic.Utils.object_except(t,"approved")}return Shareaholic.manual_config},t.standalone_mode=function(){return window.shareaholic_standalone||null!=Shareaholic.Utils.get_url_parameter("shareaholic_standalone")},t.all_services=function(){var e,t,i,n,r,o,s,a;for(n=(null!=(a=Shareaholic.user_info)?a.service_preferences:void 0)||[],t=Shareaholic.LOCALE_SERVICES_LIST,i=Shareaholic.Utils.remove_duplicates(n.concat(t)),e=[],o=0,s=i.length;s>o;o++)r=i[o],Shareaholic.SERVICES[r]&&"all"!==r&&e.push(Shareaholic.SERVICES[r]);return e},t.return_to_sender=function(){return window.shareaholic_return_to_sender||Shareaholic.Utils.get_url_parameter("link")},t.render_template=function(t){var i,n;return t.data=t.data||{},t.markup?i=t.markup:(n=Shareaholic.prototype.Handlebars.compile(Shareaholic.templates[t.name]),i=e(n(t.data))),"function"==typeof t.callback&&t.callback(i),i},t.is_site_id=function(e){return Shareaholic.Utils.is_string(e)&&/^[a-f0-9]{32}$/.test(e)},t.share=function(e,i,n){var r;return r=Shareaholic.SERVICES[e]||Shareaholic.SERVICES.all,t.share_handlers[r.handler](e,i,{},n)},t.share_handlers={share_via_shareaholic:function(e,t,i,n){var r,o;return null==n&&(n=null),Shareaholic.Utils.debug("In share_via_shareaholic. share_object",t),o=this.options,r={title:"Share this story",share_button_options:o,init:function(){return r={panel_namespace:"shareaholic_share"},this.multi_panel=new Shareaholic.prototype.MultiSharePanel(this,r)},show:function(e){return Shareaholic.Utils.debug("in Panel Show Method",e),this.multi_panel.show(e)},hide:function(){}},this.multi_panel_view=new Shareaholic.prototype.PanelView("multi_panel",r,"shareaholic_share"),this.multi_panel_view.show({data:{preselect_service:e,share_object:t}}),null!=n?n.preventDefault():void 0},share_via_redirect:function(e,t,i,n){var r,o,s;return null==n&&(n=null),r={service_nickname:e},i.shorten?t.shorten_text_links({complete:function(){var e,i;return Shareaholic.SDK.share({handler:"share_via_redirect",data:t.share_request(r)}),null!=(e=Shareaholic.prototype.PanelView.active_panel)?null!=(i=e.shareaholic_share)?i.hide(!0):void 0:void 0}}):(Shareaholic.SDK.share({handler:"share_via_redirect",data:t.share_request(r)}),null!=(o=Shareaholic.prototype.PanelView.active_panel)?null!=(s=o.shareaholic_share)?s.hide(!0):void 0:void 0)},share_via_bookmarklet:function(e,t,i,n){var r,o,s;return null==n&&(n=null),r={service_nickname:e},Shareaholic.SDK.share({data:t.share_request(r)}),null!=(o=Shareaholic.prototype.PanelView.active_panel)?null!=(s=o.shareaholic_share)?s.hide(!0):void 0:void 0},show_all_services:function(e,t,i,n){var r;return null==n&&(n=null),r={template:Shareaholic.templates.all_services_panel,title:"Choose a Service",data:Shareaholic.prototype.Core.all_services(),onrendertemplate:function(e){return Shareaholic.prototype.Core.render_all_services_callback(e,t)},init:function(){},show:function(){},hide:function(){}},this.all_services_view=new Shareaholic.prototype.PanelView("all_services_panel",r,"shareaholic_share"),this.all_services_view.show()}},t.determine_focused_post=function(i){var n,r,o,s,a,l,c,h,u,d,p,f,m,g;if(null==i&&(i=null),(null!=(p=t.page_info)?null!=(f=p.posts)?f.length:void 0:void 0)>0){for(m=Shareaholic.page_info.posts,g=[],u=0,d=m.length;d>u;u++)o=m[u],t.$rec_div=o.$element.find('.shareaholic-canvas[data-app="recommendations"], .shareaholic-canvas[data-shareaholic-widgets="recommendations"]'),r=e(document).scrollTop()+window.innerHeight/2,n=e(document).scrollTop()+window.innerHeight,h=e(document).scrollTop(),a=o.$element.offset().top,s=a+o.$element.height(),t.$rec_div.length&&(c=t.$rec_div.first().offset().top,l=t.$rec_div.first().offset().top+t.$rec_div.height()),r>a&&s>r?(t.focused_article=o,t.rec_in_view=c&&n>c,g.push(t.rec_scolled_past_complete=l&&h>l)):g.push(void 0);return g}},t.show_waiting_panel=function(t){var i,n;return null==t&&(t="Loading..."),i=e(Shareaholic.templates.loading_account_panel.replace(/{{message}}/,t)).attr("id",""),n={has_footer:!1,title:"Loading...",markup:i,data:{},init:function(){},show:function(){}},Shareaholic.Utils.load_css({href:""+Shareaholic.ASSET_ROOT_URL+"/pub/share_buttons.css",id:"share_buttons_css",success:function(){return Shareaholic.dispatcher.trigger("on_load_share_buttons_css")}}),this.loading_account_panel=new Shareaholic.prototype.PanelView("waiting_panel",n,"shareaholic_share"),this.loading_account_panel.show({markup:i,recompile:!0})},t.render_all_services_callback=function(i,n){var r,o,s,a,l,c;for(r=i.find(".filter input"),r.on("keyup",function(){return t.update_all_services_list(i,r.val(),"title")}),i.find("a").on("click",function(t){var i,r,o;return i=e(this),r=i.data("service"),(o=Shareaholic.SERVICES[r])?Shareaholic.prototype.Core.share_handlers[o.handler](r,n,{},t):void 0}),l=i.find("li"),c=[],s=0,a=l.length;a>s;s++)o=l[s],c.push(Shareaholic.SERVICES[e(o).find("a").data("service")].element=e(o));return c},t.update_all_services_list=function(e,t){var i,n,r,o,s;for(Shareaholic.Utils.debug("in update_all_services_list"),t=new RegExp(t.trim(),"gi"),n=t?Shareaholic.Utils.filter_array(Shareaholic.prototype.Core.all_services(),function(e){return e.title.match(t)}):Shareaholic.prototype.Core.all_services(),e.find("li").hide(),s=[],r=0,o=n.length;o>r;r++)i=n[r],s.push(i.element.show());return s},t.init_bookmarklet=function(e,t){return null==e&&(e=""),null==t&&(t={}),t=Shareaholic.Utils.merge_objects(t,{service:e}),Shareaholic.Utils.debug("in init_bookmarklet"),Shareaholic.prototype.Core.show_waiting_panel("Loading Bookmarklet"),Shareaholic.prototype.Bookmarklet?new Shareaholic.prototype.Bookmarklet(t):Shareaholic.Utils.load_script({src:""+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_tools.js",success:function(){var e;return e=new Shareaholic.prototype.Bookmarklet(t)}})},t.init_tools=function(e){return Shareaholic.Utils.load_script({no_dup:!0,src:""+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_tools.js",success:e})},t.init_widgets=function(){return Shareaholic.Utils.load_script({no_dup:!0,src:""+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_tools.js",success:function(){return Shareaholic.Utils.debug("In init_widgets success callback."),Shareaholic.prototype.Widget.init(),Shareaholic.init_plugins()}})},t.init_legacy=function(){return Shareaholic.Utils.load_script({no_dup:!0,src:""+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_tools.js",success:function(){return Shareaholic.apps.LegacyHelper.init({force:!0})}})},t.init_apps=function(){return t.init_widgets()},t.init_mobile=function(){var e;return e="on_loaded_"+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_tools.js",Shareaholic.Utils.debug("in init mobile"),Shareaholic.dispatcher.add_once(e,function(){return Shareaholic.Utils.load_script({no_dup:!0,src:""+Shareaholic.ASSET_ROOT_URL+"/pub/shareaholic_mobile.js",success:function(){return Shareaholic.prototype.Mobile.init()}})},!0)},t.index_posts=function(){return Shareaholic.page_info.index_posts()},t.show_version=function(){return alert(Shareaholic.compiled_at)},t}.call(this),Shareaholic.apps||(Shareaholic.apps={}),Shareaholic.init=function(){return Shareaholic.prototype.Core.init.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.share=function(){return Shareaholic.prototype.Core.share.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_bookmarklet=function(){return Shareaholic.prototype.Core.init_bookmarklet.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_tools=function(){return Shareaholic.prototype.Core.init_tools.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_legacy=function(){return Shareaholic.prototype.Core.init_legacy.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_widgets=function(){return Shareaholic.prototype.Core.init_widgets.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_apps=function(){return Shareaholic.prototype.Core.init_apps.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.init_mobile=function(){return Shareaholic.prototype.Core.init_mobile.apply(Shareaholic.prototype.Core,arguments)},Shareaholic.page_config=function(){return Shareaholic.prototype.Core.page_config.apply(Shareaholic.prototype.Core,arguments)}}.call(this),function(){var e;e=sQuery,window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.DOMUtils=function(){function t(){}return t.get_visible_area_of_element=function(t){var i,n,r,o,s,a,l,c,h,u;return n=e(window),u={x:n.scrollLeft(),y:n.scrollTop(),width:n.width(),height:n.height()},i=e(t),o=i.offset(),r={x:o.left-u.x,y:o.top-u.y,width:i.width(),height:i.height()},s=r.width*r.height,a={x:r.x>0?r.x:0,y:r.y>0?r.y:0,x2:r.x+r.widthc;c++)s=u[c],r={},(a=s.nodeName.match(o))&&(l=e.extend(!0,{},l,this.object_from_data_attribute(a[1],s.nodeValue,n)));return l},t.object_from_data_attribute=function(e,t,i){var n,r,o,s,a,l,c,h;for(null==i&&(i=!1),l=e.split("-").reverse(),s={},r=c=0,h=l.length;h>c;r=++c)if(a=l[r],0===r){if(i)try{t=JSON.parse(t)}catch(u){}(n=a.match(/(.*)_$/i))?(s={},s[n[1]]=[t]):s[a]=t}else/_$/.test(a)?s=[s]:(o={},o[a]=s,s=o);return s},t}()}.call(this),function(){Shareaholic.Plugin||(Shareaholic.Plugin=function(){function e(){}return e.has_publisher_configuration=!1,e.has_stylesheet=!0,e.options={},e.instances=[],e.init_after=null,e.prepare=function(e){var t,i;return null==e&&(e={}),Shareaholic.Utils.debug("Called prepare for plugin "+this.app_name),t=Shareaholic.Utils.has_url_parameter("enable_"+this.app_name)||e.force,this.perpared||(this.load_stylesheet(),Shareaholic.SDK.load_publisher_configuration(Shareaholic.SITE_ID),this.perpared=!0),this.has_publisher_configuration?(i=this,Shareaholic.dispatcher.add_once("load_publisher_configuration_complete",function(){return i.app_config.call(i).enabled||t?(i.initialized||(i._init.call(i),i.initialized=!0),i._prepare.call(i)):Shareaholic.Utils.debug("Plugin "+this.app_name+" is not enabled. Use force option to initialize.")},{historical:!0,dependencies:this.dependencies()})):this.app_config().enabled||t?(this.initialized||(this._init(),this.initialized=!0),this._prepare()):Shareaholic.Utils.debug("Plugin "+this.app_name+" is not enabled. Use force option to initialize.")},e.dependencies=function(){var e;return e=["document_ready"],this.init_after?e.concat(Shareaholic.Utils.is_array(this.init_after)?this.init_after:[this.init_after]):e},e._prepare=function(){},e.init=function(e){return null==e&&(e={}),Shareaholic.Utils.debug("Called Plugin inherited initializer"),this.prepare(e)},e._init=function(){},e.publisher_config=function(e){var t;return t=Shareaholic.page_config(),e?t[e]:t},e.app_config=function(){return this.publisher_config().apps[this.app_name]},e.prototype.app_config=function(){return this.constructor.app_config()},e.load_stylesheet=function(){var e;return this.has_stylesheet?(e="string"==typeof this.has_stylesheet?this.has_stylesheet:this.app_name,Shareaholic.Utils.load_css({href:""+Shareaholic.ASSET_ROOT_URL+"/pub/"+e+".css",id:""+e+"_css",success:function(){return Shareaholic.dispatcher.trigger("on_load_"+e+"_css")}})):void 0},e}(),Shareaholic.init_plugins=function(){var e,t,i,n,r,o,s;if(Shareaholic.Utils.debug("In Shareaholic.init_plugins"),Shareaholic.apps){for(r=Object.keys(Shareaholic.apps),s=[],i=0,n=r.length;n>i;i++){t=r[i];try{s.push(null!=(o=Shareaholic.apps[t])?o.init():void 0)}catch(a){e=a,s.push(Shareaholic.report_error(e))}}return s}},Shareaholic.init_widgets=function(){var e,t,i,n,r,o,s;if(Shareaholic.Utils.debug("In Shareaholic.init_widgets"),Shareaholic.apps){for(r=Object.keys(Shareaholic.apps),s=[],i=0,n=r.length;n>i;i++){t=r[i];try{s.push(null!=(o=Shareaholic.apps[t])?"function"==typeof o.initialize_targets?o.initialize_targets():void 0:void 0)}catch(a){e=a,s.push(Shareaholic.report_error(e))}}return s}}),Shareaholic.AnalyticPlugin||(Shareaholic.AnalyticPlugin=function(){function e(){}return e.init=function(){},e}(),Shareaholic.init_analytic_plugins=function(){var e,t,i,n,r,o;for(Shareaholic.Utils.debug("in Shareaholic.init_analytic_plugins"),n=Object.keys(Shareaholic.AnalyticPlugin.prototype),o=[],t=0,i=n.length;i>t;t++)e=n[t],o.push(null!=(r=Shareaholic.AnalyticPlugin.prototype[e])?r.init():void 0);return o})}.call(this),function(){var e,t=[].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1};e=window.sQuery||null,window.Shareaholic.prototype.PageInfo=function(){function i(){var e;this.type=this.get_page_type(),this.content_type=this.get_content_type(),this.title=this.get_page_title(),this.url=this.get_page_url(),this.canonical_url=this.get_canonical_url(),this.device=this.determine_device(),this.platform=this.determine_platform(),this.posts=this.get_post_objects(),this.referrer=new Shareaholic.prototype.ReferrerPageInfo,this.is_search_page=Shareaholic.prototype.PageInfo.is_search_page(Shareaholic.URI.parse(this.url)),this.language="undefined"!=typeof navigator&&null!==navigator?null!=(e=navigator.language)?e.toLowerCase():void 0:void 0,this.allow_pin=this.constructor.allow_pin(),this.is_visible=this.constructor.is_visible(),this.allow_analytics=this.constructor.allow_analytics(),this.init()}return i.search_query_parameters=["q","p","s","w","wd","kw","su","key","query","text","terms","search_word","keywords","encquery"],i.options={},i.prototype.init=function(){},i.prototype.get_page_type=function(){return"index"},i.prototype.get_content_type=function(){return"article"},i.prototype.get_page_title=function(){return Shareaholic.Utils.get_page_title()},i.prototype.get_page_url=function(){return window.location.href},i.prototype.get_canonical_url=function(){return Shareaholic.Utils.get_page_url()},i.prototype.determine_device=function(){return Shareaholic.Utils.Browser.device_name},i.prototype.determine_platform=function(){return Shareaholic.Utils.Browser.is_desktop?"desktop":"mobile"},i.prototype.index_posts=function(){return this.posts=this.get_post_objects()},i.prototype.get_post_objects=function(){var e,t;return e=[],(t=this.get_post_elements())&&t.each(function(){var t;return t=new Shareaholic.prototype.ContentInfo(this),t.url?e.push(t):void 0}),e},i.prototype.get_post_elements=function(){var t;return e?(t=e("#posts").children())&&t.length?t:(t=e(".post"))&&t.length?t:(t=e('[id^="post"]'))&&t.length?t:e("article"):{length:0,splice:function(){},each:function(){return this}}},i.is_search_page=function(e){var i,n,r,o;for(o=Object.keys(null!=e?e.query:void 0),n=0,r=o.length;r>n;n++)if(i=o[n],t.call(Shareaholic.prototype.PageInfo.search_query_parameters,i)>=0)return!0;return!1},i.allow_pin=function(){var e,t;return(e=null!=(t=document.getElementsByAttribute("meta","name","pinterest"))?t[0]:void 0)?"nopin"!==(null!=e?e.getAttribute("content"):void 0):!0},i.allow_analytics=function(){var e,t;return e=document.getElementsByAttribute("meta","name",/shareaholic:analytics/),"disabled"!==(null!=(t=e[0])?t.getAttribute("content"):void 0)},i.is_visible=function(){var e,t;if(!(e=null!=(t=document.getElementsByAttribute("meta","name",/shareaholic:article_visibility/))?t[0]:void 0))return!0;switch(null!=e?e.getAttribute("content"):void 0){case"draft":case"private":return!1;default:return!0}},i}(),window.Shareaholic.prototype.ReferrerPageInfo=function(){function e(){this.url=document.referrer,this.url_object=new Shareaholic.URI(this.url),this.is_search_page=Shareaholic.prototype.PageInfo.is_search_page(this.url_object)}return e}()}.call(this),function(){var e;e=sQuery,window.Shareaholic.prototype.ContentInfo=function(){function t(t){this.element=t,this.$element=e(this.element),this.title=Shareaholic.Utils.get_post_title(this.element),this.url=Shareaholic.Utils.get_post_canonical_url(this.element),this.description="",this.image="",this.apps=this.get_contained_apps(),this.init()}return t.options={},t.prototype.init=function(){},t.prototype.get_contained_apps=function(){var t;return t=[],e(this.element).find(".shareaholic-canvas").each(function(){return t.push(e(this).data("app")||e(this).data("shareaholic-widgets"))}),t},t}()}.call(this),function(){window.Shareaholic||(window.Shareaholic=function(){}),Shareaholic.DefaultPublisherConfiguration={init_legacy:!1,init_canvases:!0,api_key:null,site_id:null,domain:null,site_name:null,platform:null,platform_id:null,category_id:null,language_id:null,site_verified:!1,last_checked_at:null,dispatchers:null,container_id:"shareaholic-container",shortener_preferences:{service:"shrlc",api_key:"",login:""},apps:{share_buttons:{enabled:!0,multishare:!0,message_format:"${title} - ${link}",shareable_images:!1,shareable_videos:!1,locations:{1:{services:["facebook","twitter","google_plus","pinterest","linkedin","email_this"],show_all_services_button:!0,headline_text:"",theme:"",style_class:"badge-counter"}},default_location_id:1},recommendations:{enabled:!0,blacklist:"",show_attribution:!0,total:"small",promoted_content_level:0,locations:{2:{headline_text:"You may also like:",theme:"default"}},default_location_id:2},cookie_consent:{enabled:!1,show_to:0,message:"This website uses cookies",accept_button_text:"Okay",info_button_text:"More info",policy_url:"/privacy"},floated_share_buttons:{enabled:!1,services:[],show_all_services_button:!0,theme:"flat",style_class:"floated flat vertical"},ad_spaces:{enabled:!0,approved:!1,show_attribution:!0,locations:{5:{ad_format:"auto"}},default_location_id:5},infinite_scroll_helper:{enabled:!0},legacy_helper:{enabled:!1}}},Shareaholic.DefaultUserConfiguration={accounts:null,anonymous_user:!0,service_preferences:[],shortener_preferences:{service:"shrlc",api_key:"",login:""},signed_in:!1}}.call(this),window.Shareaholic=window.Shareaholic||{},Shareaholic.SERVICES={facebook:{title:"Facebook",nickname:"facebook",locale:"en-US",redirect_url:"https://www.facebook.com/sharer.php?src=bm&u=${link}&t=${title}&v=3",handler:"share_via_shareaholic"},twitter:{title:"Twitter",nickname:"twitter",locale:"en-US",redirect_url:"https://twitter.com/intent/tweet?text=${template}&source=${source}&related=shareaholic,meattle",handler:"share_via_shareaholic"},google_plus:{title:"Google+",nickname:"google_plus",locale:"en-US",redirect_url:"https://plus.google.com/share?url=${link}",handler:"share_via_redirect"},email_this:{title:"Email This",nickname:"email_this",locale:"en-US",redirect_url:"mailto:?subject=${title}&body=Link: ${link}%0A%0A${notes}%0A%0A--%0Asent via ${source}",handler:"share_via_redirect"},delicious:{title:"Delicious",nickname:"delicious",locale:"en-US",redirect_url:"https://delicious.com/save?url=${link}&title=${title}¬es=${notes}",handler:"share_via_redirect"},reddit:{title:"Reddit",nickname:"reddit",locale:"en-US",redirect_url:"https://reddit.com/submit?url=${link}&title=${title}",handler:"share_via_redirect"},google_mail:{title:"Google Mail",nickname:"google_mail",locale:"en-US",redirect_url:"https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=${title}&body=Link: ${link} (sent via ${source}) %0D%0A%0D%0A----%0D%0A ${notes}",handler:"share_via_redirect"},google_bookmarks:{title:"Google Bookmarks",nickname:"google_bookmarks",locale:"en-US",redirect_url:"https://www.google.com/bookmarks/mark?op=edit&bkmk=${link}&title=${title}&annotation=${notes}",handler:"share_via_redirect"},linkedin:{title:"LinkedIn",nickname:"linkedin",locale:"en-US",redirect_url:"https://www.linkedin.com/shareArticle?mini=true&url=${link}&title=${title}&summary=${notes}&source=${source}",handler:"share_via_redirect"},pinterest:{title:"Pinterest",nickname:"pinterest",locale:"en-US",redirect_url:"https://pinterest.com/pin/create/button/?url=${link}&media=${media_link}&description=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());"},yahoo_bookmarks:{title:"Yahoo Bookmarks",nickname:"yahoo_bookmarks",locale:"en-US",redirect_url:"https://bookmarks.yahoo.com/toolbar/savebm?u=${link}&t=${title}&ref=${source}",handler:"share_via_redirect"},amazon_us_wish_list:{title:"Amazon (US) Wish List",nickname:"amazon_us_wish_list",locale:"en-US",redirect_url:"https://www.amazon.com/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='https://www.amazon.com/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())"},digg:{title:"Digg",nickname:"digg",locale:"en-US",redirect_url:"https://digg.com/submit?phase=2&url=${link}&title=${title}&bodytext=${notes}",handler:"share_via_redirect"},stumbleupon:{title:"StumbleUpon",nickname:"stumbleupon",locale:"en-US",redirect_url:"https://www.stumbleupon.com/submit?url=${link}&title=${title}",handler:"share_via_redirect"},evernote:{title:"Evernote",nickname:"evernote",locale:"en-US",redirect_url:"https://www.evernote.com/clip.action?url=${link}&title=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){EN_CLIP_HOST='https://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();"},bebo:{title:"Bebo",nickname:"bebo",locale:"en-US",redirect_url:"https://www.bebo.com/c/share?Url=${link}&Title=${title}&TUUID=49057325-25e8-4241-b062-87f2b1693e3d&MID=8594136688",handler:"share_via_redirect"},google_apps_mail:{title:"Google Apps Mail",nickname:"google_apps_mail",locale:"en-US",redirect_url:"https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=${title}&body=Link: ${link} (sent via ${source}) %0D%0A%0D%0A ${notes}",handler:"share_via_redirect"},amazon_uk_wish_list:{title:"Amazon (UK) Wish List",nickname:"amazon_uk_wish_list",locale:"en-GB",redirect_url:"https://www.amazon.co.uk/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,o='object',n='AUWLBookenGB',u='https://www.amazon.co.uk/wishlist/add',r='readyState',T=setTimeout,a='setAttribute',g=function(){d[r]&&d[r]!='complete'?T(g,200):!w[n]?(s[a]('charset','UTF-8'),s[a]('src',u+'.js?loc='+e(l)+'&b='+n),d.body.appendChild(s),f()):f()},f=function(){!w[n]?T(f,200):w[n].showPopover()};typeof s!=o?l.href=u+'?u='+e(l)+'&t='+e(d.title):g()}())"},amazon_ca_wish_list:{title:"Amazon (CA) Wish List",nickname:"amazon_ca_wish_list",locale:"en-CA",redirect_url:"https://www.amazon.ca/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='https://www.amazon.ca/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())"},amazon_de_wish_list:{title:"Amazon (DE) Wish List",nickname:"amazon_de_wish_list",locale:"de",redirect_url:"https://www.amazon.de/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,o='object',n='AUWLBookenGB',u='https://www.amazon.de/wishlist/add',r='readyState',T=setTimeout,a='setAttribute',g=function(){d[r]&&d[r]!='complete'?T(g,200):!w[n]?(s[a]('charset','UTF-8'),s[a]('src',u+'.js?loc='+e(l)+'&b='+n),d.body.appendChild(s),f()):f()},f=function(){!w[n]?T(f,200):w[n].showPopover()};typeof s!=o?l.href=u+'?u='+e(l)+'&t='+e(d.title):g()}())"},amazon_fr_wish_list:{title:"Amazon (FR) Wish List",nickname:"amazon_fr_wish_list",locale:"fr",redirect_url:"https://www.amazon.fr/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,o='object',n='AUWLBookfrFR',u='https://www.amazon.fr/wishlist/add',r='readyState',T=setTimeout,a='setAttribute',g=function(){d[r]&&d[r]!='complete'?T(g,200):!w[n]?(s[a]('charset','UTF-8'),s[a]('src',u+'.js?loc='+e(l)+'&b='+n),d.body.appendChild(s),f()):f()},f=function(){!w[n]?T(f,200):w[n].showPopover()};typeof s!=o?l.href=u+'?u='+e(l)+'&t='+e(d.title):g()}())"},amazon_jp_wish_list:{title:"Amazon (JP) Wish List",nickname:"amazon_jp_wish_list",locale:"ja",redirect_url:"https://www.amazon.co.jp/wishlist/add?u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,o='object',n='AUWLBookfrFR',u='https://www.amazon.co.jp/wishlist/add',r='readyState',T=setTimeout,a='setAttribute',g=function(){d[r]&&d[r]!='complete'?T(g,200):!w[n]?(s[a]('charset','UTF-8'),s[a]('src',u+'.js?loc='+e(l)+'&b='+n),d.body.appendChild(s),f()):f()},f=function(){!w[n]?T(f,200):w[n].showPopover()};typeof s!=o?l.href=u+'?u='+e(l)+'&t='+e(d.title):g()}())"},quora:{title:"Quora",nickname:"quora",locale:"en-US",redirect_url:"https://www.quora.com/boardservices/bookmarklet?v=1&url=${link}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='https://www.quora.com/board/bookmarklet',l=d.location,e=encodeURIComponent,p='?v=1&url='+e(l.href),u=f+p;try{if(!/^(.*\\.)?quora[^.]*$/.test(l.host))throw(0);}catch(z){a =function(){if(!w.open(u,'_blank','toolbar=0,scrollbars=no,resizable=1,status=1,width=430,height=400'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0)"},mister_wong:{title:"Mister-Wong",nickname:"mister_wong",locale:"en-US",redirect_url:"https://www.mister-wong.com/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},mister_wong_de:{title:"Mister-Wong DE",nickname:"mister_wong_de",locale:"de",redirect_url:"https://www.mister-wong.de/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},mister_wong_es:{title:"Mister-Wong ES",nickname:"mister_wong_es",locale:"es",redirect_url:"https://www.mister-wong.es/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},mister_wong_cn:{title:"Mister-Wong CN",nickname:"mister_wong_cn",locale:"zh-CN",redirect_url:"https://www.mister-wong.cn/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},mister_wong_fr:{title:"Mister-Wong FR",nickname:"mister_wong_fr",locale:"fr",redirect_url:"https://www.mister-wong.fr/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},mister_wong_ru:{title:"Mister-Wong RU",nickname:"mister_wong_ru",locale:"ru",redirect_url:"https://www.mister-wong.ru/index.php?action=addurl&bm_url=${link}&bm_description=${title}&bm_notice=${notes}&plugin=shareaholic",handler:"share_via_redirect"},windows_live_favorites:{title:"Windows Live Favorites",nickname:"windows_live_favorites",locale:"en-US",redirect_url:"https://skydrive.live.com/sharefavorite.aspx/.SharedFavorites?url=${link}&title=${title}",handler:"share_via_redirect"},printfriendly:{title:"PrintFriendly",nickname:"printfriendly",locale:"en-US",redirect_url:"https://www.printfriendly.com/print?url=${link}&partner=${source}",handler:"share_via_redirect"},tumblr:{title:"Tumblr",nickname:"tumblr",locale:"en-US",redirect_url:"https://www.tumblr.com/share?v=3&u=${link}&t=${title}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='https://www.tumblr.com/share',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href) +'&t='+e(d.title) +'&s='+e(s),u=f+p;try{if(!/^(.*\\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a =function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0);"},wordpress_blog:{title:"WordPress Blog",nickname:"wordpress_blog",locale:"en-US",redirect_url:"https://www.addtoany.com/ext/wordpress/press_this?linkurl=${link}&linkname=${title}&linknote=${notes}",handler:"share_via_redirect"},diigo:{title:"Diigo",nickname:"diigo",locale:"en-US",redirect_url:"https://www.diigo.com/post?url=${link}&title=${title}&desc=${notes}",handler:"share_via_redirect"},yc_hacker_news:{title:"YC Hacker News",nickname:"yc_hacker_news",locale:"en-US",redirect_url:"https://news.ycombinator.com/submitlink?u=${link}&t=${title}&sref=${source}",handler:"share_via_redirect"},techmeme:{title:"Techmeme",nickname:"techmeme",locale:"en-US",redirect_url:"https://twitter.com/home/?status=tip @techmeme ${title} - ${short_link}&source=${source}",handler:"share_via_redirect"},box_net:{title:"Box.net",nickname:"box_net",locale:"en-US",redirect_url:"https://www.box.net/api/1.0/import?url=${link}&name=${title}&description=${notes}&import_as=link",handler:"share_via_redirect"},yammer:{title:"Yammer",nickname:"yammer",locale:"en-US",redirect_url:"https://www.yammer.com/home/bookmarklet?t=${title}&u=${link}&s=${notes}&source=${source}",handler:"share_via_redirect"},facebook_send:{title:"Facebook Send",nickname:"facebook_send",locale:"en-US",redirect_url:"https://www.facebook.com/dialog/send?app_id=207766518608&name=${title}&link=${link}&description=${notes}&redirect_uri=https://www.shareaholic.com/",handler:"share_via_redirect"},shareaholic_archive:{title:"Read Later",nickname:"shareaholic_archive",locale:"en-US",redirect_url:"https://www.shareaholic.com/post?action=bookmark&v=1&link=${link}&title=${title}¬es=${notes}&tags=${tags}&source=${source}",handler:"share_via_redirect"},hotmail:{title:"Hotmail",nickname:"hotmail",locale:"en-US",redirect_url:"https://mail.live.com/?rru=compose%3Fsubject%3D${title}%26body%3D${link} via ${source} %0D%0A%0D%0A----%0D%0A ${notes}",handler:"share_via_redirect"},aol_mail:{title:"AOL Mail",nickname:"aol_mail",locale:"en-US",redirect_url:"https://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=${title}&body=${link}",handler:"share_via_redirect"},yahoo_mail:{title:"Yahoo! Mail",nickname:"yahoo_mail",locale:"en-US",redirect_url:"https://compose.mail.yahoo.com/?Subject=${title}&body=Link: ${link} (sent via ${source}) ---- ${notes}",handler:"share_via_redirect"},instapaper:{title:"Instapaper",nickname:"instapaper",locale:"en-US",redirect_url:"https://www.instapaper.com/edit?url=${link}&title=${title}&summary=${notes}",handler:"share_via_redirect"},msdn:{title:"MSDN",nickname:"msdn",locale:"en-US",redirect_url:"https://social.msdn.microsoft.com/en-US/action/Create/s/E/?url=${link}&bm=true&ttl=${title}&d=${notes}",handler:"share_via_redirect"},orkut:{title:"Orkut",nickname:"orkut",locale:"en-US",redirect_url:"https://promote.orkut.com/preview?nt=orkut.com&du=${link}&tt=${link}&uc=${notes}",handler:"share_via_redirect"},soup_io:{title:"Soup.io",nickname:"soup_io",locale:"en-US",redirect_url:"https://www.soup.io/bookmarklet?v=5&u=${link}&t=${title}&s=${notes}",handler:"share_via_bookmarklet",bookmarklet_url:"javascript:var es=['body','frameset','head'];var u='https://www.soup.io/';var fn='soup_bookmarklet_'+(Math.floor(Math.random()*100000));window.open(u+'bookmarklet-loading.html',fn,'toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=400');try{var s=document.createElement('script');s.setAttribute('src',u+'bookmarklet/js/'+ fn +'/5');for (var i=0;it;t++)if(t in this&&this[t]===e)return t; return-1};window.Shareaholic||(window.Shareaholic=function(){}),Shareaholic.dispatcher||(Shareaholic.dispatcher=new Shareaholic.Dispatcher),window.Shareaholic.SDK=function(){function SDK(){}return SDK.loaded_publisher_configs=[],SDK.Utils=Shareaholic.Utils,SDK.services_json=Shareaholic.SERVICES,SDK.countable_services=["twitter","facebook","linkedin","pinterest","delicious","google_plus"],SDK.set_endpoints=function(e){return this.API_ENDPOINTS=Shareaholic.Utils.merge_objects(e,this.endpoints.defaults)},SDK.endpoints={defaults:{publisher_config:""+Shareaholic.PUB_CONFIG,user_info:""+Shareaholic.ORIGIN_URL+"/v2/user_info",recommendations_v2:"https://shareaholic.com/v2/recommendations/api",recommendations:""+Shareaholic.RECOMMENDATIONS_URL+"/v3/recommend",share:""+Shareaholic.ORIGIN_URL+"/v2/share",image:""+Shareaholic.IMAGES_URL+"/pagePic",traffic:""+Shareaholic.TRAFFIC_URL+"/e",traffic_link:""+Shareaholic.TRAFFIC_LINK_URL+"/e",analytics:""+Shareaholic.ANALYTICS_URL+"/e",analytics_pageview:""+Shareaholic.ANALYTICS_URL+"/dough/1.0/pageview.gif",analytics_tag:""+Shareaholic.ANALYTICS_URL+"/dough/1.0/tag.gif"},prod:{publisher_config:"https://s3.amazonaws.com/publisher_configurations.shareaholic",user_info:"https://shareaholic.com/v2/user_info",recommendations:"https://recommendations.shareaholic.com/v3/recommend",share:"https://shareaholic.com/v2/share",image:"https://images.shareaholic.com/pagePic",traffic:"https://traffic.shareaholic.com/e",traffic_link:"https://go.shareaholic.com/e",analytics:"https://analytics.shareaholic.com/e",analytics_pageview:"https://analytics.shareaholic.com/dough/1.0/pageview.gif",analytics_tag:"https://analytics.shareaholic.com/dough/1.0/tag.gif"}},SDK.set_endpoints(SDK.endpoints[Shareaholic.Utils.get_url_parameter("endpoints")]||{}),SDK.init=function(){return Shareaholic.Utils.debug("in SDK init"),this.get_user_info()},SDK.load_publisher_configuration=function(e,t){var i;return null==t&&(t=!1),Shareaholic.Utils.debug("in load pub config","APIKEY "+e,"force option: "+t),!Shareaholic.dispatcher.has_fired("load_publisher_configuration_success")||t?(Shareaholic.Utils.debug("In load_publisher_configuration for apikey: "+e),i=""+Shareaholic.SDK.API_ENDPOINTS.publisher_config+"/"+e+".json",Shareaholic.publisher_configuration||(Shareaholic.publisher_configuration={}),"string"==typeof e?(Shareaholic.SDK.loaded_publisher_configs.push(e),Shareaholic.Utils.ajax({url:i,success:function(e){return Shareaholic.publisher_configuration=e,Shareaholic.dispatcher.trigger("load_publisher_configuration_success"),Shareaholic.dispatcher.trigger("load_publisher_configuration_complete")},failure:function(e){return Shareaholic.dispatcher.trigger("load_publisher_configuration_failure"),Shareaholic.dispatcher.trigger("load_publisher_configuration_complete"),Shareaholic.Utils.error(e)}})):Shareaholic.dispatcher.trigger("load_publisher_configuration_complete")):void 0},SDK.has_loaded_config=function(e){return __indexOf.call(this.loaded_publisher_configs,e)>=0},SDK.share=function(e){var t,i,n;null==e&&(e={});try{return this.validate_share_params(e.data),n=e.data.service_nickname,i=e.handler||this.services_json[n].handler,Shareaholic.SDK[i].call(this,e)}catch(r){if(t=r,"ValidationError"===t.name)return Shareaholic.Utils.error("there was an error sharing:",t.message);throw t}},SDK.authenticate=function(e){var t,i,n,r,o=this;return Shareaholic.Utils.debug("in authentication SDK"),n="authentication",this.Utils.Browser.is_ie&&(Shareaholic.Utils.debug("in browser is IE. Lets creat a polling frame"),this.Utils.PostMessage.create_polling_frame(n)),i={success:function(t){return o.on_authentication_success(t,e.success)},failure:function(t){return o.on_authentication_failure(t,e.failure)}},this.Utils.PostMessage.receive(n,i),t=encodeURIComponent(""+Shareaholic.ORIGIN_URL+"/v2/authentication"),r=Shareaholic.ORIGIN_URL+("/auth/"+e.service+"?origin="+t),window.open_window=window.open(r,"connect_account","height=500,width=700")},SDK.on_authentication_success=function(e,t){return Shareaholic.Utils.debug("In Authentication Success. data: ",e),SDK.connected_accounts=e.accounts,"function"==typeof t?t(e):void 0},SDK.on_authentication_failure=function(e,t){return"function"==typeof t?t(e):void 0},SDK.get_services=function(){return Shareaholic.SERVICES?void 0:Shareaholic.Utils.load_script({src:Shareaholic.ORIGIN_URL+"/assets/pub/services_json.js",success:function(){return Shareaholic.SDK.services_json=window.shareaholic_services_json||Shareaholic.SERVICES,Shareaholic.dispatcher.trigger("on_get_services_complete")}})},SDK.get_user_info=function(){var e,t=this;return Shareaholic.Utils.debug("In get_user_info"),e=this.API_ENDPOINTS.user_info,Shareaholic.Utils.jsonp({url:e,success:function(e){return Shareaholic.user_info=e,t.connected_accounts=e.accounts,Shareaholic.dispatcher.trigger("on_get_user_info_complete",e),Shareaholic.dispatcher.trigger("on_get_user_info_success",e)},failure:function(){return Shareaholic.user_info={},Shareaholic.dispatcher.trigger("on_get_user_info_complete",{})}})},SDK.share_via_shareaholic=function(e){return e.data.service_nickname in this.connected_accounts?this.send_share_to_shareaholic(e):this.authenticate(e.data.service_nickname)},SDK.share_via_redirect=function(e){var t;return this.report_to_event_api(e),t=Shareaholic.Utils.compile_string(this.services_json[e.data.service_nickname].redirect_url,e.data,!0),window.open(t,"shareaholic_share_external","top=50,left=50,width=800,height=600")},SDK.share_via_bookmarklet=function(params){var bookmarklet;return Shareaholic.Utils.debug("bookmarklet"),this.report_to_event_api(params),bookmarklet=this.services_json[params.data.service_nickname].bookmarklet_url,eval(bookmarklet)},SDK.send_share_to_shareaholic=function(e){var t,i,n,r;Shareaholic.Utils.debug("In send_share_to_shareaholic"),this.validate_share_params(e.data),i=this.API_ENDPOINTS.share+"?",r=e.data;for(t in r)n=r[t],i+=""+t+"="+encodeURIComponent(n)+"&";return i=i.replace(/&$/,""),Shareaholic.Utils.ajax({success:e.success,failure:e.failure,url:i,method:"POST",withCredentials:!0})},SDK.validate_share_params=function(e){var t,i,n,r,o;for(null==e&&(e={}),n=["service_nickname","api_key","link"],t="",r=0,o=n.length;o>r;r++)i=n[r],i in e||(t+=""+i+" is missing. ");if(t.length>1)throw{name:"ValidationError",message:t}},SDK.report_to_event_api=function(e){return this.send_share_to_shareaholic(e)},SDK.has_connected_accounts=function(){return Shareaholic.Utils.is_empty(this.connected_accounts)===!1},SDK.get_v2_recommendations=function(e){var t,i=this;return Shareaholic.recommendations||(Shareaholic.recommendations={}),t={urls:e.url,n:e.internal},e.site_id&&(t.apikey=e.site_id),Shareaholic.Utils.debug("In get_v2_recommendations "+e.url),Shareaholic.Utils.ajax({url:this.API_ENDPOINTS.recommendations_v2,data:t,success:function(t){var n;return n=i.normalize_recommendation_properties(i.normalize_v2_recommendations(t.data[e.url]),e),Shareaholic.recommendations[e.url]=n,"function"==typeof e.success?e.success(n):void 0}})},SDK.get_v3_recommendations=function(e){var t,i,n=this;return Shareaholic.recommendations||(Shareaholic.recommendations={}),i={url:e.url,internal:e.internal,sponsored:e.sponsored},e.site_id&&(i.apiKey=e.site_id),Shareaholic.Utils.debug("In get_recommendations "+e.url),t={url:this.API_ENDPOINTS.recommendations,headers:{"x-shr-device-type":Shareaholic.Utils.Browser.device_type},fallback:"jsonp",callback_parameter:"jsonp",data:i,success:function(t){var i;return e.plan_id=t.id,i=n.prepare_recommendations(t,e),Shareaholic.recommendations[e.url]=i,"function"==typeof e.success?e.success(i):void 0}},Shareaholic.Utils.ajax(t)},SDK.get_recommendations=function(e){return this.get_v3_recommendations(e)},SDK.normalize_v2_recommendations=function(e){var t,i,n,r,o;for(i=[],r=0,o=e.length;o>r;r++)n=e[r],t={id:null,url:n.canonical||n.link,title:n.title,description:n.description,image_id:null,campaign_id:null,thumbnail:n.thumbnail_url||n.t_url,type:"internal"},i.push(t);return i},SDK.bucketize_recs=function(e){var t,i,n,r;for(r=e.recommendations,i=0,n=r.length;n>i;i++)t=r[i],e[t.type].push(t);return e},SDK.prepare_recommendations=function(e,t){var i,n,r,o,s;return e.internal||(e.internal=[]),e.sponsored||(e.sponsored=[]),e.recommendations&&(e=this.bucketize_recs(e)),n=e.parameters.internal,r=e.internal.length,s=e.sponsored.length,i=n-s,o=Shareaholic.Utils.shuffle_array(e.internal.slice(0,i).concat(e.sponsored)),this.normalize_recommendation_properties(o,t)},SDK.normalize_recommendation_properties=function(e,t){var i,n,r,o;for(null==t&&(t={}),i={title_length:100,description_length:90,mobile_title_length:40,mobile_preview_title_length:55},t=Shareaholic.Utils.merge_objects(t,i),r=0,o=e.length;o>r;r++)n=e[r],n.plan_id=t.plan_id,n.campaign_id=n.campaign||n.campaign_id,n.image_id=n.imageId||n.image_id,n.original_title=n.title,n.original_description=n.description,n.tracking_link_url=Shareaholic.SDK.recommendation_click_url(n),n.thumbnail||(n.thumbnail=this.get_recommendation_thumbnail(n)),n.title=Shareaholic.Utils.ellipsis(n.original_title,t.title_length),n.mobile_title=Shareaholic.Utils.ellipsis(n.original_title,t.mobile_title_length),n.mobile_preview_title=Shareaholic.Utils.ellipsis(n.original_title,t.mobile_preview_title_length),n.description=Shareaholic.Utils.ellipsis(n.original_description,t.description_length),n.color_class=Shareaholic.Utils.random_color(),n.impression_url=this.impression_url(n),n.impression_view_url=this.impression_view_url(n),n.site_name=Shareaholic.Utils.site_name_from_url(n.url),n.sponsored="sponsored"===n.type,n.type_for_analytics=n.sponsored?"Sponsored":"Organic",delete n.campaign,delete n.imageId;return e},SDK.get_total_share_count=function(e,t){var i,n;n=[];for(i in Shareaholic.SDK.countable_services)n.push(Shareaholic.SDK.get_share_count_from_service(e,i,t));return n},SDK.get_share_count_from_service=function(e,t,i){var n,r,o,s,a,l,c;for(t="object"==typeof t?t:[t],n={data:{url:e},success:function(e){return Shareaholic.Utils.debug("Successful share count retreival."),i(e.count)},failure:function(){return Shareaholic.Utils.debug("Failed share count retreival.")}},s={linkedin:{url:"https://www.linkedin.com/countserv/count/share"},twitter:{url:"https://cdn.api.twitter.com/1/urls/count.json"},facebook:{url:"https://graph.facebook.com",data:{id:e},success:function(e){var t;return t=e.shares||0,i(t)}},delicious:{url:"https://feeds.delicious.com/v2/json/urlinfo/data",success:function(e){var t,n;return t=(null!=(n=e[0])?n.total_posts:void 0)||0,i(t)}},pinterest:{url:"https://api.pinterest.com/v1/urls/count.json"}},c=[],a=0,l=t.length;l>a;a++)r=t[a],o=s[r],!o||"https:"===window.location.protocol&&"delicious"===r?c.push(void 0):c.push(Shareaholic.Utils.jsonp(Shareaholic.Utils.merge_objects(o,n)));return c},SDK.get_recommendation_image=function(e,t){return null==t&&(t={}),this.get_image(e.image_id,t)||""},SDK.get_recommendation_thumbnail=function(e){var t;return t=this.Utils.Browser.is_retina?600:300,this.get_recommendation_image(e,{width:t})||""},SDK.get_image=function(e,t){var i;return null==t&&(t={}),i=""+this.API_ENDPOINTS.image+"/"+e,e?Shareaholic.Utils.query_string(t,i):!1},SDK.impression_url=function(e){var t;return t={a:7,r:2},e.campaign_id&&(t.c=e.campaign_id),e.plan_id&&(t.p=e.plan_id),this.traffic_url(e.url,t)},SDK.impression_view_url=function(e){var t;return t={a:11,r:2},e.campaign_id&&(t.c=e.campaign_id),e.plan_id&&(t.p=e.plan_id),this.traffic_url(e.url,t)},SDK.recommendation_click_url=function(e){var t;return t={a:4,r:1},e.campaign_id&&(t.c=e.campaign_id,t.r=3),e.plan_id&&(t.p=e.plan_id),this.traffic_link_url(e.url,t)},SDK.pageview_url=function(e){return null==e&&(e={}),Shareaholic.Utils.query_string(e,this.API_ENDPOINTS.analytics_pageview)},SDK.page_tag_url=function(e){return null==e&&(e={}),Shareaholic.Utils.query_string(e,this.API_ENDPOINTS.analytics_tag)},SDK.user_tag_url=function(e){return null==e&&(e={}),Shareaholic.Utils.query_string(e,this.API_ENDPOINTS.analytics_tag)},SDK.event_url=function(e){return null==e&&(e={}),this.analytics_url(e)},SDK.analytics_url=function(e){return null==e&&(e={}),e=Shareaholic.Utils.merge_objects(e,{r:2}),Shareaholic.Utils.query_string(e,this.API_ENDPOINTS.analytics)},SDK.traffic_url=function(e,t){return null==t&&(t={}),t.u=e,t=Shareaholic.Utils.merge_objects(t,{a:1,r:1}),e.match(/^(https?:)?\/\/(traffic|go)\.(shareaholic|stageaholic|spreadaholic)\.com/)?e:Shareaholic.Utils.query_string(t,Shareaholic.Utils.force_url_scheme(this.API_ENDPOINTS.traffic,document.location.protocol.slice(0,-1)))},SDK.traffic_link_url=function(e,t){return null==t&&(t={}),t.u=e,t=Shareaholic.Utils.merge_objects(t,{a:1,r:1}),e.match(/^(https?:)?\/\/(traffic|go)\.(shareaholic|stageaholic|spreadaholic)\.com/)?e:Shareaholic.Utils.query_string(t,Shareaholic.Utils.force_url_scheme(this.API_ENDPOINTS.traffic_link,document.location.protocol.slice(0,-1)))},SDK}.call(this)}.call(this),function(){window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.prototype.Error||(window.Shareaholic.prototype.Error=function(){function e(){}return e.log_error_to_server=function(e){return alert("load image to log stack:"+e)},e.log_error_to_google=function(e){return Shareaholic.Analytics.google_track_error("Error: Javascript",""+window.location.hostname+" - "+Shareaholic.Utils.Browser.browser_name+" ("+Shareaholic.Utils.Browser.os_name+")",e)},e.report_error=function(e,t,i,n){var r,o;try{return o="object"==typeof e?e.lineNumber?this.stack_string_from_ff_error(e):e.stack?e.stack:this.stack_string_from_ie_error(e):this.stack_string_from_handler(e,t,i,n),o=Shareaholic.Utils.truncate(o,1200,{omission:"[...]"}),o+="\r\n"+window.navigator.userAgent,this.log_error_to_google(o),Shareaholic.Utils.error(o)}catch(s){r=s}},e.stack_string_from_handler=function(e,t,i,n){var r;return r=e+"\r\nat "+t+":"+i,n&&(r+=":"+n),r},e.stack_string_from_ie_error=function(e){return e.name+": "+e.message},e.stack_string_from_ff_error=function(e){return e.toString()+": "+e.stack},e.init_window_logger=function(e){var t,i;try{if(!this.window_logger_initialized)return Shareaholic.Utils.debug("Initializing window.onerror listener"),this.window_logger_initialized=!0,"function"==typeof window.onerror&&(i=window.onerror),window.onerror=function(t,n,r,o,s){var a;try{"function"==typeof i&&i()}catch(l){a=l,console.log("in old error catch"),Shareaholic.report_error(a)}return s?Shareaholic.report_error(s):Shareaholic.report_error(t,n,r,o),e?!0:void 0}}catch(n){return t=n,Shareaholic.report_error(t)}},e}(),Shareaholic.report_error=function(){return Shareaholic.prototype.Error.report_error.apply(Shareaholic.prototype.Error,arguments)})}.call(this),function(){var e,t={}.hasOwnProperty,i=function(e,i){function n(){this.constructor=e}for(var r in i)t.call(i,r)&&(e[r]=i[r]);return n.prototype=i.prototype,e.prototype=new n,e.__super__=i.prototype,e};window.Shareaholic||(window.Shareaholic=function(){}),window.Shareaholic.AnalyticPlugin.prototype.Partners||(window.Shareaholic.AnalyticPlugin.prototype.Partners=function(t){function n(){return e=n.__super__.constructor.apply(this,arguments)}return i(n,t),n.initialized=!1,n.init=function(e){var t=this;return null==e&&(e={}),Shareaholic.Utils.debug("in Partners init"),Shareaholic.dispatcher.add_once("load_publisher_configuration_complete",function(){return t.initialized?!1:(Shareaholic.Analytics.allow_analytics&&Shareaholic.publisher_configuration.data_partners_enabled!==!1&&t.include_script(),t.initialized=!0,!0)},!0)},n.include_script=function(){var e;return e={location:window.location.href},document.referrer&&(e.referrer=document.referrer),Shareaholic.SITE_ID&&(e.site=Shareaholic.SITE_ID),Shareaholic.Utils.load_script({src:Shareaholic.Utils.query_string(e,""+Shareaholic.CONTENT_MANAGEMENT_URL+"/partners.js"),id:"shareaholic-partners"})},n}(Shareaholic.Plugin))}.call(this),function(){var e,t=[].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1};window.Shareaholic||(window.Shareaholic=function(){}),(e=window.Shareaholic).ga_trackers||(e.ga_trackers={}),window.Shareaholic.Analytics||(window.Shareaholic.Analytics=function(){function e(e,t){this.site_id=e,null==t&&(t={}),this.tag_stack={user:{},page:{}},this.constructor.instances.push(this),this.__test__={prepare_arguments:o,normalize_tag_object:r,load_tracking_image:n,preparers:s,senders:l,adders:i,pushers:a}}var i,n,r,o,s,a,l;return e.OVEN_DIV_ID="shr_oven",e.TAGTYPES=["user","page"],e.instances=[],e.initialized=!1,e.initialized_legacy=!1,e.google_event_backlog={},e.allow_analytics=Shareaholic.prototype.PageInfo.allow_analytics(),e.init=function(e){var t;null==e&&(e={});try{if(Shareaholic.Utils.debug("Analytics Initialized: "+this.initialized),!this.initialized)return this.initialized=!0,Shareaholic.dispatcher.add_once("google_analytics_object_created",this.google_track_backlogged_events,!0),this.allow_analytics?(Shareaholic.Utils.debug("Analytics are enabled"),Shareaholic.Utils.debug("New Analytics Mode"),window.sa=new Shareaholic.Analytics,window.sa.send("pageview"),this.dispatcher=Shareaholic.dispatcher||new Shareaholic.Dispatcher,this.dispatcher.add_once("document_ready",this.make_cookie_sync_frame,!0),this.include_google_analytics(),Shareaholic.init_analytic_plugins()):Shareaholic.Utils.debug("Analytics are disabled")}catch(i){return t=i,Shareaholic.report_error(t)}},e.include_google_analytics=function(){return Shareaholic.Utils.debug("including Google analytics"),document.getElementById("shr-google-analytics")?void 0:Shareaholic.Utils.load_script({src:"https://google-analytics.com/ga.js",id:"shr-google-analytics",success:function(){return Shareaholic.ga_trackers["default"]=_gat._createTracker("UA-12964573-5","Shareaholic"),Shareaholic.ga_trackers.pageviews=_gat._createTracker("UA-48513475-1","Shareaholic Pageviews"),Shareaholic.ga_trackers.errors=_gat._createTracker("UA-12964573-14","Shareaholic Errors"),Shareaholic.ga_trackers.usage=_gat._createTracker("UA-12964573-15","Shareaholic Usage"),Shareaholic.Analytics.should_track_google_pageview()&&(Shareaholic.Utils.debug("Log Google pageview"),Shareaholic.ga_trackers.pageviews._setSampleRate("50"),Shareaholic.ga_trackers.pageviews._trackPageview()),Shareaholic.dispatcher.trigger("google_analytics_object_created")}})},e.create_dummy_script=function(){var e,t;return document.getElementById("shr-analytics")?void 0:(e=document.createElement("script"),e.id="shr-analytics",e.setAttribute("data-analytics-script-placeholder","true"),t=document.getElementsByTagName("script")[0],t.parentNode.insertBefore(e,t))},e.make_cookie_sync_frame=function(){var t;return document.getElementById(e.OVEN_DIV_ID)?!1:(t=document.createElement("iframe"),t.setAttribute("id",e.OVEN_DIV_ID),t.setAttribute("src",""+Shareaholic.STATIC_URL+"/analytics_frame.html"),t.style.display="none",document.body.appendChild(t))},e.prototype.set_account=function(e){return this.site_id=e},o=function(){var e,t;return e=Shareaholic.Utils.arguments_to_array(arguments),Shareaholic.Utils.is_object(e[0])?(t=e[0].hit_type,delete e[0].hit_type):t=e.shift(),{hit_type:t,args:e}},e.prototype.send=function(){var e,t,i;if(e=o.apply(this,arguments),i=l[e.hit_type],t=s[e.hit_type],i&&t)return i.call(this,t.apply(this,e.args));throw new TypeError("This is not a valid hit_type")},e.prototype.add=function(){var e,t,n;if(t=o.apply(this,arguments),e=i[t.hit_type],n=s[t.hit_type],e&&n)return e.call(this,n.apply(this,t.args));throw new TypeError("This is not a valid hit_type")},e.prototype.push=function(){var e,t,i;if(e=o.apply(this,arguments),i=a[e.hit_type],t=s[e.hit_type],i&&t)return i.call(this,t.apply(this,e.args));throw new TypeError("This is not a valid hit_type")},l={pageview:function(e){var t;return t=e.request_params,this.site_id&&(t.site_id=this.site_id),n("pageview",t)},tag:function(e){var i,o,s,a,l;if(!e.type)throw new TypeError("You must specify a tag_type");if(l=e.type,t.call(this.constructor.TAGTYPES,l)<0)throw new TypeError("This is not a valid tag type");return i=""+e.type+"_tag",(s=Shareaholic.Utils.count(e.tags))?(o={},a={},a[e.type]=e.tags,o.tags=Shareaholic.Utils.query_string(r(a)),o.tags_count=s,this.site_id&&(o.api_key=this.site_id),n(i,o)):void 0},event:function(e){var t;return t=e.request_params,n("event",t)}},i={tag:function(e){var i;if(!e.type)throw new TypeError("You must specify a tag_type");if(i=e.type,t.call(this.constructor.TAGTYPES,i)<0)throw new TypeError("This is not a valid tag type");return this.tag_stack[e.type]=Shareaholic.Utils.merge_objects(e.tags,this.tag_stack[e.type])}},a={tag:function(e){var t,i,n,r,o,s;for(i=e.type?[e.type]:this.constructor.TAGTYPES,s=[],r=0,o=i.length;o>r;r++)t=i[r],(n=this.tag_stack[t])?s.push(l.tag.call(this,{type:t,tags:n})):s.push(void 0);return s}},s={pageview:function(){var e,t,i;if(e={referrer:document.referrer},t={},Shareaholic.Utils.is_object(arguments[0]))t=arguments[0];else if(Shareaholic.Utils.is_string_or_number(arguments[0])&&arguments[1])t[arguments[0]]=arguments[1];else if(Shareaholic.Utils.is_string_or_number(arguments[0])&&!arguments[1])throw new TypeError("Incorrect argument structure");return i=Shareaholic.Utils.merge_objects(e,t),{request_params:i}},tag:function(){var e,t,i;if(e={},t={},Shareaholic.Utils.is_object(arguments[0]))if(i=arguments[0].tag_type,arguments[0].tags&&Shareaholic.Utils.is_object(arguments[0].tags))t=arguments[0].tags;else{if(!Shareaholic.Utils.is_string_or_number(arguments[0].tag_key)||!arguments[0].tag_value)throw new TypeError("Incorrect argument structure");t[arguments[0].tag_key]=arguments[0].tag_value}else Shareaholic.Utils.is_string(arguments[0])&&(i=arguments[0],Shareaholic.Utils.is_object(arguments[1])?t=arguments[1]:Shareaholic.Utils.is_string_or_number(arguments[1])&&arguments[2]&&(t[arguments[1]]=arguments[2]));return{tags:t,type:i}}},r=function(e){var t,i,n,r,o,s;n=0,i={};for(o in e){r=e[o];for(t in r)s=r[t],n++,i["key_"+n]=t,i["val_"+n]=s,i["type_"+n]=o}return i},n=function(e,t){var i;return null==t&&(t={}),i=function(){switch(e){case"pageview":return Shareaholic.SDK.pageview_url(t);case"page_tag":return Shareaholic.SDK.page_tag_url(t);case"user_tag":return Shareaholic.SDK.user_tag_url(t);case"event":return Shareaholic.SDK.event_url(t);default:throw new TypeError("This is not a valid hit_type")}}(),Shareaholic.Utils.load_image(i)},e.google_track_backlogged_events=function(){var t,i,n,r,o;Shareaholic.Utils.debug("There are events in google backlog."),r=e.google_event_backlog,o=[];for(n in r)i=r[n],i.length?o.push(function(){var e,r,o;for(o=[],e=0,r=i.length;r>e;e++)t=i[e],delete this.google_event_backlog[n],o.push(this.google_track_event.apply(this,[n].concat(t)));return o}.call(e)):o.push(void 0);return o},e.get_google_tracker=function(e){var t;return null==e&&(e="default"),null!=(t=window.Shareaholic.ga_trackers)?t[e]:void 0},e.detect_v6_js=function(){return!!(window.SHRSB_Globals||window.SHRCB_Globals||window.SHRSB_Settings||window.SHRCB_Settings)},e.should_track_google_pageview=function(){var e;return Shareaholic.Utils.debug("Analytics allowed? "+Shareaholic.Analytics.allow_analytics),Shareaholic.Utils.debug("V6 JS detected? "+Shareaholic.Analytics.detect_v6_js()),e=Shareaholic.Analytics.allow_analytics&&!Shareaholic.Analytics.detect_v6_js(),Shareaholic.Utils.debug("Should Log Google pageview? "+e),e},e.google_track_event=function(e,t,i,n,r){var o,s;return Shareaholic.Utils.debug("Google Track Event: "+t+" - "+i+", "+n+", "+r),o=this.get_google_tracker(e),o?(Shareaholic.Utils.debug("Tracker exists."),o._trackEvent.apply(o,[t,i,n,r])):(Shareaholic.Utils.debug("No tracker, pushing to backlog stack."),(s=this.google_event_backlog)[e]||(s[e]=[]),this.google_event_backlog[e].push([t,i,n,r]))},e.google_track_error=function(e,t,i,n){return Shareaholic.Utils.debug("Google Track Error"),this.google_track_event("errors",e,t,i,n)},e.google_track_usage=function(e,t,i,n){return Shareaholic.Utils.debug("Google Track Usage"),this.google_track_event("usage",e,t,i,n)},e.init_legacy=function(){var e,t,i,n;return this.initialized_legacy=!0,document.getElementById("shr-analytics")||document.getElementsByAttribute&&(e=document.getElementsByAttribute("meta","name",/shareaholic:analytics/),"disabled"!==(null!=(n=e[0])?n.getAttribute("content"):void 0)&&(t=document.createElement("script"),t.id="shr-analytics",t.type="text/javascript",t.async=!0,t.src="https://dtym7iokkjlif.cloudfront.net/dough/1.0/shareaholic-analytics.js",i=document.getElementsByTagName("script")[0],i.parentNode.insertBefore(t,i))),this.include_google_analytics()},e}.call(this),Shareaholic.Analytics.create_dummy_script(),Shareaholic.Analytics.init())}.call(this),function(){Shareaholic.templates.loading_account_panel='
{{message}}
'}.call(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}};e=sQuery,window.Shareaholic.prototype.PanelView=function(){function i(e,i,n){var r,o,s,a;return this.name=e,null==i&&(i={}),this.namespace=null!=n?n:"default",this.hide_active_view=t(this.hide_active_view,this),this.hide=t(this.hide,this),this.show=t(this.show,this),this.config=Shareaholic.Utils.merge_objects(i,{has_close_button:!Shareaholic.prototype.Core.standalone_mode(),has_footer:!0}),r=null!=(s=Shareaholic.prototype.PanelView.instances)[a=this.namespace]?(s=Shareaholic.prototype.PanelView.instances)[a=this.namespace]:s[a]={},(o=r[e])?(Shareaholic.Utils.debug("already exists"),o):(this.init(),r[e]=this)}return i.options={},i.instances={},i.panels={},i.views={},i.active_panel={},i.prototype.init=function(){var t,i,n=this;return Shareaholic.Utils.debug("in default init"),this.$panel=Shareaholic.prototype.PanelView.build_panel(this.namespace),this.$view||(this.$view=e("
",{id:this.name+"_panel_view","class":"panel-view "+(this.config.has_footer?"has-footer":"")}),this.$content=Shareaholic.prototype.Core.render_template({name:this.name,markup:this.config.markup,data:this.config.data,callback:this.config.onrendertemplate}),this.$view.append(this.$content),this.config.title&&(this.$header=e("

",{"class":"title ui-drag-handle",text:this.config.title}),this.$view.prepend(this.$header)),this.config.has_close_button&&(t=e("",{"class":"icon-cross-alt"}),this.$close_button=e("