(function(){var aa="_imgFileNameError",ba="_imgUrlTextError",ca="absolute",da="allHolder",ea="aria-expanded",fa="bgresponse",ha="chooseWidget",ia="commentBodyField",e="complete",ja="displayModeLayout",ka="displayModeNone",h="div",la="encodedSelectedId",ma="expanded",m="function",na="genericOpenIdIdentityHolder",oa="goog-zippy-collapsed",pa="goog-zippy-expanded",qa="hidden",ra="identity-type-",sa="identityHolder",ta="identityMenu",ua="input",va="keypress",wa="layout-widget-description",xa="layout-widget-title",
ya="main-status-holder",za="nameUrlIdentityHolder",Aa="no widget for ",n="none",Ba="number",Ca="object",Da="openIdIdentityHolder",Ea="openIdUriField",Fa="openIdUserNameField",Ga="postCommentSubmit",Ha="ready",Ia="rotate(-45deg)",Ja="sectionWidth",Ka="select-multiple",La="showPreview",Ma="status-message",Na="status-message-inner",Oa="subscribeButtonHolder",Pa="success",p,Qa=typeof Object.defineProperties==m?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");
a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},Ra="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,Sa=function(){Sa=function(){};Ra.Symbol||(Ra.Symbol=Ta)},Ua=0,Ta=function(a){return"jscomp_symbol_"+(a||"")+Ua++},Xa=function(){Sa();var a=Ra.Symbol.iterator;a||(a=Ra.Symbol.iterator=Ra.Symbol("iterator"));typeof Array.prototype[a]!=m&&Qa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Va(this)}});Xa=function(){}},Va=
function(a){var b=0;return Ya(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},Ya=function(a){Xa();a={next:a};a[Ra.Symbol.iterator]=function(){return this};return a},Za=Za||{},r=this,t=function(a){return void 0!==a},u=function(a,b,c){a=a.split(".");c=c||r;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&t(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},$a=function(){},ab=function(a){a.wc=void 0;a.jg=function(){return a.wc?a.wc:a.wc=new a}},bb=function(a){var b=
typeof a;if(b==Ca)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return Ca;if("[object Array]"==c||typeof a.length==Ba&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return m}else return"null";else if(b==
m&&"undefined"==typeof a.call)return Ca;return b},v=function(a){return"array"==bb(a)},cb=function(a){var b=bb(a);return"array"==b||b==Ca&&typeof a.length==Ba},w=function(a){return"string"==typeof a},db=function(a){return typeof a==Ba},eb=function(a){return bb(a)==m},fb=function(a){var b=typeof a;return b==Ca&&null!=a||b==m},gb="closure_uid_"+(1E9*Math.random()>>>0),hb=0,ib=function(a,b,c){return a.call.apply(a.bind,arguments)},jb=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,
2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},x=function(a,b,c){x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ib:jb;return x.apply(null,arguments)},kb=Date.now||function(){return+new Date},y=function(a,b){function c(){}c.prototype=b.prototype;a.h=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Dj=function(a,c,g){for(var d=Array(arguments.length-
2),f=2;f<arguments.length;f++)d[f-2]=arguments[f];return b.prototype[c].apply(a,d)}};var lb=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,lb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};y(lb,Error);lb.prototype.name="CustomError";var mb;var nb=function(a,b){for(var c=a.split("%s"),d="",f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)d+=c.shift()+f.shift();return d+c.join("%s")},ob=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")},pb=function(a){return a.replace(/\xa0|[ \t]+/g," ")},qb=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},yb=function(a,b){if(b)a=a.replace(rb,"&amp;").replace(sb,"&lt;").replace(tb,"&gt;").replace(ub,"&quot;").replace(vb,"&#39;").replace(wb,
"&#0;");else{if(!xb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(rb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(sb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(tb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ub,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(vb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(wb,"&#0;"))}return a},rb=/&/g,sb=/</g,tb=/>/g,ub=/"/g,vb=/'/g,wb=/\x00/g,xb=/[\x00&<>"']/,zb=function(a,b){return a<b?-1:a>b?1:0};var Ab=function(a,b){b.unshift(a);lb.call(this,nb.apply(null,b));b.shift()};y(Ab,lb);Ab.prototype.name="AssertionError";
var Bb=function(a,b,c,d){var f="Assertion failed";if(c)var f=f+(": "+c),g=d;else a&&(f+=": "+a,g=b);throw new Ab(""+f,g||[]);},z=function(a,b,c){a||Bb("",null,b,Array.prototype.slice.call(arguments,2));return a},Cb=function(a,b){throw new Ab("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},A=function(a,b,c){db(a)||Bb("Expected number but got %s: %s.",[bb(a),a],b,Array.prototype.slice.call(arguments,2));return a},Db=function(a,b,c){w(a)||Bb("Expected string but got %s: %s.",[bb(a),
a],b,Array.prototype.slice.call(arguments,2));return a};var Eb=Array.prototype.indexOf?function(a,b,c){z(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(w(a))return w(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Fb=Array.prototype.lastIndexOf?function(a,b,c){z(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(w(a))return w(b)&&1==
b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Gb=Array.prototype.forEach?function(a,b,c){z(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=w(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},Hb=Array.prototype.filter?function(a,b,c){z(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],g=0,k=w(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var q=k[l];b.call(c,q,l,a)&&(f[g++]=
q)}return f},Ib=Array.prototype.some?function(a,b,c){z(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=w(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},Jb=function(a,b,c){a:{for(var d=a.length,f=w(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a)){b=g;break a}b=-1}return 0>b?null:w(a)?a.charAt(b):a[b]},B=function(a,b){return 0<=Eb(a,b)},Kb=function(a){if(!v(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},
Mb=function(a,b){b=Eb(a,b);var c;(c=0<=b)&&Lb(a,b);return c},Lb=function(a,b){z(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},Nb=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Ob=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Pb=function(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var Qb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Sb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Tb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Ub=function(a){for(var b in a)return!1;return!0},Vb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Wb=function(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var g=
0;g<Vb.length;g++)c=Vb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Xb=function(a){var b=arguments.length;if(1==b&&v(arguments[0]))return Xb.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};var C;a:{var Yb=r.navigator;if(Yb){var Zb=Yb.userAgent;if(Zb){C=Zb;break a}}C=""};var ac=function(){this.Mc="";this.tf=$b},$b={};ac.prototype.toString=function(){return"SafeStyleSheet{"+this.Mc+"}"};ac.prototype.Fg=function(a){this.Mc=a;return this};var bc=function(a,b){this.width=a;this.height=b};p=bc.prototype;p.clone=function(){return new bc(this.width,this.height)};p.toString=function(){return"("+this.width+" x "+this.height+")"};p.Of=function(){return this.width*this.height};p.isEmpty=function(){return!this.Of()};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var cc=function(a){cc[" "](a);return a};cc[" "]=$a;var dc=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var ec=-1!=C.indexOf("Opera"),D=-1!=C.indexOf("Trident")||-1!=C.indexOf("MSIE"),E=-1!=C.indexOf("Edge"),F=-1!=C.indexOf("Gecko")&&!(-1!=C.toLowerCase().indexOf("webkit")&&-1==C.indexOf("Edge"))&&!(-1!=C.indexOf("Trident")||-1!=C.indexOf("MSIE"))&&-1==C.indexOf("Edge"),G=-1!=C.toLowerCase().indexOf("webkit")&&-1==C.indexOf("Edge"),H=-1!=C.indexOf("Macintosh"),fc=function(){var a=r.document;return a?a.documentMode:void 0},gc;
a:{var hc="",ic=function(){var a=C;if(F)return/rv\:([^\);]+)(\)|;)/.exec(a);if(E)return/Edge\/([\d\.]+)/.exec(a);if(D)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(G)return/WebKit\/(\S+)/.exec(a);if(ec)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ic&&(hc=ic?ic[1]:"");if(D){var jc=fc();if(null!=jc&&jc>parseFloat(hc)){gc=String(jc);break a}}gc=hc}
var kc=gc,lc={},I=function(a){return dc(lc,a,function(){for(var b=0,c=qb(String(kc)).split("."),d=qb(String(a)).split("."),f=Math.max(c.length,d.length),g=0;0==b&&g<f;g++){var k=c[g]||"",l=d[g]||"";do{k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==k[0].length&&0==l[0].length)break;b=zb(0==k[1].length?0:parseInt(k[1],10),0==l[1].length?0:parseInt(l[1],10))||zb(0==k[2].length,0==l[2].length)||zb(k[2],l[2]);k=k[3];l=l[3]}while(0==b)}return 0<=b})},mc;
var nc=r.document;mc=nc&&D?fc()||("CSS1Compat"==nc.compatMode?parseInt(kc,10):5):void 0;var oc=!D||9<=Number(mc);!F&&!D||D&&9<=Number(mc)||F&&I("1.9.1");D&&I("9");var rc=function(a){return a?new pc(qc(a)):mb||(mb=new pc)},J=function(a){return w(a)?document.getElementById(a):a},tc=function(a,b){Qb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:sc.hasOwnProperty(d)?a.setAttribute(sc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},sc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",
role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},vc=function(a,b,c){return uc(document,arguments)},uc=function(a,b){var c=String(b[0]),d=b[1];if(!oc&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',yb(d.name),'"');if(d.type){c.push(' type="',yb(d.type),'"');var f={};Wb(f,d);delete f.type;d=f}c.push(">");c=c.join("")}c=a.createElement(c);d&&(w(d)?c.className=d:v(d)?c.className=d.join(" "):tc(c,d));2<b.length&&wc(a,c,b,2);return c},wc=function(a,b,c,d){function f(c){c&&
b.appendChild(w(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];!cb(g)||fb(g)&&0<g.nodeType?f(g):Gb(xc(g)?Ob(g):g,f)}},yc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},qc=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},xc=function(a){if(a&&typeof a.length==Ba){if(fb(a))return typeof a.item==m||"string"==typeof a.item;if(eb(a))return typeof a.item==m}return!1},pc=function(a){this.oa=a||r.document||document};p=pc.prototype;
p.Pa=function(a){return w(a)?this.oa.getElementById(a):a};p.getElementsByTagName=function(a,b){return(b||this.oa).getElementsByTagName(String(a))};
p.Jd=function(a,b,c){c=c||this.oa;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},f=0,g=0,k;k=c[g];g++)a==k.nodeName&&(d[f++]=k);d.length=f;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(g=f=0;k=c[g];g++)a=k.className,typeof a.split==m&&B(a.split(/\s+/),b)&&(d[f++]=k);d.length=f;b=d}else b=c;return b};
p.ic=function(a,b,c){return uc(this.oa,arguments)};p.createElement=function(a){return this.oa.createElement(String(a))};p.createTextNode=function(a){return this.oa.createTextNode(String(a))};p.appendChild=function(a,b){a.appendChild(b)};p.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var K=function(){this.wa=this.wa;this.Lb=this.Lb};K.prototype.wa=!1;K.prototype.na=function(){this.wa||(this.wa=!0,this.i())};K.prototype.i=function(){if(this.Lb)for(;this.Lb.length;)this.Lb.shift()()};var zc=function(a){a&&typeof a.na==m&&a.na()};var L=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ta=!1;this.Be=!0};L.prototype.stopPropagation=function(){this.ta=!0};L.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Be=!1};var Ac=!D||9<=Number(mc),Bc=D&&!I("9");!G||I("528");F&&I("1.9b")||D&&I("8")||ec&&I("9.5")||G&&I("528");F&&!I("8")||D&&I("9");var M=function(a,b){L.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.ya=this.state=null;a&&this.Wd(a,b)};y(M,L);
M.prototype.Wd=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(F){var f;a:{try{cc(b.nodeName);f=!0;break a}catch(g){}f=!1}f||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=G||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=G||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c==va?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.ya=a;a.defaultPrevented&&this.preventDefault()};
M.prototype.stopPropagation=function(){M.h.stopPropagation.call(this);this.ya.stopPropagation?this.ya.stopPropagation():this.ya.cancelBubble=!0};M.prototype.preventDefault=function(){M.h.preventDefault.call(this);var a=this.ya;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Bc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Cc="closure_listenable_"+(1E6*Math.random()|0),Dc=function(a){return!(!a||!a[Cc])},Ec=0;var Fc=function(a,b,c,d,f,g){this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!f;this.xb=g;this.key=++Ec;this.Ga=this.lb=!1};Fc.prototype.Jb=function(){this.Ga=!0;this.xb=this.src=this.proxy=this.listener=null};var Gc=function(a){this.src=a;this.o={};this.fb=0};p=Gc.prototype;p.add=function(a,b,c,d,f){var g=a.toString();a=this.o[g];a||(a=this.o[g]=[],this.fb++);var k=Hc(a,b,d,f);-1<k?(b=a[k],c||(b.lb=!1)):(b=new Fc(b,null,this.src,g,!!d,f),b.lb=c,a.push(b));return b};p.remove=function(a,b,c,d){a=a.toString();if(!(a in this.o))return!1;var f=this.o[a];b=Hc(f,b,c,d);return-1<b?(f[b].Jb(),Lb(f,b),0==f.length&&(delete this.o[a],this.fb--),!0):!1};
p.we=function(a){var b=a.type;if(!(b in this.o))return!1;var c=Mb(this.o[b],a);c&&(a.Jb(),0==this.o[b].length&&(delete this.o[b],this.fb--));return c};p.Nb=function(a){a=a&&a.toString();var b=0,c;for(c in this.o)if(!a||c==a){for(var d=this.o[c],f=0;f<d.length;f++)++b,d[f].Jb();delete this.o[c];this.fb--}return b};p.Qa=function(a,b,c,d){a=this.o[a.toString()];var f=-1;a&&(f=Hc(a,b,c,d));return-1<f?a[f]:null};
var Hc=function(a,b,c,d){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Ga&&g.listener==b&&g.capture==!!c&&g.xb==d)return f}return-1};var Ic="closure_lm_"+(1E6*Math.random()|0),Jc={},Kc=0,N=function(a,b,c,d,f){if(v(b)){for(var g=0;g<b.length;g++)N(a,b[g],c,d,f);return null}c=Lc(c);return Dc(a)?a.Fa(b,c,d,f):Mc(a,b,c,!1,d,f)},Mc=function(a,b,c,d,f,g){if(!b)throw Error("Invalid event type");var k=!!f,l=Nc(a);l||(a[Ic]=l=new Gc(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=Oc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,k);else if(a.attachEvent)a.attachEvent(Pc(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
Kc++;return c},Oc=function(){var a=Qc,b=Ac?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Rc=function(a,b,c,d,f){if(v(b)){for(var g=0;g<b.length;g++)Rc(a,b[g],c,d,f);return null}c=Lc(c);return Dc(a)?a.Cc(b,c,d,f):Mc(a,b,c,!0,d,f)},Sc=function(a,b,c,d,f){if(v(b)){for(var g=0;g<b.length;g++)Sc(a,b[g],c,d,f);return null}c=Lc(c);if(Dc(a))return a.Sb(b,c,d,f);if(!a)return!1;if(a=Nc(a))if(b=a.Qa(b,c,!!d,f))return O(b);return!1},O=function(a){if(db(a)||
!a||a.Ga)return!1;var b=a.src;if(Dc(b))return b.Te(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(Pc(c),d);Kc--;(c=Nc(b))?(c.we(a),0==c.fb&&(c.src=null,b[Ic]=null)):a.Jb();return!0},Tc=function(a,b){if(!a)return 0;if(Dc(a))return a.ve(b);a=Nc(a);if(!a)return 0;var c=0;b=b&&b.toString();for(var d in a.o)if(!b||d==b)for(var f=a.o[d].concat(),g=0;g<f.length;++g)O(f[g])&&++c;return c},Pc=function(a){return a in Jc?Jc[a]:Jc[a]="on"+a},
Vc=function(a,b,c,d){var f=!0;if(a=Nc(a))if(b=a.o[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.Ga&&(g=Uc(g,d),f=f&&!1!==g)}return f},Uc=function(a,b){var c=a.listener,d=a.xb||a.src;a.lb&&O(a);return c.call(d,b)},Qc=function(a,b){if(a.Ga)return!0;if(!Ac){if(!b)a:{b=["window","event"];for(var c=r,d;d=b.shift();)if(null!=c[d])c=c[d];else{b=null;break a}b=c}d=b;b=new M(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var f=!1;if(0==d.keyCode)try{d.keyCode=
-1;break a}catch(k){f=!0}if(f||void 0==d.returnValue)d.returnValue=!0}d=[];for(f=b.currentTarget;f;f=f.parentNode)d.push(f);a=a.type;for(f=d.length-1;!b.ta&&0<=f;f--){b.currentTarget=d[f];var g=Vc(d[f],a,!0,b),c=c&&g}for(f=0;!b.ta&&f<d.length;f++)b.currentTarget=d[f],g=Vc(d[f],a,!1,b),c=c&&g}return c}return Uc(a,new M(b,this))},Nc=function(a){a=a[Ic];return a instanceof Gc?a:null},Wc="__closure_events_fn_"+(1E9*Math.random()>>>0),Lc=function(a){z(a,"Listener can not be null.");if(eb(a))return a;z(a.handleEvent,
"An object listener must have handleEvent method.");a[Wc]||(a[Wc]=function(b){return a.handleEvent(b)});return a[Wc]};var P=function(){K.call(this);this.W=new Gc(this);this.Hf=this;this.Jc=null};y(P,K);P.prototype[Cc]=!0;p=P.prototype;p.addEventListener=function(a,b,c,d){N(this,a,b,c,d)};p.removeEventListener=function(a,b,c,d){Sc(this,a,b,c,d)};
p.dispatchEvent=function(a){this.pd();var b,c=this.Jc;if(c){b=[];for(var d=1;c;c=c.Jc)b.push(c),z(1E3>++d,"infinite loop")}c=this.Hf;d=a.type||a;if(w(a))a=new L(a,c);else if(a instanceof L)a.target=a.target||c;else{var f=a;a=new L(d,c);Wb(a,f)}var f=!0,g;if(b)for(var k=b.length-1;!a.ta&&0<=k;k--)g=a.currentTarget=b[k],f=g.sb(d,!0,a)&&f;a.ta||(g=a.currentTarget=c,f=g.sb(d,!0,a)&&f,a.ta||(f=g.sb(d,!1,a)&&f));if(b)for(k=0;!a.ta&&k<b.length;k++)g=a.currentTarget=b[k],f=g.sb(d,!1,a)&&f;return f};
p.i=function(){P.h.i.call(this);this.ve();this.Jc=null};p.Fa=function(a,b,c,d){this.pd();return this.W.add(String(a),b,!1,c,d)};p.Cc=function(a,b,c,d){return this.W.add(String(a),b,!0,c,d)};p.Sb=function(a,b,c,d){return this.W.remove(String(a),b,c,d)};p.Te=function(a){return this.W.we(a)};p.ve=function(a){return this.W?this.W.Nb(a):0};
p.sb=function(a,b,c){a=this.W.o[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.Ga&&g.capture==b){var k=g.listener,l=g.xb||g.src;g.lb&&this.Te(g);d=!1!==k.call(l,c)&&d}}return d&&0!=c.Be};p.Qa=function(a,b,c,d){return this.W.Qa(String(a),b,c,d)};p.pd=function(){z(this.W,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Xc=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},Yc=function(a){a=String(a);if(Xc(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};var Zc=function(a){return a};var $c="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},ad=function(){};ad.prototype.next=function(){throw $c;};ad.prototype.bc=function(){return this};var bd=function(a,b){this.l={};this.c=[];this.gb=this.b=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};p=bd.prototype;p.s=function(){return this.b};p.u=function(){this.ob();for(var a=[],b=0;b<this.c.length;b++)a.push(this.l[this.c[b]]);return a};p.M=function(){this.ob();return this.c.concat()};p.ma=function(a){return cd(this.l,a)};p.isEmpty=function(){return 0==this.b};
p.clear=function(){this.l={};this.gb=this.b=this.c.length=0};p.remove=function(a){return cd(this.l,a)?(delete this.l[a],this.b--,this.gb++,this.c.length>2*this.b&&this.ob(),!0):!1};p.ob=function(){if(this.b!=this.c.length){for(var a=0,b=0;a<this.c.length;){var c=this.c[a];cd(this.l,c)&&(this.c[b++]=c);a++}this.c.length=b}if(this.b!=this.c.length){for(var d={},b=a=0;a<this.c.length;)c=this.c[a],cd(d,c)||(this.c[b++]=c,d[c]=1),a++;this.c.length=b}};
p.get=function(a,b){return cd(this.l,a)?this.l[a]:b};p.set=function(a,b){cd(this.l,a)||(this.b++,this.c.push(a),this.gb++);this.l[a]=b};p.addAll=function(a){var b;a instanceof bd?(b=a.M(),a=a.u()):(b=Sb(a),a=Rb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};p.forEach=function(a,b){for(var c=this.M(),d=0;d<c.length;d++){var f=c[d],g=this.get(f);a.call(b,g,f,this)}};p.clone=function(){return new bd(this)};
p.bc=function(a){this.ob();var b=0,c=this.gb,d=this,f=new ad;f.next=function(){if(c!=d.gb)throw Error("The map has changed since the iterator was created");if(b>=d.c.length)throw $c;var f=d.c[b++];return a?f:d.l[f]};return f};var cd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var dd=function(a){if(a.u&&typeof a.u==m)return a.u();if(w(a))return a.split("");if(cb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Rb(a)},ed=function(a,b,c){if(a.forEach&&typeof a.forEach==m)a.forEach(b,c);else if(cb(a)||w(a))Gb(a,b,c);else{var d;if(a.M&&typeof a.M==m)d=a.M();else if(a.u&&typeof a.u==m)d=void 0;else if(cb(a)||w(a)){d=[];for(var f=a.length,g=0;g<f;g++)d.push(g)}else d=Sb(a);for(var f=dd(a),g=f.length,k=0;k<g;k++)b.call(c,f[k],d&&d[k],a)}};var fd=function(a){this.l=new bd;a&&this.addAll(a)},gd=function(a){var b=typeof a;return b==Ca&&a||b==m?"o"+(a[gb]||(a[gb]=++hb)):b.substr(0,1)+a};p=fd.prototype;p.s=function(){return this.l.s()};p.add=function(a){this.l.set(gd(a),a)};p.addAll=function(a){a=dd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};p.Nb=function(a){a=dd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};p.remove=function(a){return this.l.remove(gd(a))};p.clear=function(){this.l.clear()};p.isEmpty=function(){return this.l.isEmpty()};
p.contains=function(a){return this.l.ma(gd(a))};p.u=function(){return this.l.u()};p.clone=function(){return new fd(this)};p.bc=function(){return this.l.bc(!1)};var hd=function(a,b,c){if(eb(a))c&&(a=x(a,c));else if(a&&typeof a.handleEvent==m)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var id=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,jd=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),f,g=null;0<=d?(f=a[c].substring(0,d),g=a[c].substring(d+1)):f=a[c];b(f,g?decodeURIComponent(g.replace(/\+/g," ")):"")}}};var kd=function(){};kd.prototype.vd=null;kd.prototype.Od=function(){return this.vd||(this.vd=this.Ig())};var ld,md=function(){};y(md,kd);md.prototype.zd=function(){var a=this.Pd();return a?new ActiveXObject(a):new XMLHttpRequest};md.prototype.Ig=function(){var a={};this.Pd()&&(a[0]=!0,a[1]=!0);return a};
md.prototype.Pd=function(){if(!this.Ud&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.Ud=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.Ud};ld=new md;var Q=function(a){P.call(this);this.headers=new bd;this.Xb=a||null;this.ca=!1;this.Wb=this.a=null;this.Bc="";this.Ea=0;this.qa=this.vc=this.Ab=this.nc=!1;this.ua=0;this.Rb=null;this.Ha="";this.Vc=this.uh=this.ba=!1};y(Q,P);var nd=/^https?$/i,od=["POST","PUT"],pd=[],qd=function(a,b,c,d,f,g,k){var l=new Q;pd.push(l);b&&l.Fa(e,b);l.Cc(Ha,l.Sf);g&&l.Qc(g);k&&l.Rc(k);l.send(a,c,d,f);return l};p=Q.prototype;p.Sf=function(){this.na();Mb(pd,this)};p.Qc=function(a){this.ua=Math.max(0,a)};
p.Ch=function(a){this.Ha=a};p.Rc=function(a){this.ba=a};
p.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Bc+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Bc=a;this.Ea=0;this.nc=!1;this.ca=!0;this.a=this.Wf();this.Wb=this.Xb?this.Xb.Od():ld.Od();this.a.onreadystatechange=x(this.qe,this);this.uh&&"onprogress"in this.a&&(this.a.onprogress=x(function(a){this.oe(a,!0)},this),this.a.upload&&(this.a.upload.onprogress=x(this.oe,this)));try{this.vc=!0,this.a.open(b,String(a),!0),this.vc=!1}catch(g){this.Hd(5,
g);return}a=c||"";var f=this.headers.clone();d&&ed(d,function(a,b){f.set(b,a)});d=Jb(f.M(),rd);c=r.FormData&&a instanceof r.FormData;!B(od,b)||d||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.a.setRequestHeader(b,a)},this);this.Ha&&(this.a.responseType=this.Ha);"withCredentials"in this.a&&this.a.withCredentials!==this.ba&&(this.a.withCredentials=this.ba);try{this.wd(),0<this.ua&&((this.Vc=sd(this.a))?(this.a.timeout=this.ua,this.a.ontimeout=
x(this.Re,this)):this.Rb=hd(this.Re,this.ua,this)),this.Ab=!0,this.a.send(a),this.Ab=!1}catch(g){this.Hd(5,g)}};var sd=function(a){return D&&I(9)&&db(a.timeout)&&t(a.ontimeout)},rd=function(a){return"content-type"==a.toLowerCase()};p=Q.prototype;p.Wf=function(){return this.Xb?this.Xb.zd():ld.zd()};p.Re=function(){"undefined"!=typeof Za&&this.a&&(this.Ea=8,this.dispatchEvent("timeout"),this.abort(8))};p.Hd=function(a){this.ca=!1;this.a&&(this.qa=!0,this.a.abort(),this.qa=!1);this.Ea=a;this.Ed();this.nb()};
p.Ed=function(){this.nc||(this.nc=!0,this.dispatchEvent(e),this.dispatchEvent("error"))};p.abort=function(a){this.a&&this.ca&&(this.ca=!1,this.qa=!0,this.a.abort(),this.qa=!1,this.Ea=a||7,this.dispatchEvent(e),this.dispatchEvent("abort"),this.nb())};p.i=function(){this.a&&(this.ca&&(this.ca=!1,this.qa=!0,this.a.abort(),this.qa=!1),this.nb(!0));Q.h.i.call(this)};p.qe=function(){this.wa||(this.vc||this.Ab||this.qa?this.pe():this.oh())};p.oh=function(){this.pe()};
p.pe=function(){if(this.ca&&"undefined"!=typeof Za&&(!this.Wb[1]||4!=this.vb()||2!=this.getStatus()))if(this.Ab&&4==this.vb())hd(this.qe,0,this);else if(this.dispatchEvent("readystatechange"),this.Kg()){this.ca=!1;try{this.Wa()?(this.dispatchEvent(e),this.dispatchEvent(Pa)):(this.Ea=6,this.Ed())}finally{this.nb()}}};
p.oe=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(td(a,"progress"));this.dispatchEvent(td(a,b?"downloadprogress":"uploadprogress"))};var td=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};p=Q.prototype;p.nb=function(a){if(this.a){this.wd();var b=this.a,c=this.Wb[0]?$a:null;this.Wb=this.a=null;a||this.dispatchEvent(Ha);try{b.onreadystatechange=c}catch(d){}}};
p.wd=function(){this.a&&this.Vc&&(this.a.ontimeout=null);db(this.Rb)&&(r.clearTimeout(this.Rb),this.Rb=null)};p.Cb=function(){return!!this.a};p.Kg=function(){return 4==this.vb()};p.Wa=function(){var a=this.getStatus(),b;a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:b=!0;break a;default:b=!1}return b||0===a&&!this.Lg()};
p.Lg=function(){var a=String(this.Bc).match(id)[1]||null;!a&&r.self&&r.self.location&&(a=r.self.location.protocol,a=a.substr(0,a.length-1));return nd.test(a?a.toLowerCase():"")};p.vb=function(){return this.a?this.a.readyState:0};p.getStatus=function(){try{return 2<this.vb()?this.a.status:-1}catch(a){return-1}};p.og=function(){try{return this.a?this.a.responseText:""}catch(a){return""}};p.Qd=function(a){if(this.a){var b=this.a.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return Yc(b)}};
p.ng=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.Ha){case "":case "text":return this.a.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}return null}catch(a){return null}};var ud=function(){};ud.prototype.S=function(){return"NONE"};ud.prototype.N=function(){return null};var vd=function(a){this.label=a};y(vd,ud);vd.prototype.A=function(){return this.label};var R=function(a,b){this.label=b;this.value=a.S();this.Y=a};y(R,ud);R.prototype.A=function(){return this.label};R.prototype.S=function(){return this.value};R.prototype.encode=function(){return this.Y.encode()+"="};R.prototype.N=function(){return new wd(this)};var S=function(){};y(S,ud);S.prototype.encode=function(){return encodeURIComponent(this.S())};S.prototype.N=function(){return null};var xd=function(a){R.call(this,a,a.A())};y(xd,R);var yd=function(){};y(yd,S);yd.prototype.A=function(){return"Anonymous"};yd.prototype.S=function(){return"ANON"};yd.prototype.decode=function(){return new xd(this)};var zd=function(a,b){this.pb=this.Wc=this.Ia="";this.Mb=null;this.tb=this.se="";this.G=this.Mg=!1;var c;a instanceof zd?(this.G=t(b)?b:a.G,this.Le(a.Ia),this.Pe(a.Wc),this.Fe(a.pb),this.Je(a.Mb),this.setPath(a.getPath()),this.Ke(a.ha.clone()),this.He(a.tb)):a&&(c=String(a).match(id))?(this.G=!!b,this.Le(c[1]||"",!0),this.Pe(c[2]||"",!0),this.Fe(c[3]||"",!0),this.Je(c[4]),this.setPath(c[5]||"",!0),this.Ke(c[6]||"",!0),this.He(c[7]||"",!0)):(this.G=!!b,this.ha=new Ad(null,null,this.G))};p=zd.prototype;
p.toString=function(){var a=[],b=this.Ia;b&&a.push(Bd(b,Cd,!0),":");var c=this.pb;if(c||"file"==b)a.push("//"),(b=this.Wc)&&a.push(Bd(b,Cd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Mb,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ag()&&"/"!=c.charAt(0)&&a.push("/"),a.push(Bd(c,"/"==c.charAt(0)?Dd:Ed,!0));(c=this.hg())&&a.push("?",c);(c=this.tb)&&a.push("#",Bd(c,Fd));return a.join("")};p.clone=function(){return new zd(this)};
p.Le=function(a,b){this.fa();if(this.Ia=b?Gd(a,!0):a)this.Ia=this.Ia.replace(/:$/,"");return this};p.Pe=function(a,b){this.fa();this.Wc=b?Gd(a):a;return this};p.Fe=function(a,b){this.fa();this.pb=b?Gd(a,!0):a;return this};p.Ag=function(){return!!this.pb};p.Je=function(a){this.fa();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.Mb=a}else this.Mb=null;return this};p.getPath=function(){return this.se};p.setPath=function(a,b){this.fa();this.se=b?Gd(a,!0):a;return this};
p.Ke=function(a,b){this.fa();a instanceof Ad?(this.ha=a,this.ha.Pc(this.G)):(b||(a=Bd(a,Hd)),this.ha=new Ad(a,null,this.G));return this};p.hg=function(){return this.ha.toString()};p.Qb=function(a,b){this.fa();this.ha.set(a,b);return this};p.He=function(a,b){this.fa();this.tb=b?Gd(a):a;return this};p.fa=function(){if(this.Mg)throw Error("Tried to modify a read-only Uri");};p.Pc=function(a){this.G=a;this.ha&&this.ha.Pc(a);return this};
var Gd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Bd=function(a,b,c){return w(a)?(a=encodeURI(a).replace(b,Id),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Id=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Cd=/[#\/\?@]/g,Ed=/[\#\?:]/g,Dd=/[\#\?]/g,Hd=/[\#\?@]/g,Fd=/#/g,Ad=function(a,b,c){this.b=this.g=null;this.ea=a||null;this.G=!!c};p=Ad.prototype;
p.V=function(){if(!this.g&&(this.g=new bd,this.b=0,this.ea)){var a=this;jd(this.ea,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)})}};p.s=function(){this.V();return this.b};p.add=function(a,b){this.V();this.Da();a=this.Aa(a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.b=A(this.b)+1;return this};p.remove=function(a){this.V();a=this.Aa(a);return this.g.ma(a)?(this.Da(),this.b=A(this.b)-this.g.get(a).length,this.g.remove(a)):!1};
p.clear=function(){this.Da();this.g=null;this.b=0};p.isEmpty=function(){this.V();return 0==this.b};p.ma=function(a){this.V();a=this.Aa(a);return this.g.ma(a)};p.M=function(){this.V();for(var a=this.g.u(),b=this.g.M(),c=[],d=0;d<b.length;d++)for(var f=a[d],g=0;g<f.length;g++)c.push(b[d]);return c};p.u=function(a){this.V();var b=[];if(w(a))this.ma(a)&&(b=Nb(b,this.g.get(this.Aa(a))));else{a=this.g.u();for(var c=0;c<a.length;c++)b=Nb(b,a[c])}return b};
p.set=function(a,b){this.V();this.Da();a=this.Aa(a);this.ma(a)&&(this.b=A(this.b)-this.g.get(a).length);this.g.set(a,[b]);this.b=A(this.b)+1;return this};p.get=function(a,b){a=a?this.u(a):[];return 0<a.length?String(a[0]):b};p.setValues=function(a,b){this.remove(a);0<b.length&&(this.Da(),this.g.set(this.Aa(a),Ob(b)),this.b=A(this.b)+b.length)};
p.toString=function(){if(this.ea)return this.ea;if(!this.g)return"";for(var a=[],b=this.g.M(),c=0;c<b.length;c++)for(var d=b[c],f=encodeURIComponent(String(d)),d=this.u(d),g=0;g<d.length;g++){var k=f;""!==d[g]&&(k+="="+encodeURIComponent(String(d[g])));a.push(k)}return this.ea=a.join("&")};p.Da=function(){this.ea=null};p.clone=function(){var a=new Ad;a.ea=this.ea;this.g&&(a.g=this.g.clone(),a.b=this.b);return a};p.Aa=function(a){a=String(a);this.G&&(a=a.toLowerCase());return a};
p.Pc=function(a){a&&!this.G&&(this.V(),this.Da(),this.g.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.setValues(b,a))},this));this.G=a};var Jd="";var Kd=function(){"loading"!=document.readyState?this.Xd():N(window,"load",this.Xd)};Kd.prototype.Xd=function(){var a;a=Array.prototype.slice.call(document.getElementsByTagName("link"),0);Xa();var b=a[Symbol.iterator];a=b?b.call(a):Va(a);for(b=a.next();!b.done;b=a.next())b=b.value,"true"==b.getAttribute("data-async-css")&&b.getAttribute("media")==n&&b.setAttribute("media","all")};var Ld=function(a){if(a.classList)return a.classList;a=a.className;return w(a)&&a.match(/\S+/g)||[]},Md=function(a,b){return a.classList?a.classList.contains(b):B(Ld(a),b)},Nd=function(a,b){a.classList?a.classList.add(b):Md(a,b)||(a.className+=0<a.className.length?" "+b:b)},Od=function(a,b){a.classList?a.classList.remove(b):Md(a,b)&&(a.className=Hb(Ld(a),function(a){return a!=b}).join(" "))};var Qd=function(a){Pd();return(new ac).Fg(a)},Pd=$a;var Rd=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=G&&!b&&!c;if((!t(b)||d)&&a.getBoundingClientRect){var f;a:{try{f=a.getBoundingClientRect()}catch(g){f={left:0,top:0,right:0,bottom:0};break a}D&&a.ownerDocument.body&&(a=a.ownerDocument,f.left-=a.documentElement.clientLeft+a.body.clientLeft,f.top-=a.documentElement.clientTop+a.body.clientTop)}return new bc(f.right-f.left,f.bottom-f.top)}return new bc(b,c)},Td=function(a,b){b=rc(b);var c,d=b.oa;D&&d.createStyleSheet?(c=d.createStyleSheet(),
Sd(c,a)):(d=b.Jd("HEAD")[0],d||(c=b.Jd("BODY")[0],d=b.ic("HEAD"),c.parentNode.insertBefore(d,c)),c=b.ic("STYLE"),Sd(c,a),b.appendChild(d,c));return c},Sd=function(a,b){b instanceof ac&&b.constructor===ac&&b.tf===$b?b=b.Mc:(Cb("expected object of type SafeStyleSheet, got '"+b+"' of type "+bb(b)),b="type_error:SafeStyleSheet");D&&t(a.cssText)?a.cssText=b:a.innerHTML=b};/*

 CC0 1.0 Universal License
 Public Domain Dedication

 The person(s) who associated a work with this deed has dedicated the work to
 the public domain by waiving all of his or her rights to the work worldwide
 under copyright law, including all related and neighboring rights, to the
 extent allowed by law.

 You can copy, modify, distribute and perform the work, even for commercial
 purposes, all without asking permission.

 In no way are the patent or trademark rights of any person affected by CC0,
 nor are the rights that other persons may have in the work or in how the work
 is used, such as publicity or privacy rights.

 Unless expressly stated otherwise, the person(s) who associated a work with
 this deed makes no warranties about the work, and disclaims liability for all
 uses of the work, to the fullest extent permitted by applicable law.

 When using or citing the work, you should not imply endorsement by the author
 or the affirmer.

 This is a human-readable summary of the Legal Code (read the full text).
 svg4everybody v2.0.3 | github.com/jonathantneal/svg4everybody */
var Ud=function(a){function b(a,b){if(b){var c=document.createDocumentFragment(),d=!a.getAttribute("viewBox")&&b.getAttribute("viewBox");d&&a.setAttribute("viewBox",d);for(b=b.cloneNode(!0);b.childNodes.length;)c.appendChild(b.firstChild);a.appendChild(c)}}function c(a){a.onreadystatechange=function(){if(4===a.readyState){var c=a.Gf;c||(c=a.Gf=document.implementation.createHTMLDocument(""),c.body.innerHTML=a.responseText,a.jd={});a.kd.splice(0).map(function(d){var f=a.jd[d.id];f||(f=a.jd[d.id]=c.getElementById(d.id));
b(d.Gh,f)})}};a.onreadystatechange()}(function(a){function d(){for(var a=0;a<be.length;){var f=be[a],l=f.parentNode;if(l&&/svg/i.test(l.nodeName)){var q=f.getAttribute("xlink:href");if(g&&(!k.Jh||k.Jh(q,l,f)))if(l.removeChild(f),q=q.split("#"),f=q.shift(),q=q.join("#"),f.length){var ga=Wa[f];ga||(ga=Wa[f]=new XMLHttpRequest,ga.open("GET",f),ga.send(),ga.kd=[]);ga.kd.push({Gh:l,id:q});c(ga)}else b(l,document.getElementById(q))}else++a}window.requestAnimationFrame&&window.requestAnimationFrame(d)||
setTimeout(d,67)}var g,k=Object(a);a=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/;var l=/\bAppleWebKit\/(\d+)\b/,q=/\bEdge\/12\.(\d+)\b/;g="polyfill"in k?k.Fj:a.test(navigator.userAgent)||10547>(navigator.userAgent.match(q)||[])[1]||537>(navigator.userAgent.match(l)||[])[1];var Wa={},be=document.getElementsByTagName("use");g&&d()})(a)};var Vd=function(a){return/^[A-Za-z0-9]+$/.test(a)||/^#[0-9A-Fa-f]{3}$/.test(a)||/^#[0-9A-Fa-f]{6}$/.test(a)||/^rgb *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)||/^rgba *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)},Wd=function(a){a=a.split(",");for(var b=0;b<a.length;b++){var c=a[b],c=qb(c);if(!(/^[- A-Za-z0-9]*$/.test(c)||/^"[- A-Za-z0-9]*"$/.test(c)||/^'[- A-Za-z0-9]*'$/.test(c)))return!1}return!0},Xd=function(){if(window.parent&&window.parent.postMessage){var a=
document.getElementById("previewHolder"),b=0;if(a){b:{b=qc(a);if(b.defaultView&&b.defaultView.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.display||b.getPropertyValue("display")||"";break b}b=""}if((b||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.style.display)!=n)a=Rd(a);else{var b=a.style,c=b.display,d=b.visibility,f=b.position;b.visibility=qa;b.position=ca;b.display="inline";a=Rd(a);b.display=c;b.position=f;b.visibility=d}b=a.height}b=Math.max(b,document.body.scrollHeight);
window.parent.postMessage("set-comment-editor-height "+(b||230)+"px","*")}},Yd=function(){var a=document.getElementById(ia),b=document.getElementById(Ga),c=document.getElementById("postCommentPreview"),d=function(){b&&(b.disabled=""==a.value);c&&(c.disabled=""==a.value)};a&&"oninput"in a&&(d(null),N(a,ua,d))},Zd=function(a){var b="";D&&(b+=".previewMode .postCommentButtonHolder { padding-top: 22px; }\n");a=(new zd(a)).tb;if(0!=a.length){a=decodeURIComponent(a);var c=Yc(a);if(c&&c.color){a=pb(ob(c.color));
var d=pb(ob(c.unvisitedLinkColor)),c=pb(ob(c.fontFamily));Vd(a)&&Vd(d)&&Wd(c)&&(b=b+("body { color: "+a+";\nfont-family: "+c+";}\n")+("a:link, a:visited, a:active, a:hover { color: "+d+";}\n"))}}Td(Qd(b),void 0);setTimeout(Xd,100);var f=J(da);if((b=J(ia))&&f){var g=!1;N(b,"focus",function(){g||(g=!0,Od(f,"compact"),Xd())})}Ud();new Kd};var T=function(a){a=J(a);var b=a.nodeName.toLowerCase();a.style.display="span"==b||"img"==b||"a"==b||b==ua||"select"==b?"inline":"block"},U=function(a){J(a).style.display=n};var V=function(a,b,c){var d;c&&U(ya);switch(a){case 0:a=d="captcha-error";break;case 1:a=d="id-error";break;case 2:case 3:case 4:a="main-error";d="main-error-holder";break;case 5:a=d="nameUrlDialogErrorHolder";break;case 6:a=d="openIdDialogErrorHolder";break;case 7:a=d="genericOpenIdDialogErrorHolder";break;default:throw Error("internal error in show message");}c?(J(a).innerHTML=b,T(d),J(ia).className="commentBody-err"):(yc(J(a)),U(d));Xd()},$d=function(a){V(3,null,!1);J("main-status").innerHTML=
a;T(ya);Xd()};var ae=function(){};ae.prototype.Fh=function(){U(ta);J(ia).disabled=!0;J(Ga).disabled=!0};ae.prototype.Bg=function(){T(ta);J(ia).disabled=!1;J(Ga).disabled=!1};var wd=function(a){this.m=a};y(wd,ae);p=wd.prototype;p.ra=function(){return!1};p.ia=function(){if(!this.ra())throw Error("Trying to show a non-editable identity");this.Fh();T(sa)};p.Eb=function(){return!0};p.Sc=function(){if(!this.ra())throw Error("Trying to show edit button for a non-editable identity");T("editButton")};p.Za=function(){};p.bb=function(){};p.aa=function(){U(sa);U("editButton");U("settingsButton");U("commentDash");U(Oa);this.Bg()};var ce=function(a){a=a.className;return w(a)&&a.match(/\S+/g)||[]},de=function(a,b){for(var c=ce(a),d=Pb(arguments,1),f=c.length+d.length,g=c,k=0;k<d.length;k++)B(g,d[k])||g.push(d[k]);a.className=c.join(" ");return c.length==f},fe=function(a,b){var c=ce(a),d=Pb(arguments,1),f=ee(c,d);a.className=f.join(" ");return f.length==c.length-d.length},ee=function(a,b){return Hb(a,function(a){return!B(b,a)})};var ie=function(a){for(var b=[],c=ge,d=a.elements,f,g=0;f=d[g];g++)if(f.form==a&&!f.disabled&&"FIELDSET"!=f.tagName){var k=f.name;switch(f.type.toLowerCase()){case "file":case "submit":case "reset":case "button":break;case Ka:f=he(f);if(null!=f)for(var l,q=0;l=f[q];q++)c(b,k,l);break;default:l=he(f),null!=l&&c(b,k,l)}}d=a.getElementsByTagName("INPUT");for(g=0;f=d[g];g++)f.form==a&&"image"==f.type.toLowerCase()&&(k=f.name,c(b,k,f.value),c(b,k+".x","0"),c(b,k+".y","0"));return b.join("&")},ge=function(a,
b,c){a.push(encodeURIComponent(b)+"="+encodeURIComponent(c))},he=function(a){var b=a.type;if(!t(b))return null;switch(b.toLowerCase()){case "checkbox":case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case Ka:for(var b=[],c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return t(a.value)?a.value:null}};var je=!1,ke=!1,le=!1,me=function(a,b){ke=a;le=b;window.parent==window.top&&(a||b)?(a=J(Oa),b?de(a,"checked"):fe(a,"checked"),T(Oa),J("ajaxAction").value=b?"UnsubscribeByEmail":"SubscribeByEmail"):U(Oa)};var oe=function(a,b){R.call(this,new ne,a);this.gg=b};y(oe,R);oe.prototype.encode=function(){return this.Y.encode()+"="+this.label+"="+this.gg};oe.prototype.A=function(){return this.label+" (Google)"};oe.prototype.N=function(){return new pe(this)};var ne=function(){};y(ne,S);ne.prototype.A=function(){return""};ne.prototype.S=function(){return"CURRENT"};ne.prototype.decode=function(a){return new oe(a[1],a[2])};ne.prototype.N=function(){throw Error("internal error");};var pe=function(a){this.m=a};
y(pe,wd);pe.prototype.Sc=function(){(ke||le)&&T(Oa)};var qe=function(a){R.call(this,a,a.A())};y(qe,R);var re=function(){};y(re,S);re.prototype.A=function(){return"Google Account"};re.prototype.S=function(){return"GOOGLE"};re.prototype.decode=function(){return this.Nd()};re.prototype.Nd=function(){return new qe(this)};var se=function(a,b,c){R.call(this,a,null);this.name=b;this.url=c};y(se,R);se.prototype.A=function(){return this.name+" ("+this.url+")"};se.prototype.encode=function(){return this.Y.encode()+"="+encodeURIComponent(this.name)+"="+encodeURIComponent(this.url)};se.prototype.N=function(){return new te(this)};var ue=function(){};y(ue,S);ue.prototype.A=function(){return"Name/URL"};ue.prototype.S=function(){return"NAMEURL"};ue.prototype.N=function(){return new te(new se(this,"",""))};
ue.prototype.decode=function(a){return new se(this,a[1],a[2])};var te=function(a){this.m=a};y(te,wd);p=te.prototype;p.ra=function(){return!0};p.ia=function(){te.h.ia.call(this);T(za)};p.aa=function(){te.h.aa.call(this);U(za);V(5,null,!1);this.Ie("");this.Oe("")};p.Za=function(){this.Ie(this.m.name);this.Oe(this.m.url)};p.bb=function(){te.h.bb.call(this);this.m.name=this.Md();this.m.url=this.rg();this.Sc()};p.Eb=function(){return""==this.Md()?(V(5,"Name should not be empty",!0),!1):!0};p.Md=function(){return J("anonNameField").value};
p.Ie=function(a){J("anonNameField").value=a};p.rg=function(){return J("anonUrlField").value};p.Oe=function(a){J("anonUrlField").value=a};var ve=function(){this.pa=[];this.Ya=[];this.Ma=[];this.Ta=[];this.j=this.D=null;this.H=[]};p=ve.prototype;p.Bb=function(a,b,c,d){for(var f=0;f<this.H.length;f++)if(a==this.H[f])return d(a);d=a.encode();for(f=0;f<this.H.length;f++)if(this.H[f].encode()==d)return c(this.H[f]);return b(a)};p.Hg=function(a){return this.Bb(a,x(function(a){return this.H[this.H.length]=a},this),Zc,Zc)};p.Db=function(a){function b(){return!1}return this.Bb(a,function(){return!0},b,b)};
p.Va=function(a){function b(){throw Error("item should have been unique");}this.Bb(a,$a,b,b);return this.Hg(a)};p.dc=function(a){return this.Bb(a,x(function(a){this.H[this.H.length]=a;return this.pa[this.pa.length]=a},this),Zc,Zc)};p.ie=function(){for(var a=document.getElementById("identityControlsHolder"),b=Ld(a),c=0;c<b.length;c++)b[c].slice(0,14)==ra&&Od(a,b[c]);(b=this.Ta[J(ta).selectedIndex])&&Nd(a,ra+b.value)};p.nd=function(a){this.D=this.dc(a);this.ab();this.La();this.kb(!1);return this.D};
p.la=function(a){this.Va(a);this.Ya[this.Ya.length]=a};p.Kf=function(){var a=this.Va(new re);this.la(a.Nd())};p.Jf=function(){var a=new ue;this.Va(a);this.Ma[this.Ma.length]=a};p.If=function(){var a=this.Va(new yd),a=this.Va(new xd(a));this.Ma[this.Ma.length]=a};p.La=function(){var a=this.Ta[J(ta).selectedIndex];a.constructor==vd?this.ab():(V(1,null,!1),this.j=a.N(),null!=this.j&&this.j.Za(),this.ie())};
p.kb=function(a){if(null!=this.j){var b=this.j.m;if(a&&this.j.ra()&&this.Db(b)||!this.j.Eb())this.j.ia();else return this.j.bb(),this.j.aa(),this.j.ra()&&this.j.Sc(),this.j=null,b}return null};p.xh=function(){this.Xf(J("encodedIds").value);this.D=this.Bd(J(la).value);null==this.D&&0<this.pa.length&&(this.D=this.pa[0]);null==this.D&&1==this.Ya.length&&(this.D=this.Ya[0]);this.ab();null!=this.D&&(this.La(),this.kb(!1))};
p.od=function(a,b){this.Ta[this.Ta.length]=b;var c=document.createElement("option");c.text=b.A();c.value=b.S();try{a.add(c,null)}catch(d){a.add(c)}this.D==b&&(c.selected=!0);return c};p.ec=function(a,b){for(var c=0;c<b.length;c++)this.od(a,b[c])};p.ab=function(){for(var a=J(ta);0!=a.options.length;)a.remove(0);this.Ta=[];this.od(a,new vd("Select profile...")).disabled="disabled";this.ec(a,this.pa);this.ec(a,this.Ya);this.ec(a,this.Ma)};
p.dg=function(){for(var a=[],b=0;b<this.pa.length;b++)a[a.length]=this.pa[b].encode();return a.join("&")};p.Xf=function(a){if(""!=a){a=a.split("&");for(var b=0;b<a.length;b++)this.Bd(a[b])}};p.Bd=function(a){if(""==a)return null;a=a.split("=");for(var b=0;b<a.length;b++)a[b]=decodeURIComponent(a[b]);b=this.fg(a[0]);return null!=b?(a=b.decode(a),this.dc(a)):null};p.fg=function(a){for(var b=0;b<this.H.length;b++)if(this.H[b].encode()==a)return this.H[b];return null};
p.We=function(){var a=J(ia).value;if(""==a)return V(2,"Comment should not be empty",!0),!1;if(1E6<a.length)return V(2,"Content length exceeds 1MB. Please abridge.",!0),!1;V(2,null,!1);return!0};p.Hc=function(){null!=this.j&&this.j.aa();this.La();var a=this.kb(!0);null!=a&&(this.D=a)};p.eh=function(){var a=this.kb(!1);null!=a&&this.nd(a)};p.dh=function(){null!=this.j&&(this.j.aa(),this.j=null);this.ab();this.Hc()};
p.re=function(){if(null==this.D||"NONE"==this.D.S())return V(1,"Please choose a profile",!0),!1;if(null!=this.j)return!1;J("encodedIds").value=this.dg();J(la).value=this.D.encode();return!0};p.gh=function(){this.D&&(this.La(),this.j.ia())};p.mh=function(){this.We()&&this.re()&&this.Fd(!1)};p.nh=function(){this.We()&&this.re()&&this.Fd(!0)};p.Fd=function(a){J(La).value=a?"true":"false";this.La();a=J("commentForm");a.onsubmit();a.submit()};var we=function(a,b,c,d){this.Yf=a;this.Ve=b;this.name=c;this.Ih=d};y(we,S);p=we.prototype;p.A=function(){return this.name};p.encode=function(){return encodeURIComponent(this.Yf)};p.Tf=function(a){return this.Ve.replace(/{username}/,encodeURIComponent(a))};p.qg=function(){return this.Ve.split("{username}")};p.N=function(){return new xe(new ye(this,"",""))};p.decode=function(a){return new ye(this,a[1],a[2])};var ye=function(a,b,c){R.call(this,a,b);this.username=c;this.uri=b;this.value="OPENID"};
y(ye,R);ye.prototype.A=function(){return this.username+" ("+this.Y.A()+")"};ye.prototype.encode=function(){return this.Y.encode()+"="+encodeURIComponent(this.uri)+"="+encodeURIComponent(this.username)};ye.prototype.N=function(){return new xe(this)};var xe=function(a){this.m=a};y(xe,wd);p=xe.prototype;p.ra=function(){return!0};
p.ia=function(){xe.h.ia.call(this);T(Da);J("openIdUsernameLabel").innerHTML=this.m.Y.Ih;for(var a=J(Fa),b=x(function(){this.ue()},this),c=["change",va,"keydown","keyup","blur","focus"],d=0;d<c.length;d++)N(a,c[d],b)};p.aa=function(){xe.h.aa.call(this);Tc(J(Fa));U(Da);V(6,null,!1);J(Ea).value=""};p.Za=function(){this.Eh(this.m.username);J(Ea).value=this.m.Y.Tf(this.m.username)};p.bb=function(){this.m.username=this.oc();this.Za()};
p.Eb=function(){return""==this.oc()?(V(6,"The username should not be empty",!0),!1):!0};p.ue=function(){var a=this.m.Y.qg(),b=this.oc(),b=""==b?"username":encodeURIComponent(b);J("openIdUriDisplayPrefix").innerHTML=a[0];J("openIdUriDisplayUsername").innerHTML=b;J("openIdUriDisplaySuffix").innerHTML=a[1]};p.oc=function(){return J(Fa).value};p.Eh=function(a){J(Fa).value=a;this.ue()};var ze=function(){};y(ze,S);ze.prototype.A=function(){return"OpenID"};ze.prototype.S=function(){return"OPENID"};
ze.prototype.decode=function(a){return new Ae(this,a[1])};ze.prototype.N=function(){return new Be(new Ae(this,""))};var Ae=function(a,b){R.call(this,a,b);this.uri=b;this.value="OPENID"};y(Ae,R);Ae.prototype.A=function(){return this.uri};Ae.prototype.encode=function(){return this.Y.encode()+"="+encodeURIComponent(this.uri)};Ae.prototype.N=function(){return new Be(this)};var Be=function(a){this.m=a};y(Be,wd);p=Be.prototype;p.ra=function(){return!0};p.ia=function(){Be.h.ia.call(this);T(na)};
p.aa=function(){Be.h.aa.call(this);U(na);V(7,null,!1);this.Ne("")};p.Za=function(){this.Ne(this.m.uri)};p.bb=function(){this.m.uri=this.Rd()};p.Eb=function(){return""==this.Rd()?(V(7,"The URL should not be empty",!0),!1):!0};p.Rd=function(){return J(Ea).value};p.Ne=function(a){J(Ea).value=a};var Ce=function(){fe(J(da),"previewMode");return!0};var De=function(a,b,c){K.call(this);this.Dc=a;this.Jg=b||0;this.Ba=c;this.Pf=x(this.$f,this)};y(De,K);p=De.prototype;p.Ra=0;p.i=function(){De.h.i.call(this);this.stop();delete this.Dc;delete this.Ba};p.start=function(a){this.stop();this.Ra=hd(this.Pf,t(a)?a:this.Jg)};p.stop=function(){this.Cb()&&r.clearTimeout(this.Ra);this.Ra=0};p.Cb=function(){return 0!=this.Ra};p.$f=function(){this.Ra=0;this.Dc&&this.Dc.call(this.Ba)};var Ee={},Fe=null,Ge=function(a){a=a[gb]||(a[gb]=++hb);delete Ee[a];Ub(Ee)&&Fe&&Fe.stop()},Ie=function(){Fe||(Fe=new De(function(){He(kb())},20));var a=Fe;a.Cb()||a.start()},He=function(a){Qb(Ee,function(b){b.ah(a)});Ub(Ee)||Ie()};var Je=function(){P.call(this);this.Ja=0;this.endTime=this.startTime=null};y(Je,P);p=Je.prototype;p.Dh=function(){this.Ja=1};p.Me=function(){this.Ja=0};p.$d=function(){return 1==this.Ja};p.Zd=function(){return-1==this.Ja};p.ae=function(){return 0==this.Ja};p.bh=function(){this.T("begin")};p.ne=function(){this.T("end")};p.ih=function(){this.T("finish")};p.lh=function(){this.T("play")};p.ph=function(){this.T("resume")};p.qh=function(){this.T("stop")};p.T=function(a){this.dispatchEvent(a)};var Ke=function(a,b,c,d){Je.call(this);if(!v(a)||!v(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.eb=a;this.eg=b;this.duration=c;this.md=d;this.coords=[];this.progress=0;this.Ac=null};y(Ke,Je);p=Ke.prototype;
p.play=function(a){if(a||this.ae())this.progress=0,this.coords=this.eb;else if(this.$d())return!1;Ge(this);this.startTime=a=kb();this.Zd()&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.Ac=this.startTime;this.progress||this.bh();this.lh();this.Zd()&&this.ph();this.Dh();var b=this[gb]||(this[gb]=++hb);b in Ee||(Ee[b]=this);Ie();this.Ad(a);return!0};p.stop=function(a){Ge(this);this.Me();a&&(this.progress=1);this.Ue(this.progress);this.qh();this.ne()};
p.i=function(){this.ae()||this.stop(!1);this.fh();Ke.h.i.call(this)};p.ah=function(a){this.Ad(a)};p.Ad=function(a){A(this.startTime);A(this.endTime);A(this.Ac);a<this.startTime&&(this.endTime=a+this.endTime-this.startTime,this.startTime=a);this.progress=(a-this.startTime)/(this.endTime-this.startTime);1<this.progress&&(this.progress=1);this.Ac=a;this.Ue(this.progress);1==this.progress?(this.Me(),Ge(this),this.ih(),this.ne()):this.$d()&&this.Xg()};
p.Ue=function(a){eb(this.md)&&(a=this.md(a));this.coords=Array(this.eb.length);for(var b=0;b<this.eb.length;b++)this.coords[b]=(this.eg[b]-this.eb[b])*a+this.eb[b]};p.Xg=function(){this.T("animate")};p.fh=function(){this.T("destroy")};p.T=function(a){this.dispatchEvent(new Le(a,this))};var Le=function(a,b){L.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Ja};y(Le,L);var Me,Ne={Lh:"activedescendant",Qh:"atomic",Rh:"autocomplete",Sh:"busy",Uh:"checked",Zh:"controls",bi:"describedby",ei:"disabled",fi:"dropeffect",gi:ma,hi:"flowto",ji:"grabbed",ni:"haspopup",pi:qa,si:"invalid",ti:"label",ui:"labelledby",vi:"level",Ai:"live",Ki:"multiline",Li:"multiselectable",Qi:"orientation",Ri:"owns",Si:"posinset",Ui:"pressed",Yi:"readonly",$i:"relevant",aj:"required",gj:"selected",ij:"setsize",kj:"sort",zj:"valuemax",Aj:"valuemin",Bj:"valuenow",Cj:"valuetext"};var Oe={Mh:"alert",Nh:"alertdialog",Oh:"application",Ph:"article",BANNER:"banner",BUTTON:"button",Th:"checkbox",Vh:"columnheader",Wh:"combobox",Xh:"complementary",Yh:"contentinfo",ai:"definition",ci:"dialog",di:"directory",DOCUMENT:"document",ii:"form",ki:"grid",li:"gridcell",mi:"group",oi:"heading",ri:"img",wi:"link",xi:"list",yi:"listbox",zi:"listitem",Bi:"log",Ci:"main",Di:"marquee",Ei:"math",Fi:"menu",Gi:"menubar",Hi:"menuitem",Ii:"menuitemcheckbox",Ji:"menuitemradio",Ni:"navigation",Oi:"note",
Pi:"option",Ti:"presentation",Vi:"progressbar",Wi:"radio",Xi:"radiogroup",Zi:"region",bj:"row",cj:"rowgroup",dj:"rowheader",ej:"scrollbar",fj:"search",hj:"separator",jj:"slider",lj:"spinbutton",mj:"status",oj:"tab",pj:"tablist",qj:"tabpanel",rj:"textbox",sj:"textinfo",tj:"timer",uj:"toolbar",vj:"tooltip",wj:"tree",xj:"treegrid",yj:"treeitem"};Xb("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));var Pe=function(a){K.call(this);this.Ba=a;this.c={}};y(Pe,K);var Qe=[];p=Pe.prototype;p.Fa=function(a,b,c,d){return this.Og(a,b,c,d)};p.Og=function(a,b,c,d,f){v(b)||(b&&(Qe[0]=b.toString()),b=Qe);for(var g=0;g<b.length;g++){var k=N(a,b[g],c||this.handleEvent,d||!1,f||this.Ba||this);if(!k)break;this.c[k.key]=k}return this};p.Cc=function(a,b,c,d){return this.he(a,b,c,d)};
p.he=function(a,b,c,d,f){if(v(b))for(var g=0;g<b.length;g++)this.he(a,b[g],c,d,f);else{a=Rc(a,b,c||this.handleEvent,d,f||this.Ba||this);if(!a)return this;this.c[a.key]=a}return this};p.Sb=function(a,b,c,d,f){if(v(b))for(var g=0;g<b.length;g++)this.Sb(a,b[g],c,d,f);else c=c||this.handleEvent,f=f||this.Ba||this,c=Lc(c),d=!!d,b=Dc(a)?a.Qa(b,c,d,f):a?(a=Nc(a))?a.Qa(b,c,d,f):null:null,b&&(O(b),delete this.c[b.key]);return this};
p.Nb=function(){Qb(this.c,function(a,b){this.c.hasOwnProperty(b)&&O(a)},this);this.c={}};p.i=function(){Pe.h.i.call(this);this.Nb()};p.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Te=function(a,b,c,d,f,g){if(!(D||E||G&&I("525")))return!0;if(H&&f)return Re(a);if(f&&!d)return!1;db(b)&&(b=Se(b));f=17==b||18==b||H&&91==b;if((!c||H)&&f||H&&16==b&&(d||g))return!1;if((G||E)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(D&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(G||E)}return Re(a)},Re=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(G||E)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;
default:return!1}},Se=function(a){if(F)a=Ue(a);else if(H&&G)switch(a){case 93:a=91}return a},Ue=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var Ve=function(a,b){P.call(this);a&&this.rd(a,b)};y(Ve,P);p=Ve.prototype;p.xa=null;p.Fb=null;p.xc=null;p.Gb=null;p.I=-1;p.sa=-1;p.fc=!1;
var We={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Xe={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Ye=D||E||G&&I("525"),Ze=H&&F;p=Ve.prototype;
p.xg=function(a){(G||E)&&(17==this.I&&!a.ctrlKey||18==this.I&&!a.altKey||H&&91==this.I&&!a.metaKey)&&this.ze();-1==this.I&&(a.ctrlKey&&17!=a.keyCode?this.I=17:a.altKey&&18!=a.keyCode?this.I=18:a.metaKey&&91!=a.keyCode&&(this.I=91));Ye&&!Te(a.keyCode,this.I,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.sa=Se(a.keyCode),Ze&&(this.fc=a.altKey))};p.ze=function(){this.sa=this.I=-1};p.yg=function(a){this.ze();this.fc=a.altKey};
p.handleEvent=function(a){var b=a.ya,c,d,f=b.altKey;D&&a.type==va?(c=this.sa,d=13!=c&&27!=c?b.keyCode:0):(G||E)&&a.type==va?(c=this.sa,d=0<=b.charCode&&63232>b.charCode&&Re(c)?b.charCode:0):ec&&!G?(c=this.sa,d=Re(c)?b.keyCode:0):(c=b.keyCode||this.sa,d=b.charCode||0,Ze&&(f=this.fc),H&&63==d&&224==c&&(c=191));var g=c=Se(c);c?63232<=c&&c in We?g=We[c]:25==c&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Xe&&(g=Xe[b.keyIdentifier]);a=g==this.I;this.I=g;b=new $e(g,d,a,b);b.altKey=f;this.dispatchEvent(b)};
p.Pa=function(){return this.xa};p.rd=function(a,b){this.Gb&&this.detach();this.xa=a;this.Fb=N(this.xa,va,this,b);this.xc=N(this.xa,"keydown",this.xg,b,this);this.Gb=N(this.xa,"keyup",this.yg,b,this)};p.detach=function(){this.Fb&&(O(this.Fb),O(this.xc),O(this.Gb),this.Gb=this.xc=this.Fb=null);this.xa=null;this.sa=this.I=-1};p.i=function(){Ve.h.i.call(this);this.detach()};var $e=function(a,b,c,d){M.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};y($e,M);var af=function(a,b,c,d,f){function g(a){a&&(a.tabIndex=0,z(Tb(Oe,"tab"),"No such ARIA role tab"),a.setAttribute("role","tab"),Nd(a,"goog-zippy-header"),k.cg(a),k.ag(a))}P.call(this);this.mc=f||rc();this.da=this.mc.Pa(a)||null;this.Oa=this.mc.Pa(d||null);this.U=(this.Ib=eb(b)?b:null)||!b?null:this.mc.Pa(b);this.X=1==c;t(c)||this.Ib||(this.Oa?this.X=this.Oa.style.display!=n:this.da&&(this.X=Md(this.da,pa)));this.ge=new Pe(this);this.yc=new Ve;this.le=new Pe(this);var k=this;g(this.da);g(this.Oa);this.Pb(this.X)};
y(af,P);p=af.prototype;p.i=function(){af.h.i.call(this);zc(this.ge);zc(this.yc);zc(this.le)};p.collapse=function(){this.Pb(!1)};p.toggle=function(){this.Pb(!this.X)};p.Pb=function(a){this.U?this.U.style.display=a?"":n:a&&this.Ib&&(this.U=this.Ib());this.U&&Nd(this.U,"goog-zippy-content");this.Oa?(this.da.style.display=a?n:"",this.Oa.style.display=a?"":n):this.Tc(a);this.Ge(a);this.dispatchEvent(new bf("toggle",this,this.X))};p.Ge=function(a){this.X=a};
p.Tc=function(a){if(this.da){var b=this.da;a?Nd(b,pa):Od(b,pa);b=this.da;a?Od(b,oa):Nd(b,oa);b=this.da;v(a)&&(a=a.join(" "));z(ma,"ARIA attribute cannot be empty.");z(Tb(Ne,ma),"No such ARIA attribute expanded");""===a||void 0==a?(Me||(Me={atomic:!1,autocomplete:n,dropeffect:n,haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:n,busy:!1,disabled:!1,hidden:!1,invalid:"false"}),a=Me,ma in a?b.setAttribute(ea,a.expanded):
b.removeAttribute(ea)):b.setAttribute(ea,a)}};p.ag=function(a){a&&(this.yc.rd(a),this.ge.Fa(this.yc,"key",this.kh))};p.cg=function(a){a&&this.le.Fa(a,"click",this.jh)};p.kh=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.Dd(),a.preventDefault(),a.stopPropagation()};p.jh=function(){this.toggle();this.Dd()};p.Dd=function(){this.dispatchEvent(new L("action",this))};var bf=function(a,b){L.call(this,a,b)};y(bf,L);var cf=function(a,b,c,d){d=d||rc();var f=d.ic("DIV",{style:"overflow:hidden"});b=d.Pa(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.qb=f;this.K=null;af.call(this,a,b,c,void 0,d);a=this.X;this.qb.style.display=a?"":n;this.Tc(a)};y(cf,af);p=cf.prototype;p.Nf=500;p.Mf=function(a){return 1-Math.pow(1-a,3)};
p.Pb=function(a){if(this.X!=a||this.K){this.qb.style.display==n&&(this.qb.style.display="");var b=this.U.offsetHeight,c;this.K?(a=this.X,Tc(this.K),this.K.stop(!1),c=b-Math.abs(parseInt(this.U.style.marginTop,10))):c=a?0:b;this.Tc(a);this.K=new Ke([0,c],[0,a?b:0],this.Nf,this.Mf);N(this.K,["begin","animate","end"],this.Yg,!1,this);N(this.K,"begin",x(this.Zg,this,a));N(this.K,"end",x(this.$g,this,a));this.K.play(!1)}};p.Yg=function(a){var b=this.U;b.style.marginTop=a.y-b.offsetHeight+"px"};
p.Zg=function(a){this.dispatchEvent(new bf("a",this,a))};p.$g=function(a){a&&(this.U.style.marginTop="0");Tc(this.K);this.Ge(a);this.K=null;a||(this.qb.style.display=n);this.dispatchEvent(new bf("toggle",this,a));this.dispatchEvent(new bf("b",this,a))};var df=null;var W=new ve;u("BLOG_CMT_OpenIdIdentityFactory",we,void 0);u("BLOG_CMT_LoggedInGaiaIdentity",oe,void 0);u("BLOG_CMT_NotLoggedInGaiaIdentityFactory",re,void 0);u("BLOG_CMT_GenericOpenIdIdentityFactory",ze,void 0);u("BLOG_CMT_NameUrlIdentityFactory",ue,void 0);u("BLOG_CMT_AnonymousIdentityFactory",yd,void 0);u("BLOG_CMT_onPost",function(){Ce();return W.mh()},void 0);u("BLOG_CMT_onPreview",function(){return W.nh()},void 0);u("BLOG_CMT_onCommentBodyChange",function(){},void 0);
u("BLOG_CMT_onCancel",function(){return W.dh()},void 0);u("BLOG_CMT_onSelectorChange",function(){return W.Hc()},void 0);u("BLOG_CMT_onContinue",function(){return W.eh()},void 0);u("BLOG_CMT_onEdit",function(){return W.gh()},void 0);u("BLOG_CMT_addIdentity",function(a){return W.dc(a)},void 0);u("BLOG_CMT_addAndSelectIdentity",function(a){return W.nd(a)},void 0);u("BLOG_CMT_addIdentityFactory",function(a){return W.la(a)},void 0);u("BLOG_CMT_addNameUrlIdentityFactory",function(){return W.Jf()},void 0);
u("BLOG_CMT_addAnonIdentity",function(){return W.If()},void 0);u("BLOG_CMT_addNotLoggedInGaiaIdentity",function(){return W.Kf()},void 0);u("BLOG_CMT_init",function(a,b){Zd(document.location.href);W.xh();W.Hc();W.ie();me(a,b);"true"==J(La).value&&(J(La).value="false",de(J(da),"previewMode"));Yd();return!0},void 0);
u("BLOG_CMT_addOpenIdIdentityFactories",function(){W.la(new we("LJ","http://{username}.livejournal.com","LiveJournal","LiveJournal username:"));W.la(new we("WP","http://{username}.wordpress.com","WordPress","WordPress username:"));W.la(new we("TP","https://profile.typepad.com/{username}","TypePad","TypePad username:"));W.la(new we("AIM","http://openid.aol.com/{username}","AIM","AIM username:"));W.la(new ze)},void 0);u("BLOG_CMT_createPhotoZippy",function(a,b){J(a)&&J(b)&&(df=new cf(a,b))},void 0);
u("BLOG_CMT_closePhotoZippy",function(){null!=df&&df.collapse()},void 0);u("BLOG_CMT_finalizeBG",function(){window.td&&window.td.invoke(function(a){document.getElementById(fa).value=a})},void 0);
u("BLOG_CMT_getBG",function(){var a=new zd("/comment-iframe-bg.g"),b=document.getElementById(fa).value;b&&a.Qb(fa,b);b=null;"Microsoft Internet Explorer"==window.navigator.appName&&(document.documentMode?b=document.documentMode:(b=5,document.compatMode&&"CSS1Compat"==document.compatMode&&(b=7)));b&&a.Qb("iemode",b);document.getElementById("pageID")&&a.Qb("page","1");Jd&&a.Qb("bgint",Jd);qd(a,function(){if(this.Wa()){var a=eval(this.ng());a instanceof Object&&a.length&&(1<a.length&&(eval(a[1]),Jd=
a[2]),window.td=new botguard.bg(a[0]))}})},void 0);u("BLOG_CMT_setBG",function(a){Jd=a},void 0);u("BLOG_CMT_subscription.toggle",function(){if(!je){je=!0;var a=J("commentSubscriptionForm");qd(a.action,function(){je=!1;if(this.Wa()){var a=this.Qd();null!=a.errorMessage?V(3,a.errorMessage,!0):$d(a.statusMessage);me(a.can_subscribe,a.is_subscribed)}else V(3,"An error occurred while contacting the server.",!0)},"POST",ie(a))}},void 0);u("BLOG_CMT_showStatusMessage",$d,void 0);
u("BLOG_CMT_showPostErrorMessage",function(a){V(4,a,!0)},void 0);u("BLOG_CMT_hidePreview",function(){Ce();W.ab();Xd()},void 0);u("BLOG_xhr",Q,void 0);Q.send=qd;Q.prototype.isSuccess=Q.prototype.Wa;Q.prototype.getResponseJson=Q.prototype.Qd;u("$",J,void 0);function ef(a){return function(b){var c=-1;try{c=b.status}catch(d){}return 500<=c?(b.responseText.length?document.body.innerHTML=b.responseText:window.alert(LayoutsMessages.SERVER_ERROR),!1):a?a(b):!0}};var gf=function(a,b,c){var d=a.ownerDocument;b=b._GetHelper();var f=b._GetData(),g=c._GetAllData();a=ff(d,a,h,"widget-wrap1");a=ff(d,a,h,"widget-wrap2");a=ff(d,a,h,"widget-wrap3");a=ff(d,a,h,"widget-content");if(g=g.features&&g.features.widgetVisibility&&f.version&&1<f.version)a.className+=" visibility",ff(d,a,h,"layout-widget-state "+(f.isVisible?"visible":"not-visible")).setAttribute("title",f.visibilityTooltipMessage);var k=ff(d,a,h,"layout-title");if(f[xa]){var l=ff(d,a,h,wa);l.appendChild(d.createTextNode(f[xa]));
l.setAttribute("title",f[wa])}k.appendChild(d.createTextNode(f["layout-title"]));a=ff(d,a,"a","editlink");var q=b._GenerateWidgetMetadata();a.setAttribute("href",q.quickEditUrl);a.target=ha;a.onclick=function(){return c._PopupConfig(d.getElementById(q.instanceId))};g&&(a.className+=" icon");a.appendChild(d.createTextNode(f["edit-link"]))},ff=function(a,b,c,d){a=a.createElement(c);a.className=d;b.appendChild(a);return a};var hf=function(){this.th={};this.ke={};this.Kc={};this.Uc=null;this.te=[]};ab(hf);hf.prototype.Ld=function(a,b){return a+"_"+b+".js"};var jf=function(a){eval(a)};hf.prototype.Wd=function(a,b){u("__gjsload__",jf,void 0);this.Uc=a.replace(/\.js$/,"");b&&(this.Ld=b);Gb(this.te,function(a){this.Qg(a)},this);Kb(this.te)};hf.prototype.vh=function(a,b,c){var d=this.ke,f=this.th;d[a]||(d[a]={});if(c)d[a][b]=c;else if(f[a]){for(b=0;b<f[a].length;++b)(0,f[a][b][1])(d[a][f[a][b][0]]);delete f[a];delete this.Kc[a]}};
hf.prototype.Qg=function(a){hd(function(){if(!this.ke[a]){Db(this.Uc);var b=this.Ld(this.Uc,a),c=Tb(this.Kc,b);this.Kc[a]=b;c||(b=vc("SCRIPT",{type:"text/javascript",src:b}),document.body.appendChild(b))}},0,this)};var kf=function(){this.L=[];this.R=[]};p=kf.prototype;p.Rg=function(){0==this.L.length&&(this.L=this.R,this.L.reverse(),this.R=[])};p.enqueue=function(a){this.R.push(a)};p.dequeue=function(){this.Rg();return this.L.pop()};p.s=function(){return this.L.length+this.R.length};p.isEmpty=function(){return 0==this.L.length&&0==this.R.length};p.clear=function(){this.L=[];this.R=[]};p.contains=function(a){return B(this.L,a)||B(this.R,a)};
p.remove=function(a){var b;b=this.L;var c=Fb(b,a);0<=c?(Lb(b,c),b=!0):b=!1;return b||Mb(this.R,a)};p.u=function(){for(var a=[],b=this.L.length-1;0<=b;--b)a.push(this.L[b]);for(var c=this.R.length,b=0;b<c;++b)a.push(this.R[b]);return a};var lf=function(a,b){K.call(this);this.je=a||0;this.Kb=b||10;if(this.je>this.Kb)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Z=new kf;this.ga=new fd;this.delay=0;this.zc=null;this.jb()};y(lf,K);p=lf.prototype;p.ub=function(){var a=kb();if(!(null!=this.zc&&a-this.zc<this.delay)){var b=this.wh();b&&(this.zc=a,this.ga.add(b));return b}};p.Oc=function(a){return this.ga.remove(a)?(this.cc(a),!0):!1};
p.wh=function(){for(var a;0<this.Kd()&&(a=this.Z.dequeue(),!this.Gc(a));)this.jb();!a&&this.s()<this.Kb&&(a=this.jc());return a};p.cc=function(a){this.ga.remove(a);this.Gc(a)&&this.s()<this.Kb?this.Z.enqueue(a):this.lc(a)};p.jb=function(){for(var a=this.Z;this.s()<this.je;)a.enqueue(this.jc());for(;this.s()>this.Kb&&0<this.Kd();)this.lc(a.dequeue())};p.jc=function(){return{}};p.lc=function(a){if(typeof a.na==m)a.na();else for(var b in a)a[b]=null};p.Gc=function(a){return typeof a.Qf==m?a.Qf():!0};
p.contains=function(a){return this.Z.contains(a)||this.ga.contains(a)};p.s=function(){return this.Z.s()+this.ga.s()};p.ig=function(){return this.ga.s()};p.Kd=function(){return this.Z.s()};p.isEmpty=function(){return this.Z.isEmpty()&&this.ga.isEmpty()};p.i=function(){lf.h.i.call(this);if(0<this.ig())throw Error("[goog.structs.Pool] Objects not released");delete this.ga;for(var a=this.Z;!a.isEmpty();)this.lc(a.dequeue());delete this.Z};var mf=function(a,b){this.fe=a;this.Yc=b};mf.prototype.getKey=function(){return this.fe};mf.prototype.clone=function(){return new mf(this.fe,this.Yc)};var nf=function(a){this.O=[];a&&this.Gg(a)};p=nf.prototype;p.Yd=function(a,b){var c=this.O;c.push(new mf(a,b));this.Wg(c.length-1)};p.Gg=function(a){var b;if(a instanceof nf){if(b=a.M(),a=a.u(),0>=this.s()){for(var c=this.O,d=0;d<b.length;d++)c.push(new mf(b[d],a[d]));return}}else b=Sb(a),a=Rb(a);for(d=0;d<b.length;d++)this.Yd(b[d],a[d])};p.remove=function(){var a=this.O,b=a.length,c=a[0];if(!(0>=b))return 1==b?Kb(a):(a[0]=a.pop(),this.Tg(0)),c.Yc};
p.Tg=function(a){for(var b=this.O,c=b.length,d=b[a];a<c>>1;){var f=this.lg(a),g=this.pg(a),f=g<c&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>d.getKey())break;b[a]=b[f];a=f}b[a]=d};p.Wg=function(a){for(var b=this.O,c=b[a];0<a;){var d=this.mg(a);if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c};p.lg=function(a){return 2*a+1};p.pg=function(a){return 2*a+2};p.mg=function(a){return a-1>>1};p.u=function(){for(var a=this.O,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Yc);return b};
p.M=function(){for(var a=this.O,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};p.ma=function(a){return Ib(this.O,function(b){return b.getKey()==a})};p.clone=function(){return new nf(this)};p.s=function(){return this.O.length};p.isEmpty=function(){return 0==this.O.length};p.clear=function(){Kb(this.O)};var of=function(){nf.call(this)};y(of,nf);of.prototype.enqueue=function(a,b){this.Yd(a,b)};of.prototype.dequeue=function(){return this.remove()};var pf=function(a,b){this.Cd=void 0;this.Ob=new of;lf.call(this,a,b)};y(pf,lf);p=pf.prototype;p.ub=function(a,b){if(!a)return(a=pf.h.ub.call(this))&&this.delay&&(this.Cd=r.setTimeout(x(this.wb,this),this.delay)),a;this.Ob.enqueue(t(b)?b:100,a);this.wb()};p.wb=function(){for(var a=this.Ob;0<a.s();){var b=this.ub();if(b)a.dequeue().apply(this,[b]);else break}};p.cc=function(a){pf.h.cc.call(this,a);this.wb()};p.jb=function(){pf.h.jb.call(this);this.wb()};
p.i=function(){pf.h.i.call(this);r.clearTimeout(this.Cd);this.Ob.clear();this.Ob=null};var qf=function(a,b,c,d){this.rc=a;this.ba=!!d;pf.call(this,b,c)};y(qf,pf);qf.prototype.jc=function(){var a=new Q,b=this.rc;b&&b.forEach(function(b,d){a.headers.set(d,b)});this.ba&&a.Rc(!0);return a};qf.prototype.Gc=function(a){return!a.wa&&!a.Cb()};var rf=function(a,b,c,d,f,g){P.call(this);this.Fc=t(a)?a:1;this.ua=t(f)?Math.max(0,f):0;this.ba=!!g;this.Ka=new qf(b,c,d,g);this.P=new bd;this.rb=new Pe(this)};y(rf,P);var sf=[Ha,e,Pa,"error","abort","timeout"];p=rf.prototype;p.Qc=function(a){this.ua=Math.max(0,a)};p.send=function(a,b,c,d,f,g,k,l,q,Wa){if(this.P.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new tf(b,x(this.wg,this,a),c,d,f,k,t(l)?l:this.Fc,q,t(Wa)?Wa:this.ba);this.P.set(a,b);a=x(this.tg,this,a);this.Ka.ub(a,g);return b};
p.abort=function(a,b){var c=this.P.get(a);if(c){var d=c.Ub;c.zh(!0);b&&(d&&(this.xe(d,c.Zc),Rc(d,Ha,function(){this.Ka.Oc(d)},!1,this)),this.P.remove(a));d&&d.abort()}};p.tg=function(a,b){var c=this.P.get(a);c&&!c.Ub?(this.Lf(b,c.Zc),b.Qc(this.ua),b.Ch(c.Ha),b.Rc(c.ba),c.Ub=b,this.dispatchEvent(new uf(Ha,this,a,b)),this.Ae(a,b),c.ld&&b.abort()):this.Ka.Oc(b)};
p.wg=function(a,b){var c=b.target;switch(b.type){case Ha:this.Ae(a,c);break;case e:return this.ug(a,c,b);case Pa:this.zg(a,c);break;case "timeout":case "error":this.vg(a,c);break;case "abort":this.sg(a,c)}return null};p.Ae=function(a,b){var c=this.P.get(a);!c||c.yd||c.qc()?(c&&(this.xe(b,c.Zc),this.P.remove(a)),this.Ka.Oc(b)):(c.Eg(),b.send(c.getUrl(),c.Sg,c.getContent(),c.rc))};
p.ug=function(a,b,c){var d=this.P.get(a);if(7==b.Ea||b.Wa()||d.qc())if(this.dispatchEvent(new uf(e,this,a,b)),d&&(d.Ah(!0),d.xd))return d.xd.call(b,c);return null};p.sg=function(a,b){this.dispatchEvent(new uf("abort",this,a,b))};p.zg=function(a,b){this.dispatchEvent(new uf(Pa,this,a,b))};p.vg=function(a,b){this.P.get(a).qc()&&this.dispatchEvent(new uf("error",this,a,b))};p.xe=function(a,b,c){this.rb.Sb(a,c||sf,b)};p.Lf=function(a,b,c){this.rb.Fa(a,c||sf,b)};
p.i=function(){rf.h.i.call(this);this.Ka.na();this.Ka=null;this.rb.na();this.rb=null;this.P.clear();this.P=null};var uf=function(a,b,c,d){L.call(this,a,b);this.id=c;this.Ub=d};y(uf,L);var tf=function(a,b,c,d,f,g,k,l,q){this.Hh=a;this.Sg=c||"GET";this.Uf=d;this.rc=f||null;this.Fc=t(k)?k:1;this.sd=0;this.ld=this.yd=!1;this.Zc=b;this.xd=g;this.Ha=l||"";this.ba=!!q;this.Ub=null};p=tf.prototype;p.getUrl=function(){return this.Hh};p.getContent=function(){return this.Uf};p.Eg=function(){this.sd++};
p.qc=function(){return this.sd>this.Fc};p.Ah=function(a){this.yd=a};p.zh=function(a){this.ld=a};function vf(a,b,c,d,f,g){this.Ua=a;this.De=b;this.Ce=d||null;this.data=f||null;if(g){if(this.kc=g,"displayModeSnippet"!=g&&"displayModeFull"!=g&&g!=ja&&g!=ka)throw"bad display mode: "+g;}else this.kc=ka;this.Db=!1}vf.prototype.kg=function(){return this.Ua};function wf(a){this.Zf=!0;this.C=a;this.Tb=null}p=wf.prototype;p.Cf=function(a){this.Tb=a};p.ef=function(){return this.C.data};p.xf=function(a){return this.C.data=a};p.zf=function(a){return this.C.Db=a};
p.bf=function(){var a={};a.type=this.Tb.Se;a.instanceId=this.C.Ua;a.sectionId=this.C.De;a.actionUrl=X.gc;a.quickEditUrl=X.Gd+"&widgetType="+this.Tb.Se+"&widgetId="+this.C.Ua+"&sectionId="+this.C.De+"&action="+X.bd;return a};p.ac=function(a,b,c,d){b=b||{};window.__wavt&&(b.xssi_token=window.__wavt);X.ac(a,b,this.C.Ua,this.Tb.Se,c,d)};function X(){}X.jf=function(a,b,c){X.ja={};X.Gd=a;X.gc=b;X.Ej=c;X.pc={};X.Vb=new rf;X.me=0;X.Lc=0;N(X.Vb,Ha,function(){X.Lc++});N(X.Vb,e,function(){X.Lc--})};
X.Ef=function(a){a=X.Ze(a.document);document.body.appendChild(a)};X.Df=function(a){X.Ef(window);if(window.parent==window){var b="Preview";a&&(b=a);a=X.Ye(window.document,b);document.body.appendChild(a[0]);document.body.appendChild(a[1])}};X.lf=ha;X.Xe=ha;X.bd="editWidget";X.df=function(){return X.gc};X.Af=function(a,b){X.Ic=a;X.sh=b};X.gf=function(){return X.Ic};X.Bf=function(a){X.Kh=a};X.cd=function(){return X.Kh};X.yf=function(a){X.pc=a};
X.cf=function(){var a={},b;for(b in X.pc){var c=X.pc[b];a[c.name]=c.data}c={};for(b in X.ja)c[b]=X.ja[b].B.C.data;a.widgets=c;return a};X.ed=function(a,b){var c=new wf(b);a=new window[a](c);c.Cf(a);X.ja[b.Ua]=a;X.ad(a);return a};X.sf=function(a,b){a=X.ed(a,b);a.B.zf(!0);return a};X.ad=function(a){a.B.C.kc!=ka&&(a.B.Zf=!1)};X.va=function(a){return X.ja?X.ja[a]:null};
X.$b=function(a,b,c,d,f){var g="";d&&(g="&widgetId="+d);a=X.Gd+"&action="+a+"&sectionId="+b+"&widgetType="+c+g;if(window.name==f)return window.location.replace(a),window.focus(),window;f=window.open(a,f,"width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes");f.focus();return f};
X.qf=function(a){var b=a.getAttribute("id"),c=X.va(b);if(c){var d=c.B.Na;if(null!=d&&!d.closed)return d.focus(),!1}d="config"+b;a=X.$b(X.bd,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,d);c&&(c.B.Na=a);return!1};X.rf=function(a){X.$b(X.Xe,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),X.lf);return!1};X.$e=function(a,b,c){X.ka(c,c.LayoutsMessages.DELETING);X.gd("delete",{},a,b)};
wf.prototype.uf=function(a,b){X.ka(b,b.LayoutsMessages.SAVING);this.ac("configure",a)};X.vf=function(a,b,c){a.sectionid=document.getElementById("sectionId").value;X.ka(c,c.LayoutsMessages.SAVING);X.gd("addnew",a,"",b)};X.nj=function(a,b,c){z(null!=c,"no type");var d=X.va(b);z(null!=d,Aa+b);d.B.C.Db?X.vf(a,c,window):d.B.uf(a,window)};X.ac=function(a,b,c,d,f,g){X.fd(X.gc,a,b,c,d,f,g)};X.gd=function(a,b,c,d,f){X.Ic&&(b.security_token=X.sh,X.fd(X.Ic,a,b,c,d,f))};
X.fd=function(a,b,c,d,f,g,k){b=["action="+encodeURIComponent(b),"widgetId="+encodeURIComponent(d),"widgetType="+encodeURIComponent(f),"responseType=js"];for(var l in c)if(typeof c[l]==Ca)for(d=c[l],f=0;f<d.length;++f)b.push(encodeURIComponent(l)+"="+encodeURIComponent(d[f]));else b.push(encodeURIComponent(l)+"="+encodeURIComponent(c[l]));var q=g||ef();c=function(){q(this.a)&&window.eval(this.og())};"GET"==k?(a=0<=a.indexOf("?")?a+"&":a+"?",X.Vb.send(""+X.me++,a+b.join("&"),"GET",void 0,null,null,
c)):X.Vb.send(""+X.me++,a,"POST",b.join("&"),null,null,c)};X.wf=function(a,b){a&&(a=X.va(a))&&(a.B.Na=b)};X.hb=function(a,b){0==X.Lc?a.setTimeout(function(){a.close()},b):a.setTimeout(function(){X.hb(a,b)},200)};X.kf=function(a,b){a&&(X.hb(a,100),X.Ff(a,b))};X.Ff=function(a,b){if(a){var c=a.document.getElementById(Na);c&&(c=c.innerHTML);c&&a&&a.opener.parent&&a.opener.parent.editor&&a.opener.parent.editor.SetSaveMessage(c,b)}};
X.dd=function(a,b,c){var d=X.ja[a];null!=c.errors?((a=d?d.B.Na:null)||(a=window),X.ka(a,c.errors),d&&d.ib?d.ib(b,c,a):X.ib(c,a)):(z(null!=d,Aa+a),d.dd(b,c))};X.ib=function(a,b){a=a["error-details"];for(var c in a)xf(c,a[c],b.document)};X.mf=function(a,b){window.parent&&window.parent.editor&&b?X.nf(a,b):window.location.replace(window.location.href)};X.nf=function(a,b){var c=X.va(a);c.B.xf(b.data);a=document.getElementById(a);yc(a);gf(a,c,X);c.B.Na=null};
X.hf=function(a,b,c){var d=c[Ma];if(null!=c.errors)X.ka(window,c.errors),X.ib(c,window);else if("addnew"==b){var f;X.Yb(window)&&(window.opener&&window.opener.parent&&(f=window.opener.parent),f&&f.editor&&f.editor.HandleAddNewWidget(c));X.ka(window,d);null==window.opener?window.location="/rearrange?blogID="+c.blogID:f&&f._WidgetManager?f._WidgetManager._KillPopupDelay(window):X.hb(window,100)}else c=X.ja[a],z(null!=c),"delete"==b&&(X.ka(c.B.Na,d),X.af(a,"_OnWidgetDeleted"))};
X.pf=function(a){var b=X.va(a);b&&(b.B.C.kc==ja?top.editor.HandleDeleteWidget(b.B.C.Ce):(b=b.B.C.Ce,b.parentNode.removeChild(b)),delete X.ja[a])};X.af=function(a,b,c){if(X.Yb(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):X.hb(window,100)}else a=X.cd()+"?widgetId="+a,a+="&func="+encodeURIComponent(b),window.location.replace(a)};X.Yb=function(a){var b=!1;try{if(a.opener){var c="X"+a.opener.document.domain;c&&"X"!=c&&(b=!0)}}catch(d){}return b};
X.hd="status-msg-yellow-on-white";X.ka=function(a,b){a||(a=self);var c=a.document.getElementById(Na);c&&(c.innerHTML=b);(a=a.document.getElementById(Ma))&&de(a,X.hd)};X.$h=function(a){a||(a=self);(a=a.document.getElementById(Ma))&&fe(a,X.hd)};X.Mi=function(a){a&&0<a.length&&"http"!=a.substring(0,4)&&(a="http://"+a);return a};X.ff=function(a,b){if(B(ce(a),b))return a;if(a)for(var c=a.childNodes.length,d=0;d<c;d++){var f=X.ff(a.childNodes.item(d),b);if(f)return f}return null};
X.Ze=function(a){a=a.createElement(h);a.className="blogger-clickTrap singleton-element";a.style.position=ca;a.style.top="0";a.style.left="0";a.style.width="100%";a.style.height="100%";D&&!I(7)&&(a.style.height="expression(this.parentNode.clientHeight)");a.style.zIndex="1000";a.style.cursor="default";a.onclick=X.Zb;a.onmousedown=X.Zb;a.onmouseup=X.Zb;a.style.background="white";a.style.filter="alpha(opacity=1)";a.style.opacity=".01";a.innerHTML="&nbsp;";return a};
X.Ye=function(a,b){var c=X.$c(a,b);a=X.$c(a,b);c.style.backgroundColor="#000";c.style.border="1px solid #aaa";D&&(c.style.filter=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678) alpha(opacity=50)');c.style.opacity=".5";a.style.border="1px solid transparent";c.style.zIndex=1200;a.style.zIndex=1200;return[c,a]};
X.$c=function(a,b){a=a.createElement(h);a.style.position=ca;a.style.top="75px";a.style.left="-225px";a.style.width="600px";a.style.height="28px";a.style.margin="0";a.style.padding="10px";a.style.fontSize="24px";a.style.textAlign="center";a.style.color="#fff";a.style.fontFamily='"trebuchet ms",verdana,arial,sans-serif';D&&(a.style.top="-140px",a.style.left="-140px",a.style.filter=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)');
a.style.MozTransform=Ia;a.style.MozTransformOrigin="50% 0";a.style.WebkitTransform=Ia;a.style.WebkitTransformOrigin="50% 0";a.innerHTML=b;a.className="singleton-element";return a};X.Zb=function(a){a||(a=window.event);a&&(a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation());return!1};var yf=function(a,b){b||(b=document);return b.getElementById("errormessage_"+a)},zf=function(a){if(a=yf(a))yc(a),a.className="errorbox-good"},xf=function(a,b,c){if(a=yf(a,c))a.innerHTML=b,a.className="errorbox-bad errormsg"};
u("_WidgetManager",X,void 0);X._Init=X.jf;X._SetPageActionUrl=X.Af;X._GetPageActionUrl=X.gf;X._SetWidgetRefreshUrl=X.Bf;X._GetWidgetRefreshUrl=X.cd;X._GetCallbackUrl=X.df;X._DeleteWidgetFromPage=X.$e;X._DisplayWidget=X.ad;X._GetWidget=X.va;X._HandleControllerResult=X.dd;X._HandlePageActionResult=X.hf;X._IsOpenerReachable=X.Yb;X._SetConfigWin=X.wf;X._SetDataContext=X.yf;X._SetupPreview=X.Df;X._RegisterWidget=X.ed;X._RegisterNewWidget=X.sf;X._PopupPaneFromParams=X.$b;X._PopupConfig=X.qf;
X._PopupToolbox=X.rf;X._KillPopupDelay=X.kf;X._OnWidgetConfigured=X.mf;X._OnWidgetDeleted=X.pf;u("_WidgetInfo",vf,void 0);vf.prototype._getInstanceId=vf.prototype.kg;wf.prototype._GetData=wf.prototype.ef;wf.prototype._GenerateWidgetMetadata=wf.prototype.bf;X._GetAllData=X.cf;u("widget_module_provide",function(a,b,c){hf.jg().vh(a,b,c)},void 0);function Y(a,b,c,d,f,g,k,l){this.F=a;this.ud="null"!=b?b:null;this.de=c;this.be=d;this.ce=f;this.Ee=g;this.ee=k;this.yh=l;this.zb=this.Ca=-1;this.tc=null;this.$a=300;this.Ec="200px";this.J=document.getElementById(this.F+"_picImg");this.mb=document.getElementById(this.F+"_changeImageLink");this.yb=document.getElementById(this.F+"_imageChoiceTable");this.uc=document.getElementById(this.F+"_imgSrcFromPCRadio");this.Vd=document.getElementById(this.F+"_imgSrcFromWebRadio");this.f=document.getElementById(this.F+
"_imgFileNameInput");this.Sa=document.getElementById(this.F+"_imgUrlTextInput");this.qd=window.frames[this.F+"_asynchronousFileUploadIframe"];this.sc=0;this.v=new Image;this.v.onload=x(this.rh,this);this.v.onerror=x(this.hh,this);this.Id=!1;this.za=this.w=this.Hb=null;this.Nc=!1}p=Y.prototype;
p.rh=function(){this.sc=0;zf(this.F+ba);zf(this.F+aa);this.uc.checked&&0!=this.Ca||(this.Ca=this.v.width,this.zb=this.v.height,this.tc=this.v.src);var a=1,b=1;this.v.width>this.$a&&(a=this.$a/this.v.width);this.v.height>this.$a&&(b=this.$a/this.v.height);a=Math.min(a,b);this.J.style.width=Math.round(this.v.width*a)+"px";this.J.style.height=Math.round(this.v.height*a)+"px";this.J.src=this.v.src;this.J.style.display="";this.yb.style.display=n;this.mb.style.display="";this.f.disabled=!0;this.de&&this.de.call({},
this.J.src,this.tc,this.Ca,this.zb)};p.cb=function(a,b,c,d){a?(xf(this.F+aa,b),zf(this.F+ba)):(xf(this.F+ba,b),zf(this.F+aa));this.J.style.display=n;this.yb.style.display="";this.mb.style.display=n;this.f.disabled=!1;this.be&&this.be.call({},c,d)};p.hh=function(){if(2>this.sc){this.sc++;var a=this.v.src;this.v.src="";this.Xa(a)}else this.cb(this.uc.checked,WidgetMessages.SIV_INVALID_URL,this.J.src,[])};p.Xa=function(a){this.Qe();this.v.src=a};
p.Rf=function(a){a=a||window.event;window.event?(a.returnValue=!1,a.cancelBubble=!0):(a.preventDefault(),a.stopPropagation());this.J.style.display=n;this.mb.style.display=n;this.yb.style.display="";this.f.disabled=!1;this.Sa.value="";this.ye();this.Nc=!0;this.ce&&this.ce.call({})};p.Cg=function(){this.uc.checked="true";this.Sa.value="";this.Qe();this.Vg();this.Id=!0;try{this.w.submit()}catch(a){this.cb(!0,WidgetMessages.SIV_INVALID_URL,this.w.value,[])}this.Ug()};
p.hc=function(){var a=this.qd.document.result;if(a)if(a.hasErrors)0<a.errors.length?this.cb(!0,a.errors[0].message,this.f.value,a.errors):this.cb(!0,WidgetMessages.SIV_INVALID_URL,this.f.value,a.errors);else{var b=Math.max(a.origWidth,a.origHeight),c=this.Td();0!=this.Ca&&-1!=c&&b>c?(b=c/b,this.Ca=Math.round(a.origWidth*b),this.zb=Math.round(a.origHeight*b)):(this.Ca=a.origWidth,this.zb=a.origHeight);this.tc=a.mainSrc;this.Xa(a.thumbSrc)}else this.cb(!0,WidgetMessages.SIV_INVALID_URL,this.f.value,
[])};p.Dg=function(a){9!=(a||window.event).keyCode&&(this.Vd.checked="true",null!=this.Hb&&(window.clearTimeout(this.Hb),this.Hb=null),a=x(this.Ng,this),this.Hb=window.setTimeout(a,1E3))};p.Ng=function(){if(this.Nc||this.v.src!=this.Sa.value)this.ye(),this.Xa(this.Sa.value);this.Nc=!1};p.Pg=function(a){this.Vd.checked=!0;this.Sa.value=a;this.Xa(a)};
p.Qe=function(){this.J.src="https://resources.blogblog.com/img/icon_inprogress.gif";this.J.style.width=this.Ec;this.J.style.height=this.Ec;this.J.style.display="";this.yb.style.display=n;this.mb.style.display=n};
p.Vg=function(){if(!this.w){this.w=document.createElement("form");this.w.action="imageUpload.do";this.w.method="POST";this.w.target=this.qd.name;this.w.encoding="multipart/form-data";this.w.style.display=n;if(this.ud){var a=document.createElement(ua);a.type=qa;a.name="blogID";a.value=this.ud;this.w.appendChild(a)}a=document.createElement(ua);a.type=qa;a.name=Ja;a.id=Ja;this.w.appendChild(a);a=document.createElement(ua);a.type=qa;a.name="security_token";a.value=this.yh;this.w.appendChild(a);document.body.appendChild(this.w)}a=
this.Td();-1==a&&(a=1600);document.getElementById(Ja).value=a;this.za={parent:this.f.parentNode,nextSibling:this.f.nextSibling};this.f.parentNode.removeChild(this.f);this.w.appendChild(this.f)};p.Bh=function(a){this.$a=a;this.Ec=a+"px"};p.Ug=function(){this.w.removeChild(this.f);this.za&&this.za.nextSibling?this.za.parent.insertBefore(this.f,this.za.nextSibling):this.za.parent.appendChild(this.f)};
p.ye=function(){var a=document.createElement(ua);a.type="file";a.name=this.f.name;a.id=this.f.id;a.onchange=this.f.onchange;var b=this.f.nextSibling;null==b?this.f.parentNode.appendChild(a):this.f.parentNode.insertBefore(a,b);this.f.parentNode.removeChild(this.f);this.f=a};p.Td=function(){return-1==this.Ee&&this.ee?this.ee():this.Ee};function Z(){this.Xc={}}var Af=new Z;Z.prototype.Vf=function(a,b,c,d,f,g,k,l){this.Xc[a]=new Y(a,b,eval(c),eval(d),eval(f),g,eval(k),l);return this.Xc[a]};
Z.prototype.Sd=function(a){return this.Xc[a]};Z.prototype.hc=function(a){(a=this.Sd(a))&&a.Id&&a.hc()};u("_UploadSimpleImage",Af,void 0);Z.prototype._createUsiContainer=Z.prototype.Vf;Z.prototype._getUsiContainer=Z.prototype.Sd;Z.prototype._channelResultArrived=Z.prototype.hc;Y.prototype._changeImage=Y.prototype.Rf;Y.prototype._imgUrlFileOnChange=Y.prototype.Cg;Y.prototype._imgUrlTextOnKeyUp=Y.prototype.Dg;Y.prototype._loadInitialUrl=Y.prototype.Pg;Y.prototype._loadImageFromUrl=Y.prototype.Xa;
Y.prototype._setPreviewSize=Y.prototype.Bh;}).call(this);
