=0&&d==1?vk(c,b):(f?(d=f,d.next==c.gq&&(c.gq=d),d.next=d.next.next):wk(c),xk(c,e,3,b)))}a.Gb=null}else fk(a,3,b)},sk=function(a,b){a.Cl||a.Da!=2&&a.Da!=3||yk(a);a.gq?a.gq.next=b:a.Cl=b;a.gq=b},rk=function(a,b,c,d){var e=jk(null,null,null);e.xn=new _.gk(function(f,h){e.Iv=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){h(m)}}:f;e.Dr=c?
function(k){try{var l=c.call(d,k);l===void 0&&k instanceof _.uk?h(k):f(l)}catch(m){h(m)}}:h});e.xn.Gb=a;sk(a,e);return e.xn};_.gk.prototype.Lga=function(a){this.Da=0;fk(this,2,a)};_.gk.prototype.Mga=function(a){this.Da=0;fk(this,3,a)};
var fk=function(a,b,c){a.Da==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.Da=1,mk(c,a.Lga,a.Mga,a)||(a.xf=c,a.Da=b,a.Gb=null,yk(a),b!=3||c instanceof _.uk||zk(a,c)))},mk=function(a,b,c,d){if(a instanceof _.gk)return tk(a,b,c,d),!0;if(_.Wj(a))return a.then(b,c,d),!0;if(_.wb(a))try{var e=a.then;if(typeof e==="function")return Ak(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},Ak=function(a,b,c,d,e){var f=!1,h=function(l){f||(f=!0,c.call(e,l))},k=function(l){f||(f=!0,
d.call(e,l))};try{b.call(a,h,k)}catch(l){k(l)}},yk=function(a){a.WF||(a.WF=!0,_.ek(a.hz,a))},wk=function(a){var b=null;a.Cl&&(b=a.Cl,a.Cl=b.next,b.next=null);a.Cl||(a.gq=null);return b};_.gk.prototype.hz=function(){for(var a;a=wk(this);)xk(this,a,this.Da,this.xf);this.WF=!1};xk=function(a,b,c,d){if(c==3&&b.Dr&&!b.Px)for(;a&&a.lA;a=a.Gb)a.lA=!1;if(b.xn)b.xn.Gb=null,Bk(b,c,d);else try{b.Px?b.Iv.call(b.context):Bk(b,c,d)}catch(e){Ck.call(null,e)}ik.put(b)};
Bk=function(a,b,c){b==2?a.Iv.call(a.context,c):a.Dr&&a.Dr.call(a.context,c)};zk=function(a,b){a.lA=!0;_.ek(function(){a.lA&&Ck.call(null,b)})};Ck=_.gh;_.uk=function(a){_.mb.call(this,a);this.TY=!1};_.gb(_.uk,_.mb);_.uk.prototype.name="cancel";var pk=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};
_.Dk=function(a){return new _.gk(a)};
var Lk=function(){this.hx={OY:Ek?"../"+Ek:null,Sy:Fk,NT:Gk,ora:Hk,jo:Ik,esa:Jk};this.dg=_.qe;this.hY=this.K7;this.B8=/MSIE\s*[0-8](\D|$)/.test(window.navigator.userAgent);if(this.hx.OY){this.dg=this.hx.NT(this.dg,this.hx.OY);var a=this.dg.document,b=a.createElement("script");b.setAttribute("type","text/javascript");b.text="window.doPostMsg=function(w,s,o) {window.setTimeout(function(){w.postMessage(s,o);},0);};";a.body.appendChild(b);this.hY=this.dg.doPostMsg}this.VM={};this.xN={};a=(0,_.B)(this.sH,
this);_.Fe(this.dg,"message",a);_.ve(_.Ge,"RPMQ",[]).push(a);this.dg!=this.dg.parent&&Kk(this,this.dg.parent,this.II(this.dg.name),"*")};Lk.prototype.II=function(a){return'{"h":"'+escape(a)+'"}'};var Mk=function(a){var b=null;a.indexOf('{"h":"')===0&&a.indexOf('"}')===a.length-2&&(b=unescape(a.substring(6,a.length-2)));return b},Nk=function(a){if(!/^\s*{/.test(a))return!1;a=_.Gf(a);return a!==null&&typeof a==="object"&&!!a.g};
Lk.prototype.sH=function(a){var b=String(a.data);_.Lf.debug("gapix.rpc.receive("+Hk+"): "+(!b||b.length<=512?b:b.substr(0,512)+"... ("+b.length+" bytes)"));var c=b.indexOf("!_")!==0;c||(b=b.substring(2));var d=Nk(b);if(!c&&!d){if(!d&&(c=Mk(b))){if(this.VM[c])this.VM[c]();else this.xN[c]=1;return}var e=a.origin,f=this.hx.Sy;this.B8?_.qe.setTimeout(function(){f(b,e)},0):f(b,e)}};Lk.prototype.Ib=function(a,b){a===".."||this.xN[a]?(b(),delete this.xN[a]):this.VM[a]=b};
var Kk=function(a,b,c,d){var e=Nk(c)?"":"!_";_.Lf.debug("gapix.rpc.send("+Hk+"): "+(!c||c.length<=512?c:c.substr(0,512)+"... ("+c.length+" bytes)"));a.hY(b,e+c,d)};Lk.prototype.K7=function(a,b,c){a.postMessage(b,c)};Lk.prototype.send=function(a,b,c){(a=this.hx.NT(this.dg,a))&&!a.closed&&Kk(this,a,b,c)};var Ok,Pk,Qk,Rk,Sk,Tk,Uk,Ek,Hk,Vk,Wk,Xk,Gk,Ik,Zk,$k,el,fl,hl,Jk,jl,il,al,bl,ll,Fk,ml,nl;Ok=0;Pk=[];Qk={};Rk={};Sk=_.qe.location.href;Tk=_.Ae(Sk,"rpctoken");Uk=_.Ae(Sk,"parent")||_.re.referrer;Ek=_.Ae(Sk,"rly");Hk=Ek||(_.qe!==_.qe.top||_.qe.opener)&&_.qe.name||"..";Vk=null;Wk={};Xk=function(){};_.Yk={send:Xk,Ib:Xk,II:Xk};
Gk=function(a,b){var c=a;b.charAt(0)=="/"&&(b=b.substring(1),c=_.qe.top);if(b.length===0)return c;for(b=b.split("/");b.length;){a=b.shift();a.charAt(0)=="{"&&a.charAt(a.length-1)=="}"&&(a=a.substring(1,a.length-1));var d=a;if(d==="..")c=c==c.parent?c.opener:c.parent;else if(d!==".."&&c.frames[d]){var e=c;a=d;c=c.frames[d];if(!("postMessage"in c))if(c instanceof HTMLIFrameElement&&"contentWindow"in c)c=c.contentWindow!=null&&"postMessage"in c.contentWindow?c.contentWindow:null;else{d=null;e=_.Aa(e.document.getElementsByTagName("iframe"));
for(var f=e.next();!f.done;f=e.next())if(f=f.value,f.getAttribute("id")==a||f.getAttribute("name")==a)d=f;if(d&&"contentWindow"in d)c=d.contentWindow!=null?d.contentWindow:null;else throw Error("G`"+c+"`"+a);}}else return null}return c};Ik=function(a){return(a=Qk[a])&&a.token};Zk=function(a){if(a.f in{})return!1;var b=a.t,c=Qk[a.r];a=a.origin;return c&&(c.token===b||!c.token&&!b)&&(a===c.origin||c.origin==="*")};
$k=function(a){var b=a.id.split("/"),c=b[b.length-1],d=a.origin;return function(e){var f=e.origin;return e.f==c&&(d==f||d=="*")}};_.cl=function(a,b,c){a=al(a);Rk[a.name]={Uh:b,wv:a.wv,Ks:c||Zk};bl()};_.dl=function(a){a=al(a);delete Rk[a.name]};el={};fl=function(a,b){(a=el["_"+a])&&a[1](this)&&a[0].call(this,b)};hl=function(a){var b=a.c;if(!b)return Xk;var c=a.r,d=a.g?"legacy__":"";return function(){var e=[].slice.call(arguments,0);e.unshift(c,d+"__cb",null,b);_.gl.apply(null,e)}};
Jk=function(a){Vk=a};jl=function(a){Wk[a]||(Wk[a]=_.qe.setTimeout(function(){Wk[a]=!1;il(a)},0))};il=function(a){var b=Qk[a];if(b&&b.ready){var c=b.ZJ;for(b.ZJ=[];c.length;)_.Yk.send(a,_.Hf(c.shift()),b.origin)}};al=function(a){return a.indexOf("legacy__")===0?{name:a.substring(8),wv:!0}:{name:a,wv:!1}};
bl=function(){for(var a=_.Sh("rpc/residenceSec")||60,b=(new Date).getTime()/1E3,c,d=0;c=Pk[d];++d){var e=c.kp;if(!e||a>0&&b-c.timestamp>a)Pk.splice(d,1),--d;else{var f=e.s,h=Rk[f]||Rk["*"];if(h)if(Pk.splice(d,1),--d,e.origin=c.origin,c=hl(e),e.callback=c,h.Ks(e)){if(f!=="__cb"&&!!h.wv!=!!e.g)break;e=h.Uh.apply(e,e.a);e!==void 0&&c(e)}else _.Lf.debug("gapix.rpc.rejected("+Hk+"): "+f)}}};ll=function(a,b,c){Pk.push({kp:a,origin:b,timestamp:(new Date).getTime()/1E3});c||bl()};
Fk=function(a,b){a=_.Gf(a);ll(a,b,!1)};ml=function(a){for(;a.length;)ll(a.shift(),this.origin,!0);bl()};nl=function(a){var b=!1;a=a.split("|");var c=a[0];c.indexOf("/")>=0&&(b=!0);return{id:c,origin:a[1]||"*",fI:b}};
_.ol=function(a,b,c,d){var e=nl(a);d&&(_.qe.frames[e.id]=_.qe.frames[e.id]||d);a=e.id;if(!Qk.hasOwnProperty(a)){c=c||null;d=e.origin;if(a==="..")d=_.xg(Uk),c=c||Tk;else if(!e.fI){var f=_.re.getElementById(a);f&&(f=f.src,d=_.xg(f),c=c||_.Ae(f,"rpctoken"))}e.origin==="*"&&d||(d=e.origin);Qk[a]={token:c,ZJ:[],origin:d,Eea:b,HY:function(){var h=a;Qk[h].ready=1;il(h)}};_.Yk.Ib(a,Qk[a].HY)}return Qk[a].HY};
_.gl=function(a,b,c,d){a=a||"..";_.ol(a);a=a.split("|",1)[0];var e=b,f=a,h=[].slice.call(arguments,3),k=c,l=Hk,m=Tk,n=Qk[f],p=l,q=nl(f);if(n&&f!==".."){if(q.fI){if(!(m=Qk[f].Eea)){m=Vk?Vk.substring(1).split("/"):[Hk];p=m.length-1;for(f=_.qe.parent;f!==_.qe.top;){var t=f.parent;if(!p--){for(var v=null,u=t.frames.length,y=0;y<u;++y)t.frames[y]==f&&(v=y);m.unshift("{"+v+"}")}f=t}m="/"+m.join("/")}p=m}else p=l="..";m=n.token}k&&q?(n=Zk,q.fI&&(n=$k(q)),el["_"+ ++Ok]=[k,n],k=Ok):k=null;h={s:e,f:l,r:p,t:m,
c:k,a:h};e=al(e);h.s=e.name;h.g=e.wv;Qk[a].ZJ.push(h);jl(a)};if(typeof _.qe.postMessage==="function"||typeof _.qe.postMessage==="object")_.Yk=new Lk,_.cl("__cb",fl,function(){return!0}),_.cl("_processBatch",ml,function(){return!0}),_.ol("..");
var ql,vl,wl,xl,yl,zl,Al,Bl,Cl,Dl,El,Fl,Jl,Kl,Ll,Ml,Nl,Ol,Pl,Ql;_.pl=function(a,b){if(!a)throw Error(b||"");};ql=/&/g;vl=/</g;wl=/>/g;xl=/"/g;yl=/'/g;zl=function(a){return String(a).replace(ql,"&amp;").replace(vl,"&lt;").replace(wl,"&gt;").replace(xl,"&quot;").replace(yl,"&#39;")};Al=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g;Bl=/%([a-f]|[0-9a-fA-F][a-f])/g;Cl=/^(https?|ftp|file|chrome-extension):$/i;
Dl=function(a){a=String(a);a=a.replace(Al,function(e){try{return encodeURIComponent(e)}catch(f){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}}).replace(_.Ce,function(e){return e.replace(/%/g,"%25")}).replace(Bl,function(e){return e.toUpperCase()});a=a.match(_.Be)||[];var b=_.we(),c=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},d=!!(a[1]||"").match(Cl);b.it=c((a[1]||"")+(a[2]||"")+(a[3]||
(a[2]&&d?"/":"")));d=function(e){return c(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))};b.query=a[5]?[d(a[5])]:[];b.Xi=a[7]?[d(a[7])]:[];return b};El=function(a){return a.it+(a.query.length>0?"?"+a.query.join("&"):"")+(a.Xi.length>0?"#"+a.Xi.join("&"):"")};Fl=function(a,b){var c=[];if(a)for(var d in a)if(_.xe(a,d)&&a[d]!=null){var e=b?b(a[d]):a[d];c.push(encodeURIComponent(d)+"="+encodeURIComponent(e))}return c};
_.Gl=function(a,b,c,d){a=Dl(a);a.query.push.apply(a.query,Fl(b,d));a.Xi.push.apply(a.Xi,Fl(c,d));return El(a)};
_.Hl=function(a,b){var c=Dl(b);b=c.it;c.query.length&&(b+="?"+c.query.join(""));c.Xi.length&&(b+="#"+c.Xi.join(""));var d="";b.length>2E3&&(c=b,b=b.substr(0,2E3),b=b.replace(_.De,""),d=c.substr(b.length));var e=a.createElement("div");a=a.createElement("a");c=Dl(b);b=c.it;c.query.length&&(b+="?"+c.query.join(""));c.Xi.length&&(b+="#"+c.Xi.join(""));_.Bc(a,new _.ic(_.pe(b)));e.appendChild(a);_.Fc(e,_.bc(e.innerHTML));b=String(e.firstChild.href);e.parentNode&&e.parentNode.removeChild(e);c=Dl(b+d);b=
c.it;c.query.length&&(b+="?"+c.query.join(""));c.Xi.length&&(b+="#"+c.Xi.join(""));return b};_.Il=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i;Kl=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)};Ll=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/b\/(\d{10,21})\//;
Ml=function(){var a=_.Sh("googleapis.config/sessionDelegate");"string"===typeof a&&a.length>21&&(a=null);a==null&&(a=(a=window.location.href.match(Ll))?a[1]:null);if(a==null)return null;a=String(a);a.length>21&&(a=null);return a};Nl=function(){var a=_.Ge.onl;if(!a){a=_.we();_.Ge.onl=a;var b=_.we();a.e=function(c){var d=b[c];d&&(delete b[c],d())};a.a=function(c,d){b[c]=d};a.r=function(c){delete b[c]}}return a};Ol=function(a,b){b=b.onload;return typeof b==="function"?(Nl().a(a,b),b):null};
Pl=function(a){_.pl(/^\w+$/.test(a),"Unsupported id - "+a);return'onload="window.___jsl.onl.e(&#34;'+a+'&#34;)"'};Ql=function(a){Nl().r(a)};var Sl,Tl,Xl;_.Rl={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"};Sl={allowtransparency:!0,onload:!0};Tl=0;_.Ul=function(a,b){var c=0;do var d=b.id||["I",Tl++,"_",(new Date).getTime()].join("");while(a.getElementById(d)&&++c<5);_.pl(c<5,"Error creating iframe id");return d};_.Vl=function(a,b){return a?b+"/"+a:""};
_.Wl=function(a,b,c,d){var e={},f={};a.documentMode&&a.documentMode<9&&(e.hostiemode=a.documentMode);_.ye(d.queryParams||{},e);_.ye(d.fragmentParams||{},f);var h=d.pfname;var k=_.we();_.Sh("iframes/dropLegacyIdParam")||(k.id=c);k._gfid=c;k.parent=a.location.protocol+"//"+a.location.host;c=_.Ae(a.location.href,"parent");h=h||"";!h&&c&&(h=_.Ae(a.location.href,"_gfid","")||_.Ae(a.location.href,"id",""),h=_.Vl(h,_.Ae(a.location.href,"pfname","")));h||(c=_.Gf(_.Ae(a.location.href,"jcp","")))&&typeof c==
"object"&&(h=_.Vl(c.id,c.pfname));k.pfname=h;d.connectWithJsonParam&&(h={},h.jcp=_.Hf(k),k=h);h=_.Ae(b,"rpctoken")||e.rpctoken||f.rpctoken;h||(h=d.rpctoken||String(Math.round(_.Ai()*1E8)),k.rpctoken=h);d.rpctoken=h;_.ye(k,d.connectWithQueryParams?e:f);k=a.location.href;a=_.we();(h=_.Ae(k,"_bsh",_.Ge.bsh))&&(a._bsh=h);(k=_.Ge.dpo?_.Ge.h:_.Ae(k,"jsh",_.Ge.h))&&(a.jsh=k);d.hintInFragment?_.ye(a,f):_.ye(a,e);return _.Gl(b,e,f,d.paramsSerializer)};
Xl=function(a){_.pl(!a||_.Il.test(a),"Illegal url for new iframe - "+a)};
_.Yl=function(a,b,c,d,e){Xl(c.src);var f,h=Ol(d,c),k=h?Pl(d):"";try{document.all&&(f=a.createElement('<iframe frameborder="'+zl(String(c.frameborder))+'" scrolling="'+zl(String(c.scrolling))+'" '+k+' name="'+zl(String(c.name))+'"/>'))}catch(m){}finally{f||(f=_.Ud(a).createElement("IFRAME"),h&&(f.onload=function(){f.onload=null;h.call(this)},Ql(d)))}f.setAttribute("ng-non-bindable","");for(var l in c)a=c[l],l==="style"&&typeof a==="object"?_.ye(a,f.style):Sl[l]||f.setAttribute(l,String(a));(l=e&&e.beforeNode||
null)||e&&e.dontclear||Kl(b);b.insertBefore(f,l);f=l?l.previousSibling:b.lastChild;c.allowtransparency&&(f.allowTransparency=!0);return f};var Zl,bm;Zl=/^:[\w]+$/;_.$l=/:([a-zA-Z_]+):/g;_.am=function(){var a=_.Wh()||"0",b=Ml();var c=_.Wh()||a;var d=Ml(),e="";c&&(e+="u/"+encodeURIComponent(String(c))+"/");d&&(e+="b/"+encodeURIComponent(String(d))+"/");c=e||null;(e=(d=_.Sh("isLoggedIn")===!1)?"_/im/":"")&&(c="");var f=_.Sh("iframes/:socialhost:"),h=_.Sh("iframes/:im_socialhost:");return Jl={socialhost:f,ctx_socialhost:d?h:f,session_index:a,session_delegate:b,session_prefix:c,im_prefix:e}};bm=function(a,b){return _.am()[b]||""};
_.cm=function(a){return _.Hl(_.re,a.replace(_.$l,bm))};_.dm=function(a){var b=a;Zl.test(a)&&(b="iframes/"+b.substring(1)+"/url",b=_.Sh(b),_.pl(!!b,"Unknown iframe url config for - "+a));return _.cm(b)};
_.em=function(a,b,c){c=c||{};var d=c.attributes||{};_.pl(!(c.allowPost||c.forcePost)||!d.onload,"onload is not supported by post iframe (allowPost or forcePost)");a=_.dm(a);d=b.ownerDocument||_.re;var e=_.Ul(d,c);a=_.Wl(d,a,e,c);var f=c,h=_.we();_.ye(_.Rl,h);_.ye(f.attributes,h);h.name=h.id=e;h.src=a;c.eurl=a;c=(f=c)||{};var k=!!c.allowPost;if(c.forcePost||k&&a.length>2E3){c=Dl(a);h.src="";f.dropDataPostorigin||(h["data-postorigin"]=a);a=_.Yl(d,b,h,e);if(navigator.userAgent.indexOf("WebKit")!=-1){var l=
a.contentWindow.document;l.open();h=l.createElement("div");k={};var m=e+"_inner";k.name=m;k.src="";k.style="display:none";_.Yl(d,h,k,m,f)}h=(f=c.query[0])?f.split("&"):[];f=[];for(k=0;k<h.length;k++)m=h[k].split("=",2),f.push([decodeURIComponent(m[0]),decodeURIComponent(m[1])]);c.query=[];h=El(c);_.pl(_.Il.test(h),"Invalid URL: "+h);c=d.createElement("form");c.method="POST";c.target=e;c.style.display="none";e=_.pc(h);e!==void 0&&(c.action=e);for(e=0;e<f.length;e++)h=d.createElement("input"),h.type=
"hidden",h.name=f[e][0],h.value=f[e][1],c.appendChild(h);b.appendChild(c);c.submit();c.parentNode.removeChild(c);l&&l.close();b=a}else b=_.Yl(d,b,h,e,f);return b};
var fm;
fm=function(){function a(k,l){k=window.getComputedStyle(k,"").getPropertyValue(l).match(/^([0-9]+)/);return parseInt(k[0],10)}for(var b=0,c=[document.body];c.length>0;){var d=c.shift(),e=d.childNodes;if(typeof d.style!=="undefined"){var f=d.style.overflowY;f||(f=(f=document.defaultView.getComputedStyle(d,null))?f.overflowY:null);if(f!="visible"&&f!="inherit"&&(f=d.style.height,f||(f=(f=document.defaultView.getComputedStyle(d,null))?f.height:""),f.length>0&&f!="auto"))continue}for(d=0;d<e.length;d++){f=e[d];
if(typeof f.offsetTop!=="undefined"&&typeof f.offsetHeight!=="undefined"){var h=f.offsetTop+f.offsetHeight+a(f,"margin-bottom");b=Math.max(b,h)}c.push(f)}}return b+a(document.body,"border-bottom")+a(document.body,"margin-bottom")+a(document.body,"padding-bottom")};
_.gm=function(){var a=0;self.innerHeight?a=self.innerHeight:document.documentElement&&document.documentElement.clientHeight?a=document.documentElement.clientHeight:document.body&&(a=document.body.clientHeight);var b=document.body,c=document.documentElement;if(document.compatMode==="CSS1Compat"&&c.scrollHeight)return c.scrollHeight!==a?c.scrollHeight:c.offsetHeight;if(navigator.userAgent.indexOf("AppleWebKit")>=0)return fm();if(b&&c){var d=c.scrollHeight,e=c.offsetHeight;c.clientHeight!==e&&(d=b.scrollHeight,
e=b.offsetHeight);return d>a?d>e?d:e:d<e?d:e}};
var hm=function(a,b){return _.Th(a,b,!0)},im=function(a){this.T=a||{}},jm=function(a){var b=function(c){return new (a().Context)(c)};b.prototype.addOnConnectHandler=function(c,d,e,f){return a().Context.prototype.addOnConnectHandler.apply(this,[c,d,e,f])};b.prototype.addOnOpenerHandler=function(c,d,e){return a().Context.prototype.addOnOpenerHandler.apply(this,[c,d,e])};b.prototype.closeSelf=function(c,d,e){return a().Context.prototype.closeSelf.apply(this,[c,d,e])};b.prototype.connectIframes=function(c,
d){a().Context.prototype.connectIframes.apply(this,[c,d])};b.prototype.getFrameName=function(){return a().Context.prototype.getFrameName.apply(this)};b.prototype.getGlobalParam=function(c){a().Context.prototype.getGlobalParam.apply(this,[c])};b.prototype.getParentIframe=function(){return a().Context.prototype.getParentIframe.apply(this)};b.prototype.getWindow=function(){return a().Context.prototype.getWindow.apply(this)};b.prototype.isDisposed=function(){return a().Context.prototype.isDisposed.apply(this)};
b.prototype.open=function(c,d){return a().Context.prototype.open.apply(this,[c,d])};b.prototype.openChild=function(c){return a().Context.prototype.openChild.apply(this,[c])};b.prototype.ready=function(c,d,e,f){a().Context.prototype.ready.apply(this,[c,d,e,f])};b.prototype.removeOnConnectHandler=function(c){a().Context.prototype.removeOnConnectHandler.apply(this,[c])};b.prototype.restyleSelf=function(c,d,e){return a().Context.prototype.restyleSelf.apply(this,[c,d,e])};b.prototype.setCloseSelfFilter=
function(c){a().Context.prototype.setCloseSelfFilter.apply(this,[c])};b.prototype.setGlobalParam=function(c,d){a().Context.prototype.setGlobalParam.apply(this,[c,d])};b.prototype.setRestyleSelfFilter=function(c){a().Context.prototype.setRestyleSelfFilter.apply(this,[c])};return b},km=function(a){var b=function(c,d,e,f){return new (a().Iframe)(c,d,e,f)};b.prototype.applyIframesApi=function(c){a().Iframe.prototype.applyIframesApi(c)};b.prototype.close=function(c,d){return a().Iframe.prototype.close.apply(this,
[c,d])};b.prototype.getContext=function(){return a().Iframe.prototype.getContext.apply(this,[])};b.prototype.getFrameName=function(){return a().Iframe.prototype.getFrameName.apply(this,[])};b.prototype.getId=function(){return a().Iframe.prototype.getId.apply(this,[])};b.prototype.getIframeEl=function(){return a().Iframe.prototype.getIframeEl.apply(this,[])};b.prototype.getOrigin=function(){return a().Iframe.prototype.getOrigin.apply(this,[])};b.prototype.getParam=function(c){a().Iframe.prototype.getParam.apply(this,
[c])};b.prototype.getSiteEl=function(){return a().Iframe.prototype.getSiteEl.apply(this,[])};b.prototype.getWindow=function(){return a().Iframe.prototype.getWindow.apply(this,[])};b.prototype.isDisposed=function(){return a().Iframe.prototype.isDisposed.apply(this,[])};b.prototype.ping=function(c,d){return a().Iframe.prototype.ping.apply(this,[c,d])};b.prototype.register=function(c,d,e){a().Iframe.prototype.register.apply(this,[c,d,e])};b.prototype.registerWasClosed=function(c,d){a().Iframe.prototype.registerWasClosed.apply(this,
[c,d])};b.prototype.registerWasRestyled=function(c,d){a().Iframe.prototype.registerWasRestyled.apply(this,[c,d])};b.prototype.restyle=function(c,d){return a().Iframe.prototype.restyle.apply(this,[c,d])};b.prototype.send=function(c,d,e,f){return a().Iframe.prototype.send.apply(this,[c,d,e,f])};b.prototype.setParam=function(c,d){a().Iframe.prototype.setParam.apply(this,[c,d])};b.prototype.setSiteEl=function(c){a().Iframe.prototype.setSiteEl.apply(this,[c])};b.prototype.unregister=function(c,d){a().Iframe.prototype.unregister.apply(this,
[c,d])};return b},lm,mm,qm,sm,xm,Fm,Gm,Im,Mm,Nm,Qm,Sm,Tm,Vm,Um,Wm;_.Kj.prototype.tu=_.pb(5,function(){return this.T.controller});_.Kj.prototype.Vr=_.pb(4,function(a){this.T.apis=a;return this});lm=function(a,b){a.T.onload=b};mm=function(a){return a.T.rpctoken};_.nm=function(a,b){a.T.queryParams=b;return a};_.om=function(a,b){a.T.relayOpen=b;return a};_.pm=function(a,b){a.T.onClose=b;return a};qm=function(a,b){a.T.controllerData=b};_.rm=function(a){a.T.waitForOnload=!0};
sm=function(a){return(a=a.T.timeout)?a:null};_.tm=function(a){return!!a&&typeof a==="object"&&_.ue.test(a.push)};_.um=function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b;return-1};_.vm=function(a,b,c){if(a){_.pl(_.tm(a),"arrayForEach was called with a non array value");for(var d=0;d<a.length;d++)b.call(c,a[d],d)}};
_.wm=function(a,b,c){if(a)if(_.tm(a))_.vm(a,b,c);else{_.pl(typeof a==="object","objectForEach was called with a non object value");c=c||a;for(var d in a)_.xe(a,d)&&a[d]!==void 0&&b.call(c,a[d],d)}};xm=function(a){this.T=a||{}};xm.prototype.value=function(){return this.T};xm.prototype.getIframe=function(){return this.T.iframe};var ym=function(a,b){a.T.role=b;return a},zm=function(a,b){a.T.data=b;return a};xm.prototype.Xk=function(a){this.T.setRpcReady=a;return this};var Am=function(a){return a.T.setRpcReady};
xm.prototype.bn=function(a){this.T.rpctoken=a;return this};var Bm=function(a){a.T.selfConnect=!0;return a};im.prototype.value=function(){return this.T};var Dm=function(a){var b=new Cm;b.T.role=a;return b};im.prototype.CT=function(){return this.T.role};im.prototype.Fc=function(a){this.T.handler=a;return this};im.prototype.wb=function(){return this.T.handler};var Em=function(a,b){a.T.filter=b;return a};im.prototype.Vr=function(a){this.T.apis=a;return this};Im=/^[\w\.\-]*$/;
_.Jm=function(a){return a.getOrigin()===a.getContext().getOrigin()};_.Km=function(){return!0};_.Lm=function(a){for(var b=_.we(),c=0;c<a.length;c++)b[a[c]]=!0;return function(d){return!!b[d.Dd]}};Mm=function(a,b,c){a=Fm[a];if(!a)return[];for(var d=[],e=0;e<a.length;e++)d.push(_.kk(a[e].call(c,b,c)));return d};Nm=function(a,b,c){return function(d){if(!b.isDisposed()){var e=this.origin,f=b.getOrigin();_.pl(e===f,"Wrong origin "+e+" != "+f);e=this.callback;d=Mm(a,d,b);!c&&d.length>0&&_.ok(d).then(e)}}};
_.Om=function(a,b,c){_.pl(a!="_default","Cannot update default api");Gm[a]={map:b,filter:c}};_.Pm=function(a,b,c){_.pl(a!="_default","Cannot update default api");_.ve(Gm,a,{map:{},filter:_.Jm}).map[b]=c};Qm=function(a,b){_.ve(Gm,"_default",{map:{},filter:_.Km}).map[a]=b;_.wm(_.Hm.kg,function(c){c.register(a,b,_.Km)})};_.Rm=function(){return _.Hm};Sm=/^https?:\/\/[^\/%\\?#\s]+$/i;
Tm={longdesc:!0,name:!0,src:!0,frameborder:!0,marginwidth:!0,marginheight:!0,scrolling:!0,align:!0,height:!0,width:!0,id:!0,"class":!0,title:!0,tabindex:!0,hspace:!0,vspace:!0,allowtransparency:!0};Vm=function(a){this.resolve=this.reject=null;this.promise=_.Dk((0,_.B)(function(b,c){this.resolve=b;this.reject=c},this));a&&(this.promise=Um(this.promise,a))};Um=function(a,b){return a.then(function(c){try{b(c)}catch(d){}return c})};Wm=function(a){this.og=a;this.Context=jm(a);this.Iframe=km(a)};_.g=Wm.prototype;
_.g.CROSS_ORIGIN_IFRAMES_FILTER=function(a){return this.og().CROSS_ORIGIN_IFRAMES_FILTER(a)};_.g.SAME_ORIGIN_IFRAMES_FILTER=function(a){return this.og().SAME_ORIGIN_IFRAMES_FILTER(a)};_.g.create=function(a,b,c){return this.og().create(a,b,c)};_.g.getBeforeOpenStyle=function(a){return this.og().getBeforeOpenStyle(a)};_.g.getContext=function(){return this.og().getContext()};_.g.getStyle=function(a){return this.og().getStyle(a)};_.g.makeWhiteListIframesFilter=function(a){return this.og().makeWhiteListIframesFilter(a)};
_.g.registerBeforeOpenStyle=function(a,b){return this.og().registerBeforeOpenStyle(a,b)};_.g.registerIframesApi=function(a,b,c){return this.og().registerIframesApi(a,b,c)};_.g.registerIframesApiHandler=function(a,b,c){return this.og().registerIframesApiHandler(a,b,c)};_.g.registerStyle=function(a,b){return this.og().registerStyle(a,b)};var Xm=function(){this.Bi=[]};Xm.prototype.og=function(a){return this.Bi.length?Ym(this.Bi[0],a):void 0};var Ym=function(a,b){b=b===void 0?function(c){return new c}:b;return a.Ce?b(a.Ce):a.instance},Zm=function(){Xm.apply(this,arguments)};_.r(Zm,Xm);var an=function(a){var b=$m.IQ,c=a.priority,d=~hm(b.Bi,function(e){return e.priority<c?-1:1});b.Bi.splice(d,0,a)};var $m=new function(){var a=this;this.IQ=new Zm;this.instance=new Wm(function(){return a.IQ.og()()})};an({instance:function(){return window.gapi.iframes},priority:1});_.bn=$m.instance;var cn,dn;cn={height:!0,width:!0};dn=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;_.en=function(a){typeof a==="number"&&(a=String(a)+"px");return a};var fn=function(){xm.apply(this,arguments)};_.r(fn,xm);var Cm=function(){im.apply(this,arguments)};_.r(Cm,im);var gn=function(){_.Kj.apply(this,arguments)};_.r(gn,_.Kj);var hn=function(a){gn.call(this,a)};_.r(hn,gn);var jn=function(a,b){a.T.frameName=b;return a};hn.prototype.getFrameName=function(){return this.T.frameName};var kn=function(a,b){a.T.rpcAddr=b;return a};hn.prototype.yg=function(){return this.T.rpcAddr};var ln=function(a,b){a.T.retAddr=b;return a};_.g=hn.prototype;_.g.fi=function(){return this.T.retAddr};_.g.Kj=function(a){this.T.origin=a;return this};_.g.getOrigin=function(){return this.T.origin};_.g.Xk=function(a){this.T.setRpcReady=a;return this};
_.g.wp=function(a){this.T.context=a};var mn=function(a,b){a.T._rpcReadyFn=b};hn.prototype.getIframeEl=function(){return this.T.iframeEl};var nn=function(a,b,c){var d=a.yg(),e=b.fi();ln(kn(c,a.fi()+"/"+b.yg()),e+"/"+d);jn(c,b.getFrameName()).Kj(b.getOrigin())};var pn=function(a,b,c){a.setTimeout(function(){b.closed||c==5?on(b):(b.close(),c++,pn(a,b,c))},1E3)},on=function(a){a.closed||a.document&&a.document.body&&_.oe(a.document.body,"Please close this window.")};_.qn=function(a,b,c,d){this.Sg=!1;this.qb=a;this.vK=b;this.wq=c;this.Ka=d;this.fZ=this.Ka.fi();this.Dd=this.Ka.getOrigin();this.Uaa=this.Ka.getIframeEl();this.R_=this.Ka.T.where;this.Bi=[];this.applyIframesApi("_default");a=this.Ka.T.apis||[];for(b=0;b<a.length;b++)this.applyIframesApi(a[b]);this.qb.kg[c]=this};_.g=_.qn.prototype;_.g.isDisposed=function(){return this.Sg};
_.g.dispose=function(){if(!this.isDisposed()){for(var a=0;a<this.Bi.length;a++)this.unregister(this.Bi[a]);delete _.Hm.kg[this.getFrameName()];this.Sg=!0}};_.g.getContext=function(){return this.qb};_.g.getOptions=function(){return this.Ka};_.g.yg=function(){return this.vK};_.g.fi=function(){return this.fZ};_.g.getFrameName=function(){return this.wq};_.g.getIframeEl=function(){return this.Uaa};_.g.getSiteEl=function(){return this.R_};_.g.setSiteEl=function(a){this.R_=a};_.g.Xk=function(){(0,this.Ka.T._rpcReadyFn)()};
_.g.setParam=function(a,b){this.Ka.value()[a]=b};_.g.getParam=function(a){return this.Ka.value()[a]};_.g.xc=function(){return this.Ka.value()};_.g.getId=function(){return this.Ka.getId()};_.g.getOrigin=function(){return this.Dd};var rn=function(a,b){var c=a.wq;a=a.qb.getFrameName();return c+":"+a+":"+b};_.g=_.qn.prototype;
_.g.register=function(a,b,c){_.pl(!this.isDisposed(),"Cannot register handler on disposed iframe "+a);_.pl((c||_.Jm)(this),"Rejecting untrusted message "+a);c=rn(this,a);_.ve(Fm,c,[]).push(b)==1&&(this.Bi.push(a),_.cl(c,Nm(c,this,a==="_g_wasClosed")))};_.g.unregister=function(a,b){var c=rn(this,a),d=Fm[c];d&&(b?(b=_.um.call(d,b),b>=0&&d.splice(b,1)):d.splice(0,d.length),d.length==0&&(b=_.um.call(this.Bi,a),b>=0&&this.Bi.splice(b,1),_.dl(c)))};_.g.R9=function(){return this.Bi};
_.g.applyIframesApi=function(a){this.DE=this.DE||[];if(!(_.um.call(this.DE,a)>=0)){this.DE.push(a);a=Gm[a]||{map:{}};for(var b in a.map)_.xe(a.map,b)&&this.register(b,a.map[b],a.filter)}};_.g.getWindow=function(){if(!_.Jm(this))return null;var a=this.Ka.T._popupWindow;if(a)return a;var b=this.vK.split("/");a=this.getContext().getWindow();for(var c=0;c<b.length&&a;c++){var d=b[c];a=".."===d?a==a.parent?a.opener:a.parent:a.frames[d]}return a};
var sn=function(a){var b={};if(a)for(var c in a)_.xe(a,c)&&_.xe(cn,c)&&dn.test(a[c])&&(b[c]=a[c]);return b};_.g=_.qn.prototype;_.g.close=function(a,b){return tn(this,"_g_close",a,b)};_.g.restyle=function(a,b){return tn(this,"_g_restyle",a,b)};_.g.Pr=function(a,b){return tn(this,"_g_restyleDone",a,b)};_.g.m7=function(a){return this.getContext().closeSelf(a,void 0,this)};_.g.Aea=function(a){if(a&&typeof a==="object")return this.getContext().restyleSelf(a,void 0,this)};
_.g.Bea=function(a){var b=this.Ka.T.onRestyle;b&&b.call(this,a,this);a=a&&typeof a==="object"?sn(a):{};(b=this.getIframeEl())&&a&&typeof a==="object"&&(_.xe(a,"height")&&(a.height=_.en(a.height)),_.xe(a,"width")&&(a.width=_.en(a.width)),_.ye(a,b.style))};
_.g.n7=function(a){var b=this.Ka.T.onClose;b&&b.call(this,a,this);if(b=this.getOptions().T._popupWindow){var c=this.getContext().getWindow().document.getElementById(this.getId());c&&c.parentNode&&c.parentNode.removeChild(c);c=this.getContext().getWindow();_.yd&&_.rh&&c?(c.focus(),pn(c,b,0)):(b.close(),on(b))}b||(b=this.getIframeEl())&&b.parentNode&&b.parentNode.removeChild(b);if(b=this.Ka.tu())c={},c.frameName=this.getFrameName(),tn(b,"_g_disposeControl",c);b=rn(this,"_g_wasClosed");Mm(b,a,this)};
_.g.registerWasRestyled=function(a,b){this.register("_g_wasRestyled",a,b)};_.g.registerWasClosed=function(a,b){this.register("_g_wasClosed",a,b)};_.g.gha=function(){delete this.getContext().kg[this.getFrameName()];this.getContext().getWindow().setTimeout((0,_.B)(function(){this.dispose()},this),0)};
_.g.send=function(a,b,c,d){_.pl(!this.isDisposed(),"Cannot send message to disposed iframe - "+a);_.pl((d||_.Jm)(this),"Wrong target for message "+a);c=new Vm(c);a=this.qb.getFrameName()+":"+this.wq+":"+a;_.gl(this.vK,a,c.resolve,b);return c.promise};var tn=function(a,b,c,d){return a.send(b,c,d,_.Km)};_.g=_.qn.prototype;_.g.Bda=function(a){return a};_.g.ping=function(a,b){return tn(this,"_g_ping",b,a)};
_.g.w7=function(a){a=a&&typeof a==="object"?a:{};for(var b=a.rpcAddr,c=(this.yg()+"/"+b).split("/"),d=this.getContext().getWindow(),e;(e=c.shift())&&d;)d=e==".."?d.parent:d.frames[e];_.pl(!!d,"Bad rpc address "+b);a._window=d;a._parentRpcAddr=this.yg();a._parentRetAddr=this.fi();this.getContext();b=new _.un(a);this.Pca&&this.Pca(b,a.controllerData);this.nF=this.nF||[];this.nF.push(b,a.controllerData)};
_.g.P7=function(a){a=(a||{}).frameName;for(var b=this.nF||[],c=0;c<b.length;c++)if(b[c].getFrameName()===a){a=b.splice(c,1)[0];a.dispose();this.Tca&&this.Tca(a);return}_.pl(!1,"Unknown contolled iframe to dispose - "+a)};
_.g.t7=function(a){var b=new hn(a);a=new fn(b.value());if(a.T.selfConnect)var c=this;else(_.pl(Sm.test(b.getOrigin()),"Illegal origin for connected iframe - "+b.getOrigin()),c=this.getContext().kg[b.getFrameName()],c)?Am(b)&&(c.Xk(),tn(c,"_g_rpcReady")):(b=jn(ln(kn(new hn,b.yg()),b.fi()).Kj(b.getOrigin()),b.getFrameName()).Xk(Am(b)).bn(mm(b)),c=this.getContext().attach(b.value()));b=this.getContext();var d=a.T.role;a=a.T.data;vn(b);d=d||"";_.ve(b.lF,d,[]).push({kf:c,data:a});wn(c,a,b.lJ[d])};
_.g.bM=function(a,b){(new hn(b)).T._relayedDepth||(b={},Bm(ym(new fn(b),"_opener")),tn(a,"_g_connect",b))};
_.g.BX=function(a){var b=this,c=a.T.messageHandlers,d=a.T.messageHandlersFilter,e=a.T.onClose;_.pm(_.Nj(_.Mj(a,null),null),null);return tn(this,"_g_open",a.value()).then(function(f){var h=new hn(f[0]),k=h.getFrameName();f=new hn;var l=b.fi(),m=h.fi();ln(kn(f,b.yg()+"/"+h.yg()),m+"/"+l);jn(f,k);f.Kj(h.getOrigin());f.Vr(h.T.apis);f.bn(mm(a));_.Mj(f,c);_.Nj(f,d);_.pm(f,e);(h=b.getContext().kg[k])||(h=b.getContext().attach(f.value()));return h})};
_.g.yK=function(a){var b=a.getUrl();_.pl(!b||_.Il.test(b),"Illegal url for new iframe - "+b);var c=a.Wn().value();b={};for(var d in c)_.xe(c,d)&&_.xe(Tm,d)&&(b[d]=c[d]);_.xe(c,"style")&&(d=c.style,typeof d==="object"&&(b.style=sn(d)));a.value().attributes=b};
_.g.lda=function(a){a=new hn(a);this.yK(a);var b=a.T._relayedDepth||0;a.T._relayedDepth=b+1;a.T.openerIframe=this;var c=mm(a);a.bn(null);var d=this;return this.getContext().open(a.value()).then(function(e){var f=(new hn(e.xc())).T.apis,h=new hn;nn(e,d,h);b==0&&ym(new fn(h.value()),"_opener");h.Xk(!0);h.bn(c);tn(e,"_g_connect",h.value());h=new hn;jn(ln(kn(h,e.yg()),e.fZ),e.getFrameName()).Kj(e.getOrigin()).Vr(f);return h.value()})};
_.g.zea=function(a){this.getContext().addOnOpenerHandler(function(b){b.send("_g_wasRestyled",a,void 0,_.Km)},null,_.Km)};var Bn;_.xn=_.we();_.yn=_.we();_.zn=function(a,b){_.xn[a]=b};_.An=function(a){return _.xn[a]};Bn=function(a,b){_.ze.load("gapi.iframes.style."+a,b)};_.Cn=function(a,b){_.yn[a]=b};_.Dn=function(a){return _.yn[a]};_.un=function(a){a=a||{};this.Sg=!1;this.Aj=_.we();this.kg=_.we();this.dg=a._window||_.qe;this.Id=this.dg.location.href;this.SX=(this.GJ=En(this.Id,"parent"))?En(this.Id,"pfname"):"";this.Ea=this.GJ?En(this.Id,"_gfid")||En(this.Id,"id"):"";this.wq=_.Vl(this.Ea,this.SX);this.Dd=_.xg(this.Id);if(this.Ea){var b=new hn;kn(b,a._parentRpcAddr||"..");ln(b,a._parentRetAddr||this.Ea);b.Kj(_.xg(this.GJ||this.Id));jn(b,this.SX);this.Gb=this.attach(b.value())}else this.Gb=null};_.g=_.un.prototype;
_.g.isDisposed=function(){return this.Sg};_.g.dispose=function(){if(!this.isDisposed()){for(var a=_.Aa(Object.values(this.kg)),b=a.next();!b.done;b=a.next())b.value.dispose();this.Sg=!0}};_.g.getFrameName=function(){return this.wq};_.g.getOrigin=function(){return this.Dd};_.g.getWindow=function(){return this.dg};_.g.ub=function(){return this.dg.document};_.g.setGlobalParam=function(a,b){this.Aj[a]=b};_.g.getGlobalParam=function(a){return this.Aj[a]};
_.g.attach=function(a){_.pl(!this.isDisposed(),"Cannot attach iframe in disposed context");a=new hn(a);a.yg()||kn(a,a.getId());a.fi()||ln(a,"..");a.getOrigin()||a.Kj(_.xg(a.getUrl()));a.getFrameName()||jn(a,_.Vl(a.getId(),this.wq));var b=a.getFrameName();if(this.kg[b])return this.kg[b];var c=a.yg(),d=c;a.getOrigin()&&(d=c+"|"+a.getOrigin());var e=a.fi(),f=mm(a);f||(f=(f=a.getIframeEl())&&(f.getAttribute("data-postorigin")||f.src)||a.getUrl(),f=_.Ae(f,"rpctoken"));mn(a,_.ol(d,e,f,a.T._popupWindow));
d=((window.gadgets||{}).rpc||{}).setAuthToken;f&&d&&d(c,f);var h=new _.qn(this,c,b,a),k=a.T.messageHandlersFilter;_.wm(a.T.messageHandlers,function(l,m){h.register(m,l,k)});Am(a)&&h.Xk();tn(h,"_g_rpcReady");return h};_.g.yK=function(a){jn(a,null);var b=a.getId();!b||Im.test(b)&&!this.getWindow().document.getElementById(b)||(_.Lf.log("Ignoring requested iframe ID - "+b),a.Ne(null))};var En=function(a,b){var c=_.Ae(a,b);c||(c=_.Gf(_.Ae(a,"jcp",""))[b]);return c||""};
_.un.prototype.openChild=function(a){_.pl(!this.isDisposed(),"Cannot open iframe in disposed context");var b=new hn(a);Fn(this,b);var c=b.getFrameName();if(c&&this.kg[c])return this.kg[c];this.yK(b);c=b.getUrl();_.pl(c,"No url for new iframe");var d=b.T.queryParams||{};d.usegapi="1";_.nm(b,d);d=this.qU&&this.qU(c,b);d||(d=b.T.where,_.pl(!!d,"No location for new iframe"),c=_.em(c,d,a),b.T.iframeEl=c,d=c.getAttribute("id"));kn(b,d).Ne(d);b.Kj(_.xg(b.T.eurl||""));this.AW&&this.AW(b,b.getIframeEl());
c=this.attach(a);c.bM&&c.bM(c,a);(a=b.T.onCreate)&&a(c);b.T.disableRelayOpen||c.applyIframesApi("_open");return c};
var Gn=function(a,b,c){var d=b.T.canvasUrl;if(!d)return c;_.pl(!b.T.allowPost&&!b.T.forcePost,"Post is not supported when using canvas url");var e=b.getUrl();_.pl(e&&_.xg(e)===a.Dd&&_.xg(d)===a.Dd,"Wrong origin for canvas or hidden url "+d);b.setUrl(d);_.rm(b);b.T.canvasUrl=null;return function(f){var h=f.getWindow(),k=h.location.hash;k=_.dm(e)+(/#/.test(e)?k.replace(/^#/,"&"):k);h.location.replace(k);c&&c(f)}},Hn=function(a,b,c){var d=b.T.relayOpen;if(d){var e=a.getParentIframe();d instanceof _.qn?
(e=d,_.om(b,0)):Number(d)>0&&_.om(b,Number(d)-1);if(e){_.pl(!!e.BX,"Relaying iframe open is disabled");if(d=b.getStyle())if(d=_.yn[d])b.wp(a),d(b.value()),b.wp(null);b.T.openerIframe=null;c.resolve(e.BX(b));return!0}}return!1},In=function(a,b,c){var d=b.getStyle();if(d)if(_.pl(!!_.An,"Defer style is disabled, when requesting style "+d),_.xn[d])Fn(a,b);else return Bn(d,function(){_.pl(!!_.xn[d],"Fail to load style - "+d);c.resolve(a.open(b.value()))}),!0;return!1};
_.un.prototype.open=function(a,b){_.pl(!this.isDisposed(),"Cannot open iframe in disposed context");var c=new hn(a);b=Gn(this,c,b);var d=new Vm(b);(b=c.getUrl())&&c.setUrl(_.dm(b));if(Hn(this,c,d)||In(this,c,d)||Hn(this,c,d))return d.promise;if(sm(c)!=null){var e=setTimeout(function(){h.getIframeEl().src="about:blank";d.reject({timeout:"Exceeded time limit of :"+sm(c)+"milliseconds"})},sm(c)),f=d.resolve;d.resolve=function(k){clearTimeout(e);f(k)}}c.T.waitForOnload&&lm(c.Wn(),function(){d.resolve(h)});
var h=this.openChild(a);c.T.waitForOnload||d.resolve(h);return d.promise};_.un.prototype.getParentIframe=function(){return this.Gb};var Jn=function(a,b){var c=a.getParentIframe(),d=!0;b.filter&&(d=b.filter.call(b.kf,b.params));return _.kk(d).then(function(e){return e&&c?(b.QX&&b.QX.call(a,b.params),e=b.sender?b.sender(b.params):tn(c,b.message,b.params),b.eha?e.then(function(){return!0}):!0):!1})};_.g=_.un.prototype;
_.g.closeSelf=function(a,b,c){a=Jn(this,{sender:function(d){var e=_.Hm.getParentIframe();_.wm(_.Hm.kg,function(f){f!==e&&tn(f,"_g_wasClosed",d)});return tn(e,"_g_closeMe",d)},message:"_g_closeMe",params:a,kf:c,filter:this.getGlobalParam("onCloseSelfFilter")});b=new Vm(b);b.resolve(a);return b.promise};_.g.restyleSelf=function(a,b,c){a=a||{};b=new Vm(b);b.resolve(Jn(this,{message:"_g_restyleMe",params:a,kf:c,filter:this.getGlobalParam("onRestyleSelfFilter"),eha:!0,QX:this.V0}));return b.promise};
_.g.V0=function(a){a.height==="auto"&&(a.height=_.gm())};_.g.setCloseSelfFilter=function(a){this.setGlobalParam("onCloseSelfFilter",a)};_.g.setRestyleSelfFilter=function(a){this.setGlobalParam("onRestyleSelfFilter",a)};var Fn=function(a,b){var c=b.getStyle();if(c){b.Gi(null);var d=_.xn[c];_.pl(d,"No such style: "+c);b.wp(a);d(b.value());b.wp(null)}};
_.un.prototype.ready=function(a,b,c,d){var e=b||{},f=this.getParentIframe();this.addOnOpenerHandler(function(k){_.wm(e,function(l,m){k.register(m,l,d)},this);k!==f&&k.send("_ready",h,void 0,d)},void 0,d);var h=a||{};h.height=h.height||"auto";this.V0(h);f&&f.send("_ready",h,c,_.Km)};
_.un.prototype.connectIframes=function(a,b){a=new fn(a);var c=new fn(b),d=Am(a);b=a.getIframe();var e=c.getIframe();if(e){var f=mm(a),h=new hn;nn(b,e,h);zm(ym((new fn(h.value())).bn(f),a.T.role),a.T.data).Xk(d);var k=new hn;nn(e,b,k);zm(ym((new fn(k.value())).bn(f),c.T.role),c.T.data).Xk(!0);tn(b,"_g_connect",h.value(),function(){d||tn(e,"_g_connect",k.value())});d&&tn(e,"_g_connect",k.value())}else c={},zm(ym(Bm(new fn(c)),a.T.role),a.T.data),tn(b,"_g_connect",c)};
var vn=function(a){a.lF||(a.lF=_.we(),a.lJ=_.we())};_.un.prototype.addOnConnectHandler=function(a,b,c,d){vn(this);typeof a==="object"?(b=new Cm(a),c=b.CT()||""):(b=Em(Dm(a).Fc(b).Vr(c),d),c=a);d=this.lF[c]||[];a=!1;for(var e=0;e<d.length&&!a;e++)wn(this.kg[d[e].kf.getFrameName()],d[e].data,[b]),a=b.T.runOnce;c=_.ve(this.lJ,c,[]);a||b.T.dontWait||c.push(b)};
_.un.prototype.removeOnConnectHandler=function(a,b){a=_.ve(this.lJ,a,[]);if(b)for(var c=!1,d=0;!c&&d<a.length;d++)a[d].wb()===b&&(c=!0,a.splice(d,1));else a.splice(0,a.length)};var wn=function(a,b,c){c=c||[];for(var d=0;d<c.length;d++){var e=c[d];if(e&&a){var f=e.T.filter||_.Jm;if(a&&f(a)){f=e.T.apis||[];for(var h=0;h<f.length;h++)a.applyIframesApi(f[h]);e.wb()&&e.wb()(a,b);e.T.runOnce&&(c.splice(d,1),--d)}}}};
_.un.prototype.addOnOpenerHandler=function(a,b,c){var d=this.addOnConnectHandler;a=Em(Dm("_opener").Fc(a).Vr(b),c);a.T.runOnce=!0;d.call(this,a.value())};_.un.prototype.AW=function(a,b){var c=a.tu();if(c){_.pl(c.Dd===a.getOrigin(),"Wrong controller origin "+this.Dd+" !== "+a.getOrigin());var d=a.yg();kn(a,c.yg());ln(a,c.fi());var e=new hn;qm(kn(e,d),a.T.controllerData);_.Fe(b,"load",function(){c.send("_g_control",e.value())})}};
var Kn=function(a,b,c){a=a.getWindow();var d=a.document,e=c.T.reuseWindow;if(e){var f=c.getId();if(!f)throw Error("H");}else f=_.Ul(d,c);var h=f,k=c.T.rpcRelayUrl;if(k){k=_.cm(k);h=c.T.fragmentParams||{};h.rly=f;c.T.fragmentParams=h;h=c.T.where||d.body;_.pl(!!h,"Cannot open window in a page with no body");var l={};l.src=k;l.style="display:none;";l.id=f;l.name=f;_.Yl(d,h,l,f);h=f+"_relay"}b=_.dm(b);var m=_.Wl(d,b,f,c.value());c.T.eurl=m;b=c.T.openAsWindow;typeof b!=="string"&&(b=void 0);c=window.navigator.userAgent||
"";/Trident|MSIE/i.test(c)&&/#/.test(c)&&(m="javascript:window.location.replace("+_.qe.JSON.stringify(m).replace(/#/g,"\\x23")+")");if(e){var n=e;setTimeout(function(){n.location.replace(m)})}else n=_.Cc(a,m,h,b);return{id:f,v1:n}};_.un.prototype.qU=function(a,b){if(b.T.openAsWindow){a=Kn(this,a,b);var c=a.id;_.pl(!!a.v1,"Open popup window failed");b.T._popupWindow=a.v1}return c};Fm=_.we();Gm=_.we();_.Hm=new _.un;Qm("_g_rpcReady",_.qn.prototype.Xk);Qm("_g_discover",_.qn.prototype.R9);Qm("_g_ping",_.qn.prototype.Bda);Qm("_g_close",_.qn.prototype.m7);Qm("_g_closeMe",_.qn.prototype.n7);Qm("_g_restyle",_.qn.prototype.Aea);Qm("_g_restyleMe",_.qn.prototype.Bea);Qm("_g_wasClosed",_.qn.prototype.gha);_.Pm("control","_g_control",_.qn.prototype.w7);_.Pm("control","_g_disposeControl",_.qn.prototype.P7);var Ln=_.Hm.getParentIframe();
Ln&&Ln.register("_g_restyleDone",_.qn.prototype.zea,_.Km);Qm("_g_connect",_.qn.prototype.t7);var Mn={};Mn._g_open=_.qn.prototype.lda;_.Om("_open",Mn,_.Km);var Nn={Context:_.un,Iframe:_.qn,SAME_ORIGIN_IFRAMES_FILTER:_.Jm,CROSS_ORIGIN_IFRAMES_FILTER:_.Km,makeWhiteListIframesFilter:_.Lm,getContext:_.Rm,registerIframesApi:_.Om,registerIframesApiHandler:_.Pm,registerStyle:_.zn,registerBeforeOpenStyle:_.Cn,getStyle:_.An,getBeforeOpenStyle:_.Dn,create:_.em};an({instance:function(){return Nn},priority:2});_.Pm("gapi.load","_g_gapi.load",function(a){return new _.gk(function(b){_.ze.load(a&&typeof a==="object"&&a.features||"",b)})});
_.Yn=function(a,b){a.T.where=b;return a};_.Zn=function(){_.Kj.apply(this,arguments)};_.r(_.Zn,_.Kj);
_.$n=_.we();
_.ao={};window.iframer=_.ao;
var co=function(a){var b=[new bo];if(b.length===0)throw Error("j");if(b.map(function(c){if(c instanceof bo)c=c.rY;else throw Error("j");return c}).every(function(c){return"data-gapiscan".indexOf(c)!==0}))throw Error("k`data-gapiscan");a.setAttribute("data-gapiscan","true")},bo=function(){this.rY=eo[0].toLowerCase()},fo,go,ho,io,jo,qo,ro;bo.prototype.toString=function(){return this.rY};fo=function(a){if(_.ue.test(Object.keys))return Object.keys(a);var b=[],c;for(c in a)_.xe(a,c)&&b.push(c);return b};
go={button:!0,div:!0,span:!0};ho=function(a){var b=_.ve(_.Ge,"sws",[]);return _.um.call(b,a)>=0};io=function(a){return _.ve(_.Ge,"watt",_.we())[a]};jo=function(a){return function(b,c){return a?_.am()[c]||a[c]||"":_.am()[c]||""}};_.ko={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.lo=!1;
_.mo=function(){if(!_.lo){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;++b){var c=a[b].name.toLowerCase();if(_.uc(c,"google-signin-")){c=c.substring(14);var d=a[b].content;_.ko[c]&&d&&(_.$n[c]=d)}}if(window.self!==window.top){a=document.location.toString();for(var e in _.ko)_.ko[e]>0&&(b=_.Ae(a,e,""))&&(_.$n[e]=b)}_.lo=!0}e=_.we();_.ye(_.$n,e);return e};qo=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.Hl(document,a)};
ro=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c<d;c++){var e=b[c],f=e.getAttribute("rel");if(f&&f.toLowerCase()==a&&(e=e.getAttribute("href"))&&(e=qo(e))&&e.match(/^https?:\/\/[\w\-_\.]+/i)!=null)return e}return window.location.href};_.so=function(){return window.location.origin||window.location.protocol+"//"+window.location.host};_.to=function(a,b,c,d){return(a=typeof a=="string"?a:void 0)?qo(a):ro(d)};
_.uo=function(a,b,c){a==null&&c&&(a=c.db,a==null&&(a=c.gwidget&&c.gwidget.db));return a||void 0};_.vo=function(a,b,c){a==null&&c&&(a=c.ecp,a==null&&(a=c.gwidget&&c.gwidget.ecp));return a||void 0};_.wo=function(a,b,c){return _.to(a,b,c,b.action?void 0:"publisher")};var xo,yo,zo,Ao,Bo,Co,Eo,Do;xo={se:"0"};yo={post:!0};zo={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"};Ao="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" ");Bo=_.ve(_.Ge,"WI",_.we());Co=["style","data-gapiscan"];
Eo=function(a){for(var b=_.we(),c=a.nodeName.toLowerCase().indexOf("g:")!=0,d=a.attributes.length,e=0;e<d;e++){var f=a.attributes[e],h=f.name,k=f.value;_.um.call(Co,h)>=0||c&&h.indexOf("data-")!=0||k==="null"||"specified"in f&&!f.specified||(c&&(h=h.substr(5)),b[h.toLowerCase()]=k)}a=a.style;(c=Do(a&&a.height))&&(b.height=String(c));(a=Do(a&&a.width))&&(b.width=String(a));return b};
_.Go=function(a,b,c,d,e,f){if(c.rd)var h=b;else h=document.createElement("div"),b.dataset.gapistub=!0,h.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(h,b);f.siteElement=h;h.id||(h.id=_.Fo(a));b=_.we();b[">type"]=a;_.ye(c,b);a=_.em(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.Fo=function(a){_.ve(Bo,a,0);return"___"+a+"_"+Bo[a]++};Do=function(a){var b=void 0;typeof a==="number"?b=a:typeof a==="string"&&(b=parseInt(a,10));return b};var eo=_.ed(["data-"]),Ho,Io,Jo,Ko,Lo=/(?:^|\s)g-((\S)*)(?:$|\s)/,Mo={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Ho=_.ve(_.Ge,"SW",_.we());Io=_.ve(_.Ge,"SA",_.we());Jo=_.ve(_.Ge,"SM",_.we());Ko=_.ve(_.Ge,"FW",[]);
var No=function(a,b){return(typeof a==="string"?document.getElementById(a):a)||b},Ro=function(a,b){var c;Oo.ps0=(new Date).getTime();Po("ps0");a=No(a,_.re);var d=_.re.documentMode;if(a.querySelectorAll&&(!d||d>8)){d=b?[b]:fo(Ho).concat(fo(Io)).concat(fo(Jo));for(var e=[],f=0;f<d.length;f++){var h=d[f];e.push(".g-"+h,"g\\:"+h)}d=a.querySelectorAll(e.join(","))}else d=a.getElementsByTagName("*");a=_.we();for(e=0;e<d.length;e++){f=d[e];var k=f;h=b;var l=k.nodeName.toLowerCase(),m=void 0;if(k.hasAttribute("data-gapiscan"))h=
null;else{var n=l.indexOf("g:");n==0?m=l.substr(2):(n=(n=String(k.className||k.getAttribute("class")))&&Lo.exec(n))&&(m=n[1]);h=!m||!(Ho[m]||Io[m]||Jo[m])||h&&m!==h?null:m}h&&(Mo[h]||f.nodeName.toLowerCase().indexOf("g:")==0||fo(Eo(f)).length!=0)&&(co(f),_.ve(a,h,[]).push(f))}for(p in a)Ko.push(p);Oo.ps1=(new Date).getTime();Po("ps1");if(b=Ko.join(":"))try{_.ze.load(b,void 0)}catch(q){_.Lf.log(q);return}e=[];for(c in a){d=a[c];var p=0;for(b=d.length;p<b;p++)f=d[p],Qo(c,f,Eo(f),e,b)}};var So=function(a,b){var c=io(a);b&&c?(c(b),(c=b.iframeNode)&&c.setAttribute("data-gapiattached",!0)):_.ze.load(a,function(){var d=io(a),e=b&&b.iframeNode,f=b&&b.userParams;e&&d?(d(b),e.setAttribute("data-gapiattached",!0)):(d=_.ze[a].go,a=="signin2"?d(e,f):d(e&&e.parentNode,f))})},Qo=function(a,b,c,d,e,f,h){switch(To(b,a,f)){case 0:a=Jo[a]?a+"_annotation":a;d={};d.iframeNode=b;d.userParams=c;So(a,d);break;case 1:if(b.parentNode){for(var k in c){if(f=_.xe(c,k))f=c[k],f=!!f&&typeof f==="object"&&(!f.toString||
f.toString===Object.prototype.toString||f.toString===Array.prototype.toString);if(f)try{c[k]=_.Hf(c[k])}catch(y){delete c[k]}}k=!0;c.dontclear&&(k=!1);delete c.dontclear;var l;f={};var m=l=a;a=="plus"&&c.action&&(l=a+"_"+c.action,m=a+"/"+c.action);(l=_.Qe("iframes/"+l+"/url"))||(l=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+m+"?usegapi=1");for(n in xo)f[n]=n+"/"+(c[n]||xo[n])+"/";var n=_.Hl(_.re,l.replace(_.$l,jo(f)));m="iframes/"+a+"/params/";f={};_.ye(c,f);(l=_.Qe("lang")||_.Qe("gwidget/lang"))&&
(f.hl=l);yo[a]||(f.origin=_.so());f.exp=_.Qe(m+"exp");if(m=_.Qe(m+"location"))for(l=0;l<m.length;l++){var p=m[l];f[p]=_.qe.location[p]}switch(a){case "plus":case "follow":f.url=_.wo(f.href,c,null);delete f.href;break;case "plusone":m=(m=c.href)?qo(m):ro();f.url=m;f.db=_.uo(c.db,void 0,_.Qe());f.ecp=_.vo(c.ecp,void 0,_.Qe());delete f.href;break;case "signin":f.url=ro()}_.Ge.ILI&&(f.iloader="1");delete f["data-onload"];delete f.rd;for(var q in xo)f[q]&&delete f[q];f.gsrc=_.Qe("iframes/:source:");q=
_.Qe("inline/css");typeof q!=="undefined"&&e>0&&q>=e&&(f.ic="1");q=/^#|^fr-/;e={};for(var t in f)_.xe(f,t)&&q.test(t)&&(e[t.replace(q,"")]=f[t],delete f[t]);t=_.Qe("iframes/"+a+"/params/si")=="q"?f:e;q=_.mo();for(var v in q)!_.xe(q,v)||_.xe(f,v)||_.xe(e,v)||(t[v]=q[v]);v=[].concat(Ao);t=_.Qe("iframes/"+a+"/methods");_.tm(t)&&(v=v.concat(t));for(u in c)_.xe(c,u)&&/^on/.test(u)&&(a!="plus"||u!="onconnect")&&(v.push(u),delete f[u]);delete f.callback;e._methods=v.join(",");var u=_.Gl(n,f,e);v=h||{};v.allowPost=
1;v.attributes=zo;v.dontclear=!k;h={};h.userParams=c;h.url=u;h.type=a;_.Go(a,b,c,u,v,h);b=h.id;c=_.we();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.Qn[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),So(a,b))}},To=function(a,b,c){if(a&&a.nodeType===1&&b){if(c)return 1;if(Jo[b]){if(go[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Io[b])return 0;if(Ho[b])return 1}}return null};_.ve(_.ze,"platform",{}).go=function(a,b){Ro(a,b)};var Uo=_.ve(_.Ge,"perf",_.we()),Oo=_.ve(Uo,"g",_.we()),Vo=_.ve(Uo,"i",_.we()),Wo,Xo,Yo,Po,$o,ap,bp;_.ve(Uo,"r",[]);Wo=_.we();Xo=_.we();Yo=function(a,b,c,d){Wo[c]=Wo[c]||!!d;_.ve(Xo,c,[]);Xo[c].push([a,b])};Po=function(a,b,c){var d=Uo.r;typeof d==="function"?d(a,b,c):d.push([a,b,c])};$o=function(a,b,c,d){if(b=="_p")throw Error("I");_.Zo(a,b,c,d)};_.Zo=function(a,b,c,d){ap(b,c)[a]=d||(new Date).getTime();Po(a,b,c)};ap=function(a,b){a=_.ve(Vo,a,_.we());return _.ve(a,b,_.we())};
bp=function(a,b,c){var d=null;b&&c&&(d=ap(b,c)[a]);return d||Oo[a]};(function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[m!=void 0?m:(new Date).getTime(),l];if(m==void 0)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=c>0?new a(c):new a;window.__gapi_jstiming__={Timer:a,load:d};if(b){var e=b.navigationStart;e>0&&c>=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load;
e>0&&c>=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&e>0&&(f.tick("_tbnd",void 0,window.chrome.csi().startE),f.tick("tbnd_","_tbnd",e))),b==null&&window.gtbExternal&&(b=window.gtbExternal.pageT()),b==null&&window.external&&(b=window.external.pageT,f&&e>0&&(f.tick("_tbnd",void 0,window.external.startE),f.tick("tbnd_","_tbnd",e))),b&&(window.__gapi_jstiming__.pt=b)}catch(h){}})();if(window.__gapi_jstiming__){window.__gapi_jstiming__.wP={};window.__gapi_jstiming__.iea=1;var cp=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=c!=void 0?c:e[0],Math.round(d-e)},dp=function(a,b,c){var d="";window.__gapi_jstiming__.srt&&(d+="&srt="+window.__gapi_jstiming__.srt,delete window.__gapi_jstiming__.srt);window.__gapi_jstiming__.pt&&(d+="&tbsrt="+window.__gapi_jstiming__.pt,delete window.__gapi_jstiming__.pt);try{window.external&&window.external.tran?d+="&tran="+
window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(p){}var e=window.chrome;if(e&&(e=e.loadTimes)&&typeof e==="function"&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start;e=[];f=[];for(var l in h)if(l!=
"start"&&l.indexOf("_")!=0){var m=h[l][1];m?h[m]&&f.push(l+"."+cp(a,l,h[m][0])):k&&e.push(l+"."+cp(a,l))}delete h.start;if(b)for(var n in b)d+="&"+n+"="+b[n];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.__gapi_jstiming__.sn||"gwidget")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},ep=function(a,b,c){a=dp(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.iea++;
window.__gapi_jstiming__.wP[d]=b;b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.wP[d]};b.src=a;b=null;return a};window.__gapi_jstiming__.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if(d=="prerender"){var f=!1,h=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if((document.visibilityState||document.webkitVisibilityState)=="prerender")var k=!1;else ep(a,b,c),
k=!0;k&&(f=!0,document.removeEventListener(e,h,!1))}};document.addEventListener(e,h,!1);return""}return ep(a,b,c)}};var fp={g:"gapi_global",m:"gapi_module",w:"gwidget"},gp=function(a,b){this.type=a?a=="_p"?"m":"w":"g";this.name=a;this.Bs=b};gp.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.Bs;case "w":return this.type+"."+this.name+this.Bs}};
var hp=new gp,ip=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),jp=_.ve(Uo,"_c",_.we()),kp=Math.random()<(_.Qe("csi/rate")||0),mp=function(a,b,c){for(var d=new gp(b,c),e=_.ve(jp,d.key(),_.we()),f=Xo[a]||[],h=0;h<f.length;++h){var k=f[h],l=k[0],m=a,n=b,p=c;k=bp(k[1],n,p);m=bp(m,n,p);e[l]=k&&m?m-k:null}Wo[a]&&kp&&(lp(hp),lp(d))},np=function(a,b){b=b||[];for(var c=[],d=0;d<b.length;d++)c.push(a+b[d]);return c},lp=function(a){var b=_.qe.__gapi_jstiming__;b.sn=fp[a.type];var c=new b.Timer(0);
a:{switch(a.type){case "g":var d="global";break a;case "m":d=a.Bs;break a;case "w":d=a.name;break a}d=void 0}c.name=d;d=!1;var e=a.key(),f=jp[e];c.tick("_start",null,0);for(var h in f)c.tick(h,"_start",f[h]),d=!0;jp[e]=_.we();d&&(h=[],h.push("l"+(_.Qe("isPlusUser")?"1":"0")),d="m"+(ip?"1":"0"),h.push(d),a.type=="m"?h.push("p"+a.Bs):a.type=="w"&&(e="n"+a.Bs,h.push(e),a.Bs=="0"&&h.push(d+e)),h.push("u"+(_.Qe("isLoggedIn")?"1":"0")),a=np("",h),a=np("abc_",a).join(","),b.report(c,{e:a}))};
Yo("blt","bs0","bs1");Yo("psi","ps0","ps1");Yo("rpcqi","rqe","rqd");Yo("bsprt","bsrt0","bsrt1");Yo("bsrqt","bsrt1","bsrt2");Yo("bsrst","bsrt2","bsrt3");Yo("mli","ml0","ml1");Yo("mei","me0","me1",!0);Yo("wcdi","wrs","wcdi");Yo("wci","wrs","wdc");Yo("wdi","wrs","wrdi");Yo("wdt","bs0","wrdt");Yo("wri","wrs","wrri",!0);Yo("wrt","bs0","wrrt");Yo("wji","wje0","wje1",!0);Yo("wjli","wjl0","wjl1");Yo("whi","wh0","wh1",!0);Yo("wai","waaf0","waaf1",!0);Yo("wadi","wrs","waaf1",!0);Yo("wadt","bs0","waaf1",!0);
Yo("wprt","wrt0","wrt1");Yo("wrqt","wrt1","wrt2");Yo("wrst","wrt2","wrt3",!0);Yo("fbprt","fsrt0","fsrt1");Yo("fbrqt","fsrt1","fsrt2");Yo("fbrst","fsrt2","fsrt3",!0);Yo("fdns","fdns0","fdns1");Yo("fcon","fcon0","fcon1");Yo("freq","freq0","freq1");Yo("frsp","frsp0","frsp1");Yo("fttfb","fttfb0","fttfb1");Yo("ftot","ftot0","ftot1",!0);var op=Uo.r;if(typeof op!=="function"){for(var pp;pp=op.shift();)mp.apply(null,pp);Uo.r=mp};var qp=["div"],rp="onload",sp=!0,tp=!0,up=function(a){return a},vp=null,wp=function(a){var b=_.Qe(a);return typeof b!=="undefined"?b:_.Qe("gwidget/"+a)},Ap,Bp,Cp,Dp,Ep,Fp,Gp,Mp,Hp,Np,Op,Pp,Qp,Rp,Ip,Kp,Sp,Jp,Tp,Up,Vp,Wp,Xp,Yp;vp=_.Qe();_.Qe("gwidget");var xp=wp("parsetags");rp=xp==="explicit"||xp==="onload"?xp:rp;var yp=wp("google_analytics");typeof yp!=="undefined"&&(sp=!!yp);var zp=wp("data_layer");typeof zp!=="undefined"&&(tp=!!zp);Ap=function(){var a=this&&this.getId();a&&(_.Ge.drw=a)};
Bp=function(){_.Ge.drw=null};Cp=function(a){return function(b){var c=a;typeof b==="number"?c=b:typeof b==="string"&&(c=b.indexOf("px"),c!=-1&&(b=b.substring(0,c)),c=parseInt(b,10));return c}};Dp=function(a){typeof a==="string"&&(a=window[a]);return typeof a==="function"?a:null};Ep=function(){return wp("lang")||"en-US"};
Fp=function(a){if(!_.Wa.wb("attach")){var b={},c=_.Wa.wb("inline"),d;for(d in c)c.hasOwnProperty(d)&&(b[d]=c[d]);b.open=function(e){var f=e.xc().renderData.id;f=document.getElementById(f);if(!f)throw Error("J");return c.attach(e,f)};_.Wa.Fc("attach",b)}a.style="attach"};Gp=function(){var a={};a.width=[Cp(450)];a.height=[Cp(24)];a.onready=[Dp];a.lang=[Ep,"hl"];a.iloader=[function(){return _.Ge.ILI},"iloader"];return a}();
Mp=function(a){var b={};b.Te=a[0];b.Rp=-1;b.Jsa="___"+b.Te+"_";b.hha="g:"+b.Te;b.Tqa="g-"+b.Te;b.SY=[];b.config={};b.sy=[];b.f1={};b.AD={};var c=function(e){for(var f in e)if(_.xe(e,f)){b.config[f]=[Dp];b.sy.push(f);var h=e[f],k=null,l=null,m=null;typeof h==="function"?k=h:h&&typeof h==="object"&&(k=h.Iqa,l=h.BD,m=h.FN);m&&(b.sy.push(m),b.config[m]=[Dp],b.f1[f]=m);k&&(b.config[f]=[k]);l&&(b.AD[f]=l)}},d=function(e){for(var f={},h=0;h<e.length;++h)f[e[h].toLowerCase()]=1;f[b.hha]=1;b.mca=f};a[1]&&
(b.parameters=a[1]);(function(e){b.config=e;for(var f in Gp)Gp.hasOwnProperty(f)&&!b.config.hasOwnProperty(f)&&(b.config[f]=Gp[f])})(a[2]||{});a[3]&&c(a[3]);a[4]&&d(a[4]);a[5]&&(b.Qm=a[5]);b.Csa=a[6]===!0;b.Jda=a[7];b.Vga=a[8];b.mca||d(qp);b.tJ=function(e){b.Rp++;$o("wrs",b.Te,String(b.Rp));var f=[],h=e.element,k=e.config,l=":"+b.Te;l==":plus"&&e.Fd&&e.Fd.action&&(l+="_"+e.Fd.action);var m=Hp(b,k),n={};_.ye(_.mo(),n);for(var p in e.Fd)e.Fd[p]!=null&&(n[p]=e.Fd[p]);p={container:h.id,renderData:e.dea,
style:"inline",height:k.height,width:k.width};Fp(p);b.Qm&&(f[2]=p,f[3]=n,f[4]=m,b.Qm("i",f));l=_.Wa.open(l,p,n,m);e=e.C7;Ip(l,k);Jp(l,h);Kp(b,l,e);Lp(b.Te,b.Rp.toString(),l);f[5]=l;b.Qm&&b.Qm("e",f)};return b};
Hp=function(a,b){for(var c={},d=a.sy.length-1;d>=0;--d){var e=a.sy[d],f=b[a.f1[e]||e]||b[e],h=b[e];h&&f!==h&&(f=function(l,m){return function(n){m.apply(this,arguments);l.apply(this,arguments)}}(f,h));f&&(c[e]=f)}for(var k in a.AD)a.AD.hasOwnProperty(k)&&(c[k]=Np(c[k]||function(){},a.AD[k]));c.drefresh=Ap;c.erefresh=Bp;return c};
Np=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(sp){if(window._gat)try{var f=window._gat._getTrackerByName("~0");f&&f._getAccount()!="UA-XXXXX-X"?f._trackSocial("Google",d,e):window._gaq&&window._gaq.push(["_trackSocial","Google",d,e])}catch(k){}if(window.ga&&window.ga.getAll)try{var h=window.ga.getAll();for(f=0;f<h.length;f++)h[f].send("social","Google",d,e)}catch(k){}}if(tp&&window.dataLayer)try{window.dataLayer.push({event:"social",socialNetwork:"Google",socialAction:d,
socialTarget:e})}catch(k){}}a.call(this,c)}};Op=function(a){return _.qn&&a instanceof _.qn};Pp=function(a){return Op(a)?"_renderstart":"renderstart"};Qp=function(a){return Op(a)?"_ready":"ready"};Rp=function(){return!0};Ip=function(a,b){if(b.onready){var c=!1,d=function(){c||(c=!0,b.onready.call(null))};a.register(Qp(a),d,Rp);a.register(Pp(a),d,Rp)}};
Kp=function(a,b,c){var d=a.Te,e=String(a.Rp),f=!1,h=function(){f||(f=!0,b.getIframeEl(),c&&$o("wrdt",d,e),$o("wrdi",d,e))};b.register(Pp(b),h,Rp);var k=!1;a=function(){k||(k=!0,h(),c&&$o("wrrt",d,e),$o("wrri",d,e))};b.register(Qp(b),a,Rp);Op(b)?b.register("widget-interactive-"+b.id,a,Rp):_.Qf.register("widget-interactive-"+b.id,a);_.Qf.register("widget-csi-tick-"+b.id,function(l,m,n){l==="wdc"?$o("wdc",d,e,n):l==="wje0"?$o("wje0",d,e,n):l==="wje1"?$o("wje1",d,e,n):l=="wh0"?_.Zo("wh0",d,e,n):l=="wh1"?
_.Zo("wh1",d,e,n):l=="wcdi"&&_.Zo("wcdi",d,e,n)})};Sp=function(a){return typeof a=="number"?a+"px":a=="100%"?a:null};Jp=function(a,b){var c=function(d){d=d||a;var e=Sp(d.width);e&&b.style.width!=e&&(b.style.width=e);(d=Sp(d.height))&&b.style.height!=d&&(b.style.height=d)};Op(a)?a.setParam("onRestyle",c):(a.register("ready",c,Rp),a.register("renderstart",c,Rp),a.register("resize",c,Rp))};Tp=function(a,b){for(var c in Gp)if(Gp.hasOwnProperty(c)){var d=Gp[c][1];d&&!b.hasOwnProperty(d)&&(b[d]=a[d])}return b};
Up=function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&(c[a[d][1]||d]=(a[d]&&a[d][0]||up)(b[d.toLowerCase()],b,vp));return c};Vp=function(a){if(a=a.Jda)for(var b=0;b<a.length;b++)(new Image).src=a[b]};Wp=function(a,b){var c=b.userParams,d=b.siteElement;d||(d=(d=b.iframeNode)&&d.parentNode);if(d&&d.nodeType===1){var e=Up(a.config,c);a.SY.push({element:d,config:e,Fd:Tp(e,Up(a.parameters,c)),Nra:3,C7:!!c["data-onload"],dea:b})}b=a.SY;for(a=a.tJ;b.length>0;)a(b.shift())};
Xp=function(a,b){a.Rp++;$o("wrs",a.Te,String(a.Rp));var c=b.userParams,d=Up(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=Hp(a,d),l=Up(a.parameters,c);_.ye(_.mo(),l);l=Tp(d,l);c=!!c["data-onload"];var m=_.Hm,n=_.we();n.renderData=b;n.height=d.height;n.width=d.width;n.id=b.id;n.url=b.url;n.iframeEl=f;n.where=n.container=h;n.apis=["_open"];n.messageHandlers=k;n.messageHandlersFilter=_.Km;_.Xn(n);f=l;a.Qm&&(e[2]=n,e[3]=f,e[4]=k,a.Qm("i",e));k=m.attach(n);k.id=b.id;k.bM(k,n);Ip(k,d