(function (){ var e="",h=" ",aa=" (",ba=" (Google)",ca=' name="',da=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)',ea=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678) alpha(opacity=50)',fa=' type="',ga=" x ",ha='"',ia='"trebuchet ms",verdana,arial,sans-serif',ja="#",ka="#000",la="#fff",ma="%",na="%s",k="&",oa="&#39;",pa="&action=",qa="&amp;",
ra="&func=",sa="&gt;",ta="&lt;",ua="&nbsp;",va="&quot;",wa="&sectionId=",xa="&widgetId=",ya="&widgetType=",za="'",Aa="(",Ba="(\\d*)(\\D*)",Ca=")",Da="*",Ea=",",Fa="-140px",Ga="-225px",Ha=".",Ia=".01",Ja=".5",Ka=".js",La=".previewMode .postCommentButtonHolder { padding-top: 22px; }\n",Ma=".x",Na=".y",Oa="/",Pa="//",Qa="//img2.blogblog.com/img/icon_inprogress.gif",Ra="/comment-iframe-bg.g",Ua="/rearrange?blogID=",Va="0",Wa="1",Xa="10",Ya="100%",Za="10px",$a="1px solid #aaa",ab="1px solid transparent",
bb="200px",cb="24px",db="50% 0",eb="600px",fb="75px",gb=":",hb=": ",ib=";\nfont-family: ",jb=";}\n",kb="<",n="=",lb=">",mb="?",nb="?widgetId=",ob="@",pb="AIM",qb="ANON",rb="ARIA attribute cannot be empty.",sb="An object listener must have handleEvent method.",tb="Assertion failed",ub="CSS1Compat",vb="CURRENT",wb="Content-Type",xb="Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?",yb="Expected string but got %s: %s.",zb="FRIENDCONNECT",Ab="GET",Bb=
"GOOGLE",Cb="LJ",Db="Listener can not be null.",Eb="LiveJournal",Fb="MSXML2.XMLHTTP",Gb="MSXML2.XMLHTTP.3.0",Hb="MSXML2.XMLHTTP.6.0",Ib="Microsoft Internet Explorer",Jb="Microsoft.XMLHTTP",Kb="NAMEURL",Lb="NONE",Mb="No such ARIA attribute expanded",Nb="No such ARIA role tab",Ob="OPENID",Pb="OpenID",Qb="POST",Rb="Preview",Sb="SubscribeByEmail",Tb="TP",Ub="TypePad",Vb="UnsubscribeByEmail",Wb="WP",Xb="WordPress",Yb="X",Zb="[object Array]",$b="[object Function]",ac="[object Window]",bc="]",cc="_",dc=
"_OnWidgetConfigured",ec="_OnWidgetDeleted",fc="__gjsload__",gc="_asynchronousFileUploadIframe",hc="_changeImageLink",ic="_imageChoiceTable",jc="_imgFileNameError",kc="_imgFileNameInput",lc="_imgSrcFromPCRadio",mc="_imgSrcFromWebRadio",nc="_imgUrlTextError",oc="_imgUrlTextInput",pc="_picImg",qc="a",rc="a:link, a:visited, a:active, a:hover { color: ",sc="abort",tc="absolute",uc="action",vc="action=",wc="additions text",xc="addnew",yc="ajaxAction",zc="allHolder",Ac="alpha(opacity=1)",Bc="animate",Cc=
"anonNameField",Dc="anonUrlField",Ec="application/x-www-form-urlencoded;charset=utf-8",Fc="aria-",Gc="aria-expanded",Hc="array",Ic="arraybuffer",Jc="begin",Kc="bgint",Lc="bgresponse",Mc="block",Nc="blogID",Oc="blogger-clickTrap",Pc="blur",Qc="body",Rc="body { color: ",Sc="button",Tc="call",Uc="captcha-error",Vc="center",Wc="change",Xc="checkbox",Yc="checked",Zc="chooseWidget",$c="class",ad="click",bd="commentBody-err",cd="commentBodyField",dd="commentDash",ed="commentForm",fd="commentSubscriptionForm",
p="complete",gd="config",hd="configure",id="content-type",jd="data-",kd="default",ld="delete",md="destroy",nd="disabled",od="display",pd="displayModeFull",qd="displayModeLayout",rd="displayModeNone",sd="displayModeSnippet",q="div",td="edit-link",ud="editButton",vd="editlink",wd="encodedIds",xd="encodedSelectedId",yd="end",zd="error",Ad="error-details",Bd="errorbox-bad errormsg",Cd="errorbox-good",Dd="errormessage_",Ed="event",Fd="expanded",Gd="expression(this.parentNode.clientHeight)",Hd="false",
Id="fcAuthToken",Jd="fieldset",Kd="file",Ld="finish",Md="focus",Nd="for",Od="form",r="function",Pd="g",Qd="genericOpenIdDialogErrorHolder",Rd="genericOpenIdIdentityHolder",Sd="goog-zippy-collapsed",Td="goog-zippy-content",Ud="goog-zippy-expanded",Vd="goog-zippy-header",Wd="head",Xd="hidden",Yd="href",Zd="http",$d="http://",ae="http://openid.aol.com/{username}",be="http://profile.typepad.com/{username}",ce="http://{username}.livejournal.com",de="http://{username}.wordpress.com",ee="id",fe="id-error",
ge="identityHolder",he="identityMenu",ie="iemode",je="image",ke="imageUpload.do",le="img",me="infinite loop",ne="inline",oe="input",pe="internal error",qe="keydown",re="keypress",se="keyup",te="layout-title",ue="main-error",ve="main-error-holder",we="main-status",xe="main-status-holder",ye="menubar=no,location=no,resizable=no,scrollbars=no,status=no,height=550,width=800",ze="mouseout",Ae="mouseover",Be="mozResponseArrayBuffer",Ce="multipart/form-data",De="nameUrlDialogErrorHolder",Ee="nameUrlIdentityHolder",
Fe="native code",Ge="no type",He="no widget for ",s="none",Ie="null",Je="number",Ke="o",t="object",Le="off",Me="on",Ne="openIdDialogErrorHolder",Oe="openIdIdentityHolder",Pe="openIdUriDisplayPrefix",Qe="openIdUriDisplaySuffix",Re="openIdUriDisplayUsername",Se="openIdUriField",Te="openIdUserNameField",Ue="openIdUsernameLabel",Ve="option",We="overflow:hidden",Xe="page",Ye="pageID",Ze="play",$e="postCommentSubmit",af="previewHolder",bf="previewMode",cf="px",df="radio",ef="ready",ff="readystatechange",
gf="requestReload",hf="reset",jf="response",kf="responseType=js",lf="resume",mf="role",nf="rotate(-45deg)",of="script",pf="sectionId",qf="sectionWidth",rf="security_token",sf="select",tf="select-multiple",uf="select-one",vf="set-comment-editor-height ",wf="settingsButton",xf="showPreview",yf="signoutLink",zf="span",Af="splice",Bf="status-message",Cf="status-message-inner",Df="stop",Ef="string",Ff="style",Gf="submit",Hf="subscribeButton",If="subscribeButtonHolder",Jf="success",Kf="tab",Lf="text",Mf=
"text/javascript",Nf="timeout",Of="toggle",Pf="true",Qf="var ",Rf="vertical",Sf="white",Tf="widget-content",Uf="widget-wrap1",Vf="widget-wrap2",Wf="widget-wrap3",Xf="widgetId=",Yf="widgetType",Zf="widgetType=",$f="width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes",ag="window",bg="withCredentials",cg="{username}",dg="\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645",eg="\u0627\u0633\u0645 \u0645\u0633\u062a\u062e\u062f\u0645 AIM:",fg="\u0627\u0633\u0645 \u0645\u0633\u062a\u062e\u062f\u0645 LiveJournal:",
gg="\u0627\u0633\u0645 \u0645\u0633\u062a\u062e\u062f\u0645 TypePad:",hg="\u0627\u0633\u0645 \u0645\u0633\u062a\u062e\u062f\u0645 WordPress:",ig="\u0627\u0644\u0627\u0633\u0645/\u0639\u0646\u0648\u0627\u0646 URL",jg="\u062a\u062d\u062f\u064a\u062f \u0645\u0644\u0641 \u062a\u0639\u0631\u064a\u0641...",kg="\u062d\u062f\u062b \u062e\u0637\u0623 \u0623\u062b\u0646\u0627\u0621 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u062e\u0627\u062f\u0645.",lg="\u062d\u0633\u0627\u0628 Google",mg=
"\u0645\u062c\u0647\u0648\u0644",ng="\u064a\u062a\u062c\u0627\u0648\u0632 \u0637\u0648\u0644 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 1 \u0645\u064a\u062c\u0627\u0628\u0627\u064a\u062a. \u064a\u0631\u062c\u0649 \u0627\u0644\u0627\u062e\u062a\u0635\u0627\u0631.",og="\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0643\u0648\u0646 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0641\u0627\u0631\u063a\u064b\u0627",pg="\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0643\u0648\u0646 \u0627\u0644\u0627\u0633\u0645 \u0641\u0627\u0631\u063a\u064b\u0627",
qg="\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0643\u0648\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642 \u0641\u0627\u0631\u063a\u064b\u0627",rg="\u064a\u062c\u0628 \u0623\u0644\u0627 \u064a\u0643\u0648\u0646 \u0639\u0646\u0648\u0627\u0646 URL \u0641\u0627\u0631\u063a\u064b\u0627",sg="\u064a\u0631\u062c\u0649 \u0627\u062e\u062a\u064a\u0627\u0631 \u0645\u0644\u0641 \u062a\u0639\u0631\u064a\u0641",u,tg=tg||{},v=this,w=function(a,b,c){a=a.split(Ha);c=c||v;a[0]in c||!c.execScript||c.execScript(Qf+
a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]?c[d]:c[d]={}:c[d]=b},ug=function(){},vg=function(a){return a},wg=function(a){a.mg=function(){return a.Ce?a.Ce:a.Ce=new a}},xg=function(a){var b=typeof a;if(b==t)if(a){if(a instanceof Array)return Hc;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c==ac)return t;if(c==Zb||typeof a.length==Je&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(Af))return Hc;
if(c==$b||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(Tc))return r}else return Ie;else if(b==r&&"undefined"==typeof a.call)return t;return b},x=function(a){return void 0!==a},y=function(a){return xg(a)==Hc},yg=function(a){var b=xg(a);return b==Hc||b==t&&typeof a.length==Je},z=function(a){return typeof a==Ef},zg=function(a){return xg(a)==r},Ag=function(a){var b=typeof a;return b==t&&null!=a||b==r},Bg="closure_uid_"+(1E9*Math.random()>>>0),Cg=0,Dg=
function(a,b,c){return a.call.apply(a.bind,arguments)},Eg=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)}},A=function(a,b,c){A=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(Fe)?Dg:Eg;return A.apply(null,arguments)},Fg=Date.now||function(){return+new Date},
B=function(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.oh=function(a,c,g){var l=Array.prototype.slice.call(arguments,2);return b.prototype[c].apply(a,l)}};Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return A.apply(null,c)}return A(this,a)};Function.prototype.f=function(a){B(this,a)};var Gg=function(a){Error.captureStackTrace?Error.captureStackTrace(this,Gg):this.stack=Error().stack||e;a&&(this.message=String(a))};B(Gg,Error);Gg.prototype.name="CustomError";var Hg;var Ig=function(a,b){for(var c=a.split(na),d=e,f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)d+=c.shift()+f.shift();return d+c.join(na)},Jg=function(a){return a.replace(/(\r\n|\r|\n)+/g,h)},Kg=function(a){return a.replace(/\xa0|[ \t]+/g,h)},Lg=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,e)},Sg=function(a,b){if(b)return a.replace(Mg,qa).replace(Ng,ta).replace(Og,sa).replace(Pg,va).replace(Qg,oa);if(!Rg.test(a))return a;-1!=a.indexOf(k)&&(a=a.replace(Mg,qa));-1!=a.indexOf(kb)&&
(a=a.replace(Ng,ta));-1!=a.indexOf(lb)&&(a=a.replace(Og,sa));-1!=a.indexOf(ha)&&(a=a.replace(Pg,va));-1!=a.indexOf(za)&&(a=a.replace(Qg,oa));return a},Mg=/&/g,Ng=/</g,Og=/>/g,Pg=/"/g,Qg=/'/g,Rg=/[&<>"']/,Tg=function(a,b){return a<b?-1:a>b?1:0};var Ug=function(a,b){b.unshift(a);Gg.call(this,Ig.apply(null,b));b.shift()};B(Ug,Gg);Ug.prototype.name="AssertionError";var Vg=function(a,b,c,d){var f=tb;if(c)var f=f+(hb+c),g=d;else a&&(f+=hb+a,g=b);throw new Ug(e+f,g||[]);},C=function(a,b,c){a||Vg(e,null,b,Array.prototype.slice.call(arguments,2));return a},Wg=function(a,b,c){z(a)||Vg(yb,[xg(a),a],b,Array.prototype.slice.call(arguments,2));return a};var D=Array.prototype,Xg=D.indexOf?function(a,b,c){C(null!=a.length);return D.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(z(a))return z(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},Yg=D.forEach?function(a,b,c){C(null!=a.length);D.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=z(a)?a.split(e):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},Zg=D.filter?function(a,b,c){C(null!=a.length);return D.filter.call(a,b,
c)}:function(a,b,c){for(var d=a.length,f=[],g=0,l=z(a)?a.split(e):a,m=0;m<d;m++)if(m in l){var M=l[m];b.call(c,M,m,a)&&(f[g++]=M)}return f},$g=D.some?function(a,b,c){C(null!=a.length);return D.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=z(a)?a.split(e):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},ah=function(a,b,c){t:{for(var d=a.length,f=z(a)?a.split(e):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a)){b=g;break t}b=-1}return 0>b?null:z(a)?a.charAt(b):a[b]},bh=function(a,
b){return 0<=Xg(a,b)},ch=function(a){if(!y(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},eh=function(a,b){var c=Xg(a,b),d;(d=0<=c)&&dh(a,c);return d},dh=function(a,b){C(null!=a.length);return 1==D.splice.call(a,b,1).length},fh=function(a){return D.concat.apply(D,arguments)},gh=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[]},hh=function(a,b,c){C(null!=a.length);return 2>=arguments.length?D.slice.call(a,b):D.slice.call(a,b,c)};var ih=function(a,b){this.width=a;this.height=b};u=ih.prototype;u.clone=function(){return new ih(this.width,this.height)};u.toString=function(){return Aa+this.width+ga+this.height+Ca};u.Tg=function(){return this.width*this.height};u.isEmpty=function(){return!this.Tg()};u.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var jh=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},kh=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},lh=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},mh=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},nh=function(a){for(var b in a)return!1;return!0},oh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),ph=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<oh.length;g++)c=oh[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var qh,rh,sh,th,uh=function(){return v.navigator?v.navigator.userAgent:null};th=sh=rh=qh=!1;var vh;if(vh=uh()){var wh=v.navigator;qh=0==vh.lastIndexOf("Opera",0);rh=!qh&&(-1!=vh.indexOf("MSIE")||-1!=vh.indexOf("Trident"));sh=!qh&&-1!=vh.indexOf("WebKit");th=!qh&&!sh&&!rh&&"Gecko"==wh.product}var xh=qh,E=rh,yh=th,zh=sh,Ah=function(){var a=v.document;return a?a.documentMode:void 0},Bh;
t:{var Ch=e,Dh;if(xh&&v.opera)var Eh=v.opera.version,Ch=typeof Eh==r?Eh():Eh;else if(yh?Dh=/rv\:([^\);]+)(\)|;)/:E?Dh=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:zh&&(Dh=/WebKit\/(\S+)/),Dh)var Fh=Dh.exec(uh()),Ch=Fh?Fh[1]:e;if(E){var Gh=Ah();if(Gh>parseFloat(Ch)){Bh=String(Gh);break t}}Bh=Ch}
var Hh=Bh,Ih={},F=function(a){var b;if(!(b=Ih[a])){b=0;for(var c=Lg(String(Hh)).split(Ha),d=Lg(String(a)).split(Ha),f=Math.max(c.length,d.length),g=0;0==b&&g<f;g++){var l=c[g]||e,m=d[g]||e,M=RegExp(Ba,Pd),ck=RegExp(Ba,Pd);do{var Sa=M.exec(l)||[e,e,e],Ta=ck.exec(m)||[e,e,e];if(0==Sa[0].length&&0==Ta[0].length)break;b=Tg(0==Sa[1].length?0:parseInt(Sa[1],10),0==Ta[1].length?0:parseInt(Ta[1],10))||Tg(0==Sa[2].length,0==Ta[2].length)||Tg(Sa[2],Ta[2])}while(0==b)}b=Ih[a]=0<=b}return b},Jh=v.document,Kh=
Jh&&E?Ah()||(Jh.compatMode==ub?parseInt(Hh,10):5):void 0;var Lh=!E||E&&9<=Kh;!yh&&!E||E&&E&&9<=Kh||yh&&F("1.9.1");E&&F("9");var Mh=function(a){a=a.className;return z(a)&&a.match(/\S+/g)||[]},Nh=function(a,b){for(var c=Mh(a),d=hh(arguments,1),f=c.length+d.length,g=c,l=0;l<d.length;l++)bh(g,d[l])||g.push(d[l]);a.className=c.join(h);return c.length==f},Ph=function(a,b){var c=Mh(a),d=hh(arguments,1),f=Oh(c,d);a.className=f.join(h);return f.length==c.length-d.length},Oh=function(a,b){return Zg(a,function(a){return!bh(b,a)})};var Rh=function(a){return a?new Qh(9==a.nodeType?a:a.ownerDocument||a.document):Hg||(Hg=new Qh)},G=function(a){return z(a)?document.getElementById(a):a},Th=function(a,b){jh(b,function(b,d){d==Ff?a.style.cssText=b:d==$c?a.className=b:d==Nd?a.htmlFor=b:d in Sh?a.setAttribute(Sh[d],b):0==d.lastIndexOf(Fc,0)||0==d.lastIndexOf(jd,0)?a.setAttribute(d,b):a[d]=b})},Sh={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:mf,
rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Vh=function(a,b,c){return Uh(document,arguments)},Uh=function(a,b){var c=b[0],d=b[1];if(!Lh&&d&&(d.name||d.type)){c=[kb,c];d.name&&c.push(ca,Sg(d.name),ha);if(d.type){c.push(fa,Sg(d.type),ha);var f={};ph(f,d);delete f.type;d=f}c.push(lb);c=c.join(e)}c=a.createElement(c);d&&(z(d)?c.className=d:y(d)?Nh.apply(null,[c].concat(d)):Th(c,d));2<b.length&&Wh(a,c,b,2);return c},Wh=function(a,b,c,d){function f(c){c&&b.appendChild(z(c)?
a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];!yg(g)||Ag(g)&&0<g.nodeType?f(g):Yg(Xh(g)?gh(g):g,f)}},Xh=function(a){if(a&&typeof a.length==Je){if(Ag(a))return typeof a.item==r||typeof a.item==Ef;if(zg(a))return typeof a.item==r}return!1},Qh=function(a){this.Ba=a||v.document||document};u=Qh.prototype;u.ub=function(a){return z(a)?this.Ba.getElementById(a):a};
u.le=function(a,b,c){c=c||this.Ba;a=a&&a!=Da?a.toUpperCase():e;if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?Ha+b:e));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},f=0,g=0,l;l=c[g];g++)a==l.nodeName&&(d[f++]=l);d.length=f;b=d}else b=c;else if(c=c.getElementsByTagName(a||Da),b){d={};for(g=f=0;l=c[g];g++)a=l.className,typeof a.split==r&&bh(a.split(/\s+/),b)&&(d[f++]=l);d.length=f;b=d}else b=c;return b};
u.tc=function(a,b,c){return Uh(this.Ba,arguments)};u.createElement=function(a){return this.Ba.createElement(a)};u.createTextNode=function(a){return this.Ba.createTextNode(String(a))};u.appendChild=function(a,b){a.appendChild(b)};u.contains=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var H=function(){};H.prototype.Gb=!1;H.prototype.R=function(){this.Gb||(this.Gb=!0,this.c())};H.prototype.c=function(){if(this.Ie)for(;this.Ie.length;)this.Ie.shift()()};var Yh=function(a){a&&typeof a.R==r&&a.R()};var I=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ja=!1;this.Ad=!0};I.prototype.c=function(){};I.prototype.R=function(){};I.prototype.stopPropagation=function(){this.ja=!0};I.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Ad=!1};var Zh=function(a){Zh[h](a);return a};Zh[h]=ug;var $h=!E||E&&9<=Kh,ai=E&&!F("9");!zh||F("528");yh&&F("1.9b")||E&&F("8")||xh&&F("9.5")||zh&&F("528");yh&&!F("8")||E&&F("9");var J=function(a,b){I.call(this,a?a.type:e);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.Sa=this.state=null;a&&this.we(a,b)};B(J,I);
J.prototype.we=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(yh){var f;t:{try{Zh(d.nodeName);f=!0;break t}catch(g){}f=!1}f||(d=null)}}else c==Ae?d=a.fromElement:c==ze&&(d=a.toElement);this.relatedTarget=d;this.offsetX=zh||void 0!==a.offsetX?a.offsetX:a.layerX;this.offsetY=zh||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.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c==re?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.Sa=a;a.defaultPrevented&&this.preventDefault()};J.prototype.stopPropagation=function(){J.g.stopPropagation.call(this);this.Sa.stopPropagation?this.Sa.stopPropagation():this.Sa.cancelBubble=!0};
J.prototype.preventDefault=function(){J.g.preventDefault.call(this);var a=this.Sa;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ai)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};J.prototype.c=function(){};var bi="closure_listenable_"+(1E6*Math.random()|0),ci=function(a){try{return!(!a||!a[bi])}catch(b){return!1}},di=0;var ei=function(a,b,c,d,f,g){this.ha=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!f;this.Ab=g;this.key=++di;this.va=this.yb=!1};ei.prototype.Ib=function(){this.va=!0;this.Ab=this.src=this.proxy=this.ha=null};var fi=function(a){this.src=a;this.m={};this.Pa=0};u=fi.prototype;u.add=function(a,b,c,d,f){var g=this.m[a];g||(g=this.m[a]=[],this.Pa++);var l=gi(g,b,d,f);-1<l?(a=g[l],c||(a.yb=!1)):(a=new ei(b,null,this.src,a,!!d,f),a.yb=c,g.push(a));return a};u.remove=function(a,b,c,d){if(!(a in this.m))return!1;var f=this.m[a];b=gi(f,b,c,d);return-1<b?(f[b].Ib(),dh(f,b),0==f.length&&(delete this.m[a],this.Pa--),!0):!1};
u.Sd=function(a){var b=a.type;if(!(b in this.m))return!1;var c=eh(this.m[b],a);c&&(a.Ib(),0==this.m[b].length&&(delete this.m[b],this.Pa--));return c};u.Eb=function(a){var b=0,c;for(c in this.m)if(!a||c==a){for(var d=this.m[c],f=0;f<d.length;f++)++b,d[f].Ib();delete this.m[c];this.Pa--}return b};u.Qa=function(a,b,c,d){a=this.m[a];var f=-1;a&&(f=gi(a,b,c,d));return-1<f?a[f]:null};var gi=function(a,b,c,d){for(var f=0;f<a.length;++f){var g=a[f];if(!g.va&&g.ha==b&&g.capture==!!c&&g.Ab==d)return f}return-1};var hi="closure_lm_"+(1E6*Math.random()|0),ii={},ji=0,K=function(a,b,c,d,f){if(y(b)){for(var g=0;g<b.length;g++)K(a,b[g],c,d,f);return null}c=ki(c);return ci(a)?a.Aa(b,c,d,f):li(a,b,c,!1,d,f)},li=function(a,b,c,d,f,g){if(!b)throw Error("Invalid event type");var l=!!f,m=mi(a);m||(a[hi]=m=new fi(a));c=m.add(b,c,d,f,g);if(c.proxy)return c;d=ni();c.proxy=d;d.src=a;d.ha=c;a.addEventListener?a.addEventListener(b,d,l):a.attachEvent(b in ii?ii[b]:ii[b]=Me+b,d);ji++;return c},ni=function(){var a=oi,b=$h?function(c){return a.call(b.src,
b.ha,c)}:function(c){c=a.call(b.src,b.ha,c);if(!c)return c};return b},pi=function(a,b,c,d,f){if(y(b)){for(var g=0;g<b.length;g++)pi(a,b[g],c,d,f);return null}c=ki(c);return ci(a)?a.Hc(b,c,d,f):li(a,b,c,!0,d,f)},qi=function(a,b,c,d,f){if(y(b)){for(var g=0;g<b.length;g++)qi(a,b[g],c,d,f);return null}c=ki(c);if(ci(a))return a.Jb(b,c,d,f);if(!a)return!1;if(a=mi(a))if(b=a.Qa(b,c,!!d,f))return ri(b);return!1},ri=function(a){if(typeof a==Je||!a||a.va)return!1;var b=a.src;if(ci(b))return b.od(a);var c=a.type,
d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(c in ii?ii[c]:ii[c]=Me+c,d);ji--;(c=mi(b))?(c.Sd(a),0==c.Pa&&(c.src=null,b[hi]=null)):a.Ib();return!0},si=function(a,b){if(!a)return 0;if(ci(a))return a.zd(b);var c=mi(a);if(!c)return 0;var d=0,f;for(f in c.m)if(!b||f==b)for(var g=gh(c.m[f]),l=0;l<g.length;++l)ri(g[l])&&++d;return d},ui=function(a,b,c,d){var f=1;if(a=mi(a))if(b=a.m[b])for(b=gh(b),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.va&&
(f&=!1!==ti(g,d))}return Boolean(f)},ti=function(a,b){var c=a.ha,d=a.Ab||a.src;a.yb&&ri(a);return c.call(d,b)},oi=function(a,b){if(a.va)return!0;if(!$h){var c;if(!(c=b))t:{c=[ag,Ed];for(var d=v,f;f=c.shift();)if(null!=d[f])d=d[f];else{c=null;break t}c=d}f=c;c=new J(f,this);d=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){t:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break t}catch(l){g=!0}if(g||void 0==f.returnValue)f.returnValue=!0}f=[];for(g=c.currentTarget;g;g=g.parentNode)f.push(g);for(var g=a.type,
m=f.length-1;!c.ja&&0<=m;m--)c.currentTarget=f[m],d&=ui(f[m],g,!0,c);for(m=0;!c.ja&&m<f.length;m++)c.currentTarget=f[m],d&=ui(f[m],g,!1,c)}return d}return ti(a,new J(b,this))},mi=function(a){a=a[hi];return a instanceof fi?a:null},vi="__closure_events_fn_"+(1E9*Math.random()>>>0),ki=function(a){C(a,Db);if(zg(a))return a;C(a.handleEvent,sb);return a[vi]||(a[vi]=function(b){return a.handleEvent(b)})};var L=function(){this.Q=new fi(this);this.wf=this};B(L,H);L.prototype[bi]=!0;u=L.prototype;u.mc=null;u.addEventListener=function(a,b,c,d){K(this,a,b,c,d)};u.removeEventListener=function(a,b,c,d){qi(this,a,b,c,d)};
u.dispatchEvent=function(a){this.Wd();var b,c=this.mc;if(c){b=[];for(var d=1;c;c=c.mc)b.push(c),C(1E3>++d,me)}c=this.wf;d=a.type||a;if(z(a))a=new I(a,c);else if(a instanceof I)a.target=a.target||c;else{var f=a;a=new I(d,c);ph(a,f)}var f=!0,g;if(b)for(var l=b.length-1;!a.ja&&0<=l;l--)g=a.currentTarget=b[l],f=g.Mb(d,!0,a)&&f;a.ja||(g=a.currentTarget=c,f=g.Mb(d,!0,a)&&f,a.ja||(f=g.Mb(d,!1,a)&&f));if(b)for(l=0;!a.ja&&l<b.length;l++)g=a.currentTarget=b[l],f=g.Mb(d,!1,a)&&f;return f};
u.c=function(){L.g.c.call(this);this.zd();this.mc=null};u.Aa=function(a,b,c,d){this.Wd();return this.Q.add(String(a),b,!1,c,d)};u.Hc=function(a,b,c,d){return this.Q.add(String(a),b,!0,c,d)};u.Jb=function(a,b,c,d){return this.Q.remove(String(a),b,c,d)};u.od=function(a){return this.Q.Sd(a)};u.zd=function(a){return this.Q?this.Q.Eb(a):0};
u.Mb=function(a,b,c){a=this.Q.m[String(a)];if(!a)return!0;a=gh(a);for(var d=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.va&&g.capture==b){var l=g.ha,m=g.Ab||g.src;g.yb&&this.od(g);d=!1!==l.call(m,c)&&d}}return d&&!1!=c.Ad};u.Qa=function(a,b,c,d){return this.Q.Qa(String(a),b,c,d)};u.Wd=function(){C(this.Q,xb)};var wi=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,ob).replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bc).replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e)))try{return eval(Aa+a+Ca)}catch(b){}throw Error("Invalid JSON string: "+a);};var xi="StopIteration"in v?v.StopIteration:Error("StopIteration"),yi=function(){};yi.prototype.next=function(){throw xi;};yi.prototype.Fc=function(){return this};var zi=function(a,b){this.k={};this.e=[];this.Na=this.d=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.gc(a)};u=zi.prototype;u.p=function(){return this.d};u.v=function(){this.wb();for(var a=[],b=0;b<this.e.length;b++)a.push(this.k[this.e[b]]);return a};u.K=function(){this.wb();return this.e.concat()};u.ea=function(a){return Ai(this.k,a)};u.isEmpty=function(){return 0==this.d};
u.clear=function(){this.k={};this.Na=this.d=this.e.length=0};u.remove=function(a){return Ai(this.k,a)?(delete this.k[a],this.d--,this.Na++,this.e.length>2*this.d&&this.wb(),!0):!1};u.wb=function(){if(this.d!=this.e.length){for(var a=0,b=0;a<this.e.length;){var c=this.e[a];Ai(this.k,c)&&(this.e[b++]=c);a++}this.e.length=b}if(this.d!=this.e.length){for(var d={},b=a=0;a<this.e.length;)c=this.e[a],Ai(d,c)||(this.e[b++]=c,d[c]=1),a++;this.e.length=b}};
u.get=function(a,b){return Ai(this.k,a)?this.k[a]:b};u.set=function(a,b){Ai(this.k,a)||(this.d++,this.e.push(a),this.Na++);this.k[a]=b};u.gc=function(a){var b;a instanceof zi?(b=a.K(),a=a.v()):(b=lh(a),a=kh(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};u.clone=function(){return new zi(this)};
u.Fc=function(a){this.wb();var b=0,c=this.e,d=this.k,f=this.Na,g=this,l=new yi;l.next=function(){for(;;){if(f!=g.Na)throw Error("The map has changed since the iterator was created");if(b>=c.length)throw xi;var l=c[b++];return a?l:d[l]}};return l};var Ai=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Bi=function(a){if(typeof a.v==r)return a.v();if(z(a))return a.split(e);if(yg(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return kh(a)},Ci=function(a,b,c){if(typeof a.forEach==r)a.forEach(b,c);else if(yg(a)||z(a))Yg(a,b,c);else{var d;if(typeof a.K==r)d=a.K();else if(typeof a.v!=r)if(yg(a)||z(a)){d=[];for(var f=a.length,g=0;g<f;g++)d.push(g)}else d=lh(a);else d=void 0;for(var f=Bi(a),g=f.length,l=0;l<g;l++)b.call(c,f[l],d&&d[l],a)}};var Di=function(a){this.k=new zi;a&&this.gc(a)},Ei=function(a){var b=typeof a;return b==t&&a||b==r?Ke+(a[Bg]||(a[Bg]=++Cg)):b.substr(0,1)+a};u=Di.prototype;u.p=function(){return this.k.p()};u.add=function(a){this.k.set(Ei(a),a)};u.gc=function(a){a=Bi(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};u.Eb=function(a){a=Bi(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};u.remove=function(a){return this.k.remove(Ei(a))};u.clear=function(){this.k.clear()};u.isEmpty=function(){return this.k.isEmpty()};
u.contains=function(a){return this.k.ea(Ei(a))};u.v=function(){return this.k.v()};u.clone=function(){return new Di(this)};u.Fc=function(){return this.k.Fc(!1)};var Fi=function(a,b,c){if(zg(a))c&&(a=A(a,c));else if(a&&typeof a.handleEvent==r)a=A(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<b?-1:v.setTimeout(a,b||0)};var Gi=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Ii=function(a){if(Hi){Hi=!1;var b=v.location;if(b){var c=b.href;if(c&&(c=(c=Ii(c)[3]||null)&&decodeURIComponent(c))&&c!=b.hostname)throw Hi=!0,Error();}}return a.match(Gi)},Hi=zh;var Ji=function(){};Ji.prototype.Be=null;Ji.prototype.Zc=function(){return this.Be||(this.Be=this.qg())};var Ki,Li=function(){};B(Li,Ji);Li.prototype.ye=function(){var a=this.Ge();return a?new ActiveXObject(a):new XMLHttpRequest};Li.prototype.qg=function(){var a={};this.Ge()&&(a[0]=!0,a[1]=!0);return a};
Li.prototype.Ge=function(){if(!this.He&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=[Hb,Gb,Fb,Jb],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.He=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.He};Ki=new Li;var N=function(a){L.call(this);this.headers=new zi;this.bb=a||null;this.U=!1;this.$a=this.a=null;this.Xb=e;this.oa=0;this.ca=this.Ub=this.Ya=this.Wb=!1;this.ba=0;this.cb=null;this.ma=e;this.Vb=this.Wc=!1};B(N,L);var Mi=/^https?$/i,Ni=[Qb,"PUT"],Oi=[],Pi=function(a,b,c,d,f,g,l){var m=new N;Oi.push(m);b&&m.Aa(p,b);m.Hc(ef,m.Jf);g&&m.dc(g);l&&m.Kf(l);m.send(a,c,d,f)};u=N.prototype;u.Jf=function(){this.R();eh(Oi,this)};u.dc=function(a){this.ba=Math.max(0,a)};u.Se=function(a){this.ma=a};
u.Kf=function(a){this.Wc=a};
u.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Xb+"; newUri="+a);b=b?b.toUpperCase():Ab;this.Xb=a;this.oa=0;this.Wb=!1;this.U=!0;this.a=this.Me();this.$a=this.bb?this.bb.Zc():Ki.Zc();this.a.onreadystatechange=A(this.Vc,this);try{this.Ub=!0,this.a.open(b,a,!0),this.Ub=!1}catch(f){this.Yc(5,f);return}a=c||e;var g=this.headers.clone();d&&Ci(d,function(a,b){g.set(b,a)});d=ah(g.K(),Qi);c=v.FormData&&a instanceof v.FormData;!bh(Ni,b)||d||c||
g.set(wb,Ec);Ci(g,function(a,b){this.a.setRequestHeader(b,a)},this);this.ma&&(this.a.responseType=this.ma);bg in this.a&&(this.a.withCredentials=this.Wc);try{this.Xc(),0<this.ba&&((this.Vb=Ri(this.a))?(this.a.timeout=this.ba,this.a.ontimeout=A(this.$c,this)):this.cb=Fi(this.$c,this.ba,this)),this.Ya=!0,this.a.send(a),this.Ya=!1}catch(l){this.Yc(5,l)}};var Ri=function(a){return E&&F(9)&&typeof a.timeout==Je&&x(a.ontimeout)},Qi=function(a){return id==a.toLowerCase()};u=N.prototype;
u.Me=function(){return this.bb?this.bb.ye():Ki.ye()};u.$c=function(){"undefined"!=typeof tg&&this.a&&(this.oa=8,this.dispatchEvent(Nf),this.abort(8))};u.Yc=function(a){this.U=!1;this.a&&(this.ca=!0,this.a.abort(),this.ca=!1);this.oa=a;this.cd();this.fb()};u.cd=function(){this.Wb||(this.Wb=!0,this.dispatchEvent(p),this.dispatchEvent(zd))};u.abort=function(a){this.a&&this.U&&(this.U=!1,this.ca=!0,this.a.abort(),this.ca=!1,this.oa=a||7,this.dispatchEvent(p),this.dispatchEvent(sc),this.fb())};
u.c=function(){this.a&&(this.U&&(this.U=!1,this.ca=!0,this.a.abort(),this.ca=!1),this.fb(!0));N.g.c.call(this)};u.Vc=function(){this.Gb||(this.Ub||this.Ya||this.ca?this.Zd():this.Cf())};u.Cf=function(){this.Zd()};u.Zd=function(){if(this.U&&"undefined"!=typeof tg&&(!this.$a[1]||4!=this.pb()||2!=this.getStatus()))if(this.Ya&&4==this.pb())Fi(this.Vc,0,this);else if(this.dispatchEvent(ff),this.We()){this.U=!1;try{this.La()?(this.dispatchEvent(p),this.dispatchEvent(Jf)):(this.oa=6,this.cd())}finally{this.fb()}}};
u.fb=function(a){if(this.a){this.Xc();var b=this.a,c=this.$a[0]?ug:null;this.$a=this.a=null;a||this.dispatchEvent(ef);try{b.onreadystatechange=c}catch(d){}}};u.Xc=function(){this.a&&this.Vb&&(this.a.ontimeout=null);typeof this.cb==Je&&(v.clearTimeout(this.cb),this.cb=null)};u.Ob=function(){return!!this.a};u.We=function(){return 4==this.pb()};
u.La=function(){var a=this.getStatus(),b;t:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:b=!0;break t;default:b=!1}return b||0===a&&!this.ah()};u.ah=function(){var a=Ii(String(this.Xb))[1]||null;!a&&self.location&&(a=self.location.protocol,a=a.substr(0,a.length-1));return Mi.test(a?a.toLowerCase():e)};u.pb=function(){return this.a?this.a.readyState:0};u.getStatus=function(){try{return 2<this.pb()?this.a.status:-1}catch(a){return-1}};
u.hf=function(){try{return this.a?this.a.responseText:e}catch(a){return e}};u.ve=function(a){if(this.a){var b=this.a.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return wi(b)}};u.Of=function(){try{if(!this.a)return null;if(jf in this.a)return this.a.response;switch(this.ma){case e:case Lf:return this.a.responseText;case Ic:if(Be in this.a)return this.a.mozResponseArrayBuffer}return null}catch(a){return null}};var Si=function(){};Si.prototype.F=function(){return Lb};Si.prototype.w=function(){return null};var Ti=function(a){this.label=a};Ti.f(Si);Ti.prototype.n=function(){return this.label};var O=function(a,b){this.label=b;this.value=a.F();this.I=a};O.f(Si);O.prototype.n=function(){return this.label};O.prototype.F=function(){return this.value};O.prototype.l=function(){return this.I.l()+n};O.prototype.w=function(){return new P(this)};var Q=function(){};Q.f(Si);Q.prototype.l=function(){return encodeURIComponent(this.F())};Q.prototype.w=function(){return null};var Ui=function(a){O.call(this,a,a.n())};Ui.f(O);var Vi=function(){};Vi.f(Q);Vi.prototype.n=function(){return mg};Vi.prototype.F=function(){return qb};Vi.prototype.la=function(){return new Ui(this)};var Wi=function(a,b){var c;a instanceof Wi?(this.B=x(b)?b:a.B,this.xd(a.xa),this.yd(a.bc),this.td(a.qb),this.vd(a.sb),this.setPath(a.getPath()),this.wd(a.Z.clone()),this.ud(a.rb)):a&&(c=Ii(String(a)))?(this.B=!!b,this.xd(c[1]||e,!0),this.yd(c[2]||e,!0),this.td(c[3]||e,!0),this.vd(c[4]),this.setPath(c[5]||e,!0),this.wd(c[6]||e,!0),this.ud(c[7]||e,!0)):(this.B=!!b,this.Z=new Xi(null,null,this.B))};u=Wi.prototype;u.xa=e;u.bc=e;u.qb=e;u.sb=null;u.re=e;u.rb=e;u.bh=!1;u.B=!1;
u.toString=function(){var a=[],b=this.xa;b&&a.push(Yi(b,Zi),gb);if(b=this.qb){a.push(Pa);var c=this.bc;c&&a.push(Yi(c,Zi),ob);a.push(encodeURIComponent(String(b)));b=this.sb;null!=b&&a.push(gb,String(b))}if(b=this.getPath())this.Af()&&b.charAt(0)!=Oa&&a.push(Oa),a.push(Yi(b,b.charAt(0)==Oa?$i:aj));(b=this.zf())&&a.push(mb,b);(b=this.rb)&&a.push(ja,Yi(b,bj));return a.join(e)};u.clone=function(){return new Wi(this)};
u.xd=function(a,b){this.$();if(this.xa=b?a?decodeURIComponent(a):e:a)this.xa=this.xa.replace(/:$/,e);return this};u.yd=function(a,b){this.$();this.bc=b?a?decodeURIComponent(a):e:a;return this};u.td=function(a,b){this.$();this.qb=b?a?decodeURIComponent(a):e:a;return this};u.Af=function(){return!!this.qb};u.vd=function(a){this.$();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.sb=a}else this.sb=null;return this};u.getPath=function(){return this.re};
u.setPath=function(a,b){this.$();this.re=b?a?decodeURIComponent(a):e:a;return this};u.wd=function(a,b){this.$();a instanceof Xi?(this.Z=a,this.Z.Bc(this.B)):(b||(a=Yi(a,cj)),this.Z=new Xi(a,null,this.B));return this};u.zf=function(){return this.Z.toString()};u.Nb=function(a,b){this.$();this.Z.set(a,b);return this};u.ud=function(a,b){this.$();this.rb=b?a?decodeURIComponent(a):e:a;return this};u.$=function(){if(this.bh)throw Error("Tried to modify a read-only Uri");};
u.Bc=function(a){this.B=a;this.Z&&this.Z.Bc(a);return this};var Yi=function(a,b){return z(a)?encodeURI(a).replace(b,dj):null},dj=function(a){a=a.charCodeAt(0);return ma+(a>>4&15).toString(16)+(a&15).toString(16)},Zi=/[#\/\?@]/g,aj=/[\#\?:]/g,$i=/[\#\?]/g,cj=/[\#\?@]/g,bj=/#/g,Xi=function(a,b,c){this.X=a||null;this.B=!!c};u=Xi.prototype;
u.N=function(){if(!this.i&&(this.i=new zi,this.d=0,this.X))for(var a=this.X.split(k),b=0;b<a.length;b++){var c=a[b].indexOf(n),d=null,f=null;0<=c?(d=a[b].substring(0,c),f=a[b].substring(c+1)):d=a[b];d=decodeURIComponent(d.replace(/\+/g,h));d=this.fa(d);this.add(d,f?decodeURIComponent(f.replace(/\+/g,h)):e)}};u.i=null;u.d=null;u.p=function(){this.N();return this.d};u.add=function(a,b){this.N();this.ua();a=this.fa(a);var c=this.i.get(a);c||this.i.set(a,c=[]);c.push(b);this.d++;return this};
u.remove=function(a){this.N();a=this.fa(a);return this.i.ea(a)?(this.ua(),this.d-=this.i.get(a).length,this.i.remove(a)):!1};u.clear=function(){this.ua();this.i=null;this.d=0};u.isEmpty=function(){this.N();return 0==this.d};u.ea=function(a){this.N();a=this.fa(a);return this.i.ea(a)};u.K=function(){this.N();for(var a=this.i.v(),b=this.i.K(),c=[],d=0;d<b.length;d++)for(var f=a[d],g=0;g<f.length;g++)c.push(b[d]);return c};
u.v=function(a){this.N();var b=[];if(z(a))this.ea(a)&&(b=fh(b,this.i.get(this.fa(a))));else{a=this.i.v();for(var c=0;c<a.length;c++)b=fh(b,a[c])}return b};u.set=function(a,b){this.N();this.ua();a=this.fa(a);this.ea(a)&&(this.d-=this.i.get(a).length);this.i.set(a,[b]);this.d++;return this};u.get=function(a,b){var c=a?this.v(a):[];return 0<c.length?String(c[0]):b};u.setValues=function(a,b){this.remove(a);0<b.length&&(this.ua(),this.i.set(this.fa(a),gh(b)),this.d+=b.length)};
u.toString=function(){if(this.X)return this.X;if(!this.i)return e;for(var a=[],b=this.i.K(),c=0;c<b.length;c++)for(var d=b[c],f=encodeURIComponent(String(d)),d=this.v(d),g=0;g<d.length;g++){var l=f;d[g]!==e&&(l+=n+encodeURIComponent(String(d[g])));a.push(l)}return this.X=a.join(k)};u.ua=function(){this.X=null};u.clone=function(){var a=new Xi;a.X=this.X;this.i&&(a.i=this.i.clone(),a.d=this.d);return a};u.fa=function(a){a=String(a);this.B&&(a=a.toLowerCase());return a};
u.Bc=function(a){a&&!this.B&&(this.N(),this.ua(),Ci(this.i,function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,a))},this));this.B=a};var ej=e;var R=function(a){a=G(a);var b=a.nodeName.toLowerCase();a.style.display=b==zf||b==le||b==qc||b==oe||b==sf?ne:Mc},S=function(a){G(a).style.display=s};var T=function(a,b,c){var d;c&&S(xe);switch(a){case 0:a=d=Uc;break;case 1:a=d=fe;break;case 2:case 3:case 4:a=ue;d=ve;break;case 5:a=d=De;break;case 6:a=d=Ne;break;case 7:a=d=Qd;break;default:throw Error("internal error in show message");}c?(G(a).innerHTML=b,R(d),G(cd).className=bd):(G(a).innerHTML=e,S(d))},fj=function(a){T(3,null,!1);G(we).innerHTML=a;R(xe)};var gj,hj,jj=function(a,b){gj=window.open(a,e,ye);ij(b)},ij=function(a){gj.closed?(gj=null,window.clearTimeout(hj),a()):(a=A(ij,{},a),hj=window.setTimeout(a,1E3))};var kj=function(){};kj.prototype.hg=function(){S(he);G(cd).disabled=!0;G($e).disabled=!0};kj.prototype.Yg=function(){R(he);G(cd).disabled=!1;G($e).disabled=!1};var P=function(a){this.h=a};P.f(kj);u=P.prototype;u.P=function(){return!1};u.H=function(){if(!this.P())throw Error("Trying to show a non-editable identity");this.hg();R(ge)};u.Yd=function(a){jj(a,function(){window.gadgets&&window.gadgets.rpc&&gadgets.rpc.call(null,gf)})};u.nb=function(){return!0};u.hb=function(){if(!this.P())throw Error("Trying to show edit button for a non-editable identity");R(ud)};u.ya=function(){};u.Ga=function(){};u.L=function(){S(ge);S(ud);S(wf);S(dd);S(If);this.Yg()};var lj=function(){};lj.prototype.send=function(a,b,c,d,f,g){Pi(a,b,c,d,f,g)};var mj=new lj;var pj=function(a){for(var b=[],c=nj,d=a.elements,f,g=0;f=d[g];g++)if(f.form==a&&!f.disabled&&f.tagName.toLowerCase()!=Jd){var l=f.name;switch(f.type.toLowerCase()){case Kd:case Gf:case hf:case Sc:break;case tf:f=oj(f);if(null!=f)for(var m,M=0;m=f[M];M++)c(b,l,m);break;default:m=oj(f),null!=m&&c(b,l,m)}}d=a.getElementsByTagName(oe);for(g=0;f=d[g];g++)f.form==a&&f.type.toLowerCase()==je&&(l=f.name,c(b,l,f.value),c(b,l+Ma,Va),c(b,l+Na,Va));return b.join(k)},nj=function(a,b,c){a.push(encodeURIComponent(b)+
n+encodeURIComponent(c))},oj=function(a){var b=a.type;if(!x(b))return null;switch(b.toLowerCase()){case Xc:case df:return a.checked?a.value:null;case uf:return b=a.selectedIndex,0<=b?a.options[b].value:null;case tf:for(var b=[],c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return x(a.value)?a.value:null}};var qj=!1,rj=!1,sj=!1,tj=function(a,b){rj=a;sj=b;if(window.parent==window.top&&(a||b)){var c=G(Hf);b?Nh(c,Yc):Ph(c,Yc);R(If);G(yc).value=b?Vb:Sb}else S(If)};var vj=function(a,b,c){O.call(this,new uj,a);this.Jd=b;this.Kb=c};vj.f(O);vj.prototype.l=function(){return this.I.l()+n+this.label+n+this.Jd};vj.prototype.n=function(){return this.label};vj.prototype.w=function(){return new wj(this)};var uj=function(){};uj.f(Q);uj.prototype.n=function(){return e};uj.prototype.F=function(){return zb};uj.prototype.la=function(a){return new vj(a[1],a[2])};uj.prototype.w=function(){throw Error(pe);};var wj=function(a){this.h=a};wj.f(P);wj.prototype.P=function(){return!0};
wj.prototype.hb=function(){R(wf);R(yf);R(dd)};wj.prototype.H=function(){this.Yd(this.h.Kb)};wj.prototype.ya=function(){G(Id).value=this.h.Jd};var yj=function(a,b,c,d){O.call(this,new xj,a);this.of=b;this.ue=c;this.Kb=d};yj.f(O);yj.prototype.l=function(){return this.I.l()+n+this.label+n+this.of};yj.prototype.n=function(){return this.ue?this.label+aa+this.ue+Ca:this.label+ba};yj.prototype.w=function(){return new zj(this)};var xj=function(){};xj.f(Q);xj.prototype.n=function(){return e};xj.prototype.F=function(){return vb};xj.prototype.la=function(a){return new yj(a[1],a[2])};xj.prototype.w=function(){throw Error(pe);};
var zj=function(a){this.h=a};zj.f(P);zj.prototype.P=function(){return!0};zj.prototype.hb=function(){(rj||sj)&&R(If);this.h.Kb&&(R(wf),R(yf),R(dd))};zj.prototype.H=function(){this.Yd(this.h.Kb)};var Aj=function(a){O.call(this,a,a.n())};Aj.f(O);var Bj=function(){};Bj.f(Q);Bj.prototype.n=function(){return lg};Bj.prototype.F=function(){return Bb};Bj.prototype.la=function(){return this.ke()};Bj.prototype.ke=function(){return new Aj(this)};var Cj=function(a,b,c){O.call(this,a,null);this.name=b;this.url=c};Cj.f(O);Cj.prototype.n=function(){return this.name+aa+this.url+Ca};Cj.prototype.l=function(){return this.I.l()+n+encodeURIComponent(this.name)+n+encodeURIComponent(this.url)};Cj.prototype.w=function(){return new Dj(this)};var Ej=function(){};Ej.f(Q);Ej.prototype.n=function(){return ig};Ej.prototype.F=function(){return Kb};Ej.prototype.w=function(){return new Dj(new Cj(this,e,e))};
Ej.prototype.la=function(a){return new Cj(this,a[1],a[2])};var Dj=function(a){this.h=a};Dj.f(P);u=Dj.prototype;u.P=function(){return!0};u.H=function(){Dj.g.H.call(this);R(Ee)};u.L=function(){Dj.g.L.call(this);S(Ee);T(5,null,!1);this.Fd(e);this.Gd(e)};u.ya=function(){this.Fd(this.h.name);this.Gd(this.h.url)};u.Ga=function(){Dj.g.Ga.call(this);this.h.name=this.Dd();this.h.url=this.Ve();this.hb()};u.nb=function(){return this.Dd()==e?(T(5,pg,!0),!1):!0};u.Dd=function(){return G(Cc).value};
u.Fd=function(a){G(Cc).value=a};u.Ve=function(){return G(Dc).value};u.Gd=function(a){G(Dc).value=a};var Fj=function(){this.da=[];this.Ja=[];this.Oa=[];this.gb=[];this.j=this.u=null;this.C=[]};u=Fj.prototype;u.Lb=function(a,b,c,d){for(var f=0;f<this.C.length;f++)if(a==this.C[f])return d(a);d=a.l();for(f=0;f<this.C.length;f++)if(this.C[f].l()==d)return c(this.C[f]);return b(a)};u.og=function(a){return this.Lb(a,A(function(a){return this.C[this.C.length]=a},this),vg,vg)};u.eb=function(a){function b(){return!1}return this.Lb(a,function(){return!0},b,b)};
u.Ta=function(a){function b(){throw Error("item should have been unique");}this.Lb(a,ug,b,b);return this.og(a)};u.uc=function(a){return this.Lb(a,A(function(a){this.C[this.C.length]=a;return this.da[this.da.length]=a},this),vg,vg)};u.xe=function(a){this.u=this.uc(a);this.Ha();this.Ka();this.mb(!1);return this.u};u.ka=function(a){this.Ta(a);this.Ja[this.Ja.length]=a};u.Sg=function(){var a=this.Ta(new Bj);this.ka(a.ke())};u.Rg=function(){var a=new Ej;this.Ta(a);this.Oa[this.Oa.length]=a};
u.Qg=function(){var a=this.Ta(new Vi),a=this.Ta(new Ui(a));this.Oa[this.Oa.length]=a};u.Ka=function(){var a=G(he),a=this.gb[a.selectedIndex];a.constructor==Ti?this.Ha():(T(1,null,!1),this.j=a.w(),null!=this.j&&this.j.ya())};u.mb=function(a){if(null!=this.j){var b=this.j.h;if(a&&this.j.P()&&this.eb(b)||!this.j.nb())this.j.H();else return this.j.Ga(),this.j.L(),this.j.P()&&this.j.hb(),this.j=null,b}return null};
u.pg=function(){this.Xe(G(wd).value);this.u=this.Od(G(xd).value);null==this.u&&0<this.da.length&&(this.u=this.da[0]);null==this.u&&1==this.Ja.length&&(this.u=this.Ja[0]);this.Ha();null!=this.u&&(this.Ka(),this.mb(!1))};u.Vd=function(a,b){this.gb[this.gb.length]=b;var c=document.createElement(Ve);c.text=b.n();c.value=b.F();try{a.add(c,null)}catch(d){a.add(c)}this.u==b&&(c.selected=!0);return c};u.Cc=function(a,b){for(var c=0;c<b.length;c++)this.Vd(a,b[c])};
u.Ha=function(){for(var a=G(he);0!=a.options.length;)a.remove(0);this.gb=[];this.Vd(a,new Ti(jg)).disabled=nd;this.Cc(a,this.da);this.Cc(a,this.Ja);this.Cc(a,this.Oa)};u.Re=function(){for(var a=[],b=0;b<this.da.length;b++)a[a.length]=this.da[b].l();return a.join(k)};u.Xe=function(a){if(a!=e){a=a.split(k);for(var b=0;b<a.length;b++)this.Od(a[b])}};
u.Od=function(a){if(a==e)return null;a=a.split(n);for(var b=0;b<a.length;b++)a[b]=decodeURIComponent(a[b]);b=this.Sf(a[0]);return null!=b?this.uc(b.la(a)):null};u.Sf=function(a){for(var b=0;b<this.C.length;b++)if(this.C[b].l()==a)return this.C[b];return null};u.se=function(){var a=G(cd).value;if(a==e)return T(2,qg,!0),!1;if(1E6<a.length)return T(2,ng,!0),!1;T(2,null,!1);return!0};u.xc=function(){null!=this.j&&this.j.L();this.Ka();var a=this.mb(!0);null!=a&&(this.u=a)};
u.hh=function(){var a=this.mb(!1);null!=a&&this.xe(a)};u.gh=function(){null!=this.j&&(this.j.L(),this.j=null);this.Ha();this.xc()};u.qe=function(){if(null==this.u||this.u.F()==Lb)return T(1,sg,!0),!1;if(null!=this.j)return!1;G(wd).value=this.Re();G(xd).value=this.u.l();return!0};u.ih=function(){this.u&&(this.Ka(),this.j.H())};u.jh=function(){this.se()&&this.qe()&&this.pe(!1)};u.kh=function(){this.se()&&this.qe()&&this.pe(!0)};
u.pe=function(a){a?G(xf).value=Pf:G(xf).value=Hd;this.Ka();a=G(ed);a.onsubmit();a.submit()};var Gj=function(a,b){var c;t:{c=9==b.nodeType?b:b.ownerDocument||b.document;if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(b,null))){c=c.display||c.getPropertyValue(od)||e;break t}c=e}if((c||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display)!=s)return a(b);c=b.style;var d=c.display,f=c.visibility,g=c.position;c.visibility=Xd;c.position=tc;c.display=ne;var l=a(b);c.display=d;c.position=g;c.visibility=f;return l},Hj=function(a){var b=a.offsetWidth,
c=a.offsetHeight,d=zh&&!b&&!c;if((!x(b)||d)&&a.getBoundingClientRect){var f;t:{try{f=a.getBoundingClientRect()}catch(g){f={left:0,top:0,right:0,bottom:0};break t}E&&a.ownerDocument.body&&(a=a.ownerDocument,f.left-=a.documentElement.clientLeft+a.body.clientLeft,f.top-=a.documentElement.clientTop+a.body.clientTop)}return new ih(f.right-f.left,f.bottom-f.top)}return new ih(b,c)},Ij=function(a,b){var c=Rh(b),d=null,d=c.Ba;if(E&&d.createStyleSheet)c=d=d.createStyleSheet(),E&&x(c.cssText)?c.cssText=a:c.innerHTML=
a;else{var f=c.le(Wd)[0];f||(d=c.le(Qc)[0],f=c.tc(Wd),d.parentNode.insertBefore(f,d));var g=d=c.tc(Ff);E&&x(g.cssText)?g.cssText=a:g.innerHTML=a;c.appendChild(f,d)}return d};var Jj=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)},Kj=function(a){a=a.split(Ea);for(var b=0;b<a.length;b++){var c=a[b],c=Lg(c);if(!(/^[- A-Za-z0-9]*$/.test(c)||/^"[- A-Za-z0-9]*"$/.test(c)||/^'[- A-Za-z0-9]*'$/.test(c)))return!1}return!0},Lj=function(a){var b=e;E&&(b+=La);a=(new Wi(a)).rb;if(0!=a.length){a=
decodeURIComponent(a);var c=wi(a);if(c&&c.color){a=Kg(Jg(c.color));var d=Kg(Jg(c.unvisitedLinkColor)),c=Kg(Jg(c.fontFamily));Jj(a)&&Jj(d)&&Kj(c)&&(b=b+(Rc+a+ib+c+jb)+(rc+d+jb))}}Ij(b);window.parent&&window.parent.postMessage&&setTimeout(function(){var a=document.body,b=document.getElementById(af),a=b?Gj(Hj,b).height:Gj(Hj,a).height;window.parent.postMessage(vf+((a||230)+60)+cf,Da)},100)};var Mj=function(a,b,c,d){this.lg=a;this.Ae=b;this.name=c;this.Oe=d};Mj.f(Q);u=Mj.prototype;u.n=function(){return this.name};u.l=function(){return encodeURIComponent(this.lg)};u.lf=function(a){return this.Ae.replace(/{username}/,encodeURIComponent(a))};u.qf=function(){return this.Ae.split(cg)};u.w=function(){return new Nj(new Oj(this,e,e))};u.la=function(a){return new Oj(this,a[1],a[2])};var Oj=function(a,b,c){O.call(this,a,b);this.Ma=c;this.uri=b;this.value=Ob};Oj.f(O);
Oj.prototype.n=function(){return this.Ma+aa+this.I.n()+Ca};Oj.prototype.l=function(){return this.I.l()+n+encodeURIComponent(this.uri)+n+encodeURIComponent(this.Ma)};Oj.prototype.w=function(){return new Nj(this)};var Nj=function(a){this.h=a};Nj.f(P);u=Nj.prototype;u.P=function(){return!0};u.H=function(){Nj.g.H.call(this);R(Oe);G(Ue).innerHTML=this.h.I.Oe;for(var a=G(Te),b=function(){this.sd()}.bind(this),c=[Wc,re,qe,se,Pc,Md],d=0;d<c.length;d++)K(a,c[d],b)};
u.L=function(){Nj.g.L.call(this);si(G(Te));S(Oe);T(6,null,!1);G(Se).value=e};u.ya=function(){this.nf(this.h.Ma);G(Se).value=this.h.I.lf(this.h.Ma)};u.Ga=function(){this.h.Ma=this.sc();this.ya()};u.nb=function(){return this.sc()==e?(T(6,og,!0),!1):!0};u.sd=function(){var a=this.h.I.qf(),b=this.sc(),b=b==e?dg:encodeURIComponent(b);G(Pe).innerHTML=a[0];G(Re).innerHTML=b;G(Qe).innerHTML=a[1]};u.sc=function(){return G(Te).value};u.nf=function(a){G(Te).value=a;this.sd()};var Pj=function(){};Pj.f(Q);
Pj.prototype.n=function(){return Pb};Pj.prototype.F=function(){return Ob};Pj.prototype.la=function(a){return new Qj(this,a[1])};Pj.prototype.w=function(){return new Rj(new Qj(this,e))};var Qj=function(a,b){O.call(this,a,b);this.uri=b;this.value=Ob};Qj.f(O);Qj.prototype.n=function(){return this.uri};Qj.prototype.l=function(){return this.I.l()+n+encodeURIComponent(this.uri)};Qj.prototype.w=function(){return new Rj(this)};var Rj=function(a){this.h=a};Rj.f(P);u=Rj.prototype;u.P=function(){return!0};
u.H=function(){Rj.g.H.call(this);R(Rd)};u.L=function(){Rj.g.L.call(this);S(Rd);T(7,null,!1);this.Ld(e)};u.ya=function(){this.Ld(this.h.uri)};u.Ga=function(){this.h.uri=this.ee()};u.nb=function(){return this.ee()==e?(T(7,rg,!0),!1):!0};u.ee=function(){return G(Se).value};u.Ld=function(a){G(Se).value=a};var Sj=function(){Ph(G(zc),bf);return!0};var Tj=function(a,b,c){this.lc=a;this.Ef=b||0;this.sa=c;this.Df=A(this.Mf,this)};B(Tj,H);u=Tj.prototype;u.Ua=0;u.c=function(){Tj.g.c.call(this);this.stop();delete this.lc;delete this.sa};u.start=function(a){this.stop();this.Ua=Fi(this.Df,x(a)?a:this.Ef)};u.stop=function(){this.Ob()&&v.clearTimeout(this.Ua);this.Ua=0};u.Ob=function(){return 0!=this.Ua};u.Mf=function(){this.Ua=0;this.lc&&this.lc.call(this.sa)};var Uj={},Vj=null,Wj=function(a){a=a[Bg]||(a[Bg]=++Cg);delete Uj[a];nh(Uj)&&Vj&&Vj.stop()},Yj=function(){Vj||(Vj=new Tj(function(){Xj(Fg())},20));var a=Vj;a.Ob()||a.start()},Xj=function(a){jh(Uj,function(b){b.fh(a)});nh(Uj)||Yj()};var Zj=function(){L.call(this);this.Ca=0;this.Id=this.startTime=null};B(Zj,L);u=Zj.prototype;u.vf=function(){this.Ca=1};u.ae=function(){this.Ca=0};u.Pd=function(){return 1==this.Ca};u.Ud=function(){return-1==this.Ca};u.jd=function(){return 0==this.Ca};u.sf=function(){this.T(Jc)};u.$d=function(){this.T(yd)};u.Gf=function(){this.T(Ld)};u.tf=function(){this.T(Ze)};u.uf=function(){this.T(lf)};u.gg=function(){this.T(Df)};u.T=function(a){this.dispatchEvent(a)};var ak=function(a,b,c,d){Zj.call(this);if(!y(a)||!y(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.Ra=a;this.Vf=b;this.duration=c;this.me=d;this.coords=[]};B(ak,Zj);u=ak.prototype;u.progress=0;
u.play=function(a){if(a||this.jd())this.progress=0,this.coords=this.Ra;else if(this.Pd())return!1;Wj(this);this.startTime=a=Fg();this.Ud()&&(this.startTime-=this.duration*this.progress);this.Id=this.startTime+this.duration;this.progress||this.sf();this.tf();this.Ud()&&this.uf();this.vf();var b=this[Bg]||(this[Bg]=++Cg);b in Uj||(Uj[b]=this);Yj();this.Td(a);return!0};u.stop=function(a){Wj(this);this.ae();a&&(this.progress=1);this.be(this.progress);this.gg();this.$d()};
u.c=function(){this.jd()||this.stop(!1);this.$e();ak.g.c.call(this)};u.fh=function(a){this.Td(a)};u.Td=function(a){this.progress=(a-this.startTime)/(this.Id-this.startTime);1<=this.progress&&(this.progress=1);this.be(this.progress);1==this.progress?(this.ae(),Wj(this),this.Gf(),this.$d()):this.Pd()&&this.Ff()};u.be=function(a){zg(this.me)&&(a=this.me(a));this.coords=Array(this.Ra.length);for(var b=0;b<this.Ra.length;b++)this.coords[b]=(this.Vf[b]-this.Ra[b])*a+this.Ra[b]};u.Ff=function(){this.T(Bc)};
u.$e=function(){this.T(md)};u.T=function(a){this.dispatchEvent(new bk(a,this))};var bk=function(a,b){I.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.Ca};B(bk,I);var dk,ek={ph:"activedescendant",uh:"atomic",vh:"autocomplete",wh:"busy",yh:Yc,Dh:"controls",Gh:"describedby",Jh:nd,Lh:"dropeffect",Mh:Fd,Nh:"flowto",Ph:"grabbed",Th:"haspopup",Vh:Xd,Yh:"invalid",Zh:"label",$h:"labelledby",ai:"level",fi:"live",pi:"multiline",qi:"multiselectable",vi:"orientation",wi:"owns",xi:"posinset",zi:"pressed",Di:"readonly",Fi:"relevant",Gi:"required",Mi:"selected",Oi:"setsize",Qi:"sort",dj:"valuemax",ej:"valuemin",fj:"valuenow",gj:"valuetext"};var fk={qh:"alert",rh:"alertdialog",sh:"application",th:"article",BANNER:"banner",BUTTON:Sc,xh:Xc,zh:"columnheader",Ah:"combobox",Bh:"complementary",Ch:"contentinfo",Fh:"definition",Hh:"dialog",Ih:"directory",Kh:"document",Oh:Od,Qh:"grid",Rh:"gridcell",Sh:"group",Uh:"heading",Xh:le,bi:"link",ci:"list",di:"listbox",ei:"listitem",gi:"log",hi:"main",ii:"marquee",ji:"math",ki:"menu",li:"menubar",mi:"menuitem",ni:"menuitemcheckbox",oi:"menuitemradio",si:"navigation",ti:"note",ui:Ve,yi:"presentation",Ai:"progressbar",
Bi:df,Ci:"radiogroup",Ei:"region",Hi:"row",Ii:"rowgroup",Ji:"rowheader",Ki:"scrollbar",Li:"search",Ni:"separator",Pi:"slider",Ri:"spinbutton",Si:"status",Ui:Kf,Vi:"tablist",Wi:"tabpanel",Xi:"textbox",Yi:"timer",Zi:"toolbar",$i:"tooltip",aj:"tree",bj:"treegrid",cj:"treeitem"};var gk=!!v.DOMTokenList,hk=gk?function(a){return a.classList}:function(a){a=a.className;return z(a)&&a.match(/\S+/g)||[]},ik=gk?function(a,b){C(!!a.classList);return a.classList.contains(b)}:function(a,b){return bh(hk(a),b)},jk=gk?function(a,b){a.classList.add(b)}:function(a,b){ik(a,b)||(a.className+=0<a.className.length?h+b:b)},kk=gk?function(a,b){a.classList.remove(b)}:function(a,b){ik(a,b)&&(a.className=Zg(hk(a),function(a){return a!=b}).join(h))};var lk=function(a){this.sa=a;this.e={}};B(lk,H);var mk=[];u=lk.prototype;u.Aa=function(a,b,c,d){return this.dh(a,b,c,d)};u.dh=function(a,b,c,d,f){y(b)||(mk[0]=b,b=mk);for(var g=0;g<b.length;g++){var l=K(a,b[g],c||this.handleEvent,d||!1,f||this.sa||this);if(!l)break;this.e[l.key]=l}return this};u.Hc=function(a,b,c,d){return this.Xd(a,b,c,d)};
u.Xd=function(a,b,c,d,f){if(y(b))for(var g=0;g<b.length;g++)this.Xd(a,b[g],c,d,f);else{a=pi(a,b,c||this.handleEvent,d,f||this.sa||this);if(!a)return this;this.e[a.key]=a}return this};u.Jb=function(a,b,c,d,f){if(y(b))for(var g=0;g<b.length;g++)this.Jb(a,b[g],c,d,f);else c=c||this.handleEvent,f=f||this.sa||this,c=ki(c),d=!!d,b=ci(a)?a.Qa(b,c,d,f):a?(a=mi(a))?a.Qa(b,c,d,f):null:null,b&&(ri(b),delete this.e[b.key]);return this};u.Eb=function(){jh(this.e,ri);this.e={}};
u.c=function(){lk.g.c.call(this);this.Eb()};u.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var nk=function(a,b,c,d,f){function g(a){a&&(a.tabIndex=0,C(mh(fk,Kf),Nb),a.setAttribute(mf,Kf),jk(a,Vd),l.Ue(a),l.Te(a))}L.call(this);this.rc=f||Rh();this.za=this.rc.ub(a)||null;this.ic=this.rc.ub(d||null);this.O=(this.jc=zg(b)?b:null)||!b?null:this.rc.ub(b);this.ga=!0==c;this.ad=new lk(this);this.bd=new lk(this);var l=this;g(this.za);g(this.ic);this.Db(this.ga)};B(nk,L);u=nk.prototype;u.c=function(){nk.g.c.call(this);Yh(this.ad);Yh(this.bd)};u.collapse=function(){this.Db(!1)};u.toggle=function(){this.Db(!this.ga)};
u.Db=function(a){this.O?this.O.style.display=a?e:s:a&&this.jc&&(this.O=this.jc());this.O&&jk(this.O,Td);this.ic?(this.za.style.display=a?s:e,this.ic.style.display=a?e:s):this.ec(a);this.Kd(a);this.dispatchEvent(new ok(Of,this,this.ga))};u.Kd=function(a){this.ga=a};
u.ec=function(a){if(this.za){var b=this.za;a?jk(b,Ud):kk(b,Ud);b=this.za;a?kk(b,Sd):jk(b,Sd);b=this.za;yg(a)&&(a=a.join(h));C(Fd,rb);C(mh(ek,Fd),Mb);a===e||void 0==a?(dk||(dk={atomic:!1,autocomplete:s,dropeffect:s,haspopup:!1,live:Le,multiline:!1,multiselectable:!1,orientation:Rf,readonly:!1,relevant:wc,required:!1,sort:s,busy:!1,disabled:!1,hidden:!1,invalid:Hd}),a=dk,Fd in a?b.setAttribute(Gc,a.expanded):b.removeAttribute(Gc)):b.setAttribute(Gc,a)}};u.Te=function(a){a&&this.ad.Aa(a,qe,this.fg)};
u.Ue=function(a){a&&this.bd.Aa(a,ad,this.eg)};u.fg=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.Fe(),a.preventDefault(),a.stopPropagation()};u.eg=function(){this.toggle();this.Fe()};u.Fe=function(){this.dispatchEvent(new I(uc,this))};var ok=function(a,b){I.call(this,a,b)};B(ok,I);var pk=function(a,b,c,d){d=d||Rh();var f=d.tc(q,{style:We});b=d.ub(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.Bb=f;this.J=null;nk.call(this,a,b,c,void 0,d);a=this.ga;this.Bb.style.display=a?e:s;this.ec(a)};B(pk,nk);u=pk.prototype;u.cf=500;u.bf=function(a){return 1-Math.pow(1-a,3)};
u.Db=function(a){if(this.ga!=a||this.J){this.Bb.style.display==s&&(this.Bb.style.display=e);var b=this.O.offsetHeight,c=0;this.J?(a=this.ga,si(this.J),this.J.stop(!1),c=b-Math.abs(parseInt(this.O.style.marginTop,10))):c=a?0:b;this.ec(a);this.J=new ak([0,c],[0,a?b:0],this.cf,this.bf);K(this.J,[Jc,Bc,yd],this.df,!1,this);K(this.J,yd,A(this.ef,this,a));this.J.play(!1)}};u.df=function(a){var b=this.O;b.style.marginTop=a.y-b.offsetHeight+cf};
u.ef=function(a){a&&(this.O.style.marginTop=Va);si(this.J);this.Kd(a);this.J=null;a||(this.Bb.style.display=s);this.dispatchEvent(new ok(Of,this,a))};var qk=null;var U=new Fj;w("BLOG_CMT_OpenIdIdentityFactory",Mj,void 0);w("BLOG_CMT_LoggedInGaiaIdentity",yj,void 0);w("BLOG_CMT_FriendConnectIdentity",vj,void 0);w("BLOG_CMT_NotLoggedInGaiaIdentityFactory",Bj,void 0);w("BLOG_CMT_GenericOpenIdIdentityFactory",Pj,void 0);w("BLOG_CMT_NameUrlIdentityFactory",Ej,void 0);w("BLOG_CMT_AnonymousIdentityFactory",Vi,void 0);w("BLOG_CMT_onPost",function(){Sj();return U.jh()},void 0);w("BLOG_CMT_onPreview",function(){return U.kh()},void 0);
w("BLOG_CMT_onCommentBodyChange",function(){},void 0);w("BLOG_CMT_onCancel",function(){return U.gh()},void 0);w("BLOG_CMT_onSelectorChange",function(){return U.xc()},void 0);w("BLOG_CMT_onContinue",function(){return U.hh()},void 0);w("BLOG_CMT_onEdit",function(){return U.ih()},void 0);w("BLOG_CMT_addIdentity",function(a){return U.uc(a)},void 0);w("BLOG_CMT_addAndSelectIdentity",function(a){return U.xe(a)},void 0);w("BLOG_CMT_addIdentityFactory",function(a){return U.ka(a)},void 0);
w("BLOG_CMT_addNameUrlIdentityFactory",function(){return U.Rg()},void 0);w("BLOG_CMT_addAnonIdentity",function(){return U.Qg()},void 0);w("BLOG_CMT_addNotLoggedInGaiaIdentity",function(){return U.Sg()},void 0);w("BLOG_CMT_init",function(a,b){Lj(document.location.href);U.pg();U.xc();tj(a,b);G(xf).value==Pf&&(G(xf).value=Hd,Nh(G(zc),bf));return!0},void 0);
w("BLOG_CMT_addOpenIdIdentityFactories",function(){U.ka(new Mj(Cb,ce,Eb,fg));U.ka(new Mj(Wb,de,Xb,hg));U.ka(new Mj(Tb,be,Ub,gg));U.ka(new Mj(pb,ae,pb,eg));U.ka(new Pj)},void 0);w("BLOG_CMT_createPhotoZippy",function(a,b){G(a)&&G(b)&&(qk=new pk(a,b))},void 0);w("BLOG_CMT_closePhotoZippy",function(){null!=qk&&qk.collapse()},void 0);w("BLOG_CMT_finalizeBG",function(){window.je&&window.je.invoke(function(a){document.getElementById(Lc).value=a})},void 0);
w("BLOG_CMT_getBG",function(){var a=new Wi(Ra),b=document.getElementById(Lc).value;b&&a.Nb(Lc,b);b=null;window.navigator.appName==Ib&&(document.documentMode?b=document.documentMode:(b=5,document.compatMode&&document.compatMode==ub&&(b=7)));b&&a.Nb(ie,b);document.getElementById(Ye)&&a.Nb(Xe,Wa);ej&&a.Nb(Kc,ej);Pi(a,function(){if(this.La()){var a=eval(this.Of());a instanceof Object&&a.length&&(1<a.length&&(eval(a[1]),ej=a[2]),window.je=new botguard.bg(a[0]))}})},void 0);
w("BLOG_CMT_setBG",function(a){ej=a},void 0);w("BLOG_CMT_subscription.toggle",function(){if(!qj){qj=!0;var a=G(fd);mj.send(a.action,function(){qj=!1;if(this.La()){var a=this.ve();null!=a.errorMessage?T(3,a.errorMessage,!0):fj(a.statusMessage);tj(a.can_subscribe,a.is_subscribed)}else T(3,kg,!0)},Qb,pj(a))}},void 0);w("BLOG_CMT_showStatusMessage",fj,void 0);w("BLOG_CMT_showPostErrorMessage",function(a){T(4,a,!0)},void 0);w("BLOG_CMT_hidePreview",function(){Sj();U.Ha()},void 0);w("BLOG_xhr",N,void 0);
N.send=Pi;N.prototype.isSuccess=N.prototype.La;N.prototype.getResponseJson=N.prototype.ve;w("$",G,void 0);function rk(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 tk=function(a,b,c){var d=a.ownerDocument;a=sk(d,a,q,Uf);a=sk(d,a,q,Vf);a=sk(d,a,q,Wf);a=sk(d,a,q,Tf);var f=sk(d,a,q,te);b=b._GetHelper();var g=b._GetData();f.appendChild(d.createTextNode(g[te]));a=sk(d,a,qc,vd);var l=b._GenerateWidgetMetadata();a.setAttribute(Yd,l.quickEditUrl);a.target=Zc;a.onclick=function(){return c._PopupConfig(d.getElementById(l.instanceId))};a.appendChild(d.createTextNode(g[td]))},sk=function(a,b,c,d){a=a.createElement(c);a.className=d;b.appendChild(a);return a};var uk=function(){this.Lf={};this.ce={};this.Ec={};this.Dc=null;this.de=[]};wg(uk);uk.prototype.fe=function(a,b){return a+cc+b+Ka};var vk=function(a){eval(a)};uk.prototype.we=function(a,b){w(fc,vk,void 0);this.Dc=a.replace(/\.js$/,e);b&&(this.fe=b);Yg(this.de,function(a){this.cg(a)},this);ch(this.de)};uk.prototype.tg=function(a,b,c){var d=this.ce,f=this.Lf;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.Ec[a]}};
uk.prototype.cg=function(a){Fi(function(){if(!this.ce[a]){Wg(this.Dc);var b=this.fe(this.Dc,a),c=mh(this.Ec,b);this.Ec[a]=b;c||(b=Vh(of,{type:Mf,src:b}),document.body.appendChild(b))}},0,this)};var wk=function(){this.ia=this.S=0;this.aa=[]};u=wk.prototype;u.ib=function(a){this.aa[this.ia++]=a};u.dequeue=function(){if(this.S!=this.ia){var a=this.aa[this.S];delete this.aa[this.S];this.S++;return a}};u.p=function(){return this.ia-this.S};u.isEmpty=function(){return 0==this.ia-this.S};u.clear=function(){this.ia=this.S=this.aa.length=0};u.contains=function(a){return bh(this.aa,a)};u.remove=function(a){a=Xg(this.aa,a);if(0>a)return!1;a==this.S?this.dequeue():(dh(this.aa,a),this.ia--);return!0};
u.v=function(){return this.aa.slice(this.S,this.ia)};var xk=function(a,b){this.pd=a||0;this.vb=b||10;if(this.pd>this.vb)throw Error("[goog.structs.Pool] Min can not be greater than max");this.M=new wk;this.W=new Di;this.delay=0;this.zc=null;this.lb()};B(xk,H);u=xk.prototype;u.ob=function(){var a=Fg();if(!(null!=this.zc&&a-this.zc<this.delay)){var b=this.Rf();b&&(this.zc=a,this.W.add(b));return b}};u.$b=function(a){return this.W.remove(a)?(this.Ac(a),!0):!1};
u.Rf=function(){for(var a;0<this.Bd()&&(a=this.M.dequeue(),!this.nc(a));)this.lb();!a&&this.p()<this.vb&&(a=this.pc());return a};u.Ac=function(a){this.W.remove(a);this.nc(a)&&this.p()<this.vb?this.M.ib(a):this.Zb(a)};u.lb=function(){for(var a=this.M;this.p()<this.pd;)a.ib(this.pc());for(;this.p()>this.vb&&0<this.Bd();)this.Zb(a.dequeue())};u.pc=function(){return{}};u.Zb=function(a){if(typeof a.R==r)a.R();else for(var b in a)a[b]=null};u.nc=function(a){return typeof a.Ug==r?a.Ug():!0};
u.contains=function(a){return this.M.contains(a)||this.W.contains(a)};u.p=function(){return this.M.p()+this.W.p()};u.Pe=function(){return this.W.p()};u.Bd=function(){return this.M.p()};u.isEmpty=function(){return this.M.isEmpty()&&this.W.isEmpty()};u.c=function(){xk.g.c.call(this);if(0<this.Pe())throw Error("[goog.structs.Pool] Objects not released");delete this.W;for(var a=this.M;!a.isEmpty();)this.Zb(a.dequeue());delete this.M};var yk=function(a,b){this.ze=a;this.Gc=b};yk.prototype.getKey=function(){return this.ze};yk.prototype.clone=function(){return new yk(this.ze,this.Gc)};var zk=function(a){this.G=[];a&&this.ag(a)};u=zk.prototype;u.Md=function(a,b){var c=this.G;c.push(new yk(a,b));this.dg(c.length-1)};u.ag=function(a){var b,c;if(a instanceof zk){if(b=a.K(),c=a.v(),0>=a.p()){a=this.G;for(var d=0;d<b.length;d++)a.push(new yk(b[d],c[d]));return}}else b=lh(a),c=kh(a);for(d=0;d<b.length;d++)this.Md(b[d],c[d])};u.remove=function(){var a=this.G,b=a.length,c=a[0];if(!(0>=b))return 1==b?ch(a):(a[0]=a.pop(),this.Nf(0)),c.Gc};
u.Nf=function(a){for(var b=this.G,c=b.length,d=b[a];a<c>>1;){var f=this.Pf(a),g=this.Qf(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};u.dg=function(a){for(var b=this.G,c=b[a];0<a;){var d=this.Wf(a);if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c};u.Pf=function(a){return 2*a+1};u.Qf=function(a){return 2*a+2};u.Wf=function(a){return a-1>>1};u.v=function(){for(var a=this.G,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Gc);return b};
u.K=function(){for(var a=this.G,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};u.ea=function(a){return $g(this.G,function(b){return b.getKey()==a})};u.clone=function(){return new zk(this)};u.p=function(){return this.G.length};u.isEmpty=function(){return 0==this.G.length};u.clear=function(){ch(this.G)};var Ak=function(){zk.call(this)};B(Ak,zk);Ak.prototype.ib=function(a,b){this.Md(a,b)};Ak.prototype.dequeue=function(){return this.remove()};var V=function(a,b){this.qd=void 0;this.tb=new Ak;xk.call(this,a,b)};B(V,xk);u=V.prototype;u.ob=function(a,b){if(!a){var c=V.g.ob.call(this);c&&this.delay&&(this.qd=v.setTimeout(A(this.Fb,this),this.delay));return c}this.tb.ib(x(b)?b:100,a);this.Fb()};u.Fb=function(){for(var a=this.tb;0<a.p();){var b=this.ob();if(b)a.dequeue().apply(this,[b]);else break}};u.Ac=function(a){V.g.Ac.call(this,a);this.Fb()};u.lb=function(){V.g.lb.call(this);this.Fb()};
u.c=function(){V.g.c.call(this);v.clearTimeout(this.qd);this.tb.clear();this.tb=null};var Bk=function(a,b,c){V.call(this,b,c);this.cc=a};B(Bk,V);Bk.prototype.pc=function(){var a=new N,b=this.cc;b&&Ci(b,function(b,d){a.headers.set(d,b)});return a};Bk.prototype.nc=function(a){return!a.Gb&&!a.Ob()};var Ck=function(a,b,c,d,f){L.call(this);this.ac=x(a)?a:1;this.ba=x(f)?Math.max(0,f):0;this.qa=new Bk(b,c,d);this.D=new zi;this.kb=new lk(this)};B(Ck,L);var Dk=[ef,p,Jf,zd,sc,Nf];u=Ck.prototype;u.dc=function(a){this.ba=Math.max(0,a)};u.send=function(a,b,c,d,f,g,l,m,M){if(this.D.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new Ek(b,A(this.yf,this,a),c,d,f,l,x(m)?m:this.ac,M);this.D.set(a,b);a=A(this.xf,this,a);this.qa.ob(a,g);return b};
u.abort=function(a,b){var c=this.D.get(a);if(c){var d=c.jb;c.pf(!0);b&&(d&&(this.Cd(d,c.ab),pi(d,ef,function(){this.qa.$b(d)},!1,this)),this.D.remove(a));d&&d.abort()}};u.xf=function(a,b){var c=this.D.get(a);c&&!c.jb?(this.Qe(b,c.ab),b.dc(this.ba),b.Se(c.ma),c.jb=b,this.dispatchEvent(new Fk(ef,this,a,b)),this.md(a,b),c.dd&&b.abort()):this.qa.$b(b)};
u.yf=function(a,b){var c=b.target;switch(b.type){case ef:this.md(a,c);break;case p:return this.Yf(a,c,b);case Jf:this.$f(a,c);break;case Nf:case zd:this.Zf(a,c);break;case sc:this.Xf(a,c)}return null};u.md=function(a,b){var c=this.D.get(a);!c||c.gd||c.kc()?(c&&(this.Cd(b,c.ab),this.D.remove(a)),this.qa.$b(b)):(c.Ze(),b.send(c.getUrl(),c.Ne,c.getContent(),c.cc))};
u.Yf=function(a,b,c){var d=this.D.get(a);if(7==b.oa||b.La()||d.kc())if(this.dispatchEvent(new Fk(p,this,a,b)),d&&(d.rf(!0),d.Yb))return d.Yb.call(b,c);return null};u.Xf=function(a,b){this.dispatchEvent(new Fk(sc,this,a,b))};u.$f=function(a,b){this.dispatchEvent(new Fk(Jf,this,a,b))};u.Zf=function(a,b){this.D.get(a).kc()&&this.dispatchEvent(new Fk(zd,this,a,b))};u.Cd=function(a,b,c){this.kb.Jb(a,c||Dk,b)};u.Qe=function(a,b,c){this.kb.Aa(a,c||Dk,b)};
u.c=function(){Ck.g.c.call(this);this.qa.R();this.qa=null;this.kb.R();this.kb=null;var a=this.D;Ci(a,function(a){a.R()});a.clear();this.D=null};var Fk=function(a,b,c,d){I.call(this,a,b);this.id=c;this.jb=d};B(Fk,I);var Ek=function(a,b,c,d,f,g,l,m){this.af=a;this.Ne=c||Ab;this.Ye=d;this.cc=f||null;this.ac=x(l)?l:1;this.Qd=0;this.dd=this.gd=!1;this.ab=b;this.Yb=g;this.ma=m||e;this.jb=null};B(Ek,H);u=Ek.prototype;u.getUrl=function(){return this.af};u.getContent=function(){return this.Ye};u.Ze=function(){this.Qd++};
u.kc=function(){return this.Qd>this.ac};u.rf=function(a){this.gd=a};u.pf=function(a){this.dd=a};u.c=function(){Ek.g.c.call(this);delete this.ab;delete this.Yb};function Gk(a,b,c,d,f,g){this.ta=a;this.Ed=b;this.rd=d||null;this.data=f||null;if(g){if(this.hc=g,g!=sd&&g!=pd&&g!=qd&&g!=rd)throw"bad display mode: "+g;}else this.hc=rd;this.eb=!1}Gk.prototype.Xg=function(){return this.ta};function W(a){this.mf=!0;this.s=a;this.Hb=null}u=W.prototype;u.Hf=function(a){this.Hb=a};u.zg=function(){return this.s.data};u.Bf=function(a){return this.s.data=a};u.If=function(a){return this.s.eb=a};
u.wg=function(){var a={};a.type=this.Hb.Nd;a.instanceId=this.s.ta;a.sectionId=this.s.Ed;a.actionUrl=X.fc;a.quickEditUrl=X.nd+ya+this.Hb.Nd+xa+this.s.ta+wa+this.s.Ed+pa+X.kd;return a};u.vc=function(a,b,c,d){X.vc(a,b||{},this.s.ta,this.Hb.Nd,c,d)};function X(){}X.Dg=function(a,b,c){X.V={};X.nd=a;X.fc=b;X.nh=c;X.oc={};X.xb=new Ck;X.ld=0;X.yc=0;K(X.xb,ef,function(){X.yc++});K(X.xb,p,function(){X.yc--})};X.sg=function(a){a=X.ug(a.document);document.body.appendChild(a)};
X.Pg=function(a){X.sg(window);if(window.parent==window){var b=Rb;a&&(b=a);a=X.rg(window.document,b);document.body.appendChild(a[0]);document.body.appendChild(a[1])}};X.kg=Zc;X.jg=Zc;X.kd="editWidget";X.yg=function(){return X.fc};X.Ng=function(a,b,c){X.Ic=a;X.Uf=b;X.Tf=c};X.Bg=function(){return X.Ic};X.Og=function(a){X.mh=a};X.ne=function(){return X.mh};X.Mg=function(a){X.oc=a};
X.xg=function(){var a={},b;for(b in X.oc){var c=X.oc[b];a[c.name]=c.data}c={};for(b in X.V)c[b]=X.V[b].r.s.data;a.widgets=c;return a};X.he=function(a,b){var c=new W(b),d=new window[a](c);c.Hf(d);X.V[b.ta]=d;X.ge(d);return d};X.Kg=function(a,b){var c=X.he(a,b);c.r.If(!0);return c};X.ge=function(a){a.r.s.hc!=rd&&(a.r.mf=!1)};X.wa=function(a){return X.V?X.V[a]:null};
X.wc=function(a,b,c,d,f){var g=e;d&&(g=xa+d);a=X.nd+pa+a+wa+b+ya+c+g;if(window.name==f)return window.location.replace(a),window.focus(),window;f=window.open(a,f,$f);f.focus();return f};X.Ig=function(a){var b=a.getAttribute(ee),c=X.wa(b);if(c){var d=c.r.ra;if(null!=d&&!d.closed)return d.focus(),!1}d=gd+b;a=X.wc(X.kd,a.parentNode.getAttribute(ee),a.getAttribute(Yf),b,d);c&&(c.r.ra=a);return!1};X.Jg=function(a){X.wc(X.jg,a.parentNode.getAttribute(ee),a.getAttribute(Yf),a.getAttribute(ee),X.kg);return!1};
X.vg=function(a,b,c){X.Y(c,c.LayoutsMessages.DELETING);X.oe(ld,{},a,b)};W.prototype.ff=function(a,b){X.Y(b,b.LayoutsMessages.SAVING);this.vc(hd,a)};X.gf=function(a,b,c){a.sectionid=document.getElementById(pf).value;X.Y(c,c.LayoutsMessages.SAVING);X.oe(xc,a,e,b)};X.Ti=function(a,b,c){C(null!=c,Ge);var d=X.wa(b);C(null!=d,He+b);d.r.s.eb?X.gf(a,c,window):d.r.ff(a,window)};X.vc=function(a,b,c,d,f,g){X.ie(X.fc,a,b,c,d,f,g)};
X.oe=function(a,b,c,d,f){X.Ic&&(b.pageToken=X.Uf,b.security_token=X.Tf,X.ie(X.Ic,a,b,c,d,f))};
X.ie=function(a,b,c,d,f,g,l){b=[vc+encodeURIComponent(b),Xf+encodeURIComponent(d),Zf+encodeURIComponent(f),kf];for(var m in c)if(typeof c[m]==t)for(d=c[m],f=0;f<d.length;++f)b.push(encodeURIComponent(m)+n+encodeURIComponent(d[f]));else b.push(encodeURIComponent(m)+n+encodeURIComponent(c[m]));var M=g||rk();c=function(){M(this.a)&&window.eval(this.hf())};l==Ab?(a=0<=a.indexOf(mb)?a+k:a+mb,X.xb.send(e+X.ld++,a+b.join(k),Ab,void 0,null,null,c)):X.xb.send(e+X.ld++,a,Qb,b.join(k),null,null,c)};
X.Lg=function(a,b){if(a){var c=X.wa(a);c&&(c.r.ra=b)}};X.zb=function(a,b){0==X.yc?a.setTimeout(function(){a.close()},b):a.setTimeout(function(){X.zb(a,b)},200)};X.Eg=function(a,b){a&&(X.zb(a,100),X.ng(a,b))};X.ng=function(a,b){if(a){var c=a.document.getElementById(Cf);c&&(c=c.innerHTML);c&&a&&a.opener.parent&&a.opener.parent.editor&&a.opener.parent.editor.SetSaveMessage(c,b)}};
X.Rd=function(a,b,c){var d=X.V[a];null!=c.errors?((a=d?d.r.ra:null)||(a=window),X.Y(a,c.errors),d&&d.Cb?d.Cb(b,c,a):X.Cb(c,a)):(C(null!=d,He+a),d.Rd(b,c))};X.Cb=function(a,b){var c=a[Ad],d;for(d in c)Hk(d,c[d],b.document)};W.prototype.Wh=function(a){X.Y(this.ra,a[Bf]);X.hd(this.s.ta,dc,function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};X.Fg=function(a,b){window.parent&&window.parent.editor&&b?X.Gg(a,b):window.location.replace(window.location.href)};
X.Gg=function(a,b){var c=X.wa(a);c.r.Bf(b.data);for(var d=document.getElementById(a),f;f=d.firstChild;)d.removeChild(f);tk(d,c,X);c.r.ra=null};
X.Cg=function(a,b,c){var d=c[Bf];if(null!=c.errors)X.Y(window,c.errors),X.Cb(c,window);else if(b==xc){var f;X.qc(window)&&(window.opener&&window.opener.parent&&(f=window.opener.parent),f&&f.editor&&f.editor.HandleAddNewWidget(c));X.Y(window,d);null==window.opener?window.location=Ua+c.blogID:f&&f._WidgetManager?f._WidgetManager._KillPopupDelay(window):X.zb(window,100)}else c=X.V[a],C(null!=c),b==ld&&(X.Y(c.r.ra,d),X.hd(a,ec))};
X.Hg=function(a){var b=X.wa(a);b&&(b.r.s.hc==qd?top.editor.HandleDeleteWidget(b.r.s.rd):(b=b.r.s.rd,b.parentNode.removeChild(b)),delete X.V[a])};X.hd=function(a,b,c){if(X.qc(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):X.zb(window,100)}else a=X.ne()+nb+a,a+=ra+encodeURIComponent(b),window.location.replace(a)};X.qc=function(a){var b=!1;try{if(a.opener){var c=Yb+a.opener.document.domain;c&&c!=Yb&&(b=!0)}}catch(d){}return b};
X.Ee="status-msg-yellow-on-white";X.Y=function(a,b){a||(a=self);var c=a.document.getElementById(Cf);c&&(c.innerHTML=b);(c=a.document.getElementById(Bf))&&Nh(c,X.Ee)};X.Eh=function(a){a||(a=self);(a=a.document.getElementById(Bf))&&Ph(a,X.Ee)};X.ri=function(a){a&&0<a.length&&a.substring(0,4)!=Zd&&(a=$d+a);return a};X.Ag=function(a,b){if(bh(Mh(a),b))return a;if(a)for(var c=a.childNodes.length,d=0;d<c;d++){var f=X.Ag(a.childNodes.item(d),b);if(f)return f}return null};
X.ug=function(a){a=a.createElement(q);a.className=Oc;a.style.position=tc;a.style.top=Va;a.style.left=Va;a.style.width=Ya;a.style.height=Ya;E&&!F(7)&&(a.style.height=Gd);a.style.zIndex=Xa;a.style.cursor=kd;a.onclick=X.Kc;a.onmousedown=X.Kc;a.onmouseup=X.Kc;a.style.background=Sf;a.style.filter=Ac;a.style.opacity=Ia;a.innerHTML=ua;return a};
X.rg=function(a,b){var c=X.De(a,b),d=X.De(a,b);c.style.backgroundColor=ka;c.style.border=$a;c.style.zIndex=11;E&&(c.style.filter=ea);c.style.opacity=Ja;d.style.border=ab;c.style.zIndex=12;return[c,d]};
X.De=function(a,b){var c=a.createElement(q);c.style.position=tc;c.style.top=fb;c.style.left=Ga;c.style.width=eb;c.style.padding=Za;c.style.fontSize=cb;c.style.textAlign=Vc;c.style.color=la;c.style.fontFamily=ia;E&&(c.style.top=Fa,c.style.left=Fa,c.style.filter=da);c.style.MozTransform=nf;c.style.MozTransformOrigin=db;c.style.WebkitTransform=nf;c.style.WebkitTransformOrigin=db;c.innerHTML=b;return c};
X.Kc=function(a){a||(a=window.event);a&&(a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation());return!1};var Ik=function(a,b){b||(b=document);return b.getElementById(Dd+a)},Jk=function(a){if(a=Ik(a))a.innerHTML=e,a.className=Cd},Hk=function(a,b,c){if(a=Ik(a,c))a.innerHTML=b,a.className=Bd};w("_WidgetManager",X,void 0);X._Init=X.Dg;X._SetPageActionUrl=X.Ng;X._GetPageActionUrl=X.Bg;X._SetWidgetRefreshUrl=X.Og;X._GetWidgetRefreshUrl=X.ne;X._GetCallbackUrl=X.yg;X._DeleteWidgetFromPage=X.vg;
X._DisplayWidget=X.ge;X._GetWidget=X.wa;X._HandleControllerResult=X.Rd;X._HandlePageActionResult=X.Cg;X._IsOpenerReachable=X.qc;X._SetConfigWin=X.Lg;X._SetDataContext=X.Mg;X._SetupPreview=X.Pg;X._RegisterWidget=X.he;X._RegisterNewWidget=X.Kg;X._PopupPaneFromParams=X.wc;X._PopupConfig=X.Ig;X._PopupToolbox=X.Jg;X._KillPopupDelay=X.Eg;X._OnWidgetConfigured=X.Fg;X._OnWidgetDeleted=X.Hg;w("_WidgetInfo",Gk,void 0);Gk.prototype._getInstanceId=Gk.prototype.Xg;W.prototype._GetData=W.prototype.zg;
W.prototype._GenerateWidgetMetadata=W.prototype.wg;X._GetAllData=X.xg;w("widget_module_provide",function(a,b,c){uk.mg().tg(a,b,c)},void 0);function Y(a,b,c,d,f,g,l,m){this.t=a;this.Rc=b!=Ie?b:null;this.Pc=c;this.Sc=d;this.Qc=f;this.Uc=g;this.Tc=l;this.Je=m;this.Va=this.na=-1;this.Qb=null;this.Ea=300;this.Tb=bb;this.A=document.getElementById(this.t+pc);this.Wa=document.getElementById(this.t+hc);this.Xa=document.getElementById(this.t+ic);this.Pb=document.getElementById(this.t+lc);this.Oc=document.getElementById(this.t+mc);this.b=document.getElementById(this.t+kc);this.Da=document.getElementById(this.t+oc);this.Nc=window.frames[this.t+
gc];this.Rb=0;this.o=new Image;this.o.onload=A(this.Le,this);this.o.onerror=A(this.Ke,this);this.Mc=!1;this.pa=this.q=this.Za=null;this.Sb=!1}u=Y.prototype;
u.Le=function(){this.Rb=0;Jk(this.t+nc);Jk(this.t+jc);this.Pb.checked&&0!=this.na||(this.na=this.o.width,this.Va=this.o.height,this.Qb=this.o.src);var a=1,b=1;this.o.width>this.Ea&&(a=this.Ea/this.o.width);this.o.height>this.Ea&&(b=this.Ea/this.o.height);a=Math.min(a,b);this.A.style.width=Math.round(this.o.width*a)+cf;this.A.style.height=Math.round(this.o.height*a)+cf;this.A.src=this.o.src;this.A.style.display=e;this.Xa.style.display=s;this.Wa.style.display=e;this.b.disabled=!0;this.Pc&&this.Pc.call({},
this.A.src,this.Qb,this.na,this.Va)};u.Fa=function(a,b,c,d){a?(Hk(this.t+jc,b),Jk(this.t+nc)):(Hk(this.t+nc,b),Jk(this.t+jc));this.A.style.display=s;this.Xa.style.display=e;this.Wa.style.display=s;this.b.disabled=!1;this.Sc&&this.Sc.call({},c,d)};u.Ke=function(){if(2>this.Rb){this.Rb++;var a=this.o.src;this.o.src=e;this.Ia(a)}else this.Fa(this.Pb.checked,WidgetMessages.SIV_INVALID_URL,this.A.src,[])};u.Ia=function(a){this.Hd();this.o.src=a};
u.Vg=function(a){a=a||window.event;window.event?(a.returnValue=!1,a.cancelBubble=!0):(a.preventDefault(),a.stopPropagation());this.A.style.display=s;this.Wa.style.display=s;this.Xa.style.display=e;this.b.disabled=!1;this.Da.value=e;this.fd();this.Sb=!0;this.Qc&&this.Qc.call({})};u.Zg=function(){this.Pb.checked=Pf;this.Da.value=e;this.Hd();this.kf();this.Mc=!0;try{this.q.submit()}catch(a){this.Fa(!0,WidgetMessages.SIV_INVALID_URL,this.q.value,[])}this.jf()};
u.Jc=function(){var a=this.Nc.document.result;if(a)if(a.hasErrors)0<a.errors.length?this.Fa(!0,a.errors[0].message,this.b.value,a.errors):this.Fa(!0,WidgetMessages.SIV_INVALID_URL,this.b.value,a.errors);else{var b=Math.max(a.origWidth,a.origHeight),c=this.ed();0!=this.na&&-1!=c&&b>c?(b=c/b,this.na=Math.round(a.origWidth*b),this.Va=Math.round(a.origHeight*b)):(this.na=a.origWidth,this.Va=a.origHeight);this.Qb=a.mainSrc;this.Ia(a.thumbSrc)}else this.Fa(!0,WidgetMessages.SIV_INVALID_URL,this.b.value,
[])};u.$g=function(a){9!=(a||window.event).keyCode&&(this.Oc.checked=Pf,null!=this.Za&&(window.clearTimeout(this.Za),this.Za=null),a=A(this.ig,this),this.Za=window.setTimeout(a,1E3))};u.ig=function(){if(this.Sb||this.o.src!=this.Da.value)this.fd(),this.Ia(this.Da.value);this.Sb=!1};u.eh=function(a){this.Oc.checked=!0;this.Da.value=a;this.Ia(a)};
u.Hd=function(){this.A.src=Qa;this.A.style.width=this.Tb;this.A.style.height=this.Tb;this.A.style.display=e;this.Xa.style.display=s;this.Wa.style.display=s};
u.kf=function(){if(!this.q){this.q=document.createElement(Od);this.q.action=ke;this.q.method=Qb;this.q.target=this.Nc.name;this.q.encoding=Ce;this.q.style.display=s;if(this.Rc){var a=document.createElement(oe);a.type=Xd;a.name=Nc;a.value=this.Rc;this.q.appendChild(a)}a=document.createElement(oe);a.type=Xd;a.name=qf;a.id=qf;this.q.appendChild(a);a=document.createElement(oe);a.type=Xd;a.name=rf;a.value=this.Je;this.q.appendChild(a);document.body.appendChild(this.q)}a=this.ed();-1==a&&(a=1600);document.getElementById(qf).value=
a;this.pa={parent:this.b.parentNode,nextSibling:this.b.nextSibling};this.b.parentNode.removeChild(this.b);this.q.appendChild(this.b)};u.lh=function(a){this.Ea=a;this.Tb=a+cf};u.jf=function(){this.q.removeChild(this.b);this.pa&&this.pa.nextSibling?this.pa.parent.insertBefore(this.b,this.pa.nextSibling):this.pa.parent.appendChild(this.b)};
u.fd=function(){var a=document.createElement(oe);a.type=Kd;a.name=this.b.name;a.id=this.b.id;a.onchange=this.b.onchange;var b=this.b.nextSibling;null==b?this.b.parentNode.appendChild(a):this.b.parentNode.insertBefore(a,b);this.b.parentNode.removeChild(this.b);this.b=a};u.ed=function(){return-1==this.Uc&&this.Tc?this.Tc():this.Uc};function Z(){this.Lc={}}var Kk=new Z;Z.prototype.Wg=function(a,b,c,d,f,g,l,m){this.Lc[a]=new Y(a,b,eval(c),eval(d),eval(f),g,eval(l),m);return this.Lc[a]};
Z.prototype.te=function(a){return this.Lc[a]};Z.prototype.Jc=function(a){(a=this.te(a))&&a.Mc&&a.Jc()};w("_UploadSimpleImage",Kk,void 0);Z.prototype._createUsiContainer=Z.prototype.Wg;Z.prototype._getUsiContainer=Z.prototype.te;Z.prototype._channelResultArrived=Z.prototype.Jc;Y.prototype._changeImage=Y.prototype.Vg;Y.prototype._imgUrlFileOnChange=Y.prototype.Zg;Y.prototype._imgUrlTextOnKeyUp=Y.prototype.$g;Y.prototype._loadInitialUrl=Y.prototype.eh;Y.prototype._loadImageFromUrl=Y.prototype.Ia;
Y.prototype._setPreviewSize=Y.prototype.lh; })()
