qma);a=c.Xb(pgg,a);this.Tq.Sb(a);c=new Tvi;c.Sb(a);this.xa(c)};
D.Sp=function(a){var c=this.Ma(),e=c.Xb(ogg,a),f=c.Xb(pgg,a);return c.Xb(mgg,a)!=null&&e!=null&&f!=null&&oJ.prototype.Sp.call(this,a)};D.Wa=function(){oJ.prototype.Wa.call(this);var a=this.Tq.Ba();this.bb().listen(a,ph,this.tsc).listen(a,Tc,this.ssc).listen(this.D,yd,this.t$c)};D.getValue=function(){return this.Tq.getValue()};D.setValue=function(a){this.Tq.setValue(a)};D.jo=function(){return this.Tq.Ba()};D.tsc=function(){eJ(this.F,ngg)};D.ssc=function(){gJ(this.F,ngg)};D.t$c=function(){Zvi(this.Tq)};
D.fb=function(){delete this.F;delete this.D;delete this.Tq;oJ.prototype.fb.call(this)};function awi(a,c,e){e=e||bwi.Cb();NU.call(this,null,e,c);this.D7=a!==void 0?a:!1}Nm(awi,NU);var cwi={DUd:!0,mve:!1,pve:null};D=awi.prototype;D.VS=null;D.If=x(LO);D.Yg=function(){return this.D7==1};D.Ke=function(a){a!=this.D7&&(this.D7=a,this.Ue().jUa(this.Ba(),this.D7))};D.pb=function(a){if(this.wc()){var c=this.Ah();this.Ef();this.VS=a;this.Wa();c&&this.La().focus()}else this.VS=a};D.toggle=function(){this.Ke(this.D7?!1:!0)};
D.Wa=function(){awi.Sc.Wa.call(this);if(this.PAb()){var a=this.bb();this.VS&&a.listen(this.VS,yd,this.fyb).listen(this.VS,jj,this.kw).listen(this.VS,ij,this.IM).listen(this.VS,ej,this.Ui).listen(this.VS,kj,this.Ap);a.listen(this.Ba(),yd,this.fyb)}a=this.La();this.VS&&a!=this.VS&&Xo(yT(a))&&(this.VS.id||(this.VS.id=VR(this,"lbl")),fK(a,aQ,this.VS.id))};
D.fyb=function(a){a.stopPropagation();var c=this.D7?qTg:Zag;this.isEnabled()&&!a.target.href&&this.dispatchEvent(c)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(sd))};D.Ai=function(a){a.keyCode==32&&(this.Qp(a),this.fyb(a));return!1};function bwi(){}Nm(bwi,JU);Dm(bwi);D=bwi.prototype;D.Oa=function(a){var c=a.Ma().Oa(Qb,this.sC(a).join(" "));a=a.If();this.jUa(c,a);return c};
D.Sb=function(a,c){c=bwi.Sc.Sb.call(this,a,c);var e=Kfe(c),f=!1;jp(e,dwi(this,null))?f=null:jp(e,dwi(this,!0))?f=!0:jp(e,dwi(this,!1))&&(f=!1);a.D7=f;fK(c,ud,f==null?X4a:f==1?Dl:hh);return c};D.BJ=B(td);D.jUa=function(a,c){if(a){var e=dwi(this,c);dJ(a,e)||(Nr(cwi,function(f){f=dwi(this,f);hJ(a,f,f==e)},this),fK(a,ud,c==null?X4a:c==1?Dl:hh))}};D.Yd=B("goog-checkbox");
function dwi(a,c){a=a.rK();if(c==1)return a+"-checked";if(c==0)return a+"-unchecked";if(c==null)return a+"-undetermined";throw Error("tR`"+c);}MU("goog-checkbox",function(){return new awi});function ewi(){}H(ewi,bwi);ewi.prototype.Yd=B(sjg);ewi.prototype.Oa=function(a){a=bwi.prototype.Oa.call(this,a);xL(a,sjg);return a};ewi.prototype.Sb=function(a,c){bwi.prototype.Sb.call(this,a,c);xL(c,sjg);return c};ewi.Cb=function(){return HF(ewi)};function fwi(a,c,e){e=e===void 0?ewi.Cb():e;awi.call(this,c,a,e)}H(fwi,awi);fwi.prototype.Bz=function(a,c){var e=this;c||(c=new aV,this.xa(c));cV(c,this,a,this.afa(),function(){return!e.Yg()});a.jd(qy,function(f){e.Ke(f.newValue)})};fwi.prototype.afa=function(){return gwi};var gwi={enabled:!0,selected:!0,visible:!0};function hwi(a,c){return U(Ha+V(a)+'"'+(VJ(c)?yN+V(c)+'"':"")+' role="region" aria-live="polite" aria-atomic="true"></div>')};function iwi(a,c){var e=a.f_c,f=a.vId,g=a.HId;a=a.eSa;var h='<table role="presentation" cellspacing="0"><tr><td><table role="presentation" cellspacing="0"><tr><td class="'+V(Yfg)+" "+V(dgg)+'"><label for="docs-findandreplacedialog-input">';h=h+'Find</label></td><td class="'+(V(Yfg)+'"><div id="docs-findandreplacedialog-findinput" class="'+V(agg)+" "+V(SP)+n+Nvi(bgg)+fO+(e?hwi(a,cgg):"")+fWf+V(fgg)+" "+V(dgg)+'"><label for="docs-findandreplacedialog-replace-input">');h=h+'Replace with</label></td><td class="'+
(V(fgg)+zTf+V("docs-findandreplacedialog-text")+" "+V(nAg)+'" id="docs-findandreplacedialog-replace-input" type="text"/></td></tr>');f&&(h+='<tr class="'+V(Zfg)+GTf+V(dgg)+'"><label for="docs-findandreplacedialog-find-scope-select">',h=h+'Search</label></td><td><div class="'+(V($fg)+nTf));h+='<tr><td></td><td><div id="docs-findandreplacedialog-match-case" class="'+V(mAg)+" "+V(Wfg)+'"></div><label id="docs-findandreplacedialog-match-case-label" for="docs-findandreplacedialog-match-case" class="'+
V(Xfg)+n;h=h+'Match case</label></td></tr><tr><td></td><td><div id="docs-findandreplacedialog-use-regular-expressions" class="'+(V(mAg)+" "+V(Wfg)+'"></div><label id="docs-findandreplacedialog-use-regular-expressions-label" for="docs-findandreplacedialog-use-regular-expressions" class="'+V(Xfg)+n);h=h+'Use regular expressions (e.g. \\n for newline, \\t for tab) <a target="_blank" href="https://support.google.com/docs/answer/62754#regular_expressions">Help</a></label></td></tr><tr><td></td><td><div id="docs-findandreplacedialog-ignore-diacritics" class="'+
(V(mAg)+" "+V(Wfg)+'"></div><label id="docs-findandreplacedialog-ignore-diacritics-label" for="docs-findandreplacedialog-ignore-diacritics" class="'+V(Xfg)+n);e=h+"Ignore diacritics (e.g. \u00e4 = a, E = \u00c9, \u05d0\u05b7 = \u05d0)";g="</label></td></tr></table></td></tr>"+(g?'<tr><td><span class="'+V(egg)+'"></span></td></tr>':"")+'<tr><td><div class="'+V("docs-findandreplacedialog-buttons")+TN;f=U(gV({id:Ufg,style:0,content:U(""+U(H3f))},c));g+=f;f=U(gV({id:Vfg,style:0,content:U(""+U("Replace all"))},
c));g+=f;f=""+gV({id:Tfg,style:2,content:U(e3f)},c);f=U(f);g+=f;c=U(gV({id:Sfg,style:2,content:U(""+U(bP))},c));return U(e+(g+c+"</div></div></td></tr></table>"))};function jwi(a,c){kwi(a)&&(a.selectionStart=c)}function lwi(a,c){var e=0,f=0;kwi(a)&&(e=a.selectionStart,f=c?-1:a.selectionEnd);return[e,f]}function mwi(a,c){kwi(a)&&(a.selectionEnd=c)}function kwi(a){try{return typeof a.selectionStart==zj}catch(c){return!1}};function nwi(a){if(a){a.focus();var c=a.value.length;kwi(a)&&(a.selectionStart=c,a.selectionEnd=c)}};var owi=rm([Vl]);function aW(a,c,e,f){QU.call(this,a,pwi.Cb(),c);this.D=e||0;this.F=f||0;this.AS=!1}Nm(aW,QU);D=aW.prototype;D.getStyle=x("D");D.Jb=x("F");D.Fg=function(a){this.D!=a&&(this.D=a,qwi(this))};function rwi(a,c){a.F!=c&&(a.F=c,qwi(a))}D.Mi=function(a){this.yia(a);var c=this.Ba();c&&(this.AS?vU(c,a):a?c.title=a:c.removeAttribute(tl))};D.Ab=function(a){this.isEnabled()!=a&&(aW.Sc.Ab.call(this,a),qwi(this))};D.focus=function(){var a=this.La();try{a.focus()}catch(c){}};
D.hV=function(a){aW.Sc.hV.call(this,a);swi(this,!1)};D.Ui=function(a){aW.Sc.Ui.call(this,a);this.isEnabled()&&swi(this,!0)};D.Ap=function(a){aW.Sc.Ap.call(this,a);this.isEnabled()&&swi(this,!0)};function swi(a,c){a.Ba()&&hJ(a.Ba(),"jfk-button-clear-outline",c)}function qwi(a){a.Ba()&&twi(a.Ue(),a)}
function pwi(){this.wa=this.Yd()+"-standard";this.J=this.Yd()+"-action";this.va=this.Yd()+"-primary";this.V=this.Yd()+oUf;this.W=this.Yd()+"-flat";this.ma=this.Yd()+"-narrow";this.ea=this.Yd()+"-mini";this.R=this.Yd()+"-contrast"}Nm(pwi,LU);pwi.Cb=function(){return HF(pwi)};pwi.prototype.D=function(a,c,e){a&&e.Fg(a);c&&rwi(e,c)};pwi.prototype.Yd=B(iAg);
pwi.prototype.Oa=function(a){var c=a.Ma(),e=cK(gV,{disabled:!a.isEnabled(),checked:a.Yg(),style:a.getStyle(),title:a.Ws(),Y6:a.AS,value:a.getValue(),width:a.Jb()},void 0,c);c.append(e,a.He());this.Sb(a,e);return e};
pwi.prototype.Sb=function(a,c){pwi.Sc.Sb.call(this,a,c);this.O||(this.O=Kjh(this.wa,Lm(this.D,0,null),this.J,Lm(this.D,2,null),this.va,Lm(this.D,3,null),this.V,Lm(this.D,1,null),this.W,Lm(this.D,4,null),this.ea,Lm(this.D,5,null),this.R,Lm(this.D,6,null),this.ma,Lm(this.D,null,1)));for(var e=Kfe(c),f=0;f<e.length;++f){var g=this.O[e[f]];g&&g(a)}if(e=c.getAttribute(Gcg))a.yia(e),a.AS=!0;return c};var uwi=[zS(owi)];pwi.prototype.getValue=function(a){return a.getAttribute(Vl)||""};
pwi.prototype.setValue=function(a,c){a&&xS(uwi,a,Vl,c)};function twi(a,c){function e(k,l){(k?f:g).push(l)}c.Ba();var f=[],g=[],h=c.getStyle();e(h==0,a.wa);e(h==2,a.J);e(h==3,a.va);e(h==4,a.W);e(h==5,a.ea);e(h==1,a.V);e(h==6,a.R);e(c.Jb()==1,a.ma);e(!c.isEnabled(),a.Yd()+pUf);gT(c.Ba(),g);fJ(c.Ba(),f)};function vwi(a,c){c=Lm(wwi,a,c);a.wc()?c():zp?rI(a,Ik,c):rI(a,uP,c);var e=null;qI(a,Ik,function(){a.g4a&&(e=new xwi(a))});qI(a,Fh,function(){Iw(e)})}function wwi(a,c){Aei(a,.75);var e=a.So;e&&c&&(c=CU(e,c))&&eJ(c,"goog-buttonset-action");c=nEh(a.Ba(),.13);e=oEh(a.Ba(),.13);var f=GT(a.UA(),.13,Fpg,0,.75),g=GT(a.UA(),.13,Epg,.75,0);a.cL(c,e,f,g)}
function ywi(a,c,e,f,g,h,k,l){h=h||"jfk-confirm";var p=new yU(void 0,!0,l);p.setTitle(a);p.Qz(c);BU(p,k||wei());p.Tg(!0);p.render();a=p.Ba();eJ(a,h);vwi(p,Cj);c=VR(p,"msg");p.Pc().id=c;eK(a,w8f);fK(a,FP,c);rI(p,ndg,function(q){e&&q.key==p.So.D?e.call(g):f&&f.call(g)});p.Ka(!0);return p}function zwi(a,c,e,f,g,h,k,l){c=us(c,{aN:!0});return ywi(a,c,e,f,g,h,k,l)}function xwi(a){dK.call(this,a.Ba());this.D=a;qI(this,Tk,this.J,!1,this);qI(this,Hg,this.D.hga,!1,this.D)}H(xwi,dK);
xwi.prototype.J=function(a){a=a.Jt;if(this.D.g4a&&dJ(a.target,this.D.ZW())){var c=it(this.D.Ba());c=new Xs(0,c.width,c.height,0);var e=st(this.D.Ba());c.expand(-1*e.top,-1*e.right,-1*e.bottom,-1*e.left);if(!c.contains(new Kr(a.offsetX,a.offsetY)))return this.oUa(),!0}return!1};
xwi.prototype.oUa=function(){var a=this.D.Ma().hd(),c=Ks(Ls(a)),e=it(this.D.Ba());if(uzb(this.D.Ba())==mWa)a=c.width-e.width,c=c.height-e.height;else{var f=Math.max(a.body.scrollHeight,c.height);a=Math.max(a.body.scrollWidth,c.width)-e.width;c=f-e.height}Wze(this,new Ys(0,0,Math.max(0,a),Math.max(0,c)))};function bW(){}Nm(bW,RU);Dm(bW);D=bW.prototype;D.Oa=function(a){var c=this.sC(a);c=a.Ma().Oa(Wa,zrg+c.join(" "),[Awi(this,a.He(),a.Ma()),this.Eca(a.Ma())]);this.Mi(c,a.Ws());return c};D.Pc=function(a){return a&&a.firstChild};
D.Sb=function(a,c){var e=Zjh("*",Brg,c)[0];if(e){lt(e,!1);a.Ma().hd().body.appendChild(e);var f=new uV;f.Sb(e);a.Lg(f)}Zjh("*",this.Yd()+iUf,c)[0]||c.appendChild(Awi(this,c.childNodes,a.Ma()));Zjh("*",this.Yd()+qUf,c)[0]||c.appendChild(this.Eca(a.Ma()));return bW.Sc.Sb.call(this,a,c)};function Awi(a,c,e){return e.Oa(Wa,zrg+(a.Yd()+iUf),c)}D.Eca=function(a){return a.Oa(Wa,{"class":zrg+(this.Yd()+qUf),"aria-hidden":!0},"\u00a0")};D.Yd=B(vrg);MU(vrg,function(){return new wV(null,null,bW.Cb())});function Bwi(a){uI.call(this);this.D=[];this.yF(a)}Nm(Bwi,uI);D=Bwi.prototype;D.cba=null;D.OYa=null;function Cwi(a,c){return a.D[c]||null}D.yF=function(a){a&&(a.forEach(function(c){Dwi(this,c,!1)},this),rp(this.D,a))};function Ewi(a,c,e){c&&(Dwi(a,c,!1),up(a.D,e,0,c))}D.removeItem=function(a){a&&mp(this.D,a)&&a==this.cba&&(this.cba=null,this.dispatchEvent(Dk))};D.rY=function(a){this.removeItem(Cwi(this,a))};D.Bl=x("cba");D.Ti=function(){return qp(this.D)};
function Fwi(a,c){c!=a.cba&&(Dwi(a,a.cba,!1),a.cba=c,Dwi(a,c,!0));a.dispatchEvent(Dk)}D.xi=function(){var a=this.cba;return a?this.D.indexOf(a):-1};D.clear=function(){lp(this.D);this.cba=null};D.fb=function(){Bwi.Sc.fb.call(this);delete this.D;this.cba=null};function Dwi(a,c,e){c&&(typeof a.OYa==vh?a.OYa(c,e):typeof c.Ud==vh&&c.Ud(e))};function cW(a,c,e,f,g){wV.call(this,a,c,e,f,g||new sV(bQ));this.ma=this.He();this.Ua=null;this.mC(bQ)}Nm(cW,wV);D=cW.prototype;D.cu=null;D.Wa=function(){cW.Sc.Wa.call(this);this.OP();Gwi(this)};D.Le=function(a){cW.Sc.Le.call(this,a);(a=this.Lt())?Hwi(this,a):this.Bl()||dW(this,0)};D.fb=function(){cW.Sc.fb.call(this);this.cu&&(this.cu.dispose(),this.cu=null);this.ma=null};D.Ps=function(a){Iwi(this,a.target);cW.Sc.Ps.call(this,a);a.stopPropagation();this.dispatchEvent(mc)};
D.E7=function(){var a=this.Bl();cW.Sc.setValue.call(this,a&&a.getValue());this.OP()};D.Lg=function(a){var c=cW.Sc.Lg.call(this,a);a!=c&&(this.cu&&this.cu.clear(),a&&(this.cu?a.Ek(function(e){Jwi(e);var f=this.cu;Ewi(f,e,f.D.length)},this):Kwi(this,a)));return c};function Hwi(a,c){a.ma=c;a.OP()}D.Gl=function(a){Jwi(a);cW.Sc.Gl.call(this,a);if(this.cu){var c=this.cu;Ewi(c,a,c.D.length)}else Kwi(this,this.Hd());Lwi(this)};D.dka=G(1596);
D.removeItem=function(a){cW.Sc.removeItem.call(this,a);this.cu&&this.cu.removeItem(a)};D.rY=function(a){cW.Sc.rY.call(this,a);this.cu&&this.cu.rY(a)};function Iwi(a,c){if(a.cu){var e=a.Bl();Fwi(a.cu,c);c!=e&&a.dispatchEvent(sd)}}function dW(a,c){a.cu&&Iwi(a,Cwi(a.cu,c))}D.setValue=function(a){if(a!=null&&this.cu)for(var c,e=0;c=Cwi(this.cu,e);e++)if(c&&typeof c.getValue==vh&&c.getValue()==a){Iwi(this,c);return}Iwi(this,null)};D.getValue=function(){var a=this.Bl();return a?a.getValue():null};
D.Bl=function(){return this.cu?this.cu.Bl():null};D.xi=function(){return this.cu?this.cu.xi():-1};function Kwi(a,c){a.cu=new Bwi;c&&c.Ek(function(e){Jwi(e);var f=this.cu;Ewi(f,e,f.D.length)},a);Gwi(a)}function Gwi(a){a.cu&&a.bb().listen(a.cu,Dk,a.E7)}D.OP=function(){var a=this.Bl();this.bd(a?a.Lt():this.ma);var c=this.Ue().Pc(this.Ba());c&&this.Ma().qqd(c)&&(this.Ua==null&&(this.Ua=yT(c)),a=a?a.Ba():null,hK(c,a?yT(a):this.Ua),Lwi(this))};
function Lwi(a){var c=a.Ue();if(c&&(c=c.Pc(a.Ba()))){var e=a.La();c.id||(c.id=nJ(mJ.Cb()));eK(c,Fj);fK(c,Ek,!0);fK(e,oc,c.id);a.cu&&(e=a.cu.Ti(),fK(c,"setsize",Mwi(e)),a=a.cu.xi(),fK(c,"posinset",a>=0?Mwi(e.slice(0,a+1)):0))}}function Mwi(a){return a.filter(function(c){return c instanceof qV}).length}function Jwi(a){a.mC(a instanceof qV?Fj:tQg)}D.uf=function(a,c){cW.Sc.uf.call(this,a,c);this.isOpen()?this.Hd().Lo(this.xi()):Lwi(this)};MU("goog-select",function(){return new cW(null)});function Nwi(a,c,e){cW.call(this,a,c,bW.Cb(),e);this.F=new Owi(1E3);this.xa(this.F)}Nm(Nwi,cW);Nwi.prototype.Oa=function(){Nwi.Sc.Oa.call(this);eJ(this.Ba(),"jfk-select")};
Nwi.prototype.RK=function(){if(this.Hd().wc()){var a=this.Tna(),c=Jji(this)?8:12,e=this.Hd().Ba(),f=!1;this.Hd().isVisible()||(f=!0,e.style.visibility=Eh,lt(e,!0));var g=Math.max(this.xi(),0);g=this.Hd().Hc(g);var h=0;if(Lji(this)){var k=e.scrollTop;e.style.overflowY=am;e.style.height=Lc;f||(h=0,g&&(h=ft(g.Ba()).y-ft(a).y),h=k-h)}f=g?g.Ba().offsetTop:0;k=X3g(a);var l=0;k&&(l=X3g(e),l=Hr(k.top,l.top+2,l.bottom-2)-k.top);HS(a,c,e,Jji(this)?8:12,new Kr(0,l-f),null,65|(Lji(this)?32:132),null);Lji(this)&&
(c=0,g&&(c=ft(g.Ba()).y-ft(a).y),e.style.overflowY=Lc,e.scrollTop=h+c);this.Hd().isVisible()||(lt(e,!1),e.style.visibility=am)}};Nwi.prototype.Tna=function(){return this.La()};
Nwi.prototype.Ai=function(a){var c=Nwi.Sc.Ai.call(this,a);return a.type!=pi||!this.Hd()||a.altKey||a.ctrlKey||a.metaKey||a.vP?c:this.isOpen()||a.keyCode!=32?c?(!this.isOpen()||a.keyCode!=38&&a.keyCode!=40||Pwi(this),!0):pCh(a.keyCode)?(a=a.charCode?String.fromCharCode(a.charCode):" ",this.F.add(a),c=this.F.D,this.F.F?Qwi(this,a,!1):Qwi(this,c,c.length>1),!0):!1:(this.F.J(),c)};function Pwi(a){var c=pV(a.Hd());c&&jkh(c.Ba(),a.Hd().Pc())}
function Qwi(a,c,e){var f=a.isOpen()?a.Hd().Qr:a.xi();c=new RegExp("^"+P3g(c),"i");e||++f;f=f<0?0:f;for(var g=a.Hd(),h=g.Qc(),k=0;k<h;++k){e=(f+k)%h;var l=g.Hc(e),p=l.Lt();if(l.isEnabled()&&p&&c.test(p)){a.isOpen()?(a.Hd().Lo(e),Pwi(a)):dW(a,e);break}}}function Owi(a){T.call(this);this.H=new zJ(this.J,a,this);this.xa(this.H)}Nm(Owi,T);Owi.prototype.add=function(a){a==this.D?this.F=!0:this.F||(this.D+=a);this.H.start()};Owi.prototype.J=function(){this.D="";this.F=!1};Owi.prototype.F=!1;
Owi.prototype.D="";function Rwi(a,c,e,f,g,h,k){FU.call(this,void 0,void 0,h);this.Kb=a;this.Ca=c;this.wb=e;this.Ub=f;this.Ib=g;this.J=new fwi(this.Ma());this.eb(this.J);this.V=new fwi(this.Ma());this.eb(this.V);this.R=new fwi(this.Ma());this.eb(this.R);this.W=new aW(null,h);this.eb(this.W);this.ea=new aW(null,h);this.eb(this.ea);this.za=new aW(null,h);this.eb(this.za);this.ma=new aW(null,h);this.eb(this.ma);this.Ua=new Tvi;this.eb(this.Ua);this.Eb=new Tvi;this.eb(this.Eb);this.O=new $vi(void 0,this.Ma());this.eb(this.O);
(this.H=k?new Jvi(k):null)&&this.eb(this.H);this.Za=!1;this.setTitle(rfa);this.Cra(!1);BU(this,null);this.Ra=this.Sa=this.D=this.Na=this.F=null}H(Rwi,FU);D=Rwi.prototype;
D.Oa=function(){FU.prototype.Oa.call(this);var a=!!this.wb;bK(this.Pc(),iwi,{f_c:!!this.H,vDe:this.Uh(),vId:a,HId:this.Ib,eSa:rgf()});eJ(this.Ba(),"docs-findandreplacedialog");vwi(this,null);if(a){this.D=new Nwi(null);this.eb(this.D);this.D.render(this.Ya($fg));a=pm(this.wb);for(var c=a.next();!c.done;c=a.next())c=c.value,this.D.Gl(new qV(c.QKa,c.C3b));dW(this.D,0);this.Na=this.Ya(Zfg);Swi(this,this.Ub)}this.Ib&&(this.Ra=this.Ya(egg),Ovi(this.Ra))};
D.Wa=function(){FU.prototype.Wa.call(this);var a=this.Ma();this.O&&this.O.Sb(a.Ba(agg));this.H&&this.H.Sb(a.Ba(cgg));this.F=a.Ba(bgg);this.F.value="";this.Ua.Sb(this.F);this.Sa||(this.Sa=a.Ba("docs-findandreplacedialog-replace-input"),this.Sa.value="",this.Eb.Sb(this.Sa));var c=a.Ba("docs-findandreplacedialog-match-case"),e=a.Ba("docs-findandreplacedialog-match-case-label");this.J.Sb(c);this.J.pb(e);c=a.Ba("docs-findandreplacedialog-use-regular-expressions");e=a.Ba("docs-findandreplacedialog-use-regular-expressions-label");
this.V.Sb(c);this.V.pb(e);c=a.Ba("docs-findandreplacedialog-ignore-diacritics");e=a.Ba("docs-findandreplacedialog-ignore-diacritics-label");this.R.Sb(c);this.R.pb(e);this.R.Ke(!0);this.W.Sb(a.Ba(Sfg));this.W.Ab(!1);this.ea.Sb(a.Ba(Tfg));this.ea.Ab(!1);this.za.Sb(a.Ba(Ufg));this.za.Ab(!1);this.ma.Sb(a.Ba(Vfg));this.ma.Ab(!1);this.bb().listen(this,q8f,this.Xxb).listen(this.W,mc,this.vsc).listen(this.ea,mc,this.wsc).listen(this.za,mc,this.bid).listen(this.ma,mc,this.c8a).listen(this.F,ti,this.dcd).listen(this.F,
ph,this.usc).listen(this.J,sd,this.dyb).listen(this.V,sd,this.dyb).listen(this.R,sd,this.dyb);this.D&&this.bb().listen(this.D,sd,this.ecd)};D.Xxb=function(a){a.target&&a.target instanceof uV||(a=(new RC).Mb(1).oa(),this.Ca.qa(bCa).xb(void 0,a))};D.dcd=function(a){Twi(this,a.keyCode==13?a.shiftKey:!1,a.keyCode!=13)};D.vsc=function(){Twi(this,!1)};D.wsc=function(){Twi(this,!0)};D.bid=function(){Uwi(this,!1)};D.c8a=function(){Uwi(this,!0)};function Vwi(a){if(!a.F)throw Error("uR");return a.F.value}
function Wwi(a){if(!a.J)throw Error("uR");return a.J.Yg()}function Twi(a,c,e){var f=a.V.Yg(),g=a.D&&qt(a.Na)?a.D.Bl().Aa():void 0;e=new Kuh(a.F.value,c,e,a.J.Yg(),void 0,f,a.R.Yg(),g);g=new by;Lq(g,41,f);f=vD((new RC).Mb(1),g).oa();a.Kb.Db(c?30:29,f);a.Ca.qa($Ba).xb(e,f)}function Uwi(a,c){var e=a.V.Yg(),f=a.D&&qt(a.Na)?a.D.Bl().Aa():void 0;f=new Kuh(a.F.value,!1,!1,a.J.Yg(),a.Sa.value,e,a.R.Yg(),f);var g=new by;Lq(g,41,e);e=vD((new RC).Mb(1),g).oa();(c?a.Ca.qa(aJa):a.Ca.qa($f)).xb(f,e)}
function Xwi(a,c){var e=a.ma.isEnabled()&&!c;a.W.Ab(c);a.ea.Ab(c);a.za.Ab(c);a.ma.Ab(c);e&&a.F&&(a.Za=!0,a.F.focus(),a.Za=!1)}function Ywi(a,c,e,f,g,h){if(a.O){var k=a.O;(g?k.getValue()==f:Tnb(k.getValue(),f)==0)&&Ss(k.D,c+BN+e)}a.H&&(h?Kvi(a.H,h):Lvi(a.H));Xwi(a,e>0)}function Zwi(a){a.O&&Os(a.O.D);a.H&&Lvi(a.H);Xwi(a,!1)}D.usc=function(){this.Za||Twi(this,!1,!0)};
D.ecd=function(){var a=new Kuh(this.F.value,!1,!1,this.J.Yg(),void 0,this.V.Yg(),this.R.Yg(),this.D.Bl().Aa()),c=(new RC).Mb(1).oa();this.Ca.qa(eCa).xb(a,c)};D.QKa=function(a){if(this.Ra){var c=this.Ma();a?c.appendChild(this.Ra,c.Oa("B",null,c.createTextNode(a))):c.dh(this.Ra)}};D.dyb=function(){Twi(this,!1)};D.Ka=function(a){FU.prototype.Ka.call(this,a);a&&nwi(this.F)};function $wi(a,c){a.wc()||a.render();if(c!=null){if(!a.F)throw Error("uR");a.Ua.setValue(c)}a.Ka(!0)}
function Swi(a,c){a.D&&(c||dW(a.D,0),lt(a.Na,c))}D.fb=function(){delete this.O;delete this.F;delete this.J;delete this.W;delete this.ea;FU.prototype.fb.call(this)};function axi(a,c,e,f,g,h,k){Rwi.call(this,a,c,e,f,g,h,k);this.ob=!1}H(axi,Rwi);axi.prototype.c8a=function(a){var c=this;this.D&&qt(this.Na)&&this.D.Bl().Aa()===1&&!this.ob?(zwi("Replace across all tabs?","This will replace values across all tabs. Are you sure?",function(){return void Rwi.prototype.c8a.call(c,a)},null),this.ob=!0):Rwi.prototype.c8a.call(this,a)};axi.prototype.Xxb=function(a){this.ob=!1;Rwi.prototype.Xxb.call(this,a)};function bxi(a,c){oJ.call(this,c);this.W=new QU(null,RU.Cb(),c);this.eb(this.W);this.Ua=null;Pei(this);this.V=this.Da=this.Kb=this.R=null;this.Qf=!1;this.jc=a}H(bxi,oJ);D=bxi.prototype;D.Oa=function(){var a=this.Ma();this.R=a.Oa(Wa,Ckg);aK(this.R,this.Ovb());this.R.setAttribute(xk,Te);this.Uh()&&(this.R.dir=Ak);xL(this.R);var c=a.Oa(Wa,"docs-slidingdialog-holder",this.R);this.Kb=a.Oa(Wa,"docs-slidingdialog-wrapper",c);this.Zb(this.Kb)};
D.Wa=function(){oJ.prototype.Wa.call(this);var a=this.Ma(),c=a.Xb(Dkg,this.Ba());this.W.Sb(c);this.W.Ab(!0);c=a.Xb(Ckg,this.Ba());if(!c)throw Error("vR");this.Ua=new lV(c,a);this.xa(this.Ua);mV(this.Ua);this.bb().listen(this.W,mc,this.xsc).listen(this.Ba(),qi,this.ysc).listen(this.Ba(),ti,this.zsc);this.jc.qa(bKa).subscribe(mc,this.UF,this);this.jc.qa(Uf).subscribe(mc,this.UF,this)};D.xsc=function(){this.UF()};D.UF=function(){this.Ka(!1)};D.d9b=function(){this.R.style.display=tj};
D.ysc=function(a){this.Qf&&a.keyCode==27&&(this.UF(),a.preventDefault())};D.zsc=function(a){this.Qf&&a.keyCode==27&&a.stopPropagation()};D.wL=x(Jb);
D.Ka=function(a){if(this.Ba()&&a!=this.Qf){if(this.Qf=a)this.R.style.display="",this.dispatchEvent(uP),this.Da||(this.Da=new mEh(this.R,.1,{"margin-top":"-40px"},{"margin-top":"0"},{property:xMg,duration:.1,timing:Fpg,delay:0})),this.Da.play();else{if(!this.V){var c=new mEh(this.R,.1,{"margin-top":Aa},{"margin-top":"-40px"},{property:xMg,duration:.1,timing:Fpg,delay:0});this.V&&this.bb().De(this.V,$g,this.d9b);this.V=c;this.bb().listen(this.V,$g,this.d9b)}this.V.play()}this.dispatchEvent(a?Ej:zd)}};
D.rHa=x(Jb);D.fb=function(){Iw(this.Da);delete this.Da;Iw(this.V);delete this.V;Iw(this.W);delete this.W;delete this.R;delete this.Kb;oJ.prototype.fb.call(this)};function cxi(){return U(Ha+V("docs-loading-animation")+ia+V("docs-loading-animation-dot-1")+QN+V("docs-loading-animation-dot-2")+QN+V("docs-loading-animation-dot-3")+PN)};function dxi(a,c){return U('<div id="docs-slidingdialog-content" class="'+V(Ekg)+" "+V(SP)+'"'+(VJ(c)?vN+V(c)+'"':"")+">"+(VJ(a)?sT(a):"")+iO+V("docs-slidingdialog-close-container")+" "+V(SP)+" "+V(JP)+n+Bgi({fn:Dkg})+fO)};function exi(a,c,e,f,g,h){f=f===void 0?!1:f;g=g===void 0?e_f:g;bxi.call(this,c,e);this.ea=null;this.wa=(new RC).Mb(4).oa();this.za=a;this.F=new aW(null,e);this.F.Bu(1);this.F.Oi(32,!1);this.eb(this.F);this.H=new aW(null,e);this.H.Bu(3);this.H.Oi(32,!1);this.eb(this.H);this.O=new aW(null,e);this.O.Ka(f);this.eb(this.O);this.va=this.ma=null;this.D=new $vi(g,this.Ma());this.eb(this.D);(this.J=h?new Jvi(h):null)&&this.eb(this.J)}H(exi,bxi);D=exi.prototype;
D.Ovb=function(){var a=!!this.J,c=rgf();a=Ha+V("docs-findbar-content")+" "+V(JP)+'"><div id="docs-findbar-spinner">'+cxi()+'</div><div id="docs-findbar-input" class="'+V(kgg)+" "+V(SP)+n+Nvi()+fO+(VJ(a)?hwi(c,lgg):"");c=Z9f+WJ(e3f);a+=gV({attributes:SJ(c+'"'),id:igg,width:1,content:U(""+VT(whg))},void 0);c=Z9f+WJ(bP);a+=gV({attributes:SJ(c+'"'),id:hgg,width:1,content:U(""+VT(ihg))},void 0);a+=tHh({hidden:!1});a+=gV({id:ggg,width:1,content:U(""+VT(rhg)),title:aP},void 0);a=U(a+fO);return U(dxi(U(""+
a)))};
D.Wa=function(){bxi.prototype.Wa.call(this);var a=this.Ma(),c=a.Ba(kgg);this.D.Sb(c);this.F.Sb(a.Ba(hgg));Ts(this.F.Ba(),!1);this.F.Ab(!1);this.H.Sb(a.Ba(igg));Ts(this.H.Ba(),!1);this.Uh()&&eJ(this.H.Ba(),"docs-findbar-button-previous-rtl");this.H.Ab(!1);c=this.O.isVisible();this.O.Sb(a.Ba(ggg));var e=this.O.Ba();this.O.Ka(c);Ydi(e);this.ma=this.Ma().Ba("docs-findbar-spinner");lt(this.ma,!1);this.va=new mEh(this.ma,.3,{left:"-4px",width:"40px"},{left:"2px",width:0},"all .3s ease-out");this.bb().listen(this.va,lWa,
this.Qcd);c=this.D.jo();this.ea||(this.ea=new Qvi(c));this.J&&this.J.Sb(a.Ba(lgg));this.bb().listen(this.F,mc,this.Bsc).listen(this.H,mc,this.Csc).listen(this.O,mc,this.xfd).listen(c,ph,this.Asc).listen(c,qi,this.ccd).listen(this.ea,ei,this.Yib)};D.UF=function(){bxi.prototype.UF.call(this);this.dispatchEvent(zd)};D.Yib=function(){var a=this.D.getValue(),c=a.length==0;this.F.Ab(!c);this.H.Ab(!c);this.dispatchEvent(new fxi(a,!1,!0))};D.xfd=function(){this.dispatchEvent(jNg)};
D.Qcd=function(){lt(this.ma,!1)};D.Asc=function(){this.dispatchEvent(new fxi(this.D.getValue(),!1,!0))};D.ccd=function(a){a.keyCode==13&&gxi(this,a.shiftKey)};function gxi(a,c,e){e=e===void 0?!1:e;a.za.Db(c?30:29,a.wa);a.dispatchEvent(new fxi(a.D.getValue(),c,!1,e))}D.Bsc=function(){gxi(this,!1,!0);Zvi(this.D.Tq)};D.Csc=function(){gxi(this,!0,!0);Zvi(this.D.Tq)};D.focus=function(){this.Ba()&&this.wL()&&(Bp&&this.F.Ba().focus(),Zvi(this.D.Tq))};
function hxi(a,c,e,f,g,h,k){var l=a.D;(g?l.getValue()==f:Tnb(l.getValue(),f)==0)&&Ss(l.D,c+BN+e);a.J&&(k?(c=a.J,c.Ma().wg(c.La(),k)):h?Kvi(a.J,h):Lvi(a.J));e=e!=0;a.F.Ab(e);a.H.Ab(e)}function ixi(a){Os(a.D.D);a.J&&Lvi(a.J)}D.fb=function(){Iw(this.F);Iw(this.H);Iw(this.D);Iw(this.ea);bxi.prototype.fb.call(this)};function fxi(a,c,e,f){f=f===void 0?!1:f;oI.call(this,Fqg);this.F=a;this.D=c;this.H=e;this.J=f}H(fxi,oI);function jxi(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C,E){T.call(this);var F=this;this.Ua=w;this.Fa=a;this.ea=c;this.ib=this.ea.Aa();this.Ja=e;this.wa=f;this.ma=g;this.R=h;this.Na=p;this.wb=q;this.va=u;this.O=k;this.V=l;this.Da=y;this.Ra=C;this.fe=E||new Cs;this.W=new kJ(this);this.xa(this.W);this.J=new hx;this.xa(this.J);this.ob=new hx;this.xa(this.ob);this.Sa=null;this.Ib=z;this.D=null;Heh(A,0,function(){return!!F.D&&F.D.wL()});this.F=null;this.za=new gC;this.H=C.Ha(Ai);this.Ca=!!this.ma.vh(Pa)}H(jxi,T);
function kxi(a,c,e,f,g){if(a.H){for(var h=a.O,k=0,l=0,p=null,q=null,u=h.R.getValues(),w=0;w<u.length;w++){var y=u[w];if(Nn(y,h.R.Uc())){var z=y.sU();z!=-1&&!0!==g&&(k=l+z+1|0,p=y.AJ())}l=l+y.VY().length|0;Mt(y.VY())||q||(q=y)}!p&&q&&(k=1,p=q.VY()[0]);g=p?CC(ew(p.D),fw(p.D)+1|0):null;g=new lxi(k,l,g,p?p.H:null);k=(a=g.D?mxi(a):void 0)?void 0:g.getSelection();f(g.xi(),g.J,c,e,k,a)}else p=a.R.sU(),k=a.R.VY(),g=g||p<0?k.length?1:0:p+1,p=null,k.length&&(h=k[g-1],p=CC(h.D.start,h.D.end+1),h.H&&(l=mxi(a))),
l&&(p=void 0),f(g,k.length,c,e,p,l)}function mxi(a){if((a=a.Ib().amb())&&!Xo(a))return c1f+a}function nxi(a,c){var e=a.D&&a.D.wL(),f=a.F&&a.F.isVisible();if(e||f)a.H?(oxi(a.O,c),f&&(a.F.QKa(null),a.O.W&&a.F.QKa("No more results found, looping around"))):X_h(a.V,c.DC,c.D,c.JG,c.F,c.aM,c.ZL,void 0,!0)}
function pxi(a){if(a.D&&a.D.wL()){var c=a.D.D.getValue();c?kxi(a,c,!1,function(e,f,g,h,k,l){return void hxi(a.D,e,f,g,h,k,l)}):ixi(a.D)}else a.F&&a.F.isVisible()&&((c=Vwi(a.F))?kxi(a,c,Wwi(a.F),function(e,f,g,h,k){return void Ywi(a.F,e,f,g,h,k)}):Zwi(a.F))}
function qxi(a){a.Ja.Epa()||(a.H?a.O.J=!1:a.V.R=!1,a.D||(a.D=new exi(a.Ua,a.Da,a.fe,!1,a.ma.vh(Pa)&&!a.Ca?"Find in tab":void 0,new Xed(a.ib,a.za,new Xrf))),a.D.wc()||a.D.render(a.fe.Ba(jgg)),a.D.wL()||(a.W.listen(a.D,zd,function(){lJ(a.W);kx(a.J);rxi(a)}).listen(a.D,Fqg,a.Za).listen(a.D,jNg,a.Eb),a.H?a.J.Pa(BOe(a.R.O),function(){return void pxi(a)}):a.J.Pa(a.R.Qfa(),function(){return void pxi(a)}),a.J.Pa(a.wa.H,function(c){uNb(c,2)&&a.D.O.Ka(kD(a.wa,2,0))}),sxi(a),a.D.Ka(!0),a.Na.dispatchEvent(null),
txi(a)),a.D.O.Ka(kD(a.wa,2,0)),a.D.focus())}function txi(a){if(a.Ra.Ha(Zeg)){var c=a.va.D;if(c!=null){var e=a.D;e.D.setValue(c);e.Yib(null);a.Za(new fxi(c,!1,!1))}}}
function uxi(a,c){a.H?a.O.J=!0:a.V.R=!0;var e=!!a.ma.vh(Pa)&&a.H,f=e&&a.Fa.Aa().Do()>1;a.F||(a.F=new axi(a.Ua,a.Da,vxi,f,e,a.fe,new Xed(a.ib,a.za,new Xrf)),e&&a.ob.Pa(a.ma.Pn(),function(h){Qu(h.D).includes(nda)&&Swi(a.F,a.Fa.Aa().Do()>1)}),a.Ja.Bo(a.F));var g;a.F.isVisible()||(g=!0);$wi(a.F,c);g&&(a.H?a.J.Pa(BOe(a.R.O),function(){return void pxi(a)}):a.J.Pa(a.R.Qfa(),function(){return void pxi(a)}),a.W.listen(a.F,zd,function(){lJ(a.W);kx(a.J);rxi(a)}),sxi(a),c&&kxi(a,c,Wwi(a.F),function(h,k,l,p,q){return void Ywi(a.F,
h,k,l,p,q)}))}function wxi(a,c){a.D&&a.D.wL()?a.D.D.getValue()!=""?nxi(a,new Kuh(a.D.D.getValue(),c,!1,!1,null,!1,!0,a.Ca?1:0,!0)):ixi(a.D):qxi(a)}function xxi(a,c){yxi(a.O,c);Vwi(a.F)?kxi(a,c.DC,c.JG,function(e,f,g,h,k){return void Ywi(a.F,e,f,g,h,k)}):Zwi(a.F)}jxi.prototype.Eb=function(){var a=this.D.D.getValue();uxi(this,a)};function zxi(a,c,e){a.F&&(kxi(a,c.DC,c.JG,function(f,g,h,k,l){return void Ywi(a.F,f,g,h,k,l)},e<=0),a.H?a.O.oq():a.V.oq(),nxi(a,c))}
function rxi(a){Rei(Oei.Cb())||a.Sa.Ld(2);var c=a.R.Dta();c&&a.ea.Mh(CC(c.start,c.end+1),!0,!1);a.H?a.O.reset(!0):a.V.reset(!0)}jxi.prototype.Za=function(a){this.va.D=a.F;this.H?oxi(this.O,new Kuh(this.va.D,a.D,a.H,!1,null,!1,!0,this.Ca?1:0,a.J)):X_h(this.V,this.va.D,a.D,!1,a.H,!1,!0,void 0,!0)};function sxi(a){a.Ra.Ha(Zeg)&&a.J.Pa(a.wb,function(c){c&&a.F&&a.F.isVisible()&&a.F.Ka(!1)})}jxi.prototype.fb=function(){Jw([this.D,this.F]);T.prototype.fb.call(this)};var vxi=[{C3b:1,QKa:rca},{C3b:0,QKa:Yda}];function Axi(a,c,e,f,g,h,k,l,p,q,u){fT.call(this,a);this.Da=!1;this.Na=c;this.Ja=e;this.Ca=p;this.xa(this.Ca);this.Fa=l;this.Sa=g;this.W=f;this.wa=h;this.J=q;this.za=new hx;this.xa(this.za);this.Da=!0===u;a=new R_h(k,BOe(g.O));this.xa(a)}H(Axi,fT);
Axi.prototype.ye=function(a,c,e){var f=this,g=this.Da?[DE(2,0),BLg]:[DE(2,0)];EE(EE(a,KE(LE(JR(e,function(h){var k=Juh(f.Ca,h),l=k.D.length;Bxi(f,f.R,(h0h(),i0h),k,h,l)}).D($f),[DE(2,0),BLg]))),KE(LE(JR(e,function(h){var k=f.V.ir(new wG(Td,"findAndReplaceAll")),l=f.lb().Ha("kix-esldfara");l&&Cxi(f.Fa);var p=h.Ptb||"",q=new d0h(f.W,h.DC,p,h.JG,h.aM,h.ZL);if(h.J===1){p=f.Na.Aa();p=Dxi(p,q);var u=0;for(w in p)u=u+p[w].length|0;var w=u;Bxi(f,f.qc,(Exi(),Fxi),q,h,w)}else q=Gxi(f.Ja.Aa(),q),q=new Huh(q,
p,!1),w=q.D.length,Bxi(f,f.R,(h0h(),i0h),q,h,w);if(l)for(h=f.Fa.D.getValues(),l=0;l<h.length;l++)Y_h(h[l]);h=new by;Mq(h,114,w);h=vD((new RC).Mb(41),h).oa();k.complete(h)}).D(aJa),g)));EE(a,KE(HR(OR(e,function(){qxi(f.J)}),fCa)));EE(EE(EE(a,KE(LE(JR(e,function(h){xxi(f.J,h)}).D(eCa),[DE(2,0)]))),KE(LE(JR(e,function(h){var k=f.J;if(h)h=h.data;else{h=k.ea.Aa();var l=k.ea.hb().getSelection();h=l.Qd?k.za.ig(h,eC(dC(fC(),mC(l.Qd).start),mC(l.Qd).end).oa()):void 0}k.Na.dispatchEvent(null);uxi(k,h)}).D(aCa),
[DE(2,0)]))),KE(LE(HR(JR(e,function(){rxi(f.J)}),bCa),[DE(2,0)])));IR(c,this.D.qa(aCa),OE([bl]));EE(EE(EE(a,KE(OR(e,function(h){nxi(f.J,h)}).D($Ba))),KE(LE(HR(OR(e,function(){wxi(f.J,!1)}),cCa),[BLg]))),KE(LE(HR(OR(e,function(){wxi(f.J,!0)}),dCa),[BLg])));IE(a,LE(ME(UE(e,(Zzd(),$zd)),Mmg,function(h){return new Wzd(!0,!1,!1,cbh(f.wa,f.W,h))}),d8g(e)))};Axi.prototype.Wq=function(a){var c=new Hxi(this.Sa);this.xa(c);NE(a,c)};
Axi.prototype.mma=function(a,c){var e=this;a.bind(uog,KR(c),function(){var f=bbh(e.wa,e.W,zm.apply(0,arguments)[0]);return f?WG(tC(fw(f)+1|0),!0,"text-resumeWith"):null}).bind(vog,KR(c),function(){return cbh(e.wa,e.W,zm.apply(0,arguments)[0])})};Axi.prototype.bz=function(a){Xxh(a,this.D,[uog,vog,Mmg],null,Wk)};
function Bxi(a,c,e,f,g,h){if(c instanceof g0c){var k=c instanceof g0c?c.D:c.D;a.za.Pa(k,function(l){!L(l.D,e)||GTa!==l.type&&HTa!==l.type||(GTa===l.type&&zxi(a.J,g,h),qx(a.za,k))});c.apply(e,f)}else c.apply(e,f),zxi(a.J,g,h)};function Gxi(a,c){var e=[];c=c.F.D(c.D,a,c.J,c.R,c.H);for(var f=0;f<c.length;f++){var g=c[f];EH(a,Ln(g.start))||e.push(g)}return e}function Dxi(a,c){var e={};for(a=a.AD().ad();a.Mc();){var f=a.Rc(),g=Gxi(f.Aa(),c),h=e;f=f.getId();Ru(h,f,g)}return e};function Ixi(a,c,e){a.Qw(c);if(a.Do()==1)return c;c=a.Wo(c);return e?(e=a.Qya(c))?e.getId():a.moa().getId():(e=a.qoa(c))?e.getId():a.GI(0).getId()};function lxi(a,c,e,f){this.F=a;this.J=c;this.H=e;this.D=f}H(lxi,K);lxi.prototype.xi=x("F");lxi.prototype.getSelection=x("H");function Jxi(a,c,e,f,g,h,k,l,p,q,u,w,y){this.J=this.W=this.F=!1;Kxi(this,a,c,e,f,g,h,k,p,q,u,w,y)}H(Jxi,tw);function Kxi(a,c,e,f,g,h,k,l,p,q,u,w,y){Lxi(a);a.H=c;a.ma=e;a.wa=f;a.V=g;a.R=h.H.Uc();a.za=k;a.D=Aee(f.D,h.H,function(z,A){return new U_h(z.getValue(),k,A.getValue(),function(){return Mxi(g,l,z.getValue())},p,q,!0,u,y)}).Uc();a.va=l;a.Ca=w;a.ea=new hx;a.xa(a.ea)}
function oxi(a,c){var e=a.Ca.ir(new wG(Td,"findAndSelect")),f=[];try{if(Cxi(a),Nxi(a),a.W=!1,a.O=c,TR(a.ma)){var g=a.R.Uc().sU(),h=a.H.hb().Cn(),k=Oxi(a.V,h);if(c.J===1){var l=a.R.Uc(),p=Pxi(a,c,k);p&&(k=Oxi(a.V,a.H.hb().Cn()),l.M8(!0));l={};for(var q=a.H.Aa().Wna().ad();q.Mc();l={xYb:void 0}){var u=q.Rc(),w=a.D.get(u);Nn(w,a.D.Uc())||(l.xYb=Oxi(a.V,u),xu(f,X_h(w,c.DC,c.D,c.JG,c.F,c.aM,c.ZL,!1,!0,null,null,a.J,function(A){return function(C){return Ot(A.xYb,C)}}(l),c.H)))}var y;xu(f,X_h(a.D.Uc(),c.DC,
c.D,c.JG,c.F,c.aM,c.ZL,void 0,!0,p,null,a.J,(y=k,function(A){return Ot(y,A)}),c.H))}else{var z;xu(f,X_h(a.D.Uc(),c.DC,c.D,c.JG,c.F,c.aM,c.ZL,void 0,!0,null,null,a.J,(z=k,function(A){return Ot(z,A)}),c.H))}a.W=Qxi(a,h,g,c.D)}else a.reset(!1)}finally{cx(f).addCallback(function(){e.zv()})}}function Pxi(a,c,e){if(c.F||Rxi(a,c,e))return!1;e=a.H.Aa();for(var f=a.H.hb().Cn(),g=Ixi(e,f,c.D);!L(g,f);){var h=a.wa.D.Uc().get(g);if(Sxi(a,h,c))return a.H.PBa(g),!0;g=Ixi(e,g,c.D)}return!1}
function Rxi(a,c,e){var f=a.wa.D.Uc().get(a.H.hb().Cn()),g=Z_h(f.Aa(),c.DC,a.za,function(){return Mxi(a.V,a.va,f)},c.JG,c.aM,c.ZL,!a.J,!0,null,function(h){return Ot(e,h)});return Guh(g,a.R.Uc().AJ(),c.D,c.F)}function Sxi(a,c,e){var f=Oxi(a.V,c.Vz().Cf());e=Z_h(c.Aa(),e.DC,a.za,function(){return Mxi(a.V,a.va,c)},e.JG,e.aM,e.ZL,!a.J,!0,null,function(g){return Ot(f,g)});return!Mt(e)}function Mxi(a,c,e){return e?(a=a?a():null)?c(yee(a,e).v_):null:null}
function Qxi(a,c,e,f){var g=a.R.Uc();if(e==-1||Mt(g.VY()))return!1;var h=a.H.hb().Cn(),k=!L(c,h);g=g.sU();return k||e!=g?k?(a=a.H.Aa(),h=a.Wo(h),c=a.Wo(c),c=xrh(h,c),f?c>0:c<0):f?g>e:g<e:!1}function Cxi(a){a=a.D.getValues();for(var c=0;c<a.length;c++)kx(a[c].J)}
function yxi(a,c){a.O=c;if(c.J===1)for(var e=a.D.getValues(),f=0;f<e.length;f++){var g=e[f];Nn(g,a.D.Uc())||X_h(g,c.DC,c.D,c.JG,c.F,c.aM,c.ZL,!1,!0,null,null,!0,null,null)}else for(c=a.D.getValues(),e=0;e<c.length;e++)f=c[e],Nn(f,a.D.Uc())||f.reset(!0)}
function Nxi(a){kx(a.ea);a.ea.Pa(a.ma.H,function(){if(TR(a.ma)&&a.O){var c=a.O.J;if(L(c,0)||!qo(c,Luh)){c=a.D.getValues();for(var e=0;e<c.length;e++)c[e].reset(!1)}c=a.D.Uc();X_h(c,a.O.DC,!1,a.O.JG,!0,a.O.aM,a.O.ZL,!1,!0,null,null,a.J,null,null)}})}Jxi.prototype.reset=function(a){this.O=null;this.W=!1;kx(this.ea);for(var c=this.D.getValues(),e=0;e<c.length;e++)c[e].reset(a)};Jxi.prototype.oq=function(){for(var a=this.R.getValues(),c=0;c<a.length;c++)a[c].M8(!0)};
function Oxi(a,c){return(a=a?a():null)?a.Uc().get(c).v_.Oja():[]}function Lxi(a){a.W=!1;a.J=!1};function Hxi(a){Hx.call(this);Txi(this,a)}H(Hxi,Hx);function Txi(a,c){a.H=c;a.D.Pa(AOe(c.J),function(){Jx(a,Uxi(a))});Ix(a,Uxi(a))}function Uxi(a){var c=new Kx,e=!1;a=a.H.H.Uc().getValues();for(var f=0;f<a.length;f++)if(a[f].VY().length>0){e=!0;break}c.put(BLg,e);return c};function Vxi(){}H(Vxi,EI);Vxi.prototype.sH=function(a){return new Wxi(a)};function Wxi(a){Exi();nF.call(this,zlg,a)}var Fxi;H(Wxi,kV);Wxi.prototype.Vc=function(a){var c=Dxi(this.getContext().ub().Aa(),a),e=0,f;for(f in c){var g=c[f];if(g.length>0){var h=CZb(a.O||"");qF(this,new nXh(Tii(this,f),g,h,null,null))}e=e+g.length|0}this.D=new e0h(e)};function Exi(){Exi=r();Fxi=new Vxi};function Xxi(a,c,e,f,g,h,k,l,p,q){Axi.call(this,a,c,e,f,g,h,k,l,p,q)}H(Xxi,Axi);Xxi.prototype.Td=function(a){Axi.prototype.Td.call(this,a);this.D.qa(cg).subscribe(mc,this.ea,this);this.D.qa(bKa).subscribe(mc,this.ea,this);this.lb().Ha(Zeg)&&this.D.qa(kf).subscribe(mc,this.ea,this);this.lb().Ha(Hxa)&&this.D.qa(df).subscribe(mc,this.ea,this);a instanceof Mdi&&(a=a.O)&&a.Xj(this.D.qa(fCa));this.J.Sa=this.va};Xxi.prototype.ea=function(){var a=this.J;a.D&&a.D.UF()};
Xxi.prototype.fb=function(){Iw(this.J);Axi.prototype.fb.call(this)};function Yxi(a,c,e,f){fT.call(this,a);this.W=c;this.ea=e;this.wa=f}H(Yxi,fT);
Yxi.prototype.ye=function(a,c,e){var f=this,g=[nQg,AQ,jd,fQ];IE(IE(IE(IE(a,LE(ME(UE(e,($Yh(),aZh)),oCa,function(h){return new WYh(Hl,h,new PH,null)}),g)),LE(UE(e,(p0h(),q0h)).F(qCa,new j0h(1)),g)),LE(UE(e,q0h).F(pCa,new j0h(-1)),g)),LE(ME(UE(e,(A0h(),B0h)),mCa,function(h){h=rph(h);v8g(f.W,h.D);var k=f.ea,l=h.F;if(l){var p=new by;Mq(p,64,l.yb());l=vD((new RC).Mb(4),p).oa();k.Db(29341,l)}k=f.wa.lta(h.D);return new t0h(h.D,k,h.F)}),g));a=d8g(e).concat(g);HE(c,this.D.qa(rCa),OE(a))};
Yxi.prototype.bz=function(a){var c=this.D;aT(a,c,[qCa,pCa]);Wxh(a,c.qa(oCa),function(e){return bNh([],e.yb())},zj)};function Zxi(a){this.action=a;this.wfv=!1};function $xi(){Zxi.call(this,"select-fonts");this.fonts=[];this.wfv=!0}Nm($xi,Zxi);function ayi(a){this.fontName=a};function eW(a){this.ah=a;this.D={}}D=eW.prototype;D.pb=function(a){this.F=a||void 0;return this};D.Qs=G(1607);D.kv=G(1616);D.Dl=function(a){this.D.parent=a};function byi(a){var c=Ejh(a.D,function(e){return e!==null});c=Sr(c)?null:c;a=[a.ah,a.F,c];c=gih(a,AGb);return a=a.slice(0,c+1)}D.toString=function(){var a=byi(this);return"("+gp(a,function(c){return JSON.stringify(c)}).join(",")+")"};D.getId=x(pc);D.ac=x("F");D.getOptions=function(){return Ur(this.D)};function cyi(){eW.call(this,"fonts")}H(cyi,eW);cyi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};cyi.prototype.Qs=G(1606);cyi.prototype.kv=G(1615);cyi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function dyi(a,c){a.D.efsp=c};var eyi=new Map;eyi.set(L8f,S8f);eyi.set(R8f,U8f);eyi.set(O8f,T8f);var fyi=new Set;fyi.add(N8f);fyi.add(Q8f);fyi.add(P8f);function gyi(a,c,e){var f=e&&Aq(e,1);e=hyi(e);switch(vR(a[0].getId())){case 13:return iyi(a,c,f,e);case 3:return jyi(a,c,f,e);case 10:return kyi(a,c,f,e);case 27:return kyi(a,c,f,e);case 12:return lyi(a,c);case 2:return myi(a,c,f,e);case 5:return nyi(a,c,f,e);case 9:return oyi(a,c,f,e);case 6:return pyi(a,c,f,e);case 25:return qyi(a,c,f,e);case 1:return Wp(a[0],MFh,26)?ryi(a,c,f,e):kyi(a,c,f,e);default:return{}}}
function pyi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:Pfb,name:g.getName(),description:g.Ie(),type:syi(g),lastEditedUtc:Nvb(R(g,Cr,16)).getTime(),iconUrl:Msg,url:g.getUrl(),embedUrl:Aq(g,13),thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Pfb,v2Translated:!0}}
function myi(a,c,e,f){var g=a.map(function(h){var k={id:h.getId().getId(),serviceId:ff,mimeType:h.getMimeType(),name:h.getName(),type:syi(h),lastEditedUtc:Nvb(R(h,Cr,12)).getTime(),url:h.getUrl(),sizeBytes:Etb(h,23),description:h.Ie(),iconUrl:h.Yp(),thumbnails:tyi(YFh(h)),isShared:vq(QT(h),1),downloadUrl:Aq(QT(h),10),embedUrl:Aq(h,13),copyable:vq(QT(h),9),resourceKey:Aq(QT(h),11)};vq(QT(h),12)&&(k.uploadState=Pab,k.isNew=!0);if(Wp(QT(h),LFh,3)){h=R(QT(h),LFh,3);if(Wp(h,ZQ,2)){var l=xq(h.getDuration(),
1)+wq(h.getDuration(),2)/1E9;k.duration=l}k.aspectRatio=zq(h,1)}return k});return{action:c,docs:g,viewToken:f,view:e||tc,extraUserInputs:uyi(a),v2Translated:!0}}function nyi(a,c,e,f){a=a.map(function(g){var h=R(R(g,XFh,15),KFh,1);mq(g,10,KFh,h,void 0);return{id:g.getId().getId(),serviceId:UTg,mimeType:g.getMimeType(),name:g.getName(),type:syi(g),url:g.getUrl(),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Zsg,v2Translated:!0}}
function oyi(a,c,e,f){a=a.map(function(g){return{serviceId:Rl,name:YFh(g)[0].getUrl().split("/").pop(),type:syi(g),mimeType:g.getMimeType(),url:g.getUrl(),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Rl,v2Translated:!0}}
function ryi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:zOg,name:g.getName(),type:syi(g),description:g.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||"webcam",v2Translated:!0}}function kyi(a,c,e,f){return{action:c,docs:a.map(vyi),viewToken:f,view:wyi(e||xTg,a),extraUserInputs:uyi(a),v2Translated:!0}}function wyi(a,c){return c.some(function(e){var f;return((f=R(e,VFh,30))==null?void 0:Bq(f,3))===9})?a+"/gmailphotos":a}
function jyi(a,c,e,f){var g=a.map(function(h){var k={id:h.getId().getId(),serviceId:zOg,mimeType:h.getMimeType(),name:h.getName(),type:syi(h),lastEditedUtc:Nvb(R(h,Cr,12)).getTime(),url:h.getUrl(),sizeBytes:Etb(h,23),description:h.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(h)),mediaKey:h.getId().getId(),parentId:Aq(h,4)},l,p=(l=R(h,PFh,18))==null?void 0:R(l,OFh,3);p&&(k.latitude=zq(p,1),k.longitude=zq(p,2));var q;(h=(q=R(h,PFh,18))==null?void 0:xq(q,6))&&(k.version=h);return k});return{action:c,docs:g,viewToken:f,
view:e||Z6a,extraUserInputs:uyi(a),v2Translated:!0}}function iyi(a,c,e,f){a=a.map(function(g){return{id:g.getId().getId(),serviceId:eh,name:YFh(g)[0].getUrl().split("/").pop(),description:g.Ie(),type:eh,iconUrl:Msg,thumbnails:tyi(YFh(g),"etjpg")}});return{action:c,docs:a,viewToken:f,view:e||eh,v2Translated:!0}}
function qyi(a,c,e,f){a=a.map(function(g){var h=g.getId().getId(),k=f["2"];return{id:h,serviceId:k.type!=="gmail_themes"&&k.parent==="6226252643674576769"?zOg:"static_themes",name:g.getName(),mimeType:g.getMimeType(),type:syi(g),description:g.Ie(),iconUrl:Msg,url:g.getUrl(),embedUrl:g.getUrl(),thumbnails:tyi(YFh(g))}});return{action:c,docs:a,viewToken:f,view:e||Z6a,v2Translated:!0}}
function lyi(a,c){a=a.map(function(e){var f=R(e,NFh,27);f=Cq(f,1,cq())[0];return{id:e.getId().getId(),serviceId:"contacts",mimeType:e.getMimeType(),name:e.getName(),description:e.Ie(),url:t4a+f,thumbnail:[{url:e.Yp()}],email:f}});return{action:c,docs:a,view:"contacts",v2Translated:!0}}function hyi(a){if(!a)return{};var c=Aq(a,3);c=c&&JSON.parse(c)||{};return{0:Aq(a,1),1:a.ac(),2:c}}
function tyi(a,c){c=c===void 0?"":c;if(!a.length)return null;c=="etjpg"&&(a=a.filter(function(e){return e.getUrl().includes("w1200-h300")}));return a.map(function(e){return{url:e.getUrl(),height:e.getHeight(),width:e.Jb(),type:c}})}function uyi(a){return{isAttachment:a.some(function(c){return vq(c,31)})}}
function vyi(a){var c,e={id:(c=a.getId())==null?void 0:c.getId(),serviceId:xyi(a),mimeType:a.getMimeType(),name:a.getName(),type:syi(a),sizeBytes:Etb(a,23),description:a.Ie(),iconUrl:Msg,thumbnails:tyi(YFh(a)),isNew:!0};if(c=R(a,VFh,30)){e.dataUrl=Aq(c,1)||null;a:{var f=R(a,VFh,30);switch(Bq(f,3)){case 9:f=Fq(f,TFh,2,WFh);f={remoteRefs:f&&Aq(f,1)};break a;case 10:case 15:f=Fq(f,SFh,4,WFh);var g=YFh(a);f={photo_id:f&&Aq(f,1),media_key:a.getId().getId(),media_type:a.getType()===1?1:2,image_url:g&&g[0].getUrl(),
width:g&&String(g[0].Jb()),height:g&&String(g[0].getHeight())};break a}f=null}e.uploadMetadata=f;e.uploadId=Aq(c,9)||null;e.uploadState=yyi(c)||null}(f=c&&Fq(c,SFh,4,WFh))&&(e.id=Aq(f,1));(f=c&&Fq(c,UFh,5,WFh))&&(e.contentId=Aq(f,1));(f=c&&Fq(c,QFh,7,WFh))&&(e.contentId=Aq(f,1));(f=c&&Fq(c,RFh,6,WFh))&&(e.contentId=f.Ej());(c==null?void 0:Bq(c,3))===1&&(e.mediaKey=a.getId().getId());return e}
function xyi(a){var c;switch(((c=R(a,VFh,30))==null?void 0:Bq(c,3))||0){case 1:return zOg;case 2:case 3:case 4:case 8:case 12:return W6a;case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null}
function syi(a){switch(a.getType()){case 1:case 21:return W6a;case 2:return Zl;case 6:return Oqg;case 13:return Dpa;case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?Dg:lh;default:return lh}}function yyi(a){switch(a==null?void 0:Bq(a,8)){case 0:return Qe;case 1:return"canceled";case 2:return ch;case 3:return"running";case 4:return"scheduled";case 5:return Pab}return null};function zyi(a){this.D=a}D=zyi.prototype;D.value=x("D");D.Jb=function(){return this.D.width};D.getHeight=function(){return this.D.height};D.Fg=function(a){this.D.style=a;return this};D.getStyle=function(){return this.D.style};function Ayi(a){this.D=a||{}}D=Ayi.prototype;D.value=x("D");D.getUrl=function(){return this.D.url};D.Fg=function(a){this.D.style=a;return this};D.getStyle=function(){return this.D.style};D.fd=function(a){this.D.id=a;return this};D.getId=function(){return this.D.id};function Byi(a,c){a.D.queryParams=c;return a}function Cyi(a,c){a.D.messageHandlers=c;return a}function Dyi(a,c){a.D.messageHandlersFilter=c;return a}D.getContext=function(){return this.D.context};
function Eyi(a){a.D.attributes=a.D.attributes||{};return new zyi(a.D.attributes)}D.x4=function(){return this.D.controller};function Fyi(){Ayi.apply(this,arguments)}H(Fyi,Ayi);var Gyi=rm([MXa]),Hyi=As(Gyi);function Iyi(a,c){var e=!1,f=Jyi(a,c).then(function(h){e=!0;return h}),g=DI(5E3).then(function(){return e?Jyi(a,c):Kyi(c).then(function(h){return Lyi(h,a)})});return mlh([f,g])}function Jyi(a,c){return Myi(c).then(function(e){return Lyi(e,a)})}function Lyi(a,c){var e=Vo(c,"gapi.")?c.slice(5):c;return a[e]?Qw(a[e]):new Nw(function(f,g){var h=wI(function(){g(Error("wR"))},3E4);a.load(c,{callback:function(){CI(h);f(a[e])},onerror:function(k){CI(h);g(k)}})})}
function Myi(a){return a.gapi&&a.gapi.load?Qw(a.gapi):Kyi(a)}function Kyi(a){return T6e(Hyi,{document:a.document}).then(function(){return a.gapi})}function Nyi(){this.ag=null}Nyi.prototype.load=function(a,c){c=c===void 0?window:c;var e=Date.now();return Iyi(a,c).then(function(f){var g=Date.now();return{ccc:f,kCb:e,dCb:g}},function(f){throw f instanceof Error?f:Error(String(f));})};function Oyi(){T.call(this);this.R=new Nyi;this.ag=this.F=null;this.D=Tw();this.H=Tw();this.H.promise.then(null,r());this.D.promise.then(null,r());this.O={}}H(Oyi,T);Oyi.prototype.sx=x("ag");function Pyi(a,c){var e=Cm(irg,c);return e?(a=Date.now(),Qw({ccc:e,kCb:a,dCb:a})):a.R.load(irg,c)}
function Qyi(a,c,e,f,g,h,k,l){k=k===void 0?!1:k;Pyi(a,Ls(c.ownerDocument)).then(function(p){var q=p.ccc;a.H.resolve(q);p=a.D;var u=p.resolve,w=k;w=w===void 0?!1:w;var y={};y[Asg]=e;a.O=y;var z=MF(f);z=MF(z);z=y8c(x8c(JF(new IF,z.F),z.ao()),z.H).toString();a.F=z;z=new Fyi;z.D.url=f;z.D.where=c;z.D.allowPost=w;w=Dyi(Cyi(z,y),Cm(pMg,q)([a.F]));g!=null&&Byi(w,g);h!=null&&w.fd(h);l!=null&&(w.D.rpctoken=l);Eyi(w).Fg({display:Rc,"min-width":Ca,width:Oba}).D.height=Ca;Eyi(w).value().allow="camera 'src' "+
a.F;q=q.getContext().openChild(w.value());u.call(p,q)},function(p){a.H.reject(p);a.D.reject(p)});return a.D.promise}function Ryi(a,c){return Sw([a.H.promise,a.D.promise]).then(function(e){var f=pm(e);e=f.next().value;return(f=f.next().value)?f.send("picker-message-handler",c,void 0,Cm(pMg,e)([a.F])):Rw(Error("xR"))})}Oyi.prototype.fb=function(){Syi(this);T.prototype.fb.call(this)};function Syi(a){a.D.promise.then(function(c){c&&(c.unregister(Asg),delete a.O[Asg])})};function Tyi(){this.D=0}function Uyi(a){return":"+(a.D++).toString(36)};function Vyi(a,c){switch(a.action){case "select-contacts":a=Wyi(a.contacts);break;case $l:a=a.visible;var e=new aGh;a=rR(e,1,7).Ka(a);e={};e[Ysg]=a.Hb();a=e;break;default:a=null}return a?Ryi(c,a):Qw()}
function Wyi(a){if(!a||a.length==0)return null;var c=new aGh;rR(c,1,11);var e=new Tyi;a.forEach(function(f){if(f.email){var g=(new PT).We(f.name?f.name:f.email);var h=new NFh;f=Uq(h,1,f.email);g=kq(g,NFh,27,f);f=g.fd;h=(new t3g).fd(Uyi(e));h=rR(h,2,12);g=f.call(g,h)}else g=null;g&&mq(c,7,PT,g,void 0)});a={};a[Ysg]=c.Hb();return a};function Xyi(a,c){Zxi.call(this,"set-drive-options");this.appId=a;this.appOrigin=c}Nm(Xyi,Zxi);function Yyi(a){Zxi.call(this,$l);this.visible=a}Nm(Yyi,Zxi);function Zyi(a,c,e){yU.call(this,a,c,e)}Nm(Zyi,yU);var $yi=rm(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),azi=rm(["//apis.google.com/js/rpc.js"]),bzi=As($yi),czi=As(azi);function dzi(a,c){if(!ezi(c)){c=c||Bs(document);var e=c.createElement(Pb);mxb(e,a);e.type=Qcb;c.hd().body.appendChild(e)}}function ezi(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc}var fzi=null;
function gzi(a,c){var e=c&&c.getWindow()||window;if(ezi(c))a();else if(fzi)fzi.push(a);else var f=fzi=[a],g=e.setInterval(function(){if(ezi(c)){e.clearInterval(g);for(var h=0;h<f.length;h++)f[h]();fzi=null}},100)};function hzi(a,c){uI.call(this);this.od=a;a=Qs(this.od)?this.od:this.od?this.od.body:null;this.J=!!a&&rt(a);this.D=qI(this.od,Ap?QYf:mNg,this,c)}Nm(hzi,uI);
hzi.prototype.handleEvent=function(a){var c=0,e=0,f=a.dg();f.type==mNg?(a=izi(-f.wheelDelta),f.wheelDeltaX!==void 0?(c=izi(-f.wheelDeltaX),e=izi(-f.wheelDeltaY)):e=a):(a=f.detail,a>100?a=3:a<-100&&(a=-3),f.axis!==void 0&&f.axis===f.HORIZONTAL_AXIS?c=a:e=a);typeof this.F===zj&&(c=Hr(c,-this.F,this.F));typeof this.H===zj&&(e=Hr(e,-this.H,this.H));this.J&&(c=-c);c=new jzi(a,f,c,e);this.dispatchEvent(c)};function izi(a){return Bp&&(Dp||jpb)&&a%40!=0?a:a/40}
hzi.prototype.fb=function(){hzi.Sc.fb.call(this);tI(this.D);this.D=null};function jzi(a,c,e,f){pI.call(this,c);this.type=mNg;this.detail=a;this.deltaX=e;this.deltaY=f}Nm(jzi,pI);function kzi(a,c){var e=new hzi(a);c.xa(e);var f={passive:!1};c.listen(e,mNg,function(g){return void lzi(a,g)},f).listen(a,Bk,function(g){return void lzi(a,g)},f)}function lzi(a,c){var e;a:{for(e=c.target;e;){if(e.nodeType==1){var f=hkh(e);if(f==Lc||f==Bk)break a}e=e.parentNode}e=null}if(!e||!Rs(a,e)||e.scrollHeight==e.clientHeight||c.deltaY>0&&Math.abs(e.scrollTop-(e.scrollHeight-e.clientHeight))<=1||c.deltaY<0&&e.scrollTop==0)c.preventDefault(),c.stopPropagation()};function mzi(a,c,e){c?(c=Math.max(320,Math.min(1051,c)),e||(e=Ks(a).height*.85),e=Math.max(480,Math.min(650,e))):(c=Ks(a),e=c.width*.618,e=e<c.height?Math.round(Math.max(480,Math.min(650,e*.85))):Math.round(Math.max(480,Math.min(650,c.height*.85))),c=Math.round(e/.618));a=Ks(a);c=Math.min(c,Math.max(a.width,320));e=Math.min(e,Math.max(a.height,480));return new Lr(c,e)}var nzi;var ozi=rm([Dsg]),pzi=rm([TYa]),qzi=rm([bma]);
function rzi(a,c,e,f,g,h,k,l,p){l=l===void 0?!1:l;p=p===void 0?!1:p;yU.call(this,void 0,void 0,void 0);yU.call(this,h?h+" picker modal-dialog":"picker modal-dialog",!0,e);Hw(a,"protocol");this.H=new Oyi;this.D=ts();this.F=ts();a=MF(a);LF(a,Bsg);e=LF(a,Kj);this.W=!p&&!0||(e==null?void 0:e.includes("onepick.corp.google.com"));l&&QR(a,"fv2",Dl);l=QR(new IF(a.toString()),"rpcService",this.D);QR(l,"rpctoken",this.F);A8c(l,"rpctoken="+this.F);JF(l,Nh);this.i2=l.toString();this.WS&&(this.WS.src=this.i2);
this.V=f;this.R=g;f!==void 0||g!==void 0?f=!0:(f=LF(MF(a.toString()),Bsg),nzi||(nzi=new Set(["DocVerse","fusiontables","geo","geowiki","gm","gmail-gadget","gws","hotpot","jointly",WOg,"pwa","sites",rRg,"trix","trix-copy-sheet","webstore"])),f=!nzi.has(f));this.ea=f;this.O=k||this.Ma();c&&(c=this.O,k=LF(MF(this.i2),"grugl")==Dl,dzi(k?czi:bzi,c));c=a.toString();k=null;a=c.indexOf("/picker?");a>-1?k=c.substring(0,a+8-1):Wo(c,"/picker")&&(k=c);k&&this.setRelayUrl(k+$Uf);this.s_=!1;BU(this,null);this.ag=
null}Nm(rzi,Zyi);D=rzi.prototype;D.i2="";D.WS=null;D.PYa=!1;D.ajb=!1;D.Kj=r();D.Wa=function(){rzi.Sc.Wa.call(this);kzi(this.UA(),this.bb())};D.render=function(a){var c=this;rzi.Sc.render.call(this,a);this.W?Pyi(this.H,window).then(function(){return szi(c)}).then(null,function(){c.Kj({action:ch})}):tzi(this)};
function szi(a){var c=a.Ma().Oa(Ze,["picker-dialog-content",BOg]);lt(c,!1);a.Pc().appendChild(c);return Qyi(a.H,c,function(e){var f=cGh(e[Ysg]);switch(Bq(f,1)){case 1:e=a.Kj;f=R(f,RT,2);var g="";switch(f.getStatus()){case 2:g=fd;break;case 1:g=AOg;break;case 3:g=ch}var h=f.Tl(Ip);f=h.length===0?{action:g}:gyi(h,g,R(f,$Fh,7));e.call(a,f);a.Ka(!1);break;case 4:AU(a,!1);a.Kj({action:q3a});break;case 7:case 8:e=a.Kj;a:{g=Bq(f,1);h=R(f,RT,2);switch(g){case 7:g="uploadScheduled";break;case 8:g="uploadStateChange";
break;default:f={};break a}f=h.Tl(Ip);if(f.length===0)f={action:g};else{var k=R(h,$Fh,7);h=k&&Aq(k,1);k=hyi(k);f=kyi(f,g,h,k)}}e.call(a,f)}},a.i2,void 0,a.D,!0,a.F).then(function(e){a.WS=e.getIframeEl();uzi(a);lt(a.WS.parentElement,!0);eJ(a.Ba(),"picker-dialog");vzi(a);return e})}
function tzi(a){a.WS=a.fe.Oa(mb,{id:a.D,name:a.D,"class":BOg,frameBorder:"0",allow:Iag});hs(a.WS,wzi(a));eJ(a.Ba(),"picker-dialog");a.Pc().appendChild(a.WS);a.bb().listen(a.WS,Pi,function(){return void uzi(a)});a.WS.src=a.i2;vzi(a)}function xzi(a){yzi(a,Km(function(c){c.setAuthToken(this.D,this.F)},a))}function vzi(a){var c=LF(MF(a.i2),tl);c&&a.setTitle(c)}function wzi(a){return ap(tb)>=7&&Vo(a.i2,Nh)?As(ozi):zp?As(pzi):As(qzi)}
function uzi(a){xzi(a);a.PYa=!0;Ts(a.WS,!0);a.isVisible()&&a.focus()}D.Zib=function(a){a.keyCode==27&&(this.Ka(!1),this.Kj({action:fd}),a.stopPropagation(),a.preventDefault())};function yzi(a,c){var e=a.O;gzi(function(){c(e.getWindow().gadgets.rpc)},e)}function zzi(a,c){a.Kj=c;yzi(a,Km(function(e){e.register(this.D,Km(this.Dsc,this))},a))}
D.Dsc=function(a){var c=a.action;c==q3a&&(this.ajb=!0,this.kC(new Yyi(this.isVisible())),Azi(this),AU(this,!1),this.bb().De(this.Ma().getWindow(),qi,this.Zib),Ts(this.WS,!0));c!=AOg&&c!=fd||this.Ka(!1);this.Kj(a)};function Azi(a){a.J&&a.kC(new Xyi(a.J,window.location.protocol+ya+window.location.host))}D.setRelayUrl=function(a){yzi(this,Km(function(c){c.setRelayUrl(this.D,a)},this))};
D.kC=function(a){var c=this;this.W&&Vyi(a,this.H).then(null,function(){c.Kj({action:ch})});yzi(this,Km(function(e){e.call(this.D,"picker",null,a)},this))};
D.mHb=function(){var a=this.Ma().hd(),c=Ls(a)||window;if(LF(MF(this.i2),"ignoreLimits")==Dl)a=new Lr(this.V,this.R);else if(LF(MF(this.i2),"shadeDialog")==Dl){a=GS(this.FI());var e=Ks(c);c=e.width-80;e=e.height-40;a&&(c-=a.left?a.left:0,c-=a.right?a.right:0,e-=a.top?a.top:0,e-=a.bottom?a.bottom:0);a=new Lr(c>0?c:0,e>0?e:0)}else a=mzi(c,this.V,this.R);ES(this.Pc(),a);this.wd()};
D.wd=function(){if(LF(MF(this.i2),"shadeDialog")==Dl){var a=it(this.Ba()),c=Ks(this.Ma().getWindow());a=Math.floor(c.width/2-a.width/2);if(c=GS(this.FI())){var e=c.left?c.left:0;e+=c.right?c.right:0;a=Math.floor(a-e/2)}a=a>0?a:0;c=izb(this.Ma()).y;ct(this.Ba(),a,c)}else rzi.Sc.wd.call(this)};
D.Ka=function(a){if(a!=this.isVisible()&&this.ea){var c=this.Ma().getWindow();a?(this.mHb(),this.bb().listen(c,rk,this.mHb),this.PYa||this.bb().listen(c,qi,this.Zib)):(this.bb().De(c,rk,this.mHb),this.PYa||this.bb().De(c,qi,this.Zib))}rzi.Sc.Ka.call(this,a);this.kC(new Yyi(a))};D.focus=function(){rzi.Sc.focus.call(this);if(this.WS&&this.PYa&&this.ajb)try{this.WS.focus()}catch(a){}};function Bzi(){eW.call(this,Zsg)}H(Bzi,eW);D=Bzi.prototype;D.Ac=function(a){this.D.type=a;return this};D.setSize=function(a){this.D.imgsz=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1605);D.kv=G(1614);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Czi(){eW.call(this,"maps")}H(Czi,eW);D=Czi.prototype;D.setZoom=function(a){this.D.zoom=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1604);D.kv=G(1613);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Dzi(){eW.call(this,Z6a)}H(Dzi,eW);D=Dzi.prototype;D.Ac=function(a){this.D.type=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1603);D.kv=G(1612);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Ezi(){eW.call(this,Rl)}H(Ezi,eW);D=Ezi.prototype;D.Ac=function(a){this.D.type=a;return this};D.pb=function(a){eW.prototype.pb.call(this,a);return this};D.Qs=G(1602);D.kv=G(1611);D.Dl=function(a){eW.prototype.Dl.call(this,a)};function Fzi(){eW.call(this,"video-search")}H(Fzi,eW);Fzi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};Fzi.prototype.Qs=G(1601);Fzi.prototype.kv=G(1610);Fzi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function Gzi(){eW.call(this,UTg)}H(Gzi,eW);Gzi.prototype.pb=function(a){eW.prototype.pb.call(this,a);return this};Gzi.prototype.Qs=G(1600);Gzi.prototype.kv=G(1609);Gzi.prototype.Dl=function(a){eW.prototype.Dl.call(this,a)};function Hzi(a){this.H=typeof a===Wk?new eW(a):a;this.D=[];this.F={}}function Izi(a){switch(a){case Zsg:return new Bzi;case "maps":return new Czi;case Z6a:return new Dzi;case Rl:return new Ezi;case "video-search":return new Fzi;case UTg:return new Gzi}return new eW(a)}Hzi.prototype.cA=function(a){this.D.push(typeof a===Wk?Izi(a):a);return this};function Jzi(a){return"("+gp(a.D,function(c){return c.toString()}).join(",")+")"}
function Kzi(a){a=Ejh(a.F,function(c){return c!==null});return(a=Sr(a)?null:a)?JSON.stringify(Or(a,function(c){return c.toString()})):""}Hzi.prototype.toString=function(){if(this.H){var a=["{root:",this.H.toString(),",items:",Jzi(this)],c=Kzi(this);c&&(a.push(",options:"),a.push(c));a.push("}");return a.join("")}return Jzi(this)};Hzi.prototype.getOptions=function(){return Ur(this.F)};Hzi.prototype.oia=G(1617);function Lzi(a){this.W=a||"https://docs.google.com/picker";this.Iab=new Hzi}D=Lzi.prototype;D.Iab=null;D.oPb=null;D.cA=function(a){this.Iab.cA(a);return this};D.Ma=x("oPb");function Mzi(a,c){a.Kj=c;return a}D.lS=function(a){this.oPb=new Cs(a);return this};function Nzi(a){Lzi.call(this,a)}Nm(Nzi,Lzi);function Ozi(a){oJ.call(this,a)}Nm(Ozi,oJ);Ozi.prototype.Oa=function(){var a=this.Ma(),c=a.Oa(Wa);this.Zb(c);var e=a.Oa(Wa,"picker-min-arrow-inner"),f=a.Oa(Wa,"picker-min-arrow-border");a.appendChild(c,e);a.appendChild(c,f)};function Pzi(a,c,e){a=a.Ba();$s(a,Hi,"");$s(a,vk,"");gJ(c,DOg);gJ(c,COg);e=b4g(c,e);e&1?(cJ(a,"picker-min-arrow-down"),eJ(c,COg)):(cJ(a,"picker-min-arrow-up"),eJ(c,DOg))}
Ozi.prototype.update=function(a,c,e){this.wc()&&(e||(e=new Xs(0,0,0,0)),Pzi(this,a,c),a=this.Ba(),c&4?$s(a,vk,-e.right+jk):$s(a,Hi,-e.left+jk))};function Qzi(a,c){yEh.call(this,a);Ts(a,!0);eK(a,Te);this.R=c||Bs();this.Op=!1;this.F=this.R.createElement(Nk);Ts(this.F,!0);this.F.style.position=kc;fK(this.F,Eh,!0);this.O=!1}Nm(Qzi,yEh);D=Qzi.prototype;D.bjb=null;D.Ma=x("R");D.pPb=function(){this.O=!1};D.Fsc=function(a){a.keyCode==9&&a.shiftKey&&a.target==this.Ba()&&(this.O=!0,this.focus(this.F),wI(this.pPb,0,this))};D.Esc=function(a){this.O?this.pPb():a.target==this.F&&wI(Km(this.focus,this,this.Ba()),0)};D.focus=function(a){try{a&&a.focus()}catch(c){}};
D.wd=function(){Qzi.Sc.wd.call(this);var a=this.hf();a&&a.wd(this.F,this.ma,this.UX||null)};var Rzi=rm([Dsg]),Szi=rm([TYa]),Tzi=rm([bma]);
function Uzi(a,c,e,f,g,h){var k=e||Bs(),l=k.Oa(Wa,"picker-iframe picker-min goog-menu"),p=LF(new IF(a),"minew")==Dl;p&&eJ(l,"picker-minew");eJ(l,EOg);k.appendChild(k.hd().body,l);Qzi.call(this,l,k);this.Op=p;this.isVisible()?uEh(this):this.g$b();this.fe=k;this.H=ts();this.V=ts();k=QR(QR(new IF(a),"rpctoken",this.V),"rpcService",this.H);JF(k,Nh);this.OFa=k.toString();this.mF&&hs(this.mF,S7e(this.OFa));this.Fa=f||350;this.Da=g||p?311:300;this.Ca=!!h;c&&(LF(MF(a),Bsg),c=this.Ma(),dzi(bzi,c));c=null;
f=a.indexOf("/picker?");f>-1?c=a.substring(0,f+8-1):Wo(a,"/picker")&&(c=a);c&&this.setRelayUrl(c+$Uf);sEh(this,!1);rEh(this,!1);this.J=new Ozi(e);this.xa(this.J);this.J.render(l)}Nm(Uzi,Qzi);D=Uzi.prototype;D.OFa="";D.mF=null;D.IZb=!1;D.sPb=!1;D.tPb=!1;D.Kj=r();
function Vzi(a){if(!a.mF){a.bb().listen(a.Ma().getWindow(),qi,a.rPb);a.mF=a.fe.Oa(mb,{id:a.H,name:a.H,"class":BOg,frameBorder:"0"});hs(a.mF,Wzi(a));a.Ba().appendChild(a.mF);eK(a.mF,Te);var c=LF(MF(a.OFa),tl);c&&hK(a.mF,c);eJ(a.Ba(),"picker-min-popup");ES(a.mF,a.Fa,a.Da);a.bb().listen(a.mF,Pi,function(){return void Xzi(a)});hs(a.mF,S7e(a.OFa))}}
D.wd=function(){if(this.mF){Uzi.Sc.wd.call(this);var a=this.hf(),c=this.ma;if(a instanceof cji){var e=this.J;a=a.element;var f=this.Ba();if(e.wc()){Pzi(e,f,c);e=e.Ba();var g=DS(a,f),h=okh(e).width;g=g.x+okh(a).width/2-h/2;g=Math.max(0,g);var k=okh(f).width;k-h&&(h=k-h,g>h&&(g=h,f.getBoundingClientRect().left+h/2>a.getBoundingClientRect().left&&(g=Math.min(g,h/2))));$s(e,Hi,g+jk)}}else this.J.update(this.Ba(),c,this.UX||null);b4g(this.Ba(),c)&1?cJ(this.mF,"picker-min-frame-down"):cJ(this.mF,"picker-min-frame-up")}};
function Wzi(a){return ap(tb)>=7&&Vo(a.OFa,Nh)?As(Rzi):zp?As(Szi):As(Tzi)}function Xzi(a){Yzi(a,Km(function(c){c.setAuthToken(this.H,this.V)},a));a.sPb=!0;a.bb().De(a.Ma().getWindow(),qi,a.rPb);Ts(a.mF,!0);a.isVisible()&&wI(Km(a.focus,a,a.mF),0)}D.rPb=function(a){a.keyCode==27&&(Zzi(this),a.stopPropagation(),a.preventDefault())};function Yzi(a,c){var e=a.Ma();gzi(function(){c(e.getWindow().gadgets.rpc)},e)}function $zi(a,c){a.Kj=c;Yzi(a,Km(function(e){e.register(this.H,Km(this.Gsc,this))},a))}
D.Gsc=function(a){switch(a.action){case "viewUpdated":case "viewChanged":this.wd();return;case "enableWhiteCallout":a=a.extraUserInputs;hJ(this.Ba(),EOg,a&&a.ewc);return;case q3a:this.tPb=!0;this.kC(new Yyi(this.isVisible()));aAi(this);break;case "blurred":this.Ba()!=mXg(this.Ma().hd())&&this.isVisible()&&(this.Ka(!1),this.Kj({action:fd}));return;case AOg:case fd:this.Ka(!1)}this.Kj(a)};function aAi(a){a.wa&&a.kC(new Xyi(a.wa,window.location.protocol+ya+window.location.host))}
D.setRelayUrl=function(a){Yzi(this,Km(function(c){c.setRelayUrl(this.H,a)},this))};D.kC=function(a){a.action==EPg?(this.mF&&!this.isVisible()&&(this.Ba().removeChild(this.mF),this.mF=null),Vzi(this)):Yzi(this,Km(function(c){c.call(this.H,"picker",null,a)},this))};
D.jB=function(){Uzi.Sc.jB.call(this);Lyb(this.F,this.Ba());this.bjb=new wU(this.Ma().hd());this.bb().listen(this.bjb,qh,this.Esc).listen(this.Ba(),qi,this.Fsc);Vzi(this);if(!this.Ca){var a=this.Ma().hd();this.bb().listen(a,ej,this.qPb,!0);if(zp){for(var c=mXg(a);c&&c.nodeName==mb;){var e=void 0;try{e=Zyb(c)}catch(u){break}a=e;c=mXg(a)}this.bb().listen(a,ej,this.qPb,!0)}}this.kC(new Yyi(!0));d4g(new Kr(0,0),this.Ba(),0,this.UX||null);this.wd();if(this.Op&&(a=this.hf(),a instanceof cji&&typeof this.Ba().getBoundingClientRect===
vh)){c=this.ma;var f=this.Ma().Eo().height,g=this.Ma().Eo().width;e=null;var h=a.FG,k=this.za?this.za.getBoundingClientRect():void 0,l=k?k.top:0;f=k?Math.min(k.bottom,f):f;g=k?Math.min(k.right,g):g;k=k?k.left:0;var p=a.element.getBoundingClientRect(),q=this.Ba().getBoundingClientRect();if(!(h&1)&&q.top<l||h&1&&q.bottom>f&&p.top>l+(q.bottom-q.top))h^=1,e=new cji(a.element,h),c^=1;if(h&4&&q.left<k||!(h&4)&&q.right>g&&p.right>k+(q.right-q.left))e=new cji(a.element,h^4),c^=4;e&&(AEh(this,e),zEh(this,
c),this.wd())}this.sPb?this.focus(this.mF):this.focus(this.Ba())};D.Au=function(a){Uzi.Sc.Au.call(this,a);Iw(this.bjb);Ps(this.F);this.kC(new Yyi(!1))};D.qPb=function(a){a=a.target;Rs(this.Ba(),a)||wEh(this,a)||this.RIa&&!Rs(this.RIa,a)||Date.now()-this.f$a<150||Zzi(this)};function Zzi(a){a.isVisible()&&(a.Ka(!1),a.Kj({action:fd}))}D.fb=function(){this.IZb?(Ps(this.Ba()),Uzi.Sc.fb.call(this)):wI(function(){this.IZb=!0;this.fb()},0,this)};function bAi(a,c){c=c===void 0?rzi:c;Lzi.call(this,a);this.V=c;this.D=new Map;cAi(this);(a=window.location