Browse help topics

Google apps
Main menu

"+k+"\n

"+h+"":k?"

"+k+"":h?"

"+h+"":""}else k=void 0;h=a.mf;if(a.Ua.Cr){var n=new dv;var p=(new $v).setTitle(a.Ua.getTitle());var r=a.Ua.getDescription();p=gh(p,2,r);p=gh(p,3,f);n=Vh(n,Pla,p)}else n= void 0;Zv(f,c,2,void 0,e,k,!0,h,n)}:function(){fw(a); Nla({md:"genieSkillEntryButtonId",entryPoint:1},{Vn:!0,sessionConfigId:a.o,Of:Uv(a.Ua),mf:a.mf})}; case 2:return function(){fw(a);Gf(b,mr,7,or)&&Nla({md:Mg(Xg(b,mr,7,or),3),entryPoint:1},{Vn:!0,sessionConfigId:a.o,Of:Uv(a.Ua),mf:a.mf})}; case 4:return function(){if(!Vg(b,9,or)){var c;(c=a.ma)==null||Nfa(c);fw(a)}}; default:return function(){fw(a)}}} function fw(a){Tv({action:35,Ua:a.Ua,viewType:a.we.Qd})} function ew(a){switch(a){case 1:a=Sla.get(A().hc);if(oo()){var b;return(b=a==null?void 0:a.concat("_dark"))!=null?b:void 0}return a;case 2:return"gm/arrow_forward";case 3:return"gm/chat_spark"}} function Vla(a){a.element("div","class","chat-button",new iq({text:"Chat to learn more",style:11,trigger:function(){Tv({action:22,Ua:a.Ua,actionId:"genieChatToLearnMore",viewType:a.we.Qd});Zv("",A().hc+"-genie_cta",1,"genieChatToLearnMore",Uv(a.Ua))}}))} ;function gw(a){var b=a.wl;a=a.policyData;E.call(this,"sc.discovery.genie.v2.Card");var c=this;this.o=new $q({borderRadius:"1rem",padding:"0.75rem 1rem",Yk:!1,backgroundColor:5,content:function(){Xla(c)}}); this.policyData=a;this.wl=b;this.watch(this.wl)} t(gw,E);gw.prototype.content=function(){this.element("div","class","root",this.o)}; function Xla(a){a.element("div","class","card-root",function(){Yla(a,a.policyData.Sc());a.element("div","class","content",function(){a.element("div","class","content-title",function(){var c=a.policyData.getTitle();c&&a.element("div","class","title",c);(c=Mg(a.policyData,5))&&a.element("div","class","sub-title",c)}); var b=a.element("div","class","content-items",function(){var c,e=((c=mg(a.policyData,wr,2))==null?void 0:pg(c,vr,1,Of()))||[];c=x(e);for(e=c.next();!e.done;e=c.next())e=e.value,e=e.getValue()?e.getKey()+": "+e.getValue():e.getValue(),a.element("div","class","content-item",e)}); Zla(a.wl,b.offsetHeight);a.wl.Cl!==0&&(b.style.height=a.wl.Cl+"px")}); a.element("div","class","context",function(){var b;(b=Ff(a.policyData,ur,4,!1))||(b=ur[hd])||(b=new ur,sd(b.Aa),b=ur[hd]=b);b&&a.element("div","class",{label:!0,review:b.getStatus()===1,closed:b.getStatus()===2},b.getText())})})} function Yla(a,b){a:{switch(b){case 4:b="gm/critical";break;case 5:b="gm/appeal_review";break;case 6:b="gm/appeal_closed";break;default:b="";break a}b=oo()?b+"_dark":b}b&&a.element("div","class","icon",new eq({icon:b,size:44}))} ;function $la(a){a=a.Cl;$p.call(this);this.Cl=a} t($la,$p);function Zla(a,b){var c=a.Cl!==0&&a.Clc?a.experienceType===2?"collapsed":"none":"expanded"}break;default:b="none"}tw(a,b)}else tw(a,"none")} function ow(a){return a.Bt||A().env==="TEST"} function qma(a){return ow(a)&&!!a.oa&&a.oa.length>1} function rma(a){var b;return(b=a.oa)!=null?b:[]} function sma(a,b){if(Mg(b,2)){var c;a.o=(c=a.genieData)==null?void 0:c.find(function(e){var f;return((f=zr(e))==null?void 0:Mg(f,2))===Mg(b,2)}); a.Fa(3)}} function tw(a,b){b!==a.Qd&&(a.ya=a.Qd,a.Qd=b,a.Fa(2))} function kma(a,b,c){switch(a.experienceType){case 2:if(a.externalCid===void 0&&a.issueType===8)throw new lw("No external cid found");var e;var f=new rs;f=bg(f,4,Ve,a.externalCid===void 0?"":String(a.externalCid),void 0,Xe);f=$f(f,7,De(a.extCidCount),"0");c=bg(f,6,Ve,c,void 0,Xe);c=jh(c,3,a.experienceType);c=jh(c,2,a.issueType);f=(e=a.La)!=null?e:[];e=wg(c,8,rr,f);b!==void 0&&bg(e,1,Ve,String(b),void 0,Xe);b=us(ts(new ss,Fr()),3);b=qg(b,rs,4,e);a=uga(a.symptom,a.zx);return qg(b,Qq,5,a);case 1:if(a.externalCid=== void 0)throw new lw("No external cid found");if(!a.article.getContent())throw new lw("No article content found");e=new rs;e=bg(e,4,Ve,String(a.externalCid),void 0,Xe);e=$f(e,7,De(a.extCidCount),"0");e=jh(e,3,a.experienceType);b!==void 0&&bg(e,1,Ve,String(b),void 0,Xe);b=new ss;c=Fr();a=(new hr).setContent([a.article.getTitle(),Fg(a.article,5),a.article.getContent()].join("\n"));a=qg(c,hr,5,a);a=us(ts(b,a),3);a=qg(a,rs,4,e);b=uga();return qg(a,Qq,5,b);default:throw new lw("Unsupported experience type"); }} function pw(a,b){b!==0&&(a.ma=b,a.Fa(0),sw(a))} function gma(a,b){if(nma())return-1;var c,e,f;return(f=(c=a.qa)==null?void 0:(e=c.find(function(h){return h.cid===b}))==null?void 0:e.bC)!=null?f:void 0} function ema(a,b){var c,e,f;return(f=(c=a.qa)==null?void 0:(e=c.find(function(h){return h.bC===b}))==null?void 0:e.cid)!=null?f:void 0} function hma(a){var b;return(b=qw(a,210,"ExtCidCount"))!=null?b:0} function ima(a){var b=[];b.push.apply(b,Fa(a.qa.map(function(c){var e=new rr;e=gh(e,1,String(c.cid));return gh(e,2,String(c.bC))}))); return b} function mma(a){return a.filter(function(b){return Ef(b,rr,6)}).map(function(b){return zr(b)})} function qw(a,b,c){var e;return(e=nw(a,b,c))==null?void 0:Jg(Em(e)[0],3)} function oma(a,b,c){var e;return(e=nw(a,b,c))==null?void 0:$g(Em(e)[0],1)} function nw(a,b,c){return pg(a.customerContext,Dm,5,Of()).find(function(e){return Ng(e,1,0)===b&&Mg(e,2)===c})} function lma(a){var b=a.experienceType;var c=a.issueType;var e=a.sessionId;var f=a.customerId;var h=a.externalCid;var k=a.viewType;var n=a.isError;a=a.errorMessage;return n?b===1?JSON.stringify({experienceType:b,errorMessage:a,sessionId:e}):JSON.stringify({experienceType:b,issueType:c,errorMessage:a,sessionId:e}):b===1?JSON.stringify({experienceType:b,sessionId:e,customerId:f,externalCid:h,viewType:k}):JSON.stringify({experienceType:b,issueType:c,sessionId:e,customerId:f,externalCid:h,viewType:k})} function nma(){var a=A();return a.env!=="PROD"&&a.hc==="support_content_dev"&&a.pid==="10693991"} function pma(a,b){if(!b)return"";var c,e=a.Ma;a=a.Qa.Vc(b);return(c=e.parseFromString(on(a),"text/html").body.textContent)!=null?c:""} ;function uw(a){a=a.Ua;var b,c=vv(rv(qv(pv(new ov,A().lang),(b=A().support_journey_id)!=null?b:""),A().visit_id),A().mendel_ids),e;cv.call(this,c,c,{authUser:A().au,isDarkMode:A().dark,xk:(e=A().genie_iframe_origin)!=null?e:"https://support.google.com",fS:!0,ui:function(h){switch(h.action){case "thumbUp":Tv({action:10,Ua:f.Ua});break;case "thumbDown":Tv({action:11,Ua:f.Ua});break;case "feedbackInitialized":f.oa.complete()}}}); var f=this;this.ya=this.zr.bind(this);this.Ba=this.onError.bind(this);this.oa=new cma({timeout:3E3,zr:this.ya,onError:this.Ba});this.ma="embedOptions";this.qa="genieUiMessageChannel";this.Ua=a} t(uw,cv);l=uw.prototype;l.Vv=function(a){var b=this;return Ya(function(c){b.oa.reset();b.oa.load();Kq(20,"wizFeedbackButton",262);rw(b.Ua,1);b.ua.promise.then(function(){Kq(47,"wizFeedbackButton",262)}); return c.return(cv.prototype.Vv.call(b,a))})}; l.BC=function(){return"embed/genie"}; l.Fz=function(a){cv.prototype.Fz.call(this,a);a.style.height="3rem";a.style.visibility="hidden"}; l.zr=function(){Kq(15,"wizFeedbackButton",262);rw(this.Ua,2);this.o&&(this.o.style.visibility="visible")}; l.onError=function(){Kq(21,"wizFeedbackButton",262);rw(this.Ua,3)};function vw(a){a=a.Ua;E.call(this,"sc.discovery.genie.FeedbackButton");var b=this;this.va=new iq;this.ua=new iq;this.ya=Vp();this.o=this.ma=!1;this.Ua=a;this.Ua.onChange(1,function(){b.Ua.ua===3&&b.Ja()}); this.Ba=new uw({Ua:a})} t(vw,E);vw.prototype.content=function(){var a=this;this.element("div","class",{root:!0,"boq-wiz":ww(this),rce:!ww(this)},function(){if(ww(a)){var b=a.nj("div",a.ya,"class","boq-wiz-container","");a.oa!==b&&(a.oa=b,a.Ba.initialize(a.oa))}else tma(a)})}; function tma(a){a.element("span","class","label","aria-live","polite",a.eh());a.element("div","class","buttons",function(){a.va.render({icon:"gm/thumb_up_alt",hj:20,Mb:a.ma?0:"color-label",trigger:function(){a.ma=!a.ma;a.o=!1;a.Ja();Tv({action:10,Ua:a.Ua})}, ariaLabel:"Helpful",xd:"button"});a.ua.render({icon:"gm/thumb_down_alt",hj:20,Mb:a.o?0:"color-label",trigger:function(){a.o=!a.o;a.ma=!1;a.Ja();Tv({action:11,Ua:a.Ua})}, ariaLabel:"Unhelpful",xd:"button"})})} vw.prototype.eh=function(){return this.o?"Thanks for your feedback!":this.ma?"Thanks for your feedback! \ud83c\udf89":"Helpful?"}; function ww(a){return a.Ua.zt&&a.Ua.ua!==3} ;function xw(a){var b=a.accounts;var c=a.Nm;var e=a.YD;a=a.onOpen;E.call(this,"sc.discovery.genie.v2.Identifier.CidSelector");var f=this;this.accounts=b;this.Nm=c;this.YD=e;this.onOpen=a;b=this.di();var h;this.menu=new Ds({items:b,xv:(h=b.find(function(k){return k.dg===Mg(f.Nm,2)}))==null?void 0:h.value, Xs:!1,width:360,maxHeight:"16rem",lc:3,mc:4,onClose:function(){f.o.Gz("gm/arrow_drop_down")}}); this.o=new iq({text:uma(this),icon:"gm/google_ads_logo",xp:"gm/arrow_drop_down",trigger:function(){return void f.open()}, padding:"0.25rem 0.75rem"})} t(xw,E);xw.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","trigger",a.o);a.menu.render()})}; xw.prototype.di=function(){var a=this;return[{value:"Accounts with a similar issue:",trigger:function(){}, disabled:!0}].concat(Fa(this.accounts.map(function(b){var c=Mg(b,2)===Mg(a.Nm,2),e=Mla(Mg(b,2)),f=Mg(b,3).trim(),h=!f;return{value:function(){return a.element("div","class",{"customer-info":!0,"customer-selected":c},function(){a.element("div","class",{check:!0,"check-hidden":!c},new eq({icon:oo()?"gm/check_white":"gm/check_blue",size:24}));a.element("div","class",{"account-name":!0,"account-name-empty":h},h?"Unnamed account":f);a.element("div","class","ext-cid",e)})}, trigger:function(){a.Nm=b;a.YD(b);a.menu.close()}, dg:Mg(b,2)}})))}; function uma(a){var b=Mg(a.Nm,3).trim(),c=Mg(a.Nm,2);return Xv(""+(b?Mg(a.Nm,3):"Account")+" "+Mla(c))} xw.prototype.open=function(){this.menu.open({anchor:this.o.getElement(),Nb:!1,Ge:12});this.o.Gz("gm/arrow_drop_up");this.onOpen()};var vma=new Map([["adwords_policy_center","gm/google_ads_logo"],["adwords3","gm/google_ads_logo"]]);function yw(a){var b=a.identifierData;a=a.Ua;E.call(this,"sc.discovery.genie.v2.Identifier");this.identifierData=b;this.Ua=a} t(yw,E);yw.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","chips",function(){a.Ua.issueType===2&&qma(a.Ua)&&a.element("div","class","cid-selector",new xw({accounts:rma(a.Ua),Nm:zr(a.Ua.o),YD:function(f){sma(a.Ua,f)}, onOpen:function(){var f,h=a.Ua.experienceType,k=a.Ua.issueType,n,p,r,u;var w=(u=(n=a.Ua.o)==null?void 0:(p=mg(n,pr,4))==null?void 0:(r=pg(p,nr,1,Of())[0])==null?void 0:r.getId())!=null?u:"";Lla(30,{experienceType:h,issueType:k,actionId:w,sessionId:Uv(a.Ua),customerId:Vv(a.Ua),externalCid:Wv(a.Ua),viewType:a.Ua.Qd,genieDataCount:(f=a.Ua.genieData)==null?void 0:f.length})}})); var b=pg(a.identifierData,sr,4,Of())||[];b=x(b);for(var c=b.next(),e={};!c.done;e={pB:void 0,IK:void 0},c=b.next())c=c.value,e.pB=wma(c.Sc()),e.IK=Xv(c.getLabel()),a.element("div","class","chip",function(f){return function(){f.pB&&a.element("div","class","chip-icon",new eq({icon:f.pB,size:16}));a.element("div","class","chip-label",f.IK)}}(e))}); a.element("div","class","title","role","heading","aria-level","2",a.identifierData.getTitle())})}; function wma(a){switch(a){case 1:return vma.get(A().hc);case 2:return oo()?"gm/timer":"gm/timer_primary";case 3:return oo()?"gm/information_spark_primary_dark":"gm/information_spark_primary"}} ;function zw(a){a=a.Ua;E.call(this,"sc.discovery.genie.v2.ExpandedView");this.Ua=a;this.genieData=a.o;var b,c;this.isGenai=(c=(b=a.metadata)==null?void 0:Hg(b,2))!=null?c:!1;this.Lq=a.Lq} t(zw,E); zw.prototype.content=function(){var a=this;this.element("div","class","root",function(){if(Ef(a.genieData,tr,1)){var b;a.element("div","class","identifier",new yw({identifierData:(b=mg(a.genieData,tr,1))!=null?b:new tr,Ua:a.Ua}))}if(Ef(a.genieData,qr,2)){var c;a.element("div","class","content",new iw({contentData:(c=mg(a.genieData,qr,2))!=null?c:new qr}))}pg(a.genieData,xr,5,Of()).length>0&&a.element("div","class","card-list",new hw({zE:[].concat(Fa(og(a.genieData,xr,5)))}));Ef(a.genieData,pr,4)&& (b=new Rv({actionData:mg(a.genieData,pr,4),actionType:0,Qd:"expanded"}),a.element("div","class","action",new dw({we:b,Ua:a.Ua})));xma(a)})}; function xma(a){a.element("div","class","footer",function(){a.Lq||a.element("div","class",{feedback:!0,"align-with-action":!a.isGenai},new vw({Ua:a.Ua}));a.isGenai&&a.element("div","class","disclaimer",new kw)})} ;function Aw(a){this.Aa=wf(a)} t(Aw,Sh);function Bw(a,b){return Yf(a,3,b,se)} ;Aw.prototype.Ca=kk([0,Nj,-3]);function yma(a){if(!(a&&a instanceof Sh))throw Error("Value is not proto message.");return Ic(a.serialize(),2)} ;function zma(a,b,c,e){if(a){var f="";c&&c.length&&(f="; track:"+c.join(",").trim());c="";e&&e.length&&(c="; "+e.join("; ").trim());a.setAttribute("jslog",b+f+c);a.LSWHIf=void 0}} ;var Cw={ARROW_KEYS:{string:"arrow_keys",Wd:"Wxn7ub"},AUTOMATED:{string:"automated",Wd:"wjpLYc"},CLICK:{string:"click",Wd:"cOuCgd"},DRAGEND:{string:"dragend",Wd:"RlD3W"},DROP:{string:"drop",Wd:"DaY83b"},GENERIC_CLICK:{string:"generic_click",Wd:"szJgjc"},HOVER:{string:"hover",Wd:"ZmdkE"},IMPRESSION:{string:"impression",Wd:"xr6bB"},KEYBOARD_ENTER:{string:"keyboard_enter",Wd:"SYhH9d"},KEYPRESS:{string:"keypress",Wd:"Kr2w4b"},LONG_PRESS:{string:"long_press",Wd:"tfSNVb"},MOUSEOVER:{string:"mouseover",Wd:"FrfE3b"}, RIGHT_CLICK:{string:"rightclick",Wd:"CYQmze"},SCROLL:{string:"scroll",Wd:"XuHpsb"},SWIPE:{string:"swipe",Wd:"eteedb"},VIS:{string:"vis",Wd:"HkgBsf"}};function Ama(a){if(Bma.has(a))return Bma.get(a);throw Error("Unrecognized EventLabel "+a+".");} function Cma(a){for(var b=new Map,c=x(Object.keys(a)),e=c.next();!e.done;e=c.next())e=e.value,b.set(a[e].string,a[e].Wd);return b} for(var Bma=Cma(Cw),Dw=new Map,Dma=x(Object.keys(Cw)),Ew=Dma.next();!Ew.done;Ew=Dma.next()){var Ema=Ew.value;Dw.set(Cw[Ema].Wd,Cw[Ema].string)}var Fma=Cma({TRACK:{string:"track",Wd:"u014N"},INDEX:{string:"index",Wd:"cQYSPc"},MUTABLE:{string:"mutable",Wd:"dYFj7e"},COMPONENT_ID:{string:"cid",Wd:"cOuyq"},TEST_CODE:{string:"tc",Wd:"DM6Eze"}});function Fw(a,b){this.ya=a;this.o=null;this.qa=[];this.ma=void 0;this.va=this.ua=!1;this.oH=null;this.oa=[];this.Tv=b||!1;this.Lv=new Set} l=Fw.prototype;l.getID=function(){return this.ya}; function Gw(a,b){return b?a.Lv.has(a.Nu(b)):a.Lv.size!=0} l.getIndex=function(){return this.o}; l.Rq=function(){return this.ua}; l.setAttribute=function(a){this.oH=a;return this}; l.getAttribute=function(){return this.oH}; function Gma(a,b){a.oa.push(b)} function Hw(a,b){for(var c=0;c=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; l.distance=function(a){var b=a.x=a.o.length)throw Error("Out of bounds exception");return a.o.length<50?b:(a.ma+Number(b))%50} ;function qx(a){this.Aa=wf(a)} t(qx,Sh);var lna=[0,Zj,ak,Rj,y];qx.prototype.Ca=kk(lna);var mna=[0,ck,[0,Bj,Mj,-2],[0,Bj]];var nna=[0,Uj,-1,Nj,Gj,-1];var ona=[0,Mj,y,-1];function rx(a){this.Aa=wf(a)} t(rx,Sh);l=rx.prototype;l.getKey=function(){return Mg(this,1)}; l.setKey=function(a){return gh(this,1,a)}; l.getValue=function(){return Mg(this,2)}; l.setValue=function(a){return gh(this,2,a)}; l.Wb=function(){return lh(this,2)};var pna=[0,y,-1];rx.prototype.Ca=kk(pna);var qna=[0,ck,-1];function sx(a){this.Aa=wf(a)} t(sx,Sh);function tx(a){this.Aa=wf(a)} t(tx,Sh);function ux(a){this.Aa=wf(a,4)} t(ux,Sh);function vx(a){this.Aa=wf(a,36)} t(vx,Sh);vx.prototype.getTag=function(){return Mg(this,2)}; vx.prototype.setTag=function(a){return gh(this,2,a)}; vx.prototype.Kg=function(a){return sg(this,3,a)}; vx.prototype.setValue=function(a,b){return Mf(this,3,rx,a,b)}; function wx(a,b){return gh(a,8,b)} function xx(a,b){gh(a,24,b)} ;var rna=[0,Vj,[0,fk,hl,fk,-1,[0,ck],fk],nba];var sna=[0,12,Mj,10,Rj];sx.prototype.Ca=kk(sna);var tna=[0,1,sna];tx.prototype.Ca=kk(tna);var yx=[-4,{},tna,ck,rna];ux.prototype.Ca=kk(yx);var una=[-36,{},Cj,y,Xj,pna,Zj,1,Zj,nna,y,ona,Rj,Mj,Dj,y,-1,qba,lna,Cj,Zj,ck,Nj,Dj,-1,qna,y,Rj,y,Oj,y,-1,zj,1,zj,yx,Rj,mna];vx.prototype.Ca=kk(una);function zx(a,b,c,e,f){this.o=f=f===void 0?vna:f;this.ya=a===void 0?!0:a;this.ma=c===void 0?!1:c;this.Ba=b===void 0?!1:b;this.qa=e===void 0?!1:e;this.Ea=new jna} t(zx,Uw);zx.prototype.oa=function(a,b){for(var c=[],e=[],f=0;f=10&&b.height>=10?!0:!1} function wna(a,b,c){for(var e=[],f={},h=b.length-1;h>=0;f={Xe:void 0,Bl:void 0,Qz:void 0},h--){f.Bl=new cx;f.Qz=[];f.Xe=Vw();qg(f.Bl,Iw,1,f.Xe);var k=new Yw;qg(k,Iw,1,f.Xe);qg(f.Bl,Yw,9,k);if(k=xu(window.location.href,"ved"))k=bx(new ax,k),qg(f.Bl,ax,4,k);b[h].forEach(function(n){return function(p,r){r.Xe=n.Xe;r.qa=n.Xe;var u=Dx(this,r);p.length&&Ow(u,p);p=r.getElement();Bx(p,c)?(r.oa=!1,r.hidden=!1):u.Ap(1);this.qa&&Gw(r.getTag(),"hover")&&r.o!==void 0&&(p.setAttribute("data-hveid",Number(r.o)), pg(n.Bl,Nw,2,Of()).length===0&&fx(r)&&(p.setAttribute("decode-data-ved","1"),p.setAttribute("data-ved",fx(r)+"")));this.setTimestamp(u);tg(n.Bl,2,Nw,u);n.Qz=n.Qz.concat(r.getTag().qa)}}(f),a); a.o("Impression Event",f.Bl);k=new vx;xx(k,f.Bl.serialize());Yf(k,20,f.Qz,se);e.push(k)}return e} function xna(a,b,c){for(var e=[],f=new Map,h=b.length-1;h>=0;h--){var k=b[h],n=k.keys().next().value.qa,p=f.get(n)||[];p.push(k);f.set(n,p)}f.forEach(function(r,u){var w=0,z=[],la=new cx,ma=[],sa=Vw();qg(la,Iw,1,sa);qg(la,Iw,3,u);var Aa=new Yw;qg(Aa,Iw,1,u);qg(la,Yw,9,Aa);for(Aa=0;Aa=0;f--)for(var h=b[f],k=h.keys(),n=k.next().value,p=h.get(n),r={},u=0;uarguments.length&&h.args.push(new a.bU);k&&(k=Fx,!a.kF||Jx==0||a.measure&&Jx!=1||(k=(k+1)%2),Cna[k].push(h));return Ina(a.window)}} function Jna(a,b){var c={};Jx=1;for(var e=0;e0&&b>1&&(a=b-Ix,a<500&&(Ana++,a>100&&Dna++,Ena1?b:0} function Ina(a){if(!Gx.has(a)){Gx.size||(Hx=new bv);Gx.add(a);var b=Hx.resolve;a.requestAnimationFrame(function(c){Gx.clear();var e=Cna[Fx];Fx=(Fx+1)%2;try{Jna(e,c)}finally{Jx=0,e.length=0}b()})}return Hx.promise} ;function Kna(a,b){this.o=a;this.cA=b===void 0?!1:b} function Lna(a,b){return Mna(a,b).filter(function(c){return Kx(this.o,c)!=null},a)} function Nna(a,b){var c=a.o;a=[];for(var e=void 0,f={},h=0;h0;){var e=c.shift();e.getAttribute("jslog")&&a.push(e);e.shadowRoot&&c.unshift.apply(c,e.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a} var ex=0;function Pna(a,b){this.qa=a;this.o=b||!1;this.ma=void 0} function Kx(a,b){var c=b.LSWHIf||null;if(c&&(c.getTag().ma||a.ma)&&c.getTag().ma!=a.ma)return null;var e;!(e=c&&c.getTag().Rq&&!c.getTag().Rq())&&(e=c&&c.getTag().Rq&&c.getTag().Rq())&&(e=b.getAttribute("jslog"),e=!(!e||Jb(e)||e!=c.getTag().getAttribute()));if(e)return c;e=b.getAttribute("jslog");if(!e)return null;e=Qna(a,e);if(!e||(e.ma||a.ma)&&e.ma!=a.ma)return null;a=new dx(b,e);c&&c.getTag().va&&c.ua&&(a.ua=!0);if(c=a.getElement().getAttribute("data-ved")){a.ma=c;if(!c||c.charAt(0)!="0"&&c.charAt(0)!= "2")var f=null;else{c=c.substring(1);try{var h=$ma(c);f=mg(h,Iw,13)}catch(k){f=null}}f&&(a.Xe=f,a.qa=f)}return b.LSWHIf=a} function Qna(a,b){if(Jb(b))return null;var c=b.split(";"),e=Number(c[0].trim());if(isNaN(e))return null;e=a.qa.AB(e);for(var f=1;f0&&h.length;)n.push(h.shift()),k--;h.length&&n.push(h.join(":"));h=n;if(h.length<2)return null;k=h[0].trim();h=h[1].trim();if(Jb(k)||Jb(h))return null;switch(k){case Lx(a,"track"):k=h.split(",");for(h=0;h=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")} ;function Rx(a){qu.call(this);this.ma=a||Zo();if(this.qa=this.kQ())this.oa=ku(this.ma.getDocument(),this.qa,qb(this.oM,this))} wb(Rx,qu);l=Rx.prototype;l.kQ=Qx(function(){var a=this.isSupported(),b=this.zC()!="hidden";if(a){var c;b?c=(((Ac?"Webkit":zc?"Moz":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a}); l.zC=Qx(function(){return Tna("hidden",this.ma.getDocument())}); l.sQ=Qx(function(){return Tna("visibilityState",this.ma.getDocument())}); l.isSupported=function(){return!!this.zC()}; l.isHidden=function(){return!!this.ma.getDocument()[this.zC()]}; l.oM=function(){var a=this.isSupported()?this.ma.getDocument()[this.sQ()]:null;a=new Una(this.isHidden(),a);this.dispatchEvent(a)}; l.Ke=function(){ou(this.oa);Rx.Ph.Ke.call(this)};function Sx(a,b,c,e,f,h,k){var n=e===void 0?{}:e;var p=n.Zp===void 0?void 0:n.Zp;e=n.dI===void 0?!1:n.dI;n=n.cA===void 0?!1:n.cA;Ox.call(this);var r=this;this.Ra=a;this.transport=c;this.Ma=this.o=this.Hc=this.Rb=void 0;this.Qa=[];this.ob=[];this.Ha=e;this.ya=b||new gx;this.Ea=new Pna(this.ya,this.Ha);this.mb={click:3};this.Xa={click:this.Nu("generic_click")};this.La=new Rx;this.Oc=(new Gna(this)).measure(p?function(){return p().then(r.bJ.bind(r))}:this.bJ).kF().build(); this.rb=new Mx(this.Oc,500,this);this.Pa=k||new Kna(this.Ea,n);this.Ra instanceof Uw&&(this.oa=this.Ra);this.ua=f;this.Db=h} t(Sx,Ox);function Tx(a,b,c){a.mb[b]=c;a.Xa[b]=a.Nu(b)} function Xna(a,b,c){var e=a.mb[b];if(e&&(b=Yna(a,b,c)))if(a.oa)for(e=a.oa.ua(b,new Xma(e)),b=0;b=10&&k.height>=10?!0:!1;k&&(h=Kx(this.Ea,h))&&Gw(h.getTag(),"impression")&&c.push(h)}for(b=0;b "}); c+=b.length?"END]":"EMPTY]"} function eoa(a){if(a.Db){var b=a.o;a=a.Db();b=bp(a||b.o.defaultView||window)}else b=bp(a.o.o.defaultView||window);return b} l.Ta=function(){if(this.o){var a=this.o.getDocument();this.unlisten(a,"scroll",this.Og,!0);this.unlisten(a,"resize",this.Og,!0);this.unlisten(a,"load",this.Og,!1);this.unlisten(a,"DOMContentLoaded",this.Og,!1)}this.unlisten(this.La,"visibilitychange",this.Og,!1);this.rb.dispose()};function foa(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(e!=-1){var f=b.substring(e+1);b=b.substring(0,e);if(c==="http"&&f!=="80"||c==="https"&&f!=="443")a=":"+f}return c+"://"+b+a} ;function goa(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;u=r=0} function b(w){for(var z=k,la=0;la<64;la+=4)z[la/4]=w[la]<<24|w[la+1]<<16|w[la+2]<<8|w[la+3];for(la=16;la<80;la++)w=z[la-3]^z[la-8]^z[la-14]^z[la-16],z[la]=(w<<1|w>>>31)&4294967295;w=f[0];var ma=f[1],sa=f[2],Aa=f[3],Ca=f[4];for(la=0;la<80;la++){if(la<40)if(la<20){var Ga=Aa^ma&(sa^Aa);var Na=1518500249}else Ga=ma^sa^Aa,Na=1859775393;else la<60?(Ga=ma&sa|Aa&(ma|sa),Na=2400959708):(Ga=ma^sa^Aa,Na=3395469782);Ga=((w<<5|w>>>27)&4294967295)+Ga+Ca+Na+z[la]&4294967295;Ca=Aa;Aa=sa;sa=(ma<<30|ma>>>2)&4294967295; ma=w;w=Ga}f[0]=f[0]+w&4294967295;f[1]=f[1]+ma&4294967295;f[2]=f[2]+sa&4294967295;f[3]=f[3]+Aa&4294967295;f[4]=f[4]+Ca&4294967295} function c(w,z){if(typeof w==="string"){w=unescape(encodeURIComponent(w));for(var la=[],ma=0,sa=w.length;ma=56;la--)h[la]=z&255,z>>>=8;b(h);for(la=z=0;la<5;la++)for(var ma=24;ma>=0;ma-=8)w[z++]=f[la]>>ma&255;return w} for(var f=[],h=[],k=[],n=[128],p=1;p<64;++p)n[p]=0;var r,u;a();return{reset:a,update:c,digest:e,digestString:function(){for(var w=e(),z="",la=0;la=0;b--)this.remove(a[b])}; function Vx(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],e,f,h=0;h0&&(this.o.splice(0,b),this.oa+=b);this.o.push(a);this.ut||this.ma.enabled||this.ma.start()}}; l.flush=function(a,b){var c=this;if(this.o.length===0)a&&a();else{var e=Date.now();if(this.Db>e&&this.mb0&&(c.mb=Date.now(),c.Db=c.mb+sa);z=ny.ctor?ny.o(z,ny.ctor,ny.fieldIndex,!0):ny.o(z,ny.fieldIndex,null,!0);if(z=z===null?void 0:z)z=Ig(z,1,-1),z!==-1&&(c.ua=new ky(z<1?1:z),c.ma.setInterval(c.ua.getValue()))}}a&& a();c.Ea=0},r=function(w,z){var la=pg(f,vx,3,Of()); var ma=Zg(f,14),sa=c.ua;sa.o=Math.min(3E5,sa.o*2);sa.ma=Math.min(3E5,sa.o+Math.round(.1*(Math.random()-.5)*2*sa.o));c.ma.setInterval(c.ua.getValue());w===401&&h&&(c.rb=h);ma&&(c.oa+=ma);z===void 0&&(z=500<=w&&w<600||w===401||w===0);z&&(c.o=la.concat(c.o),c.ut||c.ma.enabled||c.ma.start());b&&b("net-send-failed",w);++c.Ea},u=function(){c.network&&c.network.send(n,p,r)}; k?k.then(function(w){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=w;n.VO=2;u()},function(){u()}):u()}}}}; function gpa(a,b,c){c=c===void 0?a.Ml():c;var e={},f=new URL(fpa(a));c&&(e.Authorization=c);a.Om&&(e["X-Goog-AuthUser"]=a.Om,f.searchParams.set("authuser",a.Om));a.pageId&&(Object.defineProperty(e,"X-Goog-PageId",{value:a.pageId}),f.searchParams.set("pageId",a.pageId));e&&a.ya&&JSON.stringify(e);return{url:f.toString(),body:b,VO:1,requestHeaders:e,requestType:"POST",withCredentials:a.withCredentials,Vz:a.Vz}} l.jC=function(){this.ya||(Uoa(this.qa,!0),this.Ia&&(hy(this.qa,3),hpa(this)),this.Ha&&(hy(this.qa,2),ipa(this)),this.flush(),Uoa(this.qa,!1))}; function hpa(a){jpa(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var e=!1;try{e=window.navigator.sendBeacon(b.toString(),c.serialize())}catch(f){}e||(a.Ma=!1);return e})} function ipa(a){jpa(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");b.searchParams.set("p",Ic(c.serialize(),3));c=b.toString();if(c.length>15360)return!1;(new Image).src=c;return!0})} function jpa(a,b,c,e){if(a.o.length!==0){var f=new URL(fpa(a));f.searchParams.delete("format");var h=a.Ml();h&&f.searchParams.set("auth",h);f.searchParams.set("authuser",a.Om||"0");for(h=0;h>>0);a={requestId:c,apiUrl:tpa(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){}, eE:b.eE||function(){}, lS:b.lS||function(){}, nS:b.nS||function(){}, lB:b.lB,SP:b.pageType,responseMustMatchPageType:b.responseMustMatchPageType};b.injectInto&&(b.injectInto.nodeName=="IFRAME"?(a.window=b.injectInto.contentWindow,a.injectInto=a.window.document.body):(a.window=window,a.injectInto=b.injectInto));return a} function tpa(a,b,c){var e=upa(a)+"/apis/render?",f=a.Ba,h=a.Qa,k=b.helpcenter,n=b.originHelpcenter,p=a.Ea,r=a.Ha,u=a.ob,w=a.ya,z=a.Pa,la=b.pageType,ma=b.pageId,sa=b.url,Aa=b.includeComponents,Ca=b.excludeComponents;c=["js_request_id."+c];if(b.extraParams)for(var Ga in b.extraParams)c.push(Ga+"."+b.extraParams[Ga]);a={v:1,key:f,request_source:h,helpcenter:k,origin_ehc:n,hl:p,authuser:r,visit_id:u,view_id:w,psd:z,page_type:la,id:ma,url:sa,components:Aa,exclude_components:Ca,extra_params:c,mendel_ids:a.Ma, service_configuration:a.mb,scdeb:a.Ia,instant_preview:b.instantPreview,symptom:b.symptom,scenario_id:b.testScenarioId,sjid:b.Um,user_ip:a.Xa,js_fingerprint:a.La};b="";for(var Na in a)f=a[Na],f!=void 0&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Na+"="+encodeURIComponent(f.toString()));return e+b} function spa(a,b,c){try{var e=JSON.parse(c)}catch(f){b.onError({type:1,message:c});return}if(e.application_error!=304||e.html)if(e.application_error!=404&&e.html){if(b.responseMustMatchPageType){if(!e.page_metadata||!e.page_metadata.page_type){b.onError({type:4});return}if(Zca.get(e.page_metadata.page_type)!=b.SP){b.onError({type:3});return}}e.page_metadata&&b.eE(e.page_metadata);b.injectInto?vpa(a,b,e.html):b.lB(function(f){f.nodeName=="IFRAME"?(b.window=f.contentWindow,b.injectInto=b.window.document.body): (b.window=window,b.injectInto=f);vpa(a,b,e.html)})}else b.onError({type:2}); else b.onError({type:5})} function vpa(a,b,c){b.window.sc_scope=b.injectInto;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))}); pn(b.injectInto,Fp(c));c=Array.from(b.injectInto.getElementsByTagName("script"));a.qa(b,c)} xy.prototype.qa=function(a,b){for(;b.length>0;){var c=b.shift();if(c.src){b=this.qa.bind(this,a,b);wpa(a.injectInto,c.src,b);break}try{var e=a.window,f=Sea(c.textContent),h=oda(f),k=e.eval(h);k===h&&(k=e.eval(h.toString()))}catch(n){}}}; function ppa(a,b){!a.o||a.va?b():(window.sc_sso_callback=function(){a.va=!0},wpa(document.body,upa(a)+"/s/sso",b))} function wpa(a,b,c){var e=cp("SCRIPT");yn(e,Hp(b));e.addEventListener("load",c);e.addEventListener("error",c);a.appendChild(e)} function xpa(a){var b=new URL(a);if(b.search!==""||b.hash!=="")throw Error("Invalid host value.");if(b.protocol!=="http:"&&b.protocol!=="https:")throw Error("Invalid host value.");if(b.hostname.endsWith(".prod.google.com"))return b.origin;if(!npa.some(function(c){return b.hostname.endsWith(c)}))throw Error("Invalid host value."); if(!mpa.some(function(c){return b.hostname.startsWith(c)}))throw Error("Invalid host value."); return b.origin} function upa(a){a.ma?a=a.ma.replace(/\/+$/,""):a.o?(a=a.ua,a=a=="https://support.google.com"?a.replace("support","support.corp"):a.replace("sandbox","corp")):a=a.ua;return xpa(a)} ;var ypa;function yy(a,b,c){c=c===void 0?2E3:c;var e=document.querySelector("."+(b===0?"sc-polite-live-region":"sc-assertive-live-region"));e&&(e.textContent=a,clearTimeout(ypa),ypa=setTimeout(function(){e.textContent=""},c))} ;var zpa=[0,1,y,Xj,Nl,Sj,Vj,Sj,Vj];var Apa=[0,Vj,-1,Sj];var Bpa=[0,Vj,Sj,Vj];function zy(a){this.Aa=wf(a)} t(zy,Sh);var Cpa=mk(zy),Ay=[1,2,3,6,7];var Dpa=[0,Ay,Yj,Bpa,Yj,Apa,Yj,zpa,2,Yj,[0],Yj,[0]];zy.prototype.Ca=kk(Dpa);var Epa=[0,y,-1];function By(a){this.Aa=wf(a)} t(By,Sh);By.prototype.getValue=function(){return Mg(this,1)}; By.prototype.setValue=function(a){return gh(this,1,a)}; By.prototype.Wb=function(){return lh(this,1)};function Cy(a){this.Aa=wf(a)} t(Cy,Sh);Cy.prototype.getType=function(){return Ng(this,1,0)}; Cy.prototype.setType=function(a){return ih(this,1,a)}; Cy.prototype.getId=function(){return Mg(this,2)}; Cy.prototype.setId=function(a){return gh(this,2,a)};function Dy(a){this.Aa=wf(a)} t(Dy,Sh);Dy.prototype.getUrl=function(){return Mg(this,1)}; Dy.prototype.setUrl=function(a){return gh(this,1,a)}; Dy.prototype.getTitle=function(){return Mg(this,2)}; Dy.prototype.setTitle=function(a){return gh(this,2,a)};function Ey(a){this.Aa=wf(a)} t(Ey,Sh);function Fpa(a){var b=new Ey;return ih(b,1,a)} ;function Fy(a){this.Aa=wf(a)} t(Fy,Sh);function Gy(a){this.Aa=wf(a)} t(Gy,Sh);var Hy=[2,3,4,5,6,7,8,9];function Iy(a){this.Aa=wf(a)} t(Iy,Sh);function Jy(a,b){return ih(a,1,b)} function Ky(a,b){return gh(a,2,b)} ;function Ly(a){this.Aa=wf(a)} t(Ly,Sh);function Gpa(a){var b=(new By).setValue(io());qg(a,By,9,b)} Ly.prototype.Rf=function(){return Mg(this,1)}; function My(a,b){return gh(a,1,b)} Ly.prototype.getTimestamp=function(){return mg(this,dl,2)}; Ly.prototype.setTimestamp=function(a){return qg(this,dl,2,a)}; function Ny(a,b){return gh(a,3,b)} function Oy(a,b){return ih(a,5,b)} function Py(a,b){return qg(a,Gy,6,b)} function Qy(a,b){return qg(a,Dy,7,b)} function Ry(a,b){return qg(a,Iy,8,b)} ;function Sy(a){this.Aa=wf(a)} t(Sy,Sh);l=Sy.prototype;l.getId=function(){return Ig(this,1)}; l.setId=function(a){return eh(this,1,a)}; l.Pl=oa(15);l.getQuery=function(){return Mg(this,9)}; l.setQuery=function(a){return gh(this,9,a)}; l.getUrl=function(){return Mg(this,10)}; l.setUrl=function(a){return gh(this,10,a)}; l.Me=function(){return Ig(this,45)};var Hpa=[0,y];By.prototype.Ca=kk(Hpa);var Ipa=[0,ck,y];Cy.prototype.Ca=kk(Ipa);var Jpa=[0,y,-1,ck];Dy.prototype.Ca=kk(Jpa);var Kpa=[0,ck,-2];var Lpa=[0,ck,y,-1];Ey.prototype.Ca=kk(Lpa);var Mpa=[0,ck,y,ck];var Npa=[0,y];var Opa=[0,y];var Ppa=[0,ck];var Qpa=[0,ck];var Rpa=[0,Mj];Fy.prototype.Ca=kk(Rpa);var Spa=[0,Hy,ck,Yj,Rpa,Yj,Lpa,Yj,Ppa,Yj,Kpa,Yj,Mpa,Yj,Opa,Yj,Qpa,Yj,Npa,Rj,-1];Gy.prototype.Ca=kk(Spa);var Tpa=[0,ck,y];Iy.prototype.Ca=kk(Tpa);var Ty=[0,y,hl,y,Ipa,ck,Spa,Jpa,Tpa,Hpa];Ly.prototype.Ca=kk(Ty);Sy.prototype.Ca=kk([0,Mj,y,-8,Mj,Rj,y,Dj,y,Mj,-1,y,Dj,-1,Mj,y,Mj,Rj,ck,-4,Mj,y,-2,Mj,-1,Rj,Dj,Mj,ck,1,Xj,Epa,y,Ty,y,Mj,y,-1]);function Uy(a,b){this.qa=a;this.ma=a.parentNode;this.o=b;this.o.counter&&Upa(this,[{key:this.o.counter,value:((this.o.count||0)+1).toString()}]);this.qa.addEventListener("click",this.oa.bind(this))} Uy.prototype.oa=function(){this.o.id&&Upa(this,[{key:this.o.id,value:(new Date).getTime().toString()}]);this.ma.parentNode.removeChild(this.ma)}; function Upa(a,b){var c=A();(new Image).src=c.ehn+"/apis/prefinsert?pb="+encodeURIComponent(JSON.stringify({common_params:{context_params:{experiment_id:c.mendel_ids}},resource:{user_pref:b,helpcenter:c.hc,key_type:a.o.type}}))} window.sc_initNotification=function(a,b){new Uy(a,b)};function Vy(a){this.Aa=wf(a)} t(Vy,Sh);Vy.prototype.getContentType=function(){return Gg(this,1)}; Vy.prototype.setContentType=function(a){return ih(this,1,a)}; Vy.prototype.getId=function(a){return Sg(this,2,a)}; Vy.prototype.setId=function(a,b){return ag(this,2,Ve,a,b,Xe)};function Wy(a){this.Aa=wf(a)} t(Wy,Sh);Wy.prototype.getStyle=function(){return Ng(this,1,0)};function Xy(a){this.Aa=wf(a)} t(Xy,Sh);l=Xy.prototype;l.wC=function(){return Ng(this,1,0)}; l.getType=function(){return Ng(this,2,0)}; l.setType=function(a){return ih(this,2,a)}; l.getId=function(){return Fg(this,4)}; l.setId=function(a){return gh(this,4,a)}; l.DF=function(a){eh(this,5,a)}; l.Mp=function(a){eh(this,6,a)}; var Vpa=lk(Xy);function Yy(a){this.Aa=wf(a)} t(Yy,Sh);l=Yy.prototype;l.getType=function(){return Ng(this,1,0)}; l.setType=function(a){return ih(this,1,a)}; l.getId=function(){return Fg(this,3)}; l.setId=function(a){return gh(this,3,a)}; l.DF=function(a){eh(this,4,a)}; l.Mp=function(a){eh(this,5,a)}; var Wpa=lk(Yy);function Zy(a){this.Aa=wf(a)} t(Zy,Sh);Zy.prototype.getType=function(){return Ng(this,3,1)}; Zy.prototype.setType=function(a){return ih(this,3,a)};function $y(a){this.Aa=wf(a)} t($y,Sh);l=$y.prototype;l.getType=function(){return Ng(this,1,0)}; l.setType=function(a){return ih(this,1,a)}; l.getId=function(){return Fg(this,2)}; l.setId=function(a){return gh(this,2,a)}; l.DF=function(a){eh(this,3,a)}; l.Mp=function(a){eh(this,4,a)}; var Xpa=lk($y);function az(a){this.Aa=wf(a)} t(az,Sh);function bz(a){this.Aa=wf(a)} t(bz,Sh);function cz(a){this.Aa=wf(a)} t(cz,Sh);cz.prototype.Dh=function(){return Dg(this,2)}; cz.prototype.Vd=function(a){return eh(this,2,a)};function dz(a){this.Aa=wf(a)} t(dz,Sh);dz.prototype.getTop=function(){return Dg(this,1)}; dz.prototype.setTop=function(a){return eh(this,1,a)};function ez(a){this.Aa=wf(a)} t(ez,Sh);ez.prototype.getType=function(){return Ng(this,1,0)}; ez.prototype.setType=function(a){return ih(this,1,a)}; ez.prototype.getTimestamp=function(){return Pe(Af(this,9))}; ez.prototype.setTimestamp=function(a){return fh(this,9,a)};function fz(a){this.Aa=wf(a)} t(fz,Sh);l=fz.prototype;l.getErrorCode=function(a){var b=Pf(this,8,ue,3,void 0,!0);Hd(b,a);return b[a]}; l.getProjectId=function(){return Re(Af(this,10))}; l.setProjectId=function(a){return Cf(this,10,Qe(a))}; l.getPageType=function(){return Gg(this,19)}; l.Dh=function(){return Dg(this,49)}; l.Vd=function(a){return eh(this,49,a)}; l.setSupportJourneyId=function(a){return gh(this,59,a)}; l.setHost=function(a){return gh(this,63,a)};function gz(a){this.Aa=wf(a)} t(gz,Sh);gz.prototype.setHost=function(a){return gh(this,2,a)}; gz.prototype.Me=function(){return Lg(this,4)}; var Ypa=mk(gz);var Zpa=[0,Dj,y,Dj,-1,Mj,-1];var $pa=[0,[0,vs,jr,[0,y,Xj,Nl,Vj,-1]],[0,Xj,Er,Xj,[0,y,-1],Xj,[0,y],Xj,[0,fk,Xj,Er,y,Zpa,Vj],Zpa],lr];var hz=[0,ck,Uj];Vy.prototype.Ca=kk(hz);var aqa=[0,Rj,ck,-1,Mj,ck,-1,Rj];var bqa=[0,hz,Uj,Xj,aqa,Nj,Mj,Lj,ck,-2];var cqa=[0,y,-1];var iz=[0,Dj,Xj,cqa];var dqa=[0,y,Rj,y];var eqa=[0,ck,y,ck,-1];var fqa=[0,Mj,-2];var gqa=[0,y,-5,Mj,-1,Rj,ck,y,[0,Rj,Bj,y,ck]];var hqa=[0,ck,y,[0,y,-2,Mj,Rj],y,[0,y,Mj,-1,Rj,-1],[0,ck,Mj,-2,ck,Dj],[0,Nj,y],[0,Mj,-2],[0,y,ck,-4,2,ck]];var iqa=[0,ck];Wy.prototype.Ca=kk(iqa);var jqa=[0,ck,-2,y,Mj,-1,iqa];Xy.prototype.Ca=kk(jqa);var kqa=[0,ck,-1,y,Mj,-1];Yy.prototype.Ca=kk(kqa);var lqa=[0,Mj,-1,ck,Mj,-1];Zy.prototype.Ca=kk(lqa);var mqa=[0,ck,y,Mj,-1];$y.prototype.Ca=kk(mqa);var nqa=[0,Mj,1,Mj];az.prototype.Ca=kk(nqa);var oqa=[0,y,-1];bz.prototype.Ca=kk(oqa);var pqa=[0,y,Mj,ck,dk,oqa];cz.prototype.Ca=kk(pqa);var qqa=[0,Mj,y];dz.prototype.Ca=kk(qqa);var rqa=[0,ck,pqa,nqa,lqa,jqa,Xj,mqa,Xj,kqa,qqa,Dj];ez.prototype.Ca=kk(rqa);var jz=[0,y,-1,Xj,hz,Xj,hqa,Xj,aqa,y,-1,Nj,Mj,Lj,y,-1,Xj,Mm,ck,Mj,Xj,eqa,ck,-2,Nj,-1,dqa,1,y,Mj,-1,Uj,Mj,-1,Dj,Mj,ck,Xj,rqa,y,ck,Mj,Vca,Rj,Pq,bqa,y,Xj,[0,ck,Dj,-1,Rj],ck,gqa,ck,-2,[0,y,-1,ck,Mj,-1,ck],Mj,ck,fqa,ck,-3,Nj,iz,Rj,y,$pa,y,-2];fz.prototype.Ca=kk(jz);gz.prototype.Ca=kk([0,jz,y,-1,Lj]);function kz(a){this.Aa=wf(a)} t(kz,Sh);kz.prototype.kb=function(){return Pe(Af(this,4))};kz.prototype.Ca=kk([0,ck,Dj,Rj,Dj]);function lz(a){this.Aa=wf(a)} t(lz,Sh);lz.prototype.Io=oa(17);var mz=[0,y,Mj];lz.prototype.Ca=kk(mz);function nz(a){this.Aa=wf(a)} t(nz,Sh);nz.prototype.Rf=function(){return Mg(this,1)};var oz=[0,y,Uj];nz.prototype.Ca=kk(oz);function pz(a){this.Aa=wf(a)} t(pz,Sh);pz.prototype.getFrdIdentifier=function(){return Mg(this,1)};var qz=[0,y,-1,mz];pz.prototype.Ca=kk(qz);function rz(a){this.Aa=wf(a)} t(rz,Sh);l=rz.prototype;l.getUrl=function(){return Mg(this,1)}; l.setUrl=function(a){return gh(this,1,a)}; l.getTitle=function(){return Mg(this,2)}; l.setTitle=function(a){return gh(this,2,a)}; l.fe=function(){return Mg(this,3)};var sz=[0,y,-2,mz,ck];rz.prototype.Ca=kk(sz);var tz=[0,y,-2,Dj];function uz(a){this.Aa=wf(a)} t(uz,Sh);uz.prototype.setSupportJourneyId=function(a){return gh(this,1,a)}; uz.prototype.getUrl=function(){return Mg(this,2)}; uz.prototype.setUrl=function(a){return gh(this,2,a)}; uz.prototype.getPageType=function(){return Ng(this,4,0)};var sqa=[0,y,-2,ck,-1,y,-1];uz.prototype.Ca=kk(sqa);function vz(a){this.Aa=wf(a)} t(vz,Sh);vz.prototype.getTitle=function(){return Mg(this,2)}; vz.prototype.setTitle=function(a){return gh(this,2,a)};var tqa=[0,1,y,-2];vz.prototype.Ca=kk(tqa);var uqa=[0,1,y];function wz(a){this.Aa=wf(a)} t(wz,Sh);var vqa=[0,sz,oz];wz.prototype.Ca=kk(vqa);function xz(a){this.Aa=wf(a)} t(xz,Sh);var wqa=[0,Xj,sz,oz];xz.prototype.Ca=kk(wqa);var xqa=[0,Dj,y,-1,qz,y,-1];var yqa=[0,tz,y,-1];var zqa=[0,tz,ck];function yz(a){this.Aa=wf(a)} t(yz,Sh);yz.prototype.Vb=function(){return mg(this,pz,1)}; yz.prototype.Mc=function(a){return qg(this,pz,1,a)};var Aqa=[0,qz,oz];yz.prototype.Ca=kk(Aqa);function zz(a){this.Aa=wf(a)} t(zz,Sh);var Az=[2,3,5,6,7,8,9,10];zz.prototype.Ca=kk([0,Az,sqa,Yj,tqa,Yj,uqa,ck,Yj,Aqa,Yj,vqa,Yj,wqa,Yj,zqa,Yj,yqa,Yj,xqa]);function Bz(a){this.Aa=wf(a)} t(Bz,Sh);Bz.prototype.Ca=kk([0]);function Cz(a,b){var c=c===void 0?gr():c;if(Dz()){var e=Ez();a=Bqa(a,b);e=rg(e,2,Az,a);Fz(e,c)}} function Gz(a,b,c){var e=e===void 0?gr():e;if(Dz()){var f=new wz;b=Hz(a,b,c);f=qg(f,rz,1,b);a=Iz(a.Qb());a=qg(f,nz,2,a);f=Ez();a=rg(f,6,Az,a);Fz(a,e)}} function Jz(a,b,c,e){var f=f===void 0?gr():f;if(Dz()){var h=new xz;e=Iz(e);h=qg(h,nz,2,e);b=x(b);for(var k=b.next();!k.done;k=b.next())e=h,k=Hz(k.value,0,2),tg(e,1,rz,k);a=x(a);for(e=a.next();!e.done;e=a.next())b=h,e=Hz(e.value,0,1),tg(b,1,rz,e);c=x(c);for(b=c.next();!b.done;b=c.next())a=h,b=Hz(b.value,0,9),tg(a,1,rz,b);c=Ez();h=rg(c,7,Az,h);Fz(h,f)}} function Cqa(a,b,c){a=a===void 0?"":a;var e=e===void 0?gr():e;Dz()&&(a=(new yz).Mc(Dqa(a,b)),c=Iz(c),c=qg(a,nz,2,c),a=Ez(),c=rg(a,5,Az,c),Fz(c,e))} function Dqa(a,b){a=a===void 0?"":a;for(var c=new pz,e=x(b.entries()),f=e.next();!f.done;f=e.next()){var h=x(f.value);f=h.next().value;h=h.next().value;if(h.id===a)return b=void 0,a=gh(c,2,h.text),a=gh(a,1,h.id),e=Kz((b=h.reporting_id)!=null?b:"",f+1),qg(a,lz,3,e),c}c=gh(c,1,"other");c=gh(c,2,"Other");b=Kz("",b.length+1);return qg(c,lz,3,b)} function Hz(a,b,c){var e=(new rz).setUrl(a.getUrl()).setTitle(a.getTitle());var f=a.fe();e=gh(e,3,f);a=Kz(Lz(a),b);a=qg(e,lz,4,a);return ih(a,5,c)} function Iz(a){var b=new nz;a=gh(b,1,a);return Yf(a,2,[],Ve)} function Kz(a,b){var c=new lz;a=gh(c,1,a);return eh(a,2,b)} function Dz(){return Fo("SupportJourneyFeature__enable_journey_publish")==="true"&&A().rs!==26} function Eqa(){var a=A(),b;var c=new uz;c=gh(c,3,a.hc);c=gh(c,6,a.lang);c=ih(c,4,a.pt);var e=(b=a.vid)==null?void 0:b.toString();b=gh(c,7,e).setSupportJourneyId(a.support_journey_id);return ih(b,5,a.rt).setUrl(window.location.href)} function Fz(a,b){try{b.post({endpoint:"logjourney",queryParams:{v:"1"},request:a,response:Bz})}catch(c){if(A()&&A().env!=="PROD")throw c;}} function Bqa(a,b){var c=A(),e;b=(new vz).setTitle(b||c.title||c.html_title);a=gh(b,3,a||c.pid);c=(e=ro("refererViewId"))==null?void 0:e.toString();return gh(a,4,c)} function Ez(){var a=A();var b=new zz;var c=Eqa();b=qg(b,uz,1,c);return ih(b,4,a.rs)} ;function Mz(a){this.Aa=wf(a)} t(Mz,Sh);Mz.prototype.Ca=kk([0,Xj,Ty]);var Fqa=[0,ck,-1,y,-1];function Nz(a){this.Aa=wf(a)} t(Nz,Sh);Nz.prototype.getStatus=function(){return Ng(this,2,0)}; Nz.prototype.getErrorMessage=function(){return Mg(this,3)}; Nz.prototype.setErrorMessage=function(a){return gh(this,3,a)};var Gqa=[0,1,ck,y,Fqa];Nz.prototype.Ca=kk(Gqa);function Oz(a){this.Aa=wf(a)} t(Oz,Sh);Oz.prototype.Yr=oa(18);Oz.prototype.Ca=kk([0,1,Xj,Gqa]);var Hqa=[0,y,Rj];function Pz(a){this.Aa=wf(a)} t(Pz,Sh);Pz.prototype.Ca=kk([0,Ty,2,Hqa]);function Qz(a){a=a===void 0?{}:a;this.Kk=new (a.pT===void 0?cr:a.pT)({serverUrl:A().mld+"/v1",serviceName:"MoltronLoggingService"})} function Rz(a,b,c,e){e=e===void 0?{}:e;var f=e.gP;var h=e.KO;var k,n,p;Ya(function(r){if(!b||!c)return r.return();k=new Ly;My(k,b);k.setTimestamp(fl());Ny(k,c);Oy(k,3);if(f||h){n=new Gy;if(f){var u=Fpa(1);p=gh(u,2,f);rg(n,3,Hy,p)}h&&bh(n,10,!0);Py(k,n)}return r.yield(Sz(a,k),0)})} function Tz(a,b,c,e){var f=(e===void 0?{rJ:!1}:e).rJ;var h,k,n,p,r,u;Ya(function(w){if(!b)return w.return();h=[];k=x(c);for(n=k.next();!n.done;n=k.next())if(p=n.value)r=new Ly,My(r,b),r.setTimestamp(fl()),Ny(r,p),Oy(r,1),f&&(u=new Gy,ih(u,1,3),Py(r,u)),Gpa(r),h.push(r);return w.yield(Iqa(a,h),0)})} function Jqa(a,b){var c,e;Ya(function(f){if(!b)return f.return();c=new Ly;My(c,b);c.setTimestamp(fl());e=new Cy;e.setType(3);e.setId("other");qg(c,Cy,4,e);Oy(c,3);return f.yield(Sz(a,c),0)})} function Sz(a,b){var c=c===void 0?!1:c;var e,f,h,k;return Ya(function(n){if(n.o==1)return e=new Pz,Gpa(b),qg(e,Ly,1,b),f={query:{key:A().mkey}},c&&A().li&&(h="",(k=(A().ge||"").toLowerCase())&&(h=Wx([{key:"e",value:k}])),!h&&A().auth_token&&(h=A().auth_token,(h.startsWith("OAuth")||h.startsWith("Bearer"))&&delete f.query.key),h&&(f.withCredentials=!0,f.headers={Authorization:h})),Pa(n,2),n.yield(a.Kk.post("log-moltron-interaction",e,Nz,f),4);if(n.o!=2)return Qa(n,0);Ra(n);Oa(n)})} function Iqa(a,b){var c;return Ya(function(e){if(e.o==1)return c=new Mz,sg(c,1,b),Pa(e,2),e.yield(a.Kk.post("log-batch-moltron-interaction",c,Oz,{query:{key:A().mkey}}),4);if(e.o!=2)return Qa(e,0);Ra(e);Oa(e)})} ;var Kqa=new Map([["PROD",3],["STAGING",4],["DRAFT",2],["READY",4],["TEST",1],["DEV",1],["ALPHA",1],["GKMSSTAGING",4],["LOCAL",1]]),Lqa=new Map([[0,10],[1,2],[2,25],[4,6],[5,26],[6,13],[7,17],[8,15],[9,23],[10,16],[36,30],[13,8],[14,11],[15,28],[16,3],[17,4],[18,24],[20,14],[21,5],[24,22],[25,21],[26,20],[28,27],[29,29],[30,12],[31,19],[32,18],[33,9],[34,1],[100,0],[11,31],[12,36],[19,32],[23,33],[22,7],[27,34],[35,35],[38,37],[37,38],[39,39]]),Mqa=new Map([[0,0],[1,1],[2,2],[3,2],[4,3]]),Nqa=new Map([[0, 0],[1,30],[2,14],[3,6],[4,25],[5,15],[6,18],[7,22],[8,24],[9,10],[10,1],[11,23],[12,28],[13,5],[14,2],[15,7],[16,29],[17,17],[18,26],[19,12],[20,16],[21,13],[22,27],[23,3],[24,11],[25,21],[26,20],[27,4],[28,8],[29,9],[30,19],[31,31],[32,32],[33,33],[34,34],[35,35],[37,37],[36,36],[40,38],[41,39],[42,40],[43,41],[44,42],[45,43],[46,44],[47,45],[48,46],[50,47],[51,48],[52,49]]),Uz=new Map([[0,0],[251,245],[260,254],[78,1],[35,2],[32,3],[20,4],[9,5],[8,6],[48,7],[28,8],[33,9],[14,10],[17,11],[58,12], [15,13],[16,14],[47,15],[21,16],[52,17],[182,175],[29,18],[31,19],[30,20],[49,21],[83,22],[84,23],[85,86],[92,87],[120,111],[121,112],[122,113],[123,114],[125,116],[126,117],[127,118],[18,24],[51,25],[55,26],[56,27],[50,28],[89,77],[160,153],[74,29],[143,135],[75,30],[82,31],[104,95],[76,32],[94,79],[100,88],[101,89],[102,90],[103,94],[90,78],[81,33],[73,34],[40,35],[46,36],[53,37],[88,91],[1,38],[80,39],[27,40],[72,41],[7,42],[57,43],[41,44],[34,45],[23,46],[13,47],[36,48],[45,49],[5,50],[22,51], [172,165],[37,52],[39,53],[10,54],[11,55],[3,56],[93,80],[130,121],[99,85],[117,108],[26,57],[69,58],[66,59],[61,60],[62,61],[68,62],[70,63],[71,64],[65,65],[67,66],[247,241],[248,242],[249,243],[257,251],[258,252],[259,253],[86,92],[63,67],[59,68],[60,69],[64,70],[87,93],[95,82],[96,84],[97,83],[98,81],[54,71],[24,72],[4,73],[25,74],[44,75],[2,76],[105,96],[151,144],[106,97],[107,98],[108,99],[109,100],[110,103],[111,101],[112,102],[113,104],[114,105],[115,106],[118,107],[116,109],[119,110],[124, 115],[128,119],[129,120],[131,122],[156,149],[132,123],[133,124],[134,125],[135,126],[159,152],[136,127],[19,128],[137,129],[138,130],[139,131],[140,132],[141,133],[142,134],[144,136],[145,138],[146,139],[147,140],[148,141],[149,142],[150,143],[152,145],[153,146],[154,147],[155,148],[157,150],[158,151],[161,154],[162,155],[163,156],[164,157],[165,158],[166,159],[167,160],[168,161],[169,162],[170,163],[171,164],[173,166],[174,167],[175,168],[176,169],[177,170],[178,171],[179,172],[188,181],[189,182], [201,194],[180,173],[181,174],[242,235],[243,236],[252,246],[253,247],[254,248],[265,259],[268,262],[266,260],[267,261],[282,276],[279,273],[280,274],[250,244],[183,176],[184,177],[185,178],[186,179],[187,180],[190,183],[191,184],[192,185],[193,186],[194,187],[195,188],[196,189],[197,190],[198,191],[199,192],[200,193],[215,208],[216,209],[202,195],[203,196],[204,197],[205,198],[206,199],[207,200],[208,201],[209,202],[210,203],[211,204],[212,205],[213,206],[214,207],[217,210],[218,211],[219,212],[220, 213],[221,214],[222,215],[223,216],[224,217],[225,218],[226,219],[227,220],[228,221],[229,222],[230,223],[231,224],[232,225],[233,226],[255,249],[256,250],[234,227],[235,228],[236,229],[237,230],[238,231],[239,232],[240,233],[241,234],[244,237],[245,238],[246,239],[261,255],[262,256],[263,257],[264,258],[269,263],[270,264],[271,265],[272,266],[273,267],[274,268],[283,277],[284,278],[275,269],[276,270],[277,271],[278,272],[285,279],[286,280],[287,281],[288,282],[281,275]]),Oqa=new Map([[0,0],[1,11], [2,7],[3,3],[4,14],[5,5],[6,8],[7,2],[8,13],[9,4],[10,12],[11,10],[12,6],[13,15],[14,9],[15,1],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22],[23,23],[24,24],[25,25],[26,26]]),Pqa=new Map([[1,1],[39,6],[83,7],[27,8],[3,2],[93,5],[18,10],[102,11],[90,12],[4,13],[8,3],[79,4],[2,4],[92,17],[113,18],[12,19],[19,20],[87,21],[105,22],[112,23],[109,24],[6,25],[67,26],[75,27],[13,28],[30,29],[84,30],[63,31],[96,32],[97,33],[81,34],[23,35],[73,36],[98,37],[17,38],[115,39],[99,40],[29,41],[14,42], [76,43],[82,44],[24,45],[31,46],[46,47],[22,48],[101,49],[15,50],[25,51],[74,52],[26,53],[111,54],[69,55],[61,56],[91,57],[94,58],[104,59],[116,16],[118,61],[121,65],[65,60],[85,62],[119,63],[120,64],[122,66],[123,67],[124,68],[125,69],[126,70],[127,71],[128,72],[129,73],[130,74],[131,75],[132,76],[134,77],[135,78],[136,79],[137,80],[138,81],[139,82],[140,83]]);function Vz(a){this.Aa=wf(a)} t(Vz,Sh);Vz.prototype.getProjectId=function(){return Pe(Af(this,1))}; Vz.prototype.setProjectId=function(a){return fh(this,1,a)}; Vz.prototype.getRole=function(){return Fg(this,3)};var Qqa=[0,Dj,ck,y,-1,Rj,-1];Vz.prototype.Ca=kk(Qqa);function Wz(a){this.Aa=wf(a)} t(Wz,Sh);var Rqa=[0,ck,-1,Mj];Wz.prototype.Ca=kk(Rqa);function Xz(a){this.Aa=wf(a)} t(Xz,Sh);Xz.prototype.Me=function(){return Qg(this,4)};var Sqa=[0,y,-2,Gj];Xz.prototype.Ca=kk(Sqa);var Tqa=[0,y,-12];function Yz(a){this.Aa=wf(a)} t(Yz,Sh);Yz.prototype.getPageType=function(){return Gg(this,1)}; Yz.prototype.setHost=function(a){return gh(this,13,a)};var Uqa=[0,ck,y,-1,ck,Rj,y,Mj,1,Tqa,ck,y,-2];Yz.prototype.Ca=kk(Uqa);function Zz(a){this.Aa=wf(a)} t(Zz,Sh);var Vqa=[0,y,-1];Zz.prototype.Ca=kk(Vqa);function $z(a){this.Aa=wf(a)} t($z,Sh);$z.prototype.Dh=function(){return Fg(this,2)}; $z.prototype.Vd=function(a){return gh(this,2,a)}; $z.prototype.setSupportJourneyId=function(a){return gh(this,6,a)};var Wqa=[0,y,-2,Rj,Dj,y,-1];$z.prototype.Ca=kk(Wqa);var Xqa=[0,ck,y];var Yqa=[0,y];var aA=[0,y];var Zqa=[0];var bA=[0,y,-1];var $qa=[0];var ara=[0,bA];var cA=[0,y,hl,[0,[1,2],Yj,[0,y],Yj,[0,aA],y,-1]];var dA=[0,y,-1,Dj,mba,[0,4,y,-2,Mj,y,-2],7,Rj];var eA=[0,[4],dA,Xj,dA,ck,Yj,[0,Xj,[0,dA,Mj,Oj]]];var fA=[0,[1,2],Yj,$qa,Yj,Zqa];var bra=[0,Xj,fA];var cra=[0,[2,3,4,5,6,7,8,9,10],cA,Yj,[0,[2,3,4,5,6,7],[0,Rj,Xj,[0,[2,3],ck,Yj,bA,Yj,ara]],Yj,$qa,Yj,Zqa,Yj,bA,Yj,[0,Mj,-1,ck],Yj,[0,Xj,ara],Yj,[0],[0,ck]],Yj,[0,[1,2,3,4,5,6,7],Yj,bra,Yj,[0,[1,2],Yj,fA,Yj,[0]],Yj,[0,y,-1,[0,Uj,Mj,-1],ck],Yj,[0],Yj,[0,ck],Yj,[0,Xj,[0,y,Rj,y,-1],bra],Yj,[0,Xj,fA]],Yj,[0],Yj,[0],Yj,[0,[1],Yj,[0,y,ck,eA]],Yj,[0,y,-1],Yj,[0,[1,2,3],Yj,[0,eA],Yj,[0,aA],Yj,[0,Rj]],Yj,[0,[1],Yj,aA],Yj,[0,[1,2,3],Yj,[0,y,-1],Yj,[0,y],Yj,[0,[2,3,4],y,Yj,[0],Yj,[0],Yj,[0,eA]]]];var dra=[0,[0,[2,3,4,9],cA,Yj,[0,Rj],Yj,[0,cA,bk,fA],Yj,[0,Rj,cA,fA],4,Yj,[0,Xj,[0,[2],y,Yj,[0]]]],Xj,cra];var era=[0,[0,aA,[0,y,[0,[0,[1,2,3,4],Yj,[0,aA],Yj,[0,[2,3,4,5],y,Yj,[0,y,-1],Yj,[0],Yj,[0,[1],Wj],Yj,[0]],Yj,[0,[0,y,-1],[0,[1,2,3],Yj,[0],Yj,[0],Yj,[0]]],Yj,[0]],y,ck],Xj,dra],dra,[0,[0,Yqa,Xqa]]],Xj,[0,cra]];var fra=[0,[20],ck,-1,y,ck,y,14,Yj,[0,2,y,-1,1,y,-2,Mj,-1,Rj]];function gA(a){this.Aa=wf(a)} t(gA,Sh);l=gA.prototype;l.getType=function(){return Ng(this,1,0)}; l.setType=function(a){return ih(this,1,a)}; l.getIndex=function(){return Dg(this,4)}; l.yA=function(a){eh(this,4,a)}; l.Mp=function(a){eh(this,5,a)};function hA(a){this.Aa=wf(a)} t(hA,Sh);l=hA.prototype;l.getType=function(){return Ng(this,1,0)}; l.setType=function(a){return ih(this,1,a)}; l.getIndex=function(){return Dg(this,4)}; l.yA=function(a){eh(this,4,a)}; l.Mp=function(a){eh(this,5,a)};function iA(a){this.Aa=wf(a)} t(iA,Sh);l=iA.prototype;l.getType=function(){return Ng(this,1,0)}; l.setType=function(a){return ih(this,1,a)}; l.getIndex=function(){return Dg(this,3)}; l.yA=function(a){eh(this,3,a)}; l.Mp=function(a){eh(this,4,a)};function jA(a){this.Aa=wf(a)} t(jA,Sh);jA.prototype.getType=function(){return Ng(this,1,0)}; jA.prototype.setType=function(a){return ih(this,1,a)};function kA(a){this.Aa=wf(a)} t(kA,Sh);function lA(a){this.Aa=wf(a)} t(lA,Sh);function mA(a){this.Aa=wf(a)} t(mA,Sh);mA.prototype.getType=function(){return Ng(this,1,0)}; mA.prototype.setType=function(a){return ih(this,1,a)}; mA.prototype.getTimestamp=function(){return mg(this,dl,8)}; mA.prototype.setTimestamp=function(a){return qg(this,dl,8,a)}; var nA=[2,3,4,5,6,7];function oA(a){this.Aa=wf(a)} t(oA,Sh);function pA(a){this.Aa=wf(a)} t(pA,Sh);function qA(a){this.Aa=wf(a,500)} t(qA,Sh);function rA(a,b){return tg(a,8,mA,b)} var gra=mk(qA);var hra=[0,ck,-1,y,Mj,-1];gA.prototype.Ca=kk(hra);var ira=[0,ck,-1,y,Mj,-1];hA.prototype.Ca=kk(ira);var jra=[0,ck,y,Mj,-1];iA.prototype.Ca=kk(jra);var kra=[0,ck,Mj,-3];jA.prototype.Ca=kk(kra);var lra=[0,Mj,-1,2,Mj];kA.prototype.Ca=kk(lra);var mra=[0,Mj,y];lA.prototype.Ca=kk(mra);var nra=[0,nA,ck,Yj,hra,Yj,ira,Yj,jra,Yj,kra,Yj,lra,Yj,mra,hl];mA.prototype.Ca=kk(nra);var ora=[0,y,ck,-1];var pra=[0,[2,3],[0,y,-1,ck,y,-1],Yj,[0,ck,-1,Dj,Mj,y,-2,ck,-1,[0,ck,Mj]],Yj,[0,y,2,hl,y,[0,1,y,ck],1,[0,[2,3,4,6,7,8,9,10],1,Yj,[0,Mj],Yj,[0,1,y,ck,y],Yj,[0,1,ck],ck,Yj,[0,ck,-2],Yj,[0,ck,y,ck],Yj,[0,y],Yj,[0,ck],Yj,[0,y],Rj],ck,-2,ora]];var qra=[0,ck,-3,Mj];var rra=[0,ck,y];var sra=[0,Uj,-17];var tra=[0,y,-1];oA.prototype.Ca=kk(tra);var ura=[0,Xj,rra,ck,-1,Xj,tra,Xj,qra,Xj,Qm,sra,$pa];pA.prototype.Ca=kk(ura);var vra=[0,ck,zj];var sA=[0,Xj,[0,ck,zj,Mj,-1],vra,Xj,[0,ck,zj,Rj],zj,ek,y,ek,Xj,vra];var tA=[0,[2,3,4],sA,Yj,[0,y,-1],Yj,[0,y,-1],Yj,[0,[1,2],Wj,-1]];var uA=[0,ck,[0,y,-3,ck,-1],[0,ck,-3,y,1,y,-1,7,y],[0,Dj,y,-2],[0,y,-2,Uj,[0,hl,-1,Dj,zj],y,ck,y],[0,ck,Rj,-1,y],[0,y,-1,1,ck,[0,y,-1,[0,y,-1],y],y],[0,[0,y]],[0],Yqa,Xqa];var vA=[0,y,ck,-2];var wA=[0,Uj];var wra=[0,y,-2];var xra=[0,[2],y,Yj,wra,sA];var xA=[0,[1,2,4],Yj,[0,y,-3],Yj,[0,ck,y],sA,Yj,[0,y]];var yra=[0,y,-1,sA,[0,y]];var zra=[0,y,wra];var Ara=[0,Xj,xA,Mj,-1,wA];var Bra=[0,function(){return yA}, ck],yA=[0,sA,Xj,[0,y,-1],Xj,zra,Xj,xA,Ara,Xj,function(){return yA}, Xj,function(){return Bra}, y,-1,Xj,zra];var Cra=[0,[3,5,6,7,8,9],2,Yj,yra,1,Yj,[0,ck,sA],Yj,[0,y,sA,ck,1,Xj,xA],Yj,Ara,Yj,[0,Xj,xra,Xj,xA],Yj,yA];var zA=[0,[3,4],hl,Mj,Yj,[0,[1,2,3,4,5,6,7],Yj,[0,y,-3],Yj,[0,xA,ck],Yj,[0,xra,ck],Yj,[0,yra,ck,Xj,[0,y,-1]],Yj,[0,ck],Yj,[0,yA,ck],Yj,[0]],Yj,[0,vA,Cra,wA]];var Dra=[0,[6,7,8,9],y,-3,Xj,function(){return Dra}, Yj,[0,y,-2],Yj,[0,y,-3,Xj,[0,y,-1]],Yj,[0,y,-2],Yj,[0,y,-1]];var Era=[0,Dra,zj,sA,Rj];var Fra=[0,y,zj,sA];var Gra=[0,ck,zj,sA];var Hra=[0,y,-2];var Ira=[0,[2,3],y,Jj,Wj];var AA=[0,Xj,[0,[1],Yj,Ira],[0,y,-1],[0,[1],Yj,Ira],[0,Mj,y,-1],2,[0,y]];var Jra=[0,y,zj,AA];var BA=[0,sA,Xj,function(){return BA}, ck,-2,Mj,y,-3,[0,[6,7,8],Rj,-4,Tj,-2,Mj,-2,Dj,hl,Rj,zj,y,-2],[0,[0,zj,-4],-2],y,[0,y,-1,Dj,-1,[0,y,-4],hm,hl]];var Kra=[0,Xj,[0,[1,2],Yj,[0,Xj,[0,y,Bj,y],Hj],Yj,[0,Xj,[0,jba,y]]],[0,Bj]];var Lra=[0,AA,Xj,Kra,y];var CA=[0,y,-1];var DA=[0,Dj,Mj];var EA=[0,ck,bk,y];var Mra=[0,y,Zj];var FA=[0,ck,y];var Nra=[0,Xj,[0,ck,bk,y,Rj,FA]];var GA=[-500,Rqa,Qqa,Wqa,Uqa,Vqa,Sqa,fra,Xj,nra,991,ura,[0,Xj,[0,Dj,-2],ck,-2,dk,ck,Dj,-1,Gj,Rj,ck],[0,1,Nj,[0,[0,ck,[0,dk,-2,Mj,-3,Xj,[0,y,Uj,-2,y,ck],[0,ck],[0,y,Mj,-2],Mj,-2],y,-5,uA,y],[0,Xj,BA,Mj,1,y,[0,Xj,[0,ck,y],Xj,[0,y,-1]],[0,Rj,-1,y],[0,Xj,[0,Uj,ck]],vA,y],1,[0,[0,Hj,Rj,-2,y,Dj,-6,Rj,Dj,-1,y,-2,Dj,-5,Hj,Dj,-3,Rj,-13,y,-3],[0,y,-5,Rj,y,-6],[0,y,-5,Rj,-32,y,-11],1,[0,[1,2,3],Jj,-2],[0,y,-25],y]],[0,[0,ck,y,-1],ck,hm,[0,AA,y,uA],[0,Xj,Kra,y],[0,hl]],[0,[0,ck,uA,y,-2,ck,y,-1,ck,y,[0,Xj,[0, y,-1,ck]],Rj,y],[0,ora,Xj,[0,[3,4,5],sA,Rj,Yj,Hra,Yj,[0,y],Yj,[0,y,Hra],Uj],Uj,y]],[0,vA,hl,y,[0,ck,y],ck,[0,[2,3,4,5,6,7,8,9],ck,Yj,[0,Mj],Yj,[0,ck,y,-1],Yj,[0,ck],Yj,[0,ck,-2],Yj,[0,ck,y,ck],Yj,[0,y],Yj,[0,ck],Yj,[0,y],Rj,-1]],[0,[0,[3,4],ck,uA,Yj,[0,y],Yj,[0,y,Uj,y]],[0,[2,3],vA,Yj,[0,sA,ck,-1],Yj,[0,Jra,Xj,Jra]]],[0,ck,[0,uA,y,-2,ck,y],[0,Xj,BA]],[0,[0,ck,[0,uA,y,-4],[0,1,[0,y],Uj],[0,1,[0,Mj]]],[0,vA,[0,7,Xj,[0,[0,y,ck,y,Rj],CA],Xj,[0,[0,y,-2,ck,y,Rj],CA],Xj,[0,[0,y,-1,ck,y,Rj],CA],Xj,[0,[0, y,-2,ck,y],CA],Xj,[0,[0,[0,ek],ck,Rj],CA],Xj,[0,[0,Uj,ck],CA]],[0,Xj,[0,y,1,ck,Mj,Xj,[0,1,y,1,y,-1],2,y,-3]]],[0,Xj,[0,y,ck]]],[0,[0,y,Mj,uA,Xj,zA,ck,Xj,zA],[0,vA,Cra,ck,wA,Xj,[0,y,-1,Xj,[0,y,Zj,-1]]]],[0,y,ek],[0,[0,uA,Xj,zA,-1,y,-1,[0,ek,Mj,Rj],y,-2],[0,y,Xj,[0,[1,2,3],Yj,Era,Yj,Fra,Yj,Gra],vA,[0,Xj,Era],[0,Xj,Fra],[0,Rj,Xj,Gra]]],[0,[0,[0,[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],ck,Yj,[0,y,-2],Yj,[0,y,-2],Yj,[0,Dj,1,ck],Yj,[0,y],Yj,[0,y,-1,ck],Yj,[0,y],Yj,[0,y],Yj,[0,y],Yj,[0, y,ck],Yj,[0,y],Yj,[0,y],Yj,[0],Yj,[0,y,-1],Yj,[0,y],Yj,[0,y,-1],Yj,[0,y,-1],Yj,[0],Yj,[0,ck],Yj,[0,y],Yj,[0,y],Yj,[0,y,Dj],Yj,[0,y,Xj,[0,y,-1]],y,kj,rba,y],1,[0,Uj,y,-1],y,uA],[0,y,Lra,Xj,Lra]],[0,[0,uA,y,Oj,y,Mj],[0,vA,Xj,[0,Mj,Bj,sA]]],[0,[0,uA,[0,Xj,[0,[1,2],Yj,[0,y],Yj,tA]],y],[0,vA,tA],Xj,tA],[0,[0,ck,uA,[0,Dj,-2,y,-2,ck,y,-3],[0,y,hl]],[0,vA,[0,Xj,[0,y,zj,sA]],Rj,[0,y,Uj]]],[0,[0,uA,y,-1,ck,y,Xj,[0,ck],Mj,y,-1],[0,vA,Xj,[0,sA,Rj,y,zj]]]],pra,[0,[1],Yj,[0,[0,[0,Ij,Pj],DA,1,[0,y],[0,y,[0,zj,-7, Rj,ck]],[0,y,-2,Rj],[0,[0,[0,y,-1,ck,y,-4],DA],[0,ck,y,dk,Mj],ck]],[0,[2,3],[4,5],y,Yj,[0,[0,y,Uj,Rj]],Yj,[0,[0,[2,3,4,5,6],DA,Yj,[0,ck],Yj,[0,[0,[0,Uj],y],[0,[0,[0,y,-1],[0,[0,y,-4],[0,Xj,[0,y,-1]]]]]],Yj,[0,Rj],Yj,[0,[2,3,4,5],bk,Yj,[0,EA],Yj,[0,Xj,EA],Yj,[0,EA],Yj,[0,y]],Yj,[0]],Mra],Yj,[0,Mra,[0,[0,Rj,y],[0,y,-2,dk],[0,[0,DA,-1],1,ck,dk],[0,Rj,-1],Xj,[0,[4,5,6,7],bk,y,ck,Yj,[0,Nra,ck],Yj,[0,Nra],Yj,[0,ck,bk,pba,y,-1,Xj,[0,Oj,FA]],Yj,[0,1,y,-1],Rj,y,Xj,[0,[2],y,Yj,[0,bk]],[0,y,FA]],1,dk,[0,y,-2]], y,dk,y],Yj,[0]],[0,ck,-1],[0,[1,2,3,4,5,6],Yj,[0,ck],Yj,[0],Yj,[0,y,Mj,Rj,-1],Yj,[0,Mj,dk,ck,-1],Yj,[0],Yj,[0]]]],[0,[5,6,7,8],y,Rj,ck,y,Yj,[0,y,-1],Yj,[0,y,-1],Yj,[0,y,-1],Yj,[0,Dj,-1]],[0,y,[0,ck,-1,[0,y],ck],[0,[1,2,3,4,5,6],Yj,[0,Dj],Yj,[0],Yj,[0,Dj],Yj,[0],Yj,[0,[1,2],Yj,[0,y],Yj,[0,y],ck],Yj,[0]],y,[0,y,-3],y,[0,y,ck],y,[0,ck,-1],Uj,y,Uj,1,y],era];qA.prototype.Ca=kk(GA);function HA(a){var b=a.env;var c=a.cl;var e=a.visitId;var f=a.vid;var h=a.pt;var k=a.pid;var n=a.rl;var p=a.dt;var r=a.ii;var u=a.cc;var w=a.lang;var z=a.hc;var la=a.ehc;var ma=a.rs;var sa=a.Qe;var Aa=a.webHistoryEnabled;var Ca=a.supportJourneyId;a=a.productEscalationsId;var Ga=new qA;c=Number(c);var Na=new Wz;Na=ih(Na,1,2);b=Kqa.get(b);b=ih(Na,2,b);c=Number.isFinite(c)?c:null;b=eh(b,3,c);Ga=qg(Ga,Wz,1,b);b=new $z;e=gh(b,1,e);Aa=bh(e,4,Aa);f&&Aa.Vd(f.toString());Aa.setSupportJourneyId(Ca);f=qg(Ga, $z,3,Aa);Ca=new Yz;h=Lqa.get(h);h=ih(Ca,1,h);k=gh(h,2,k);n=gh(k,3,n);p=Mqa.get(p);p=ih(n,4,p);r=bh(p,5,r);u=gh(r,6,u);u=ih(u,10,1);u=qg(f,Yz,4,u);r=new Zz;w=gh(r,1,w);w=qg(u,Zz,5,w);u=new Xz;z=gh(u,1,z);la=gh(z,2,la);la=bg(la,4,xe,a,void 0,Ne);la=qg(w,Xz,6,la);a=new Vz;ma=Pqa.has(ma)?Pqa.get(ma):0;ma=ih(a,2,ma);ma=qg(la,Vz,2,ma);la=new pA;if(sa&&sa.exp)for(sa=x(sa.exp),a=sa.next();!a.done;a=sa.next())if((a=a.value)&&a.active_groups)for(a=a.active_groups.split(";"),a=x(a),z=a.next();!z.done;z=a.next())z= z.value.split("::"),z.length===2&&(w=new oA,w=gh(w,1,z[0]),z=gh(w,2,z[1]),tg(la,4,oA,z));return qg(ma,pA,1E3,la)} ;function IA(a,b,c){Qz.call(this);this.o=a;this.dymTrackingId=b;this.sessionId=c;this.ma=new Map} t(IA,Qz);function JA(a,b,c){c=c===void 0?!0:c;var e,f;Ya(function(h){e=Oy(My(KA(),b),1);c&&(f=Ky(Jy(new Iy,a.o?3:1),a.sessionId),Ry(e,f));return h.yield(Sz(a,e),0)})} function LA(a,b,c,e,f){f=f===void 0?!0:f;Ya(function(h){return h.yield(a.Bw("reportSearchResultClick",a.hT,b,c,e,f),0)})} l=IA.prototype;l.hT=function(a,b,c,e){e=e===void 0?!0:e;var f=this,h,k,n;return Ya(function(p){h=Oy(Ny(My(KA(),a),b),3);e&&(k=Ky(Jy(new Iy,f.o?4:2),f.sessionId),Ry(h,k));n=(new Dy).setUrl(c);Qy(h,n);return p.yield(Sz(f,h),0)})}; l.wK=oa(19);l.yz=function(a,b,c){var e=this;return Ya(function(f){return f.yield(e.Bw("reportSearchResultsFeatureClick",e.iT,a,b,c),0)})}; l.iT=function(a,b,c){var e=this,f;return Ya(function(h){f=Ora(e,a,b,4,c);return h.yield(Sz(e,f),0)})}; l.xK=oa(20);function Pra(a,b,c){var e,f;return Ya(function(h){var k=new Gy;var n=new Fy;n=eh(n,1,c);e=rg(k,2,Hy,n);f=Py(Oy(My(KA(),b),4),e);return h.yield(Sz(a,f),0)})} function Ora(a,b,c,e,f){b=Oy(Ny(My(KA(),b),c),3);f&&(f=(new Dy).setUrl(f),Qy(b,f));a=Ky(Jy(new Iy,e),a.sessionId);Ry(b,a);return b} function KA(){return(new Ly).setTimestamp(fl())} l.Bw=function(a,b){var c=Za.apply(2,arguments),e=this.XO.apply(this,[a].concat(Fa(c))),f=this.ma.get(e);f||(f=eea(b.bind.apply(b,[this].concat(Fa(c)))),this.ma.set(e,f));return f()}; l.XO=function(a){return a+"("+Za.apply(1,arguments).join(",")+")"};function MA(a){this.o=a;this.oa="";this.ma=[]} MA.prototype.init=function(){Qra(this);Rra(this);!this.o.visit_id&&window.sc_visit_id&&(this.o.visit_id=window.sc_visit_id);if(!NA){var a=document.getElementsByTagName("body")[0],b=this.ua.bind(this);a.addEventListener("click",b);NA=!0;document.addEventListener("pjaxunload",function(){a.removeEventListener("click",b);NA=!1})}Sra(); Tra(this);Ura();Vra();this.o.fragment&&(window.location.hash=this.o.fragment);!this.o.is_render_api&&this.o.esid&&(this.oa=cea(),window.setInterval($da,5E3));Wra()}; function Vra(){function a(b,c){var e=Kr(b,c);e&&window.requestAnimationFrame(function(){var f=document.querySelector('[data-videoid="'+e+'"]');if(f){var h=Do();window.scroll(0,window.pageYOffset+f.getBoundingClientRect().top-(h||0))}})} window.addEventListener("load",function(){return a("",location.href)}); window.addEventListener("hashchange",function(b){return a(b.oldURL,b.newURL)})} MA.prototype.Gb=function(){return this.o}; MA.prototype.qa=function(a){for(var b=0;b0&&(a.o.request_attributes=b)} function Tra(a){a.qa([function(b){(b=b.href)&&b[0]==="#"&&OA(go(b))}]); window.addEventListener("hashchange",function(){OA(go());var b=go();(b=PA(b))&&b.scrollIntoView()}); window.addEventListener("load",function(){var b=go();OA(b);(b=PA(b))&&b.scrollIntoView()})} function Ura(){var a=document.querySelector(".main-content");a&&a.addEventListener("focusin",function(b){if(b.target instanceof Element){var c=Do();c&&(b=b.target.getBoundingClientRect().top,c=Math.max(c-b,0),c>0&&window.scrollBy(0,-c))}})} function Qra(a){var b=window.sc_scope||document;b instanceof HTMLDocument&&(b=b.documentElement);b.setAttribute("lang",a.o.lang);b.setAttribute("dir",a.o.rtl?"rtl":"ltr")} function PA(a){return document.getElementById(a)||document.getElementsByName(a)[0]} function OA(a){if(a=PA(a)){var b=Do()||0;var c=(c=document.querySelector(".article-nav"))?c.offsetHeight:void 0;var e=(e=document.querySelector(".scDiscoveryGeniesticky"))?e.offsetHeight:void 0;b=b+(c||0)+(e||0);a.style.scrollMarginTop=b?b+16+"px":""}} var NA=!1,QA={};function Xra(a){switch(a.tagName){case "BUTTON":case "INPUT":case "OPTION":case "SELECT":return!0}return!1} window.sc_initPage=function(a){var b=new MA(a);b.init();if(window.sc_refresh==1){var c;window.sc_pageModel&&(c=window.sc_pageModel.iro);window.sc_pageModel=b.Gb();window.sc_sid=b.oa;c&&(window.sc_pageModel.iro=c);window.sc_registerPageClickHandlers=b.qa.bind(b)}else window.sc_pageModel.html_title=a.html_title}; window.sc_initHelpcenterPageModelProto=function(a){window.sc_helpcenterPageModelProto=a}; tb("hcfe.Page",MA);tb("hcfe.Page.setString",function(a,b){QA[a]=b}); tb("hcfe.Page.getString",function(a){return QA[a]});function Yra(){this.start=window.performance.now()} Yra.prototype.report=function(a){var b=window.performance.now();a={type:a,duration_ms:b-this.start};if(this.requestUrl)for(var c=x(window.performance.getEntriesByName(this.requestUrl)),e=c.next();!e.done;e=c.next())if(e=e.value,e.responseStart>=this.start){a.srt=e.responseStart-this.start;a.ol=a.prt=b-e.responseStart;break}var f;(f=Ks)==null||f.Jp(a)}; function RA(a,b,c,e){c=c===void 0?0:c;e=e===void 0?!0:e;var f=new kz;b=ih(f,1,b);a=Math.trunc(window.performance.now()-a.start);a=fh(b,2,a);e=bh(a,3,e);c!==0&&fh(e,4,c);jo({endpoint:"recordsla",httpMethod:"POST",params:{v:"1"},requestBody:e.serialize()})} ;function SA(a){this.Aa=wf(a)} t(SA,Sh);SA.prototype.setHost=function(a){return gh(this,3,a)}; SA.prototype.Me=function(){return Lg(this,4)};SA.prototype.Ca=kk([0,GA,y,-1,Lj,-1,Oj]);var Zra=new Map([["PROD",1],["STAGING",2],["DRAFT",3],["READY",4],["TEST",5],["DEV",6],["ALPHA",7],["GKMSSTAGING",8],["LOCAL",9]]),$ra=new Set;function asa(a){var b=this;this.Qe=a;this.jJ=!1;this.currentFormId=this.XJ=this.qT=this.dU=0;this.JL=$ra;this.transport=this.Tj(1046,860);this.JK=this.Tj(1324,1323);this.Cb=new IA(!1,"","");Ks=this;bsa(this);window.sc_registerPageClickHandlers&&window.sc_registerPageClickHandlers([function(c){return void b.ud(c)}])} l=asa.prototype;l.Tj=function(a,b){var c=A(),e=Bw(new Aw,c.mendel_ids);a=ty(new sy(c.env==="PROD"?b:a,String(c.au||"0")),e);c.auth_token?kpa(a,function(){return c.auth_token}):"about:blank"===location.href&&kpa(a,function(){return""}); a=a.build();a.Ia=a.Ma;a.Ha=!0;return a}; function bsa(a){var b=ro("StatsDeferredClearcut",!0);if(b){b=Ypa(b);var c=mg(b,fz,1);gh(c,34,A().visit_id);c=pg(c,ez,33,Of());if(c.length>0){a.transport.dispatch(b);a.transport.flush();try{Jo(document,"sc_statsEvent",{detail:c[0]})}catch(e){}}}if(b=ro("ScaledStatsDeferredClearcut",!0))b=gra(b),c=mg(b,$z,3),gh(c,1,A().visit_id),TA(a,b)} l.xU=function(){this.bA();if(window.sc_refresh){var a=UA(this,1);var b=new az;b=eh(b,1,Number(this.Qe.cl));var c=Number(ro("refererViewId"));c>0&&eh(b,3,c);qg(a,az,3,b);VA(this,a)}}; function WA(a){for(var b=[],c=x(document.querySelectorAll("[data-stats-visible-imp]")),e=c.next();!e.done;e=c.next()){e=e.value;var f=XA(e,{type:0}),h=f.type+"-"+f.id+"-"+f.index,k;if(k=!a.JL.has(h))k=void 0,k=k===void 0?50:k,k=dea(e)>=k;k&&(a.JL.add(h),b.push(f))}a.Fj(b,!0)} function csa(a){if(!a.jJ){a.jJ=!0;WA(a);var b;window.addEventListener("scroll",function(){window.clearTimeout(b);b=window.setTimeout(function(){return void WA(a)},300)})}} l.bA=function(a){var b=[];a=x((a||document).querySelectorAll("[data-stats-imp]"));for(var c=a.next();!c.done;c=a.next())b.push(XA(c.value,{type:0}));this.Fj(b)}; l.wU=function(a,b){a=XA(a,{type:0});a.type=b||a.type;this.Fj([a])}; l.Fj=function(a,b){b=b===void 0?!1:b;if(a.length!==0){var c=UA(this,b?7:3),e=HA(YA(this.Qe));b=b?7:3;a=x(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;var h=(new $y).setType(f.type);f.id&&h.setId(f.id);ZA(h,f.index);tg(c,6,$y,h);h=(new iA).setType(Uz.get(f.type));f.id&&gh(h,2,f.id);ZA(h,f.index);f=(new mA).setType(b);f=rg(f,4,nA,h);rA(e,f.setTimestamp((new dl).setSeconds(Date.now()/1E3)))}VA(this,c);TA(this,e)}}; l.tb=function(a,b,c,e,f){dsa(this,a,b,c,e);f instanceof Function&&f()}; l.HL=function(a,b,c,e,f,h){a&&(a=XA(a,{type:0,action:0},h),dsa(this,b||a.type,c||a.action,e||a.id,f||a.index))}; function dsa(a,b,c,e,f){var h=UA(a,5);var k=(new Yy).setType(b);k=ih(k,2,c);b=(new hA).setType(Uz.get(b));c=Nqa.get(c);c=ih(b,2,c);e&&(k.setId(e),gh(c,3,e));ZA(k,f);ZA(c,f);tg(h,7,Yy,k);VA(a,h);e=HA(YA(a.Qe));f=(new mA).setType(2);f=rg(f,3,nA,c);e=rA(e,f.setTimestamp((new dl).setSeconds(Date.now()/1E3)));TA(a,e)} l.ud=function(a){if(a.href!=="#"){var b=a.element;if(b){a:{var c=b;var e;if(e=c){b:{for(e=c;e;){if(e.hasAttribute&&e.hasAttribute("data-stats-ignore")){e=!0;break b}e=e.parentNode}e=!1}e=!e}if(e)for(;c;){if(c.hasAttribute&&c.hasAttribute("data-stats-action")||c.tagName==="A"||Xra(c))break a;c=c.parentNode}c=null}if(c){e=b.href;var f=(f=b.getAttribute("data-stats-toggle-class"))?!Yn(b,f):b instanceof HTMLInputElement&&(b.type==="checkbox"||b.type==="radio")&&!b.checked;e=XA(b,{type:0,id:e,action:f? 29:8});if(e.id!==void 0){a.hc_internal&&qo("refererViewId",A().vid);b=this.wC(a);a:{f=x(eia);for(var h=f.next();!h.done;h=f.next()){var k=x(h.value);h=k.next().value;k=k.next().value;if(Yn(c,h)){f=k;break a}}f=void 0}f=esa(this,e,b,f);e=fsa(e);e=rA(HA(YA(this.Qe)),e);a=a.event;switch(b){case 2:$A(this,a,c,f,e);break;case 1:b=gsa(this,f);b=hsa(this,b);qo("StatsDeferredClearcut",b.serialize())||$A(this,a,c,f);qo("ScaledStatsDeferredClearcut",e.serialize())||$A(this,a,c,void 0,e);break;default:case 3:VA(this, f),TA(this,e)}}}}}}; function $A(a,b,c,e,f){e&&VA(a,e);f&&TA(a,f);if(!b.defaultPrevented){b.preventDefault();a=c.getAttribute&&c.getAttribute("data-stats-delay-url");if(!a&&c instanceof HTMLAnchorElement&&(a=c.href)&&c.target==="_blank"){un(window,a);return}a&&(c=nb(c)&&Sm(c)&&c.tagName.toUpperCase()==="A".toString()?c.target:"",b=window.sc_delayLocationHandler,b instanceof Function?b(a):uo(a,!0,c))}} function aB(a,b,c,e,f){var h=esa(a,{type:b,action:c,id:e,index:f},3);b=fsa({type:b,action:c,id:e,index:f});b=rA(HA(YA(a.Qe)),b);VA(a,h);TA(a,b)} function esa(a,b,c,e){a=UA(a,4);var f=new Xy;c=ih(f,1,c).setType(b.type);c=ih(c,3,b.action).setId(b.id);ZA(c,b.index);e&&(b=new Wy,e=ih(b,1,e),qg(c,Wy,7,e));qg(a,Xy,5,c);return a} function fsa(a){var b=(new gA).setType(Uz.get(a.type));var c=Nqa.get(a.action);b=ih(b,2,c);b=gh(b,3,a.id);ZA(b,a.index);a=(new mA).setType(1);return rg(a,2,nA,b).setTimestamp((new dl).setSeconds(Date.now()/1E3))} function XA(a,b,c){c=c===void 0?!1:c;return{id:bB({element:a,attr:"data-stats-id",defaultValue:b.id}),type:isa({element:a,attr:"data-stats-ve",defaultValue:b.type,Hs:!0}),action:isa({element:a,attr:"data-stats-action",defaultValue:b.action,Hs:c}),index:bB({element:a,attr:"data-stats-idx",defaultValue:b.index})}} l.wC=function(a){var b=a.element.getAttribute("data-stats-method");if(b)switch(b.toUpperCase()){case "DELAY":return 2;case "DEFER":return 1;default:return 3}return a.blank||a.authuser_related?3:a.external?2:a.hc_internal?1:3}; l.Jp=function(a){var b=UA(this,2),c=new Zy;a.ol&&a.ol>=0&&eh(c,1,Math.round(a.ol));a.prt&&a.prt>=0&&eh(c,2,Math.round(a.prt));a.srt&&a.srt>=0&&eh(c,5,Math.round(a.srt));if(a.type&&a.duration_ms){var e=c.setType(a.type);eh(e,4,Math.round(a.duration_ms))}qg(b,Zy,4,c);VA(this,b);var f=Oqa.get(a.type);e=a.duration_ms;b=a.ol;c=a.prt;a=a.srt;f=(new jA).setType(f);e=eh(f,2,e);b>=0&&eh(e,3,b);c>=0&&eh(e,4,c);a>=0&&eh(e,5,a);a=HA(YA(this.Qe));b=(new mA).setType(4);b=rg(b,5,nA,e);a=rA(a,b.setTimestamp((new dl).setSeconds(Date.now()/ 1E3)));TA(this,a)}; l.yU=function(a){var b=new kA;a.ol>=0&&eh(b,1,a.ol);a.prt>=0&&eh(b,2,a.prt);a.srt>=0&&eh(b,5,a.srt);a=HA(YA(this.Qe));var c=(new mA).setType(5);b=rg(c,6,nA,b);b=rA(a,b.setTimestamp((new dl).setSeconds(Date.now()/1E3)));TA(this,b)}; l.zU=function(a){var b=UA(this,6),c=new dz;if(a.top!==void 0&&a.page_view_id!==void 0){var e=c.setTop(Math.trunc(Number(a.top||0)/1E3));gh(e,2,a.page_view_id||"");qg(b,dz,8,c);VA(this,b);b=HA(YA(this.Qe));e=(new mA).setType(6);var f=new lA;f=eh(f,1,a.top||0);a=gh(f,2,a.page_view_id||"");a=rg(e,7,nA,a);a=rA(b,a.setTimestamp((new dl).setSeconds(Date.now()/1E3)));TA(this,a);A().pt===10&&Fo("MoltronLoggingFeature__enable_view_duration_logs")==="true"&&Pra(this.Cb,this.Qe.mid||"",c.getTop()||0)}}; l.Ld=function(){return new Yra}; function UA(a,b){var c=A();var e=new cz;e=ih(e,3,c.iro);e=gh(e,1,c.pid).Vd(c.vid);c.request_attributes&&Yf(e,4,c.request_attributes,pe);if(c=Fo("workflow__session-id")){var f=new bz;c=gh(f,1,c);a.currentFormId!==0&&gh(c,2,String(a.currentFormId));qg(e,bz,5,c)}a=new ez;return qg(a,cz,2,e).setType(b)} function gsa(a,b){var c=A();b.setTimestamp(a.XJ===0?Date.now():a.XJ);var e=new fz;e=ih(e,35,c.ncc);a.Qe.cc&&gh(e,41,a.Qe.cc);var f=ih(e,17,c.dt);f=gh(f,24,c.ehc);f=gh(f,1,c.hc);f=bh(f,38,c.ii);f=Yf(f,21,c.mendel_ids,se);f=ih(f,46,3);f=ih(f,19,c.pt);f=ih(f,14,1);f=ih(f,32,c.rs);f=gh(f,2,c.rl);f=gh(f,12,c.lang);f=ih(f,45,22);f=eh(f,15,17515);b=tg(f,33,ez,b);b=ih(b,43,c.rt).Vd(c.vid);b=gh(b,34,c.visit_id);b=ih(b,55,2);b=bh(b,58,c.web_history_enabled).setSupportJourneyId(c.support_journey_id);c=Zra.get(c.env)|| 0;ih(b,53,c);if(a.Qe.exp)for(a=x(a.Qe.exp),c=a.next();!c.done;c=a.next())if((c=c.value)&&c.active_groups)for(c=c.active_groups.split(";"),c=x(c),b=c.next();!b.done;b=c.next())b=b.value.split("::"),b.length===2&&(f=new Am,f=gh(f,1,b[0]),b=gh(f,2,b[1]),tg(e,13,Am,b));a=(new Vy).setContentType(55);tg(e,3,Vy,a);return e} function hsa(a,b){var c=A(),e=new gz;b=qg(e,fz,1,b);c.ehn&&(c=uu(c.ehn.match(tu)[3]||null),b.setHost(c));a.Qe.ref&&gh(b,3,a.Qe.ref);return b} function VA(a,b){if(Kp("workflow__kms")!=="true"&&!(++a.dU>1E3)){var c=gsa(a,b);$g(c,1)===""?ko({Issue:"No helpcenter found when populating clearcut stats",Stats:b}):(c=hsa(a,c),a.transport.dispatch(c),a.transport.flush(),Jo(document,"sc_statsEvent",{detail:b}))}} function TA(a,b){if(Kp("workflow__kms")!=="true")if($g(mg(b,Xz,6),1)==="")ko({Issue:"No helpcenter found when populating scaled clearcut",Extension:b});else if(!(++a.qT>1E3)){var c=new SA;c=qg(c,qA,1,b);var e=A();e.ehn&&(e=uu(e.ehn.match(tu)[3]||null),c.setHost(e));a.Qe.ref&&gh(c,2,a.Qe.ref);(e=Fo("zwieback_id"))&&Number(e)>0&&Cf(c,5,Qe(e));a.JK.dispatch(c);a.JK.flush();Jo(document,"sc_scaledStatsEvent",{details:b})}} function bB(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=a.Hs===void 0?!1:a.Hs;var f=b&&b.getAttribute&&b.getAttribute(c);if(a)for(;b&&!f;)f=b.getAttribute&&b.getAttribute(c),b=b.parentNode;return(f=f||e)?f.toLowerCase():void 0} function isa(a){var b=a.element;var c=a.attr;var e=a.defaultValue;a=Number(bB({element:b,attr:c,Hs:a.Hs===void 0?!1:a.Hs}));return isNaN(a)?e:a} function ZA(a,b){b&&(b=b.split(","),b[0]&&(Vpa(a)||Wpa(a)||Xpa(a)?a.DF(Number(b[0])):a.yA(Number(b[0]))),b[1]&&a.Mp(Number(b[1])))} window.sc_initStats=function(a){window.sc_statsModel=a;if(!window.sc_refresh){var b=window.sc_trackStatsScopedImpressions;if(b){b(window.sc_scope);return}}a=new asa(a);csa(a);window.sc_trackStatsEvent=a.tb.bind(a);window.sc_trackStatsEventByElement=a.HL.bind(a);window.sc_trackStatsScopedImpressions=a.bA.bind(a);window.sc_trackStatsImpressions=a.Fj.bind(a);window.sc_trackStatsImpressionByElement=a.wU.bind(a);window.sc_trackStatsLatency=a.Jp.bind(a);window.sc_trackStatsPageView=a.xU.bind(a);window.sc_trackStatsTimeOnPage= a.zU.bind(a);window.sc_trackScaledSupportPageView=a.yU.bind(a)}; function YA(a){var b=A();return{env:b.env,cl:b.cl,visitId:b.visit_id,vid:b.vid,pt:b.pt,pid:b.pid,rl:b.rl,dt:b.dt,ii:b.ii,cc:b.cc,lang:b.lang,hc:b.hc,ehc:b.ehc,rs:b.rs,Qe:a,webHistoryEnabled:!!b.web_history_enabled,supportJourneyId:b.support_journey_id||"",productEscalationsId:Fo("productEscalationsId")?Number(Fo("productEscalationsId")):0}} ;function cB(a){a=a===void 0?new bm:a;this.state=this.priority=0;this.Cc=jsa(a);dB(this);eB(this);fB(this)} function gB(a){var b;return(b=cm(a.Cc))!=null?b:new El} l=cB.prototype;l.getPriority=function(){return this.priority}; function hB(a){var b,c=(b=cm(a.Cc))!=null?b:new El;dm(a.Cc,c);return c} function ksa(a){a=hB(a);var b,c=(b=a.getFrdContext())!=null?b:new ml;Fl(a,c);return c} l.getId=function(){var a;return(a=Yg(this.Cc,2))!=null?a:null}; function iB(a){var b,c,e;return(e=(b=cm(a.Cc))==null?void 0:(c=b.getFrdContext())==null?void 0:ah(c,1))!=null?e:null} function jB(a){var b,c;return(c=(b=cm(a.Cc))==null?void 0:ah(b,5))!=null?c:null} l.setPriority=function(a){this.priority=a;return this}; l.isRequired=function(){var a;return(a=Hg(this.Cc,5))!=null?a:!1}; l.setRequired=function(a){bh(this.Cc,5,a);return this}; l.Sq=function(){return Tg(this.Cc,4,Of()).includes(1)||this.yq()===5}; function kB(a,b){Tg(a.Cc,4,Of()).includes(b)||(bg(a.Cc,4,pe,b,void 0,re),dB(a))} l.yq=function(){var a,b,c;return(c=(a=cm(this.Cc))==null?void 0:(b=a.getFrdContext())==null?void 0:ah(b,2))!=null?c:null}; l.td=function(a){this.yq()!==a&&(ksa(this).td(a),dB(this));return this}; l.Wb=function(){return this.getValues().length>0}; l.getValues=function(){var a;if((a=cm(this.Cc))==null||!Hl(a))return[];var b;a=(b=cm(this.Cc))==null?void 0:Hl(b);var c,e,f,h,k,n,p,r,u,w,z,la;return((c=a.rk())==null?0:vl(c).length)?(e=a.rk())==null?void 0:vl(e,Ld):((f=a.dh())==null?0:zg(f,Of()).length)?(h=a.dh())==null?void 0:zg(h,Of(Ld)):((k=a.Go())==null?0:sl(k).length)?(n=a.Go())==null?void 0:sl(n).map(function(ma){return zg(ma,Of(Ld))}):((p=xl(a))==null?0:vl(p).length)?(r=xl(a))==null?void 0:vl(r,Ld):((u=Al(a))==null?0:zg(u,Of()).length)?(w= Al(a))==null?void 0:zg(w,Of(Ld)):((z=Cl(a))==null?0:Pf(z,1,Vf,Of()).length)?(la=Cl(a))==null?void 0:Pf(la,1,Vf,Of()).map(function(ma){return Yc(ma)}):Cg(a,Hf(a,yl,7))!=null?[a.xq()]:[]}; l.rk=function(){var a,b,c,e;return(e=(a=cm(this.Cc))==null?void 0:(b=Hl(a))==null?void 0:(c=b.rk())==null?void 0:vl(c,Ld))!=null?e:null}; l.dh=function(){var a,b,c,e;return(e=(a=cm(this.Cc))==null?void 0:(b=Hl(a))==null?void 0:(c=b.dh())==null?void 0:zg(c,Of(Ld)))!=null?e:null}; l.Go=function(){var a,b,c,e;return(e=(a=cm(this.Cc))==null?void 0:(b=Hl(a))==null?void 0:(c=b.Go())==null?void 0:sl(c).map(function(f){return zg(f,Of(Ld))}))!=null?e:null}; l.xq=function(){var a,b;if((a=cm(this.Cc))==null)var c=void 0;else{if((a=Hl(a))==null)a=void 0;else{var e=Hf(a,yl,7);a=(c=Cg(a,e))!=null?c:void 0}c=a}return(b=c)!=null?b:null}; l.Jg=function(a){lB(this).Jg(mB(a));fB(this);return this}; l.Aj=function(a){lB(this).Aj(nB(a));fB(this);return this}; l.zv=function(a){lB(this).zv(tl(new rl,a.map(function(b){return nB(b)}))); fB(this);return this}; l.setDateValues=function(a){Bl(lB(this),oB(a));fB(this);return this}; l.Lh=function(a){lB(this).Lh(a);fB(this);return this}; function lB(a){var b=new wl;Il(hB(a),b);return b} function dB(a){var b;a.Sq()&&((b=cm(a.Cc))==null?0:Ef(b,ml,1))&&(kB(a,1),a.td(5))} function eB(a){var b,c=(b=jB(a))!=null?b:iB(a);c&&eh(a.Cc,2,c)} l.WI=function(){var a,b=(a=cm(this.Cc))==null?void 0:Hl(a);if(!b)return 0;var c;return(c=lsa.get(hg(b,yl)))!=null?c:0}; function fB(a){var b=a.WI();b===0?Cf(a.Cc,3):ih(a.Cc,3,b)} l.qc=function(){return!!this.getId()&&this.Wb()}; var lsa=new Map([[3,2],[2,1],[6,8],[8,4],[4,3],[5,11],[7,9]]);function msa(a){var b=Gl(new El,a.frdIdentifier);if(a.frdContext){var c=a.frdContext;c=nl(new ml,c.frdIdentifier).td(c.contextType)}else c=void 0;return Il(Fl(b,c),nsa(a.selectedValueList))} function nsa(a){if(a){if(a.stringValues)return(new wl).Jg(mB(a.stringValues.value));if(a.intValues)return(new wl).Aj(nB(a.intValues.value));if(a.intListValues)return(new wl).zv(tl(new rl,a.intListValues.list.map(function(b){return nB(b.value)}))); if(a.enumValueIdentifiers)return zl(new wl,mB(a.enumValueIdentifiers.value));if(a.dateTimeValues)return Bl(new wl,oB(a.dateTimeValues.valueTimeMillis));if(a.bytesValues)return Dl(new wl,osa(a.bytesValues.value));if(typeof a.boolValue==="boolean")return(new wl).Lh(a.boolValue)}} function psa(a){var b=Gl(new El,a.frd_identifier);if(a.frd_context){var c=a.frd_context;c=nl(new ml,c.frd_identifier).td(c.context_type)}else c=void 0;return Il(Fl(b,c),qsa(a.selected_value_list))} function qsa(a){if(a){if(a.string_values)return(new wl).Jg(mB(a.string_values.value));if(a.int_values)return(new wl).Aj(nB(a.int_values.value));if(a.int_list_values)return(new wl).zv(tl(new rl,a.int_list_values.list.map(function(b){return nB(b.value)}))); if(a.enum_value_identifiers)return zl(new wl,mB(a.enum_value_identifiers.value));if(a.date_time_values)return Bl(new wl,oB(a.date_time_values.value_time_millis));if(a.bytes_values)return Dl(new wl,osa(a.bytes_values.value));if(typeof a.bool_value==="boolean")return(new wl).Lh(a.bool_value)}} function pB(a){var b=a.getFrdContext(),c=Gg(a,5);a=Hl(a);var e={};if(b){var f=Gg(b,1);b=Gg(b,2);var h={};typeof f==="number"&&(h.frd_identifier=f);typeof b==="number"&&(h.context_type=b);e.frd_context=h}typeof c==="number"&&(e.frd_identifier=c);a&&(e.selected_value_list=rsa(a));return e} function rsa(a){var b=a.rk();if(b)return{string_values:{value:vl(b,Ld)}};if(b=a.dh())return{int_values:{value:zg(b,Of(Ld))}};if(b=xl(a))return{enum_value_identifiers:{value:vl(b,Ld)}};if(b=Al(a))return{date_time_values:{value_time_millis:zg(b,Of(Ld))}};if(b=Cl(a))return{bytes_values:{value:Pf(b,1,Vf,Of()).map(function(c){return Yc(c)})}}; b=Cg(a,Hf(a,yl,7));return typeof b==="boolean"?{bool_value:b}:(a=a.Go())?{int_list_values:{list:sl(a).map(function(c){return{value:zg(c,Of(Ld))}})}}:{}} function jsa(a){if(a instanceof bm)return a.clone();if("frdId"in a||"frdValue"in a&&!Array.isArray(a.frdValue)){var b=new bm;b=eh(b,2,a.frdId);b=dm(b,a.frdValue?msa(a.frdValue):void 0);b=ih(b,3,a.frdValueType);b=Yf(b,4,a.frdUsages,pe);return bh(b,5,a.isRequired)}if("frd_id"in a||"frd_value"in a&&!Array.isArray(a.frd_value))return b=new bm,b=eh(b,2,a.frd_id),b=dm(b,a.frd_value?psa(a.frd_value):void 0),b=ih(b,3,a.frd_value_type),b=Yf(b,4,a.frd_usages,pe),bh(b,5,a.is_required);if(a instanceof El)return qB(a.clone()); if("frdIdentifier"in a||"frdContext"in a)return qB(msa(a));if("frd_identifier"in a||"frd_context"in a)return qB(psa(a));throw Error("Unrecognized FRD representation:"+JSON.stringify(a,null,"\t"));} function nB(a){return(new ql).Kg(a)} function mB(a){return(new ul).Kg(a)} function oB(a){return Mba(new pl,a)} function osa(a){return(new ol).Kg(a==null?void 0:a.slice())} function qB(a){return dm(new bm,a)} ;var ssa=Ha(["/s/renderframe2/"]);function rB(a){this.formId=a} rB.prototype.load=function(){var a=this;if(this.o)return this.o;this.Uc=document.createElement("iframe");this.Uc.style.display="none";document.body.appendChild(this.Uc);this.o=new Promise(function(b,c){a.Uc.addEventListener("load",function(){var e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.jp(),4);if(f.o!=2){a.form=f.ma;var h=a.form,k=Ho();Object.keys(k).length>0&&h.setProductSpecificData(k);a.Uc.contentWindow.sc_ensureSubscribed=window.sc_ensureSubscribed;b();return Qa(f,0)}e=Ra(f); c(e);Oa(f)})})}); tn(this.Uc,1,Qn(ssa));return this.o}; rB.prototype.jp=function(){var a=this;return new Promise(function(b,c){(new xy({apiKey:A().skey||"",requestSource:A().rs,locale:A().lang,sendEndUserCredentials:!0,authToken:A().auth_token,authUser:A().au,host:A().ehn,visitId:A().visit_id,viewId:A().vid})).load({helpcenter:A().hc,pageType:"CONTACT_FORM",pageId:a.formId,includeComponents:[],injectInto:a.Uc,onLoad:function(e){return void b(e)}, onError:c})})}; rB.prototype.getChatAvailability=function(){var a=this,b,c;return Ya(function(e){return e.return((c=(b=a.form)==null?void 0:b.getChatAvailability())!=null?c:!1)})}; rB.prototype.submitForm=function(){this.form.submitForm()};function sB(a){var b=io();return b?oq(a,new Map([["sjid",b]]),!0):a} ;function tsa(){usa(this)} function usa(a){window.sc_registerPageClickHandlers([function(b){b.hc_internal&&(b=b.element,b.href&&b.href.startsWith("http")&&(b.search=tB(b.search)))}.bind(a)]); so.push(function(b){b.href&&b.href.startsWith("http")&&(b.search=tB(b.search))}); a.o();window.addEventListener("load",a.o.bind(a))} tsa.prototype.o=function(){for(var a=document.querySelectorAll(".gaiabar form, .non-one-bar form, #search-form"),b=0;b0&&(!a.aD||a.Hb.ma||a.Hb.defaultLanguage==="en")} ;function NB(a){this.Aa=wf(a)} t(NB,Sh);l=NB.prototype;l.Dh=function(){return Ig(this,4)}; l.Vd=function(a){return eh(this,4,a)}; l.getUserAgent=function(){return Mg(this,6)}; l.Me=function(){return Kg(this,8)}; l.setSupportJourneyId=function(a){return gh(this,9,a)};var OB=[0,Pq,Lj,y,Mj,y,-1,ck,Dj,y,Rj];NB.prototype.Ca=kk(OB);function PB(a){this.Aa=wf(a)} t(PB,Sh);PB.prototype.kb=function(){return Kg(this,1)}; PB.prototype.vb=oa(37);PB.prototype.getMessageId=function(){return Kg(this,3)};PB.prototype.Ca=kk([0,Dj,-2,1,y,4,OB]);function QB(a){this.Aa=wf(a)} t(QB,Sh);QB.prototype.kb=function(){return Kg(this,1)}; QB.prototype.vb=oa(36);QB.prototype.getMessageId=function(){return Kg(this,3)};QB.prototype.Ca=kk([0,Dj,-2,6,OB]);function RB(a){this.Aa=wf(a)} t(RB,Sh);l=RB.prototype;l.kb=function(){return Kg(this,1)}; l.vb=oa(35);l.getMessageId=function(){return Kg(this,3)}; l.getType=function(){return Ng(this,4,0)}; l.setType=function(a){return ih(this,4,a)};RB.prototype.Ca=kk([0,Dj,-2,ck,5,OB]);function SB(a){this.Aa=wf(a)} t(SB,Sh);l=SB.prototype;l.kb=function(){return Kg(this,1)}; l.vb=oa(34);l.getMessageId=function(){return Kg(this,3)}; l.Ne=oa(41);l.fg=function(a){return ih(this,4,a)};SB.prototype.Ca=kk([0,Dj,-2,ck,Rj,4,OB]);function TB(a){this.Aa=wf(a)} t(TB,Sh);TB.prototype.kb=function(){return Kg(this,1)}; TB.prototype.vb=oa(32);TB.prototype.Ca=kk([0,Dj,-1,ck,6,OB]);function UB(a){this.Aa=wf(a)} t(UB,Sh);UB.prototype.kb=function(){return Kg(this,1)}; UB.prototype.vb=oa(31);UB.prototype.Ne=oa(40);UB.prototype.fg=function(a){return ih(this,3,a)};UB.prototype.Ca=kk([0,Dj,-1,ck,6,OB]);function VB(a){this.Aa=wf(a)} t(VB,Sh);l=VB.prototype;l.kb=function(){return Kg(this,1)}; l.vb=oa(30);l.getValue=function(){return Hg(this,3,!0)}; l.setValue=function(a){return bh(this,3,a)}; l.Wb=function(){return Cg(this,3)!=null};VB.prototype.Ca=kk([0,Dj,-1,Rj,Dj,y,ck,3,OB]);function WB(a){this.Aa=wf(a)} t(WB,Sh);WB.prototype.kb=function(){return Kg(this,1)}; WB.prototype.vb=oa(28);WB.prototype.getMessageId=function(){return Kg(this,3)};WB.prototype.Ca=kk([0,Dj,-2,6,OB]);function XB(a){this.Aa=wf(a)} t(XB,Sh);l=XB.prototype;l.kb=function(){return Kg(this,1)}; l.vb=oa(27);l.getMessageId=function(){return Kg(this,3)}; l.Ne=oa(39);l.fg=function(a){return ih(this,4,a)};XB.prototype.Ca=kk([0,Dj,-2,ck,5,OB]);var Nsa=[0,ck,y];function Fs(a){this.Aa=wf(a)} t(Fs,Sh);var Osa=[0,Xj,Nsa];Fs.prototype.Ca=kk(Osa);function YB(a){this.Aa=wf(a)} t(YB,Sh);l=YB.prototype;l.Co=function(){return Mg(this,3)}; l.getMimeType=function(){return Mg(this,5)}; l.setMimeType=function(a){return gh(this,5,a)}; l.getContent=function(){var a=this.Aa,b=od(a),c=Bf(a,b,6),e=Vf(c);e!=null&&e!==c&&Df(a,b,6,e);return e==null?Wc():e}; l.setContent=function(a){return Cf(this,6,Cd(a,!1,!0))}; l.clearContent=function(){return Cf(this,6)};function ZB(a){this.Aa=wf(a)} t(ZB,Sh);ZB.prototype.kb=function(){return Kg(this,1)}; ZB.prototype.vb=oa(26);ZB.prototype.getMessage=function(){return mg(this,Ek,3)};var $B=[0,y,-2,Rj,y,Zj,Nk,Rj];YB.prototype.Ca=kk($B);ZB.prototype.Ca=kk([0,Dj,-1,Ok,Rj,Xj,$B,ck,3,OB]);function aC(a){this.Aa=wf(a)} t(aC,Sh);aC.prototype.kb=function(){return Kg(this,1)}; aC.prototype.getThread=function(){return mg(this,Qk,2)}; aC.prototype.getIsDraft=function(){return Hg(this,8,!1)}; aC.prototype.setIsDraft=function(a){return bh(this,8,a)};aC.prototype.Ca=kk([0,Dj,Sk,Rj,Xj,$B,ck,y,-1,Rj,1,OB,y,-1]);function bC(a){this.Aa=wf(a)} t(bC,Sh);bC.prototype.kb=function(){return Kg(this,1)}; bC.prototype.vb=oa(25);bC.prototype.getMessageId=function(){return Kg(this,3)};bC.prototype.Ca=kk([0,Dj,-2,Rj,5,OB]);function cC(a){this.Aa=wf(a)} t(cC,Sh);cC.prototype.kb=function(){return Kg(this,1)}; cC.prototype.vb=oa(24);cC.prototype.Ca=kk([0,Dj,-1,Rj,6,OB]);function dC(a){this.Aa=wf(a)} t(dC,Sh);dC.prototype.kb=function(){return Kg(this,1)}; dC.prototype.vb=oa(23);dC.prototype.getMessageId=function(){return Kg(this,3)}; dC.prototype.getMessage=function(){return mg(this,Ek,4)};dC.prototype.Ca=kk([0,Dj,-2,Ok,Xj,$B,ck,Rj,-1,1,OB]);function eC(a){this.Aa=wf(a)} t(eC,Sh);l=eC.prototype;l.kb=function(){return Kg(this,1)}; l.vb=oa(22);l.getThread=function(){return mg(this,Qk,3)}; l.getIsDraft=function(){return Hg(this,6)}; l.setIsDraft=function(a){return bh(this,6,a)};eC.prototype.Ca=kk([0,Dj,-1,Sk,Xj,$B,ck,Rj,-1,2,OB]);function fC(a){this.Aa=wf(a)} t(fC,Sh);fC.prototype.kb=function(){return Kg(this,1)}; function gC(a,b){return fh(a,1,b)} fC.prototype.vb=oa(21);fC.prototype.getMessageId=function(){return Kg(this,4)}; fC.prototype.clearOffTopic=function(){return Cf(this,7)}; function Psa(a){var b=new NB;return qg(a,NB,10,b)} ;fC.prototype.Ca=kk([0,Dj,y,Dj,-1,1,Dj,Rj,-1,1,OB]);function hC(a){this.Aa=wf(a)} t(hC,Sh);hC.prototype.Ca=kk([0,9,OB]);function iC(a){this.Aa=wf(a)} t(iC,Sh);iC.prototype.getInfo=function(){return mg(this,Zk,1)};iC.prototype.Ca=kk([0,al,Rj]);function jC(a){this.Aa=wf(a)} t(jC,Sh);jC.prototype.kb=function(){return Kg(this,1)}; jC.prototype.getValue=function(){return Ng(this,2,2)}; jC.prototype.setValue=function(a){return ih(this,2,a)}; jC.prototype.Wb=function(){return Gg(this,2)!=null};jC.prototype.Ca=kk([0,Dj,ck,Dj,y,5,OB]);function kC(a){this.Aa=wf(a)} t(kC,Sh);kC.prototype.getInfo=function(){return mg(this,Zk,2)};kC.prototype.Ca=kk([0,Dj,al,Rj,$B,Dj,4,OB]);function lC(a){this.Aa=wf(a)} t(lC,Sh);lC.prototype.getInfo=function(){return mg(this,Zk,1)}; lC.prototype.kb=function(){return Kg(this,2)};lC.prototype.Ca=kk([0,al,Dj,7,OB]);var Qsa=0;function mC(a){this.options=a;this.id=""+Qsa++} function nC(a){var b=Rsa(a);b&&Ssa(a,b)} mC.prototype.focus=function(a){var b;(b=a?this.getItem(a):Rsa(this))==null||b.focus()}; function oC(a){var b='[data-focus-group="'+a.id+'"][data-focus-item]';a=a.options.scope;a=typeof a.nodeType==="number"?a:a.getElement();return(b=a==null?void 0:a.querySelectorAll(b))?Array.from(b):[]} mC.prototype.getItem=function(a){return Uea(this.options.scope,'[data-focus-group="'+this.id+'"][data-focus-id="'+a+'"')}; function Rsa(a){a=oC(a);if(a.length!==0){var b,c;return(c=(b=a.find(function(e){return e.tabIndex===0}))!=null?b:a.find(function(e){return e.dataset.focusInitial==="true"}))!=null?c:a[0]}} function Pt(a,b){b=b===void 0?{}:b;return new Tsa(b,a.id,function(c){a.onFocus(c)},function(c){Usa(a,c,b)})} mC.prototype.onFocus=function(a){Ssa(this,a.target)}; function Usa(a,b,c){function e(h,k,n){if(h){var p;(p=a.getItem(h))==null||p.focus();b.preventDefault()}else{if(h=k)h=a.options.vn,k=oC(a),p=k.indexOf(f),p===-1?h=!1:(n=p+n,n=h?(n+k.length)%k.length:Math.max(0,Math.min(k.length-1,n)),k[n].focus(),h=!0);h&&b.preventDefault()}} var f=b.target;b.key==="ArrowUp"?e(c.up,a.options.Nj,-1):b.key==="ArrowDown"?e(c.Xka,a.options.Nj,1):b.key==="ArrowLeft"?e(c.left,a.options.Ss,-1):b.key==="ArrowRight"&&e(c.right,a.options.Ss,1)} function Ssa(a,b){a=x(oC(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.tabIndex=c===b?0:-1} function Tsa(a,b,c,e){this.options=a;this.groupId=b;this.tq=c;this.Au=e} Tsa.prototype.attributes=function(a){var b=a===void 0?{}:a;a=b.Sp===void 0?!0:b.Sp;b=b.Qs===void 0?!0:b.Qs;var c=["data-focus-item","true","data-focus-group",this.groupId,"tabindex","-1000"];this.options.id&&c.push("data-focus-id",this.options.id);this.options.initial&&c.push("data-focus-initial","true");a&&c.push("onfocus",this.tq);b&&c.push("onkeydown",this.Au);return c};function pC(a,b){if(c===void 0)var c=(c=window.gtag)&&typeof c==="function"?c:void 0;c&&(b?c("event",a,Object.assign({},b)):c("event",a))} ;function qC(a){this.Aa=wf(a)} t(qC,Sh);qC.prototype.getCode=function(){return Ng(this,1,0)}; qC.prototype.getMessage=function(){return Mg(this,4)}; var Vsa=mk(qC);qC.prototype.Ca=kk([0,ck,-1,Osa,y]);function rC(a){this.Kk=new cr({serverUrl:function(){return AB().mx+"/s/community/api"}, serviceName:a})} rC.prototype.call=function(a,b,c){var e=this,f;return Ya(function(h){if(h.o==1){Pa(h,2);var k=h.yield,n=e.Kk,p=n.post,r={withCredentials:!0};AB().authuser&&(r.query={authuser:AB().authuser});AB().pH&&(r.headers={Authorization:AB().pH});return k.call(h,p.call(n,a,b,c,r),4)}if(h.o!=2)return h.return(h.ma);f=Ra(h);if(f instanceof br&&f.type==="application_error")throw new Es(Vsa(f.responseText));throw f;})};function sC(a){this.Aa=wf(a)} t(sC,Sh);sC.prototype.Ca=kk([0]);function tC(){var a={};var b=a.Zg;var c=a.Sh;a=a.Cf;this.productId=0;this.Zg=b!=null?b:new rC("SupportForums");this.Sh=c!=null?c:new rC("UserInfo");this.Cf=a!=null?a:new rC("Annotations")} function uC(a,b){a.productId>0&&fh(b,8,a.productId);if(a=A())a.vid&&b.Vd(Number(a.vid)),a.visit_id&&gh(b,3,String(a.visit_id))} l=tC.prototype; l.updateGlobalUserInfo=function(a){var b=a.userId;var c=a.name;var e=a.headline;var f=a.bio;var h=a.WU;var k=a.youtube;var n=a.IF;var p=a.Ep;var r=a.avatar;var u=a.yR;var w=a.zk;var z=a.generativeAnswerTosAcceptedTimeUsec;var la=this,ma,sa,Aa,Ca;return Ya(function(Ga){ma=new Xk;sa=new Wk;Aa=$k(new Zk,ma).EF(sa);var Na=new kC;Ca=qg(Na,Zk,2,Aa);b&&fh(Ca,1,b);c&&(ma.setName(c),Na=bh(Aa,5,!1),bh(Na,4,!1));e!==void 0&&gh(ma,4,e);f!==void 0&&gh(ma,5,f);h!==void 0&&gh(ma,6,h);k!==void 0&&gh(ma,7,k);n!== void 0&&bh(sa,3,n);p!==void 0&&bh(sa,4,p);u!==void 0&&fh(sa,23,u);w!==void 0&&bh(sa,24,w);z!==void 0&&fh(sa,28,z);r&&qg(Ca,YB,4,r);return Ga.return(la.Sh.call("UpdateGlobalUserInfo",Ca,Zk))})}; l.validateUserInfo=function(a){var b=this,c;return Ya(function(e){var f=new lC,h=$k(new Zk,(new Xk).setName(a));c=qg(f,Zk,1,h);return e.yield(b.Sh.call("ValidateUserInfo",c,sC),0)})}; l.subscribeToForum=function(a,b){var c=this,e;return Ya(function(f){var h=new jC;h=fh(h,1,a).setValue(b);var k=new NB;e=qg(h,NB,10,k);uC(c,mg(e,NB,10));return f.yield(c.Sh.call("SubscribeToForum",e,sC),0)})}; l.getDefaultUserInfo=function(){var a=this,b;return Ya(function(c){if(c.o==1)return c.yield(a.Sh.call("GetDefaultUserInfo",new hC,iC),2);b=c.ma;return c.return(b.getInfo())})}; l.setThreadAttribute=function(a,b,c){var e=this,f;return Ya(function(h){var k=new TB;k=fh(k,1,a);k=fh(k,2,b);k=ih(k,3,c);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));return h.yield(e.Cf.call("SetThreadAttribute",f,sC),0)})}; l.createThread=function(a){var b=a.forumId;var c=a.title;var e=a.payload;var f=a.purpose;var h=a.category;var k=a.symptom;var n=a.details===void 0?new Map:a.details;var p=a.Bf===void 0?[]:a.Bf;var r=a.subscribe===void 0?!1:a.subscribe;var u=a.If===void 0?!0:a.If;var w=a.Yu;var z=a.articleId;var la=a.postMethod;var ma=this,sa,Aa,Ca,Ga,Na,Ta,Xa,bb,Eb,Mb,Fb;return Ya(function(kb){var vb=(new Qk).setTitle(c);sa=gh(vb,13,e).setLanguage(CB());f!==void 0&&ih(sa,21,f);h&&gh(sa,22,h);k&&gh(sa,45,k);Aa=x(n); for(Ca=Aa.next();!Ca.done;Ca=Aa.next()){Ga=Ca.value;Na=x(Ga);Ta=Na.next().value;Xa=Na.next().value;bb=Ta;Eb=Xa;vb=sa;var Wb=(new Pk).setKey(bb).setValue(Eb);tg(vb,16,Pk,Wb)}z&&(Mb=new sk,vb=new pk,Wb=AB().internalHelpCenter,vb=gh(vb,1,Wb),Wb=fh(vb,2,Number(z)),vb=Mb,Wb=Wb.setLanguage(CB()),rg(vb,3,tk,Wb),qg(sa,sk,43,Mb));la&&ih(sa,28,la);vb=new aC;vb=fh(vb,1,b);vb=qg(vb,Qk,2,sa);Wb=p.filter(vC).map(wC);vb=sg(vb,4,Wb);vb=bh(vb,3,r);vb=ih(vb,5,u?1:0);Wb=new NB;Fb=qg(vb,NB,10,Wb);uC(ma,mg(Fb,NB,10)); w&&gh(Fb,7,w);pC("create",{content_type:"forum_thread"});return kb.return(ma.Zg.call("CreateThread",Fb,Qk))})}; l.updateThread=function(a,b,c,e,f){f=f===void 0?!0:f;var h=this,k;return Ya(function(n){var p=new eC;p=fh(p,1,a);p=fh(p,2,b);p=qg(p,Qk,3,c);var r=e.filter(vC).map(wC);p=sg(p,4,r);p=ih(p,5,f?1:0);r=new NB;k=qg(p,NB,10,r);uC(h,mg(k,NB,10));return n.return(h.Zg.call("UpdateThread",k,Qk))})}; l.createMessage=function(a){var b=a.forumId;var c=a.threadId;var e=a.payload;var f=a.type===void 0?1:a.type;var h=a.subscribe===void 0?!1:a.subscribe;var k=a.If===void 0?!0:a.If;var n=a.Bf===void 0?[]:a.Bf;var p=a.parentMessageId===void 0?void 0:a.parentMessageId;var r=a.sourceMessage===void 0?void 0:a.sourceMessage;var u=this,w,z,la;return Ya(function(ma){w=(new Ak).setType(f);var sa=new Ek;sa=gh(sa,4,e);z=qg(sa,Ak,6,w);p&&fh(z,37,p);r&&qg(z,xk,42,r);sa=new ZB;sa=fh(sa,1,b);sa=fh(sa,2,c);sa=qg(sa, Ek,3,z);sa=bh(sa,4,h);sa=ih(sa,6,k?1:0);var Aa=n.filter(vC).map(wC);sa=sg(sa,5,Aa);Aa=new NB;la=qg(sa,NB,10,Aa);uC(u,mg(la,NB,10));return ma.return(u.Zg.call("CreateMessage",la,Ek))})}; l.updateMessage=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.updates;var h=a.attachments;var k=a.qL===void 0?!1:a.qL;var n=this,p;return Ya(function(r){var u=new dC;u=fh(u,1,b);u=fh(u,2,c);u=fh(u,3,e);u=qg(u,Ek,4,f);u=ih(u,6,k?0:1);var w=h.filter(vC).map(wC);u=sg(u,5,w);w=new NB;p=qg(u,NB,10,w);uC(n,mg(p,NB,10));return r.return(n.Zg.call("UpdateMessage",p,Ek))})}; l.setMessageVote=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.vote;var h=a.fk;var k=this,n;return Ya(function(p){var r=new SB;r=fh(r,1,b);r=fh(r,2,c);r=fh(r,3,e).fg(f);r=bh(r,5,h);var u=new NB;n=qg(r,NB,10,u);uC(k,mg(n,NB,10));return p.yield(k.Cf.call("SetMessageVote",n,sC),0)})}; l.unsetMessageVote=function(a){var b=a.forumId;var c=a.threadId;var e=a.messageId;var f=a.vote;var h=this,k;return Ya(function(n){var p=new XB;p=fh(p,1,b);p=fh(p,2,c);p=fh(p,3,e).fg(f);var r=new NB;k=qg(p,NB,10,r);uC(h,mg(k,NB,10));return n.yield(h.Cf.call("UnsetMessageVote",k,sC),0)})}; l.reportAbuse=function(a,b,c){var e=this,f;return Ya(function(h){var k=gC(new fC,a);k=fh(k,3,b);f=Psa(k);uC(e,mg(f,NB,10));c!==void 0&&fh(f,4,c);return h.yield(e.Zg.call("UserFlag",f,sC),0)})}; l.Vk=oa(44);l.reportOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new PB;k=fh(k,1,a);k=fh(k,2,b);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));c!==void 0&&fh(f,3,c);return h.yield(e.Cf.call("SetOffTopic",f,sC),0)})}; l.clearOffTopic=function(a,b,c){var e=this,f;return Ya(function(h){var k=new QB;k=fh(k,1,a);k=fh(k,2,b);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));c!==void 0&&fh(f,3,c);return h.yield(e.Cf.call("SetOnTopic",f,sC),0)})}; l.Ym=oa(47);l.wm=oa(50);l.setThreadVote=function(a,b,c){var e=this,f;return Ya(function(h){var k=new UB;k=fh(k,1,a);k=fh(k,2,b).fg(c);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));return h.yield(e.Cf.call("SetThreadVote",f,sC),0)})}; l.subscribeToThread=function(a,b,c){var e=this,f;return Ya(function(h){var k=new VB;k=fh(k,1,a);k=fh(k,2,b);k=ih(k,6,Wsa(c));var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));return h.yield(e.Cf.call("SubscribeToThread",f,sC),0)})}; l.deleteThread=function(a,b){var c=this,e;return Ya(function(f){var h=new cC;h=fh(h,1,a);h=fh(h,2,b);var k=new NB;e=qg(h,NB,10,k);uC(c,mg(e,NB,10));return f.yield(c.Zg.call("DeleteThread",e,sC),0)})}; l.deleteMessage=function(a,b,c){var e=this,f;return Ya(function(h){var k=new bC;k=fh(k,1,a);k=fh(k,2,b);k=fh(k,3,c);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));return h.yield(e.Zg.call("DeleteMessage",f,sC),0)})}; l.setMessageType=function(a,b,c,e){var f=this,h;return Ya(function(k){var n=new RB;n=fh(n,1,a);n=fh(n,2,b);n=fh(n,3,c).setType(e);var p=new NB;h=qg(n,NB,10,p);uC(f,mg(h,NB,10));return k.yield(f.Cf.call("SetMessageType",h,sC),0)})}; l.unsetMessageType=function(a,b,c){var e=this,f;return Ya(function(h){var k=new WB;k=fh(k,1,a);k=fh(k,2,b);k=fh(k,3,c);var n=new NB;f=qg(k,NB,10,n);uC(e,mg(f,NB,10));return h.yield(e.Cf.call("UnsetMessageType",f,sC),0)})}; l.Qm=oa(53);function Wsa(a){switch(a){case 1:return 2;case 0:return 1;case 2:return 3;default:return 0}} function wC(a){var b=new YB;b=gh(b,1,a.originalFilename);b=gh(b,3,a.documentId);a.Ff&&gh(b,2,a.Ff);a.deleted&&bh(b,4,!0);return b} function vC(a){return a.Ff!==void 0&&!a.deleted||a.Ff===void 0&&a.deleted} ;var xC=new Fn,Xsa="Showing results for "+Gn(xC,"a")+"KEYWORD"+In(xC,"a"),Ysa=xC.format(Xsa),Zsa="Search instead for "+Gn(xC,"a")+"KEYWORD"+In(xC,"a"),$sa=xC.format(Zsa),ata="Did you mean: "+Gn(xC,"a")+"KEYWORD"+In(xC,"a"),bta=xC.format(ata);function yC(a,b){b=b===void 0?0:b;$p.call(this);this.o=a;this.index=b;this.rank=b+1} t(yC,$p);l=yC.prototype;l.getIndex=function(){return this.index}; l.getTitle=function(){var a;return Xr((a=this.o.getTitle())!=null?a:"")}; l.fe=function(){var a;return(a=this.o.fe())!=null?a:""}; function cta(a){var b;return(b=Fg(a.o,12))!=null?b:""} l.getUrl=function(){var a;return(a=this.o.getUrl())!=null?a:""}; function zC(a){var b=a.getUrl();if(!b)return b;var c=AC(a);if(c===8||c===9){var e,f;a=(f=(e=rm(a.o))==null?void 0:Fg(e,5))!=null?f:"";b=sq(a,b)}return b} l.Qb=function(){var a;return(a=this.o.Qb())!=null?a:""}; function Lz(a){var b;return(b=Fg(a.o,21))!=null?b:""} function BC(a){var b,c;return(c=(b=qm(a.o))==null?void 0:b.Dq())!=null?c:0} function CC(a){var b,c;return(c=(b=qm(a.o))==null?void 0:Dg(b,3))!=null?c:0} function dta(a){var b,c;return(c=(b=qm(a.o))==null?void 0:ah(b,9))!=null?c:0} function AC(a){var b;a=(b=ah(a.o,4))!=null?b:null;switch(a){case 81:return 0;case 72:return 1;case 62:case 63:case 65:return 2;case 70:return 3;case 21:return 4;case 99:return 7;case 102:return 8;case 103:return 9;default:return a?5:6}} function DC(a,b){var c=AC(a),e="";switch(c){case 0:var f;e=(f=b==null?void 0:Fg(b,25))!=null?f:"";break;case 1:case 2:var h;e=(h=b==null?void 0:Fg(b,8))!=null?h:"";break;case 3:var k;e=(k=b==null?void 0:Fg(b,24))!=null?k:"";break;case 5:var n;e=(n=b==null?void 0:Fg(b,7))!=null?n:"";break;case 4:var p;e=(p=b==null?void 0:Fg(b,21))!=null?p:"";break;case 7:e="Guidebooks lesson";break;case 8:e="Community video";break;case 9:e="Help video";break;case 6:b=null;try{var r;b=new URL((r=a.getUrl())!=null?r: "","https://support.google.com")}catch(u){}b!==null&&(e=b.host)}c!==6&&c!==7&&cta(a)&&(e+=" - "+cta(a));return e} function EC(a){return pg(a.o,mm,27,Of()).map(function(b){return new yC(b,a.index)})} function eta(a){var b,c;return(c=(b=rm(a.o))==null?void 0:yg(b,4))!=null?c:0} function FC(a){var b,c;return(c=(b=rm(a.o))==null?void 0:xg(b,1))!=null?c:0} function GC(a){var b,c;return(c=(b=rm(a.o))==null?void 0:Dg(b,3))!=null?c:0} function fta(a){var b,c;return(c=(b=rm(a.o))==null?void 0:Fg(b,7))!=null?c:""} ;function HC(a){var b=a.parent;var c=a.result;a=a.Cb;E.call(this,"sc.search.search_results_list.search_result.YoutubePreview");this.ma=new eq({icon:"gm/event_available",size:18});this.ua=new eq({icon:"gm/visibility",size:18});this.o=new eq({icon:"gm/play_circle"});this.oa=Fo("YoutubeSearchResultsPreviewFeature__show_youtube_search_results_reduced")==="true";this.result=c;var e;if(b!=null){c=b.getUrl()+"#play=";var f=(e=Fg(this.result.o,5))!=null?e:"";e=c+f}else e=new Map([["autoplay","1"]]),e=oq(this.result.getUrl(), e,!0);this.url=e;var h;b=(h=b==null?void 0:b.getTitle())!=null?h:this.result.getTitle();h=IC(this);e=JC.format(FC(this.result))+" views";this.ariaLabel=b+" (video content) published on "+h+" with "+e;this.Cb=a} t(HC,E);HC.prototype.content=function(){var a=this;this.element("a","aria-label",this.ariaLabel,"class","youtube-preview","href",this.url,"onclick",function(b){return Vr(b,function(){a.ud(b.ctrlKey||b.shiftKey||b.metaKey)})},"onauxclick",function(b){return b.button===1?Vr(b,function(){a.ud(!0)}):!0},"onkeydown",function(b){return Wr(b,function(){a.ud()})},function(){A().rs===2?a.element("div","class","help-panel-container",function(){gta(a)}):gta(a)})}; HC.prototype.ud=function(a){a=a===void 0?!1:a;LA(this.Cb,this.result.Qb(),Lz(this.result),this.url);Kq(8,"youtube_preview_click",136);var b=sB(this.url);ar(b,{Id:a})}; function gta(a){hta(a);a.element("div","class","container",function(){a.element("div","class","title",a.result.getTitle());a.element("div","class","labels",function(){A().rs===2?a.element("span","class","label-container",JC.format(FC(a.result))+" views \u2022 "+IC(a)):a.oa||(ita(a),jta(a))})})} function hta(a){a.element("div","class","thumbnail-container",function(){var b=a.element,c,e;var f=(e=(c=rm(a.result.o))==null?void 0:c.getThumbnail())!=null?e:"";b.call(a,"img","class","thumbnail","role","none","alt","","src",f);b=a.element;f=GC(a.result);c=f%60;b.call(a,"span","class","duration",Math.floor(f/60)+":"+(c<10?"0":"")+c);A().rs===2&&a.element("span","class","preview-label","Preview");a.element("span","class","play",a.o)})} function jta(a){a.element("span","class","label-container",function(){a.ma.render();a.element("span","class","label",IC(a))})} function ita(a){a.element("span","class","label-container",function(){a.ua.render();a.element("span","class","label",JC.format(FC(a.result))+" views")})} function IC(a){a=eta(a.result);return a===0?"":kta.format(new Date(a/1E3))} var JC=new wq(5),kta=new bs(1);var lta=new Map([[0,"gm/public"],[1,"gm/supervised_user_circle"],[2,"gm/question_answer"],[4,"gm/email"],[5,"gm/drive_document"],[6,"gm/language"]]),mta=new Map([[5,"Help article"],[2,"Community Post"],[3,"Troubleshooter"]]),nta=new Map([[5,"Check status"],[3,"Get started"]]);function KC(a,b){b=b===void 0?0:b;$p.call(this);var c=this;this.o=a;this.hd=b;this.qa=[];var e=pg(this.o,mm,6,Of()).length>0;a=pg(this.o,mm,1,Of()).length>0;var f;this.nextPageToken=(f=Fg(this.o,7))!=null?f:"";this.oa=pg(this.o,mm,6,Of()).map(function(h){return new yC(h,c.hd++)}); a?this.results=pg(this.o,mm,1,Of()).map(function(h,k){h=new yC(h,c.hd++);e||k!==1?e&&k===0&&LC(c):LC(c);return h}):(LC(this),this.results=[]); this.o.Qb()?this.ma=this.o.Qb():this.ma=this.od().length>0?this.od()[0].Qb():this.Rd().length>0?this.Rd()[0].Qb():this.qa.length>0?this.qa[0].Qb():""} t(KC,$p);KC.prototype.od=function(){return this.results}; KC.prototype.Rd=function(){return this.oa}; KC.prototype.Xi=function(){var a;return(a=this.o.Xi())!=null?a:""}; function ota(a){return a.results.filter(function(b){var c;return!((c=EC(b)[0])==null||!rm(c.o))}).length} function pta(a){var b;return((b=xg(a.o,2))!=null?b:0)>a.od().length} function LC(a){var b,c;a.qa=(c=(b=mg(a.o,sm,15))==null?void 0:pg(b,mm,1,Of()).map(function(e){return new yC(e,a.hd++)}))!=null?c:[]} ;function MC(a){$p.call(this);this.metadata=a} t(MC,$p);MC.prototype.getStartIndex=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getStartIndex())!=null?b:0}; MC.prototype.getQuery=function(){var a,b;return(b=(a=this.metadata.searchQuery)==null?void 0:a.getQuery())!=null?b:""};function NC(a){return OC(a)>=qta} function PC(a,b,c,e,f,h,k,n){this.rank=a;this.qa=b;this.o=c;this.oa=e;this.ma=f;this.icon=h;this.label=k===void 0?"":k;this.description=n===void 0?"":n} function OC(a){switch(a){case 0:return rta;case 30:return sta;case 1:return QC;case 2:return qta;case 3:return RC;case 4:return SC;case 5:return TC;case 20:return VC;case 10:return WC;case 100:return tta;default:return rta}} l=PC.prototype;l.valueOf=function(){return this.rank}; l.getColor=function(){return AB().wc?this.o:this.qa}; l.Sc=function(){return this.icon}; l.getLabel=function(){return this.label}; l.getDescription=function(){return this.description}; var rta=new PC(0,"#F1F3F4","#F1F3F4"),sta=new PC(1,"#F1F3F4","#F1F3F4","#0b8043","#C4EED0",2,"Product Expert Alumni","Former Product Experts who are no longer members of the program"),QC=new PC(2,"#896E63","#896E63","#896E63","#B9ABA3",3,"Bronze Member","Community members with growing product knowledge who help other Google users by answers questions"),qta=new PC(3,"#9E9E9E","#9E9E9E","#5F6368","#C4C7C5",4,"Silver Product Expert","Community members with intermediate product knowledge who help other Google users by answering questions"), RC=new PC(4,"#FFB300","#F9AB00","#B06000","#F09D00",5,"Gold Product Expert","Community members with in-depth product knowledge who help other Google users by answering questions"),SC=new PC(5,"#77909D","#718792","#455A64","#E3E3E3",6,"Platinum Product Expert","Community members with advanced product knowledge who help other Google users and Product Experts "),TC=new PC(6,"#79A8FA","#79A8FA","#1A73E8","#A8C7FA",7,"Diamond Product Expert","Community members with product mastery who help other Google users and Product Experts"), VC=new PC(7,"#4285F4","#669DF6","#1A73E8","#A8C7FA",9,"Community Specialist","Google partners who help ensure the quality of community content"),WC=new PC(8,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Community Manager"),tta=new PC(9,"#4285F4","#669DF6","#1A73E8","#A8C7FA",10,"Google Employee","Google product team members and community managers");function XC(a){var b=a.model;var c=a.Vf===void 0?!1:a.Vf;a=a.zy===void 0?!1:a.zy;E.call(this,"sc.search.searchResultsList.searchResult.VideoResult");this.model=b;this.Vf=c;this.zy=a;this.o=new eq({icon:"gm/play_circle",size:this.Vf?48:36})} t(XC,E);XC.prototype.content=function(){var a=this;this.element("div","class",{root:!0,onebox:this.Vf,narrow:this.zy},function(){uta(a);vta(a)})}; function YC(a){return a===8||a===9||a==="CT_COMMUNITY_VIDEO"||a==="CT_VIDEO"} function ZC(a){return a===8||a==="CT_COMMUNITY_VIDEO"?"Community video":a===9||a==="CT_VIDEO"?"Help video":""} function $C(a,b){Kq(4,a,220,b===void 0?"":String(b))} function uta(a){a.element("div","class","thumbnail-container",function(){var b=a.element;if(window.innerWidth<=600){var c,e,f,h;var k=(h=(c=rm(a.model.o))==null?void 0:(e=mg(c,km,8))==null?void 0:(f=mg(e,jm,4))==null?void 0:f.getUrl())!=null?h:""}else{var n,p,r,u;k=(u=(n=rm(a.model.o))==null?void 0:(p=mg(n,km,8))==null?void 0:(r=mg(p,jm,2))==null?void 0:r.getUrl())!=null?u:""}b.call(a,"img","class","thumbnail","aria-hidden","true","src",k);a.element("div","class","play-icon","aria-hidden","true", a.o);b=GC(a.model);b=cia(b);b=b.hours>0?b.hours+":"+b.minutes.toString().padStart(2,"0")+":"+b.seconds.toString().padStart(2,"0"):b.minutes+":"+b.seconds.toString().padStart(2,"0");k=a.element;c=GC(a.model);c=cia(c);e="PT";c.hours>0&&(e+=c.hours+"H");c.minutes>0&&(e+=c.minutes+"M");c.seconds>0&&(e+=c.seconds+"S");k.call(a,"time","class","duration","datetime",e,"aria-label",dia(b),b)})} function vta(a){a.element("div","class","text-content",function(){a.element("h2","class","title","aria-label",a.Vf?a.model.getTitle()+" ("+ZC(AC(a.model))+")":a.model.getTitle(),a.model.getTitle());a.Vf||a.element("div","class","subtitle",DC(a.model,null));AC(a.model)===8&&(a.Vf||a.element("div","class","snippet",wta.Vc(a.model.fe())),xta(a));yta(a)})} function xta(a){a.element("div","class","channel",function(){a.element("div","class","channel-title",fta(a.model));a.element("div","class","delimiter","aria-hidden","true","\u2022");var b=OC(dta(a.model));a.element("div","class","user-role",function(){b.Sc()&&a.element("div","class","role-icon","aria-hidden","true",new Ws({icon:b.Sc(),isDarkMode:oo(),size:14,title:b.getLabel()}));a.element("div","class","role-name",b.getLabel())})})} function yta(a){a.element("div","class","video-metadata",function(){var b,c;(c=(b=rm(a.model.o))==null?void 0:Cg(b,6))!=null&&c&&aD(a,"gm/verified","Verified",["verified-chip"]);aD(a,"gm/visibility",zta.format(FC(a.model))+" views");aD(a,"gm/event_available",Js({bG:eta(a.model)/1E3,style:1}))})} function aD(a,b,c,e){e=e===void 0?[]:e;e.push("metadata-chip");a.element("div","class",e.join(" "),function(){a.element("div","class","chip-icon","aria-hidden","true",new eq({icon:b,size:16}));a.element("div","class","chip-text",c)})} var zta=new wq(5),wta=(new Pn).build();function bD(a){var b=a.symptoms;var c=a.limit===void 0?8:a.limit;var e=a.helpcenterName===void 0?"":a.helpcenterName;var f=a.Pv===void 0?new Map:a.Pv;a=a.Fu===void 0?0:a.Fu;E.call(this,"sc.symptoms.Symptoms");this.ma=Fo("workflow__full-layout")==="true";this.isRendered=this.o=!1;this.symptoms=b;this.limit=c;this.helpcenterName=e;this.Pv=f;this.Fu=a} t(bD,E);bD.prototype.getURL=function(a){var b;a=(b=Fg(a,1))!=null?b:"";return a!==""&&this.Pv.has(a)&&(b=this.Pv.get(a))?b:""}; bD.prototype.content=function(){var a=this,b=pg(this.symptoms,um,1,Of()).filter(function(c){var e;return((e=Fg(c,2))==null?void 0:e.trim())!==""}); this.element("div","class","root",function(){a.element("div","class","container",function(){switch(a.Fu){case 0:Ata(a,b);break;case 1:for(var c=0;ca.limit} function Eta(a){if(cD(a)){a.o=!a.o;a.Ja();var b=a.o;Kq(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}} function dD(a,b){Kq(35,a.helpcenterName+"_symptoms_click_"+Fg(b,1)+(b.getActive()?"_active":""),98);b.getActive()||(a=a.getURL(b).split("?"),b="?"+a[1],b=tB(b),ar(""+a[0]+b))} ;var eD;sea("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" ")); function Fta(a,b,c){Array.isArray(c)&&(c=c.join(" "));var e="aria-"+b;c===""||c==void 0?(eD||(c={},eD=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=eD,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)} ;function fD(a){$t.call(this);this.o=a||Zo();this.ma={};this.qa={}} wb(fD,$t);fD.prototype.Ke=function(){So(this.ma,this.o.removeNode,this.o);this.qa=this.o=this.ma=null;fD.Ph.Ke.call(this)}; function gD(a,b,c){c=c||"polite";var e;(e=a.ma[c])?e.removeAttribute("aria-hidden"):(e=a.o.createElement("DIV"),e.id="goog-lr-"+ob(e),e.style.position="absolute",e.style.top="-1000px",e.style.height="1px",e.style.overflow="hidden",Fta(e,"live",c),Fta(e,"atomic","true"),a.o.getDocument().body.appendChild(e),a.ma[c]=e);var f=a.qa[c];f=f&&f===b?b+"\u00a0":b;b&&(a.qa[c]=f);Eea(e,f)} ;function Gta(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""} ;function hD(a){this.o=a;this.qa=this.Ea=null;this.ma=[];this.va=document.createElement("input");this.Ba=this.ua=-1;this.Qa=this.ju.bind(this);this.Ma=Lo(this.CE.bind(this),150);this.Ra=this.Ha=this.Ia=0;this.ya=!1;this.Pa=0;this.La=new $s;Hta(this)} function Hta(a){a.oa=document.createElement("div");a.oa.className=a.o.className;Wn(a.oa,"sc-select",!0);a.oa.style.cursor="pointer";a.oa.setAttribute("tabindex",0);a.oa.setAttribute("aria-expanded",!1);a.oa.setAttribute("aria-haspopup","listbox");a.oa.setAttribute("aria-required",a.o.getAttribute("aria-required"));a.oa.setAttribute("role","listbox");a.oa.addEventListener("mousedown",function(e){Yn(this.qa,"sc-select-show")?e.target==this.qa||this.qa.contains(e.target)||this.ju():e.button==0&&iD(this)}.bind(a)); a.oa.addEventListener("keydown",a.pM.bind(a));a.Ea=document.createElement("span");a.oa.appendChild(a.Ea);var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("viewBox","0 0 48 48");var c=document.createElementNS("http://www.w3.org/2000/svg","path");c.setAttribute("d","M14 20l10 10 10-10z");b.appendChild(c);a.oa.appendChild(b);a.qa=document.createElement("ol");a.qa.setAttribute("role","listbox");a.qa.addEventListener("mousemove",function(){this.ya=!0}.bind(a)); no()||a.qa.addEventListener("scroll",function(){this.Pa>0?this.Pa--:this.CE()}.bind(a)); a.oa.appendChild(a.qa);Ita(a);Jta(a);a.o.addEventListener("optionschange",function(){return void Jta(a)}); a.o.addEventListener("selecttoggledisabled",function(){a.oa.setAttribute("tabindex",a.o.disabled?-1:0)}); a.o.addEventListener("selectvrgupdate",function(){for(var e=0;e=20&&A().rs===4){var b=document.createElement("li");b.appendChild(a.va);a.qa.appendChild(b)}for(b=0;ba.qa.scrollTop+a.qa.offsetHeight&&(a.ya=!1,a.qa.scrollTop=b.offsetTop+b.offsetHeight-a.qa.offsetHeight)}} function Kta(a){var b=a.o.getAttribute("aria-label")||"";b&&(a.o.selectedIndex!==-1&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.oa.setAttribute("aria-label",b))} l.dispose=function(){this.oa&&gp(this.oa);this.qa=this.Ea=this.oa=null;this.ma=[]}; window.sc_initSelects=function(){for(var a=x((window.sc_scope||document).getElementsByTagName("select")),b=a.next();!b.done;b=a.next())b=b.value,b.dataset.exclude!=="true"&&new hD(b)};function kD(a){this.Aa=wf(a)} t(kD,Sh);kD.prototype.setButton=function(a){return qg(this,Xl,1,a)}; var Ota=mk(kD);kD.prototype.Ca=kk([0,am]);function lD(a){this.Aa=wf(a)} t(lD,Sh);lD.prototype.Rs=function(a,b){tg(this,1,Ul,a,b)}; lD.prototype.Jf=function(a,b){return Mf(this,1,Ul,a,b)};lD.prototype.Ca=kk([0,Xj,$l]);function mD(a){this.Aa=wf(a)} t(mD,Sh);var Pta=[0,ck,y,-1];mD.prototype.Ca=kk(Pta);function nD(a){this.Aa=wf(a)} t(nD,Sh);nD.prototype.getHeading=function(){return Mg(this,2)}; nD.prototype.setHeading=function(a){return gh(this,2,a)}; var Qta=mk(nD);nD.prototype.Ca=kk([0,Xj,Pta,y,ck,1,y]);var oD=new Map([[1,"smart_button_event_handshake"],[2,"smart_button_event_execute"],[3,"smart_button_event_state_update"],[4,"smart_button_event_initialized"],[5,"smart_button_event_describe_buttons"],[6,"smart_button_event_rendered"]]);function Rta(){var a=this;this.o=function(){}; this.ma=function(b){if("detail"in b){b=Ota(b.detail.action);var c,e;if((c=mg(b,Xl,1))==null?0:(e=Yl(c))==null?0:Wg(e,10,Wl)!=null){var f,h,k=(f=mg(b,Xl,1))==null?void 0:(h=Yl(f))==null?void 0:Vg(h,10,Wl);(f=k&&k!==null?k.startsWith("url:")?k.replace("url:",""):k:"")&&a.qa(f)}else{var n,p;if((n=mg(b,Xl,1))==null?0:(p=Yl(n))==null?0:Gf(p,Tl,17,Wl)){var r;if(f=(k=mg(b,Xl,1))==null?void 0:(r=Yl(k))==null?void 0:Xg(r,Tl,17,Wl))h=Fg(f,2),f=Dg(f,1),h&&f&&a.qa("/"+h+"/workflow/"+f)}}}}; this.oa=function(){var b=oD.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)}; this.qa=function(b){ar(b,{Id:!0})}; window.document.body.addEventListener(oD.get(6),this.oa);window.document.body.addEventListener(oD.get(5),this.o);window.document.body.addEventListener(oD.get(2),this.ma)} var Sta;function pD(){Sta===void 0&&(Sta=new Rta)} Rta.prototype.dispose=function(){window.document.body.removeEventListener(oD.get(2),this.ma);window.document.body.removeEventListener(oD.get(6),this.oa);window.document.body.removeEventListener(oD.get(5),this.o)}; window.sc_initSmartButtonController=function(){pD()};function qD(a,b){a=a===void 0?95:a;b=b===void 0?133:b;E.call(this,"sc.shared.ErrorSvg");this.o=new Ts("error_computer.svg");this.height=a;this.width=b} t(qD,E);qD.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function Tta(a){this.ma=a;this.o=null} Tta.prototype.Ld=function(a){var b=this;this.o===null&&(this.o=setTimeout(function(){b.o!==null&&(b.o=null,b.ma())},a))};function Uta(){var a=this;this.qa=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(a.ma===void 0)throw Error("No state update callback was provided.");b=Qta(b.detail);a.ma(b)}} l=Uta.prototype;l.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");rD(4)}; l.sendButtonAction=function(a,b){a={action:a==null?void 0:a.serialize(),buttonClientRect:b};rD(2,a)}; l.sendDescribeEvent=function(a){var b=new lD;a=x(a);for(var c=a.next();!c.done;c=a.next())b.Rs(c.value);b={action:b.serialize(),buttonClientRect:void 0};rD(5,b)}; l.sendButtonsRenderedEvent=function(){rD(6)}; l.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(oD.get(1),this.o)}; l.initStateUpdateListener=function(a){this.ma=a;window.document.body.addEventListener(oD.get(3),this.qa)}; l.dispose=function(){window.document.body.removeEventListener(oD.get(3),this.qa);this.o&&window.document.body.removeEventListener(oD.get(1),this.o)}; function rD(a,b){a=oD.get(a);var c=new CustomEvent(a,{bubbles:!0,cancelable:!0,detail:b});console.log("[Smart Buttons] Broadcasting event "+a);console.log(b);window.document.body.dispatchEvent(c)} ;Object.keys({xV:0,wV:1,rV:2,uV:3,sV:4,vV:5,tV:6});function sD(a,b){this.o=a;this.metadata=b} sD.prototype.getMetadata=function(){return this.metadata}; sD.prototype.Md=function(a){this.o(a)}; function tD(){var a=this;this.ma=new Map;this.qa=function(){a.o.sendButtonsRenderedEvent()}; this.o=new Uta;Vta(this)} var uD;function Wta(){if(uD&&!Xta)return uD;uD=new tD;Xta=!1;var a=uD;a.o.initHandshakeListener(a.ua.bind(a));a.o.initStateUpdateListener(a.oa.bind(a));a.o.sendInitCompleteEvent();return uD} function Yta(a,b,c,e){if(b==="")throw Error("Smart Button guid key is empty");a.ma.has(b)||a.ma.set(b,new sD(e,c))} tD.prototype.oa=function(a){var b,c=(b=Mg(a,5))!=null?b:"";if(!this.ma.has(c))throw Error("Smart Button guid key "+c+" does not exist. Cannot update state.");var e;(e=this.ma.get(c))==null||e.Md(a)}; tD.prototype.ua=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ma.forEach(function(b){a.push(b.getMetadata())}); this.o.sendDescribeEvent(a)}; tD.prototype.dispose=function(){this.o.dispose();this.ma.clear();var a;(a=Ip().querySelector(".workflow"))==null||a.removeEventListener("dynamicFormRendered",this.qa)}; function Vta(a){var b;(b=Ip().querySelector(".workflow"))==null||b.addEventListener("dynamicFormRendered",a.qa)} var Xta=!1;function vD(a){var b=a.buttonTitle;var c=a.contentId;var e=a.helpcenterName;var f=a.Ei;a=a.Iz===void 0?!0:a.Iz;E.call(this,"sc.smart_button.FatalErrorButton");this.o=new qD;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.Ei=f;this.Iz=a} t(vD,E);vD.prototype.content=function(){var a=this;this.element("div","class","^no-margin root",function(){a.element("div","class","^no-margin content",function(){a.o.render()}); a.element("div","class","^no-margin content",function(){a.element("div","class","^no-margin title","Hmm... something went wrong.");a.element("div","class","^no-margin error","The smart button requested did not load. Please complete actions manually.");a.Iz&&a.element("div","class","^no-margin feedback-link",a.Ei);a.element("div","class","^no-margin detail",function(){a.buttonTitle!==""&&a.element("div","class","^no-margin",(new Fq("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle})); a.element("div","class","^no-margin",(new Fq("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new Fq("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})}); Zta(this)}; function Zta(a){var b,c;(c=(b=window).sc_trackStatsImpressions)==null||c.call(b,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)} ;var $ta=new Map([[1,"good"],[2,"error"]]);function wD(){E.call(this,"sc.smart_button.Icon");this.o=!1} t(wD,E);function xD(a,b,c,e){a.ma=b;a.state=c;a.o=e===void 0?!1:e} wD.prototype.content=function(){var a=this;if(this.ma!==void 0&&this.state!==void 0&&this.o!==void 0&&this.state!==0){var b={"^no-margin":!0,icon:!0,state:!this.o,"heading-icon":this.o},c=$ta.get(this.state);$ta.has(this.state)&&(b[c]=!0);var e="";c==="good"?e="Success icon":c==="error"&&(e="Failure icon");this.element("div","class",b,"aria-label",e!==""?e:null,function(){var f;(f=a.ma)==null||f.render()})}};function yD(a){E.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){aua(b)}; this.ma=function(c){"key"in c&&(c.key===" "||c.key==="Enter")&&aua(b)}} t(yD,E);yD.prototype.content=function(){this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");var a;(a=this.anchor)==null||a.addEventListener("click",this.o);var b;(b=this.anchor)==null||b.addEventListener("keydown",this.ma)}; yD.prototype.dispose=function(){var a;(a=this.anchor)==null||a.removeEventListener("click",this.o);var b;(b=this.anchor)==null||b.removeEventListener("keydown",this.ma)}; function aua(a){var b=Iv();b.set("smart_button_title",a.buttonTitle);Gv({payload:b,productId:Number(A().fbid)})} ;function zD(a){return(a==null?void 0:Gg(a,3))===2} function bua(a){return(a==null?void 0:Gg(a,3))===1} function cua(a){a=a==null?void 0:pg(a,mD,1,Of());if(a===void 0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(AD(b.value))return!0;return!1} function dua(a){a=BD(a);if(a.length===0)return!1;a=x(a);for(var b=a.next();!b.done;b=a.next())if(!AD(b.value))return!1;return!0} function BD(a){return a===void 0?[]:(a==null?void 0:pg(a,mD,1,Of(Ld)))||[]} function AD(a){return a!==void 0&&Gg(a,1)!=null&&Ng(a,1,0)!==0} function eua(a){return a!==void 0&&Gg(a,1)!=null&&Ng(a,1,0)===1} function fua(a){return a!==void 0&&Gg(a,1)!=null&&Ng(a,1,0)===2} function gua(a){return a.filter(function(b){return fua(b)})} ;function CD(a,b){b=b===void 0?!1:b;E.call(this,"sc.smart_button.StateHeading");this.Ei=a;this.yk=b;this.ua=[];this.headingState=0;this.icon=new wD} t(CD,E);CD.prototype.content=function(){var a;!(zD(this.o)||bua(this.o)||((a=this.o)==null?0:a.getHeading())||dua(this.o))||hua(this)}; CD.prototype.Md=function(a){this.o=a;this.ua=BD(this.o);if(zD(this.o))this.headingState=2;else if(bua(this.o))this.headingState=1;else if(gua(BD(this.o)).length>0)this.headingState=2;else{a:if(a=BD(this.o),a.length===0)a=!1;else{a=x(a);for(var b=a.next();!b.done;b=a.next())if(!eua(b.value)){a=!1;break a}a=!0}a?this.headingState=1:this.headingState=0}this.Ja()}; CD.prototype.heading=function(){var a=this.o;if(((a==null?void 0:a.getHeading())||"").trim()!==""){var b;return((b=this.o)==null?void 0:b.getHeading()).trim()}return this.headingState===1?"All actions successfully complete!":this.ua.length===0?zD(this.o)?"There was a problem while running actions. Please complete manually.":"":"There was a problem while running actions. Please review below."}; function iua(a){var b;if(a.o&&((b=a.o)==null?0:Gg(b,3)!=null)){var c;return(c=a.o)==null?void 0:Ng(c,3,0)}return a.headingState===2?2:a.headingState===1?1:0} function hua(a){a.element("div","class",{"^no-margin":!0,container:!0,error:a.headingState===2,good:a.headingState===1},"tabindex","0",function(){a.element("div","class","^no-margin content",function(){a.headingState===1&&(a.ma===void 0&&(a.ma=new eq({icon:"gm/check_circle_outline",size:24,De:["^no-margin"]})),xD(a.icon,a.ma,iua(a),!0),a.icon.render());a.headingState===2&&(a.oa===void 0&&(a.oa=new eq({icon:"gm/error_outline",size:24,De:["^no-margin"]})),xD(a.icon,a.oa,iua(a),!0),a.icon.render()); a.element("div","class","^no-margin heading","aria-live","polite",a.heading());a.headingState!==2||a.yk||a.element("div","class","^no-margin feedback-link",a.Ei)})})} ;function DD(){E.call(this,"sc.smart_button.States");this.icon=new wD} t(DD,E);DD.prototype.content=function(){var a=this,b=cua(this.o);b||this.element("ul","class","^no-margin");var c,e;(c=this.o)==null||(e=pg(c,mD,1,Of()))==null||e.forEach(function(f){Fg(f,2)!==""&&a.element("div","class","^no-margin state","tabindex","0",function(){b?(jua(a,f),kua(a,f,b),lua(a,f)):a.element("ul","class","list",function(){a.element("li","class","list",function(){kua(a,f,b)})})})})}; DD.prototype.He=function(){return BD(this.o).length>0}; DD.prototype.Md=function(a){this.o=a;this.Ja()}; function lua(a,b){if(Mg(b,3)){a.ua===void 0&&(a.ua=new eq({icon:"gm/help_outline",size:16,De:["^no-margin"]}));var c=new Nv({content:function(){Op("div","style",{"max-width":"200px","max-height":"200px","overflow-x":"hidden","overflow-y":"auto"},function(){var f;Ep((f=Mg(b,3))!=null?f:"")})}, Qh:!0,xl:"placement-start",bq:"alignment-center",style:"style-normal",lc:4,mc:2});c.render();var e=a.element("div","role","button","tabindex",0,"class","detail text-pad ^no-margin","aria-label","Detailed state information tooltip",function(){var f;(f=a.ua)==null||f.render()}); e.addEventListener("mouseenter",function(){c.open({anchor:e})}); e.addEventListener("focus",function(){c.open({anchor:e})}); e.addEventListener("blur",function(){c.close()})}} function jua(a,b){AD(b)&&(eua(b)&&(a.ma===void 0&&(a.ma=new eq({icon:"gm/check_circle_outline",size:16,De:["^no-margin"]})),xD(a.icon,a.ma,Gg(b,1))),fua(b)&&(a.oa===void 0&&(a.oa=new eq({icon:"gm/error_outline",size:16,De:["^no-margin"]})),xD(a.icon,a.oa,Gg(b,1))),a.icon.render())} function kua(a,b,c){a.element("div","class",{"^no-margin":!0,text:!0,"text-pad":c},Fg(b,2))} ;function ED(a){E.call(this,"sc.smart_button.StandardButton");this.ma=this.oa=!1;this.ya=new Ht;this.states=new DD;this.Lf=a.Lf;this.title=a.title.trim();this.description=a.description.trim();this.value=a.value.trim();var b;this.va=new CD(a.Ei,(b=a.yk)!=null?b:!1)} t(ED,E);ED.prototype.Md=function(a){this.states.Md(a);this.va.Md(a);this.ma=!1;this.Ja()}; ED.prototype.lh=function(a){this.ma=a;this.Ja()}; ED.prototype.content=function(){var a=this;this.o=this.element("div","class",{"^no-margin":!0,root:!0,"spinner-overlay":this.ma},"tabindex","0","aria-label",this.title===""?null:this.title,function(){mua(a);a.va.render();a.element("div","class","^no-margin flex content",function(){a.element("div","class","^no-margin",function(){a.title!==""&&a.element("div","class","^no-margin title",a.title);a.description!==""&&a.element("div","class","^no-margin sub-heading description",a.description);a.states.He()&& a.element("div","class","^no-margin states-container",function(){a.states.render()})}); a.element("div","class","^no-margin button-container",function(){a.ua=new iq({disabled:a.oa,text:a.value||"Do it for me",style:4,trigger:function(){a.oa=!0;if(a.Lf&&a.o!==void 0){var b;(b=a.ua)==null||b.setDisabled(!0);a.Lf(a.o.getBoundingClientRect())}}}); a.ua.render()})})})}; function mua(a){if(a.o&&a.ma){var b=a.element("div","class","^no-margin spinner","style",{top:a.o.clientHeight/2-12+"px",left:a.o.clientWidth/2-12+"px"},"aria-label","Executing action",a.ya);requestAnimationFrame(function(){b.focus()})}} ;function FD(a){var b=a.title===void 0?"":a.title;var c=a.description===void 0?"":a.description;var e=a.value===void 0?"":a.value;a=a.Lf===void 0?void 0:a.Lf;E.call(this,"sc.smart_button.TakeMeThereButton");this.o=!1;this.Lf=a;this.title=b;this.description=c;this.value=e} t(FD,E);FD.prototype.content=function(){var a=this,b=this.title===""&&this.description==="";this.oa=this.element("div","class",{"^no-margin":!0,root:!b},"tabindex","0","aria-label",this.title===""?null:this.title,function(){a.element("div","class",{"^no-margin":!0,flex:!b},function(){a.element("div","class","^no-margin content",function(){a.title!==""&&a.element("div","class","^no-margin title",a.title);a.description!==""&&a.element("div","class","^no-margin sub-heading description",a.description)}); a.element("div","class","^no-margin button-container",function(){a.ma=new iq({disabled:a.o,text:a.value||"Do it for me",style:4,trigger:function(){a.o=!0;if(a.Lf&&a.oa!==void 0){var c;(c=a.ma)==null||c.setDisabled(!0);a.Lf(a.oa.getBoundingClientRect())}}}); a.ma.render()})})})}; FD.prototype.Md=function(){}; FD.prototype.lh=function(){};function GD(a){var b=a.Qj;var c=a.button===void 0?void 0:a.button;var e=a.contentId;var f=a.yk===void 0?!1:a.yk;var h=a.helpcenterName;var k=a.hI;var n=a.bma;var p=a.Vm===void 0?!1:a.Vm;var r=a.iy===void 0?!0:a.iy;a=a.Lf===void 0?void 0:a.Lf;E.call(this,"sc.smart_button.SmartButton");var u=this;this.ma=this.va=!1;this.Vm=p;this.smartButton=c===void 0&&b!==""?sca(b||""):c||new Xl;r&&Ef(this.smartButton,Vl,1)?Cf(this.smartButton,2):Ef(this.smartButton,Sl,2)&&Cf(this.smartButton,1);this.contentId=e; this.helpcenterName=h;this.yk=f;b=HD(this);this.Ei=new yD(b);var w;this.ua=(w=Yl(this.smartButton))==null?void 0:Gg(w,1);this.button=nua(this);this.ua!==3&&(this.hI=k===void 0?new vD({Ei:this.Ei,buttonTitle:b,contentId:this.contentId,helpcenterName:h,Iz:!this.yk}):k,this.timer=n===void 0?new Tta(function(){u.ma=!0;u.Ja()}):new n(function(){u.ma=!0; u.Ja()}),a&&(this.Lf=a))} t(GD,E);function ID(a){a.o=Wta();Yta(a.o,oua(a),pua(a),function(b){a.Md(b)})} l=GD.prototype;l.content=function(){var a;if((a=Yl(this.smartButton))!=null&&Ef(a,Ul,19)){var b;a=Hg((b=Yl(this.smartButton))==null?void 0:mg(b,Ul,19),1,!0)}else a=!0;if(a)if(this.ma){var c;(c=this.hI)==null||c.render()}else if(this.button.render(),!this.Vm){var e,f;(f=(e=window).sc_trackStatsImpressions)==null||f.call(e,[{type:93,id:JD(this)}],!0)}}; l.dispose=function(){if(this.smartButton){var a;if((a=this.o)!=null){var b=oua(this);if(b===""||!a.ma.has(b))throw Error("Smart Button "+b+" does not exist, or the guid key is empty");a.ma.delete(b)}var c;(c=this.Ei)==null||c.dispose()}}; l.Md=function(a){var b;(b=this.timer)!=null&&b.o!==null&&(clearTimeout(b.o),b.o=null);if(!dua(a)){var c;(c=this.timer)==null||c.Ld(6E4)}this.button.lh(!1);this.button.Md(a);this.Ja();a=x(pg(a,mD,1,Of()));for(b=a.next();!b.done;b=a.next()){var e=c=void 0,f=void 0,h=void 0,k=void 0,n=void 0,p=void 0,r=void 0;if(!this.Vm)switch(Gg(b.value,1)){case 0:(p=(r=window).sc_trackStatsEvent)==null||p.call(r,130,0,JD(this));break;case 1:(k=(n=window).sc_trackStatsEvent)==null||k.call(n,130,10,JD(this));break; case 2:(f=(h=window).sc_trackStatsEvent)==null||f.call(h,130,21,JD(this));break;default:(c=(e=window).sc_trackStatsEvent)==null||c.call(e,130,0,JD(this))}}}; function nua(a){return a.ua===3?new FD({title:HD(a),description:a.getDescription(),value:a.getValue(),Lf:function(b){a.ud(b)}}):new ED({title:HD(a), description:a.getDescription(),value:a.getValue(),yk:a.yk,Ei:a.Ei,Lf:function(b){a.ud(b)}})} l.ud=function(a){this.va=!0;var b;(b=this.Lf)==null||b.call(this);this.button.lh(!0);var c;(c=this.timer)==null||c.Ld(6E4);(b=this.o)!=null&&(this.oa||(this.oa=new kD,this.oa.setButton(this.smartButton)),c=this.oa,b.o.sendButtonAction(c,a));this.Ja();if(!this.Vm){var e,f;(f=(e=window).sc_trackStatsEvent)==null||f.call(e,93,35,JD(this))}}; function HD(a){if(Ef(a.smartButton,Vl,1)){var b;return((b=Yl(a.smartButton))==null?void 0:Mg(b,2))||""}var c;return((c=mg(a.smartButton,Sl,2))==null?void 0:c.getTitle())||""} l.getDescription=function(){if(Ef(this.smartButton,Vl,1)){var a;return((a=Yl(this.smartButton))==null?void 0:a.getDescription())||""}var b;return((b=mg(this.smartButton,Sl,2))==null?void 0:b.getDescription())||""}; l.getValue=function(){if(Ef(this.smartButton,Vl,1)){var a;return((a=Yl(this.smartButton))==null?void 0:a.getValue())||""}var b;return((b=mg(this.smartButton,Sl,2))==null?void 0:b.getValue())||""}; function oua(a){if(Ef(a.smartButton,Vl,1)){var b,c,e;return(e=(b=Yl(a.smartButton))==null?void 0:(c=mg(b,Ul,19))==null?void 0:Mg(c,3))!=null?e:""}var f;if((f=mg(a.smartButton,Sl,2))==null?0:lh(f,20)){var h,k;return(k=(h=mg(a.smartButton,Sl,2))==null?void 0:Mg(h,20))!=null?k:""}throw Error("No smart button guid found.");} function pua(a){var b=new Ul,c;if((c=Yl(a.smartButton))==null||!Ef(c,Ul,19))return b;var e;c=(e=Yl(a.smartButton))==null?void 0:mg(e,Ul,19);e=Hg(c,1,!0);bh(b,1,e);e=$g(c,2);gh(b,2,e);c=$g(c,3);gh(b,3,c);gh(b,4,a.contentId.toString());gh(b,5,a.helpcenterName);return b} function JD(a){return a.contentId+"_button_"+HD(a)} ;function qua(a){try{return(new URL(a)).pathname}catch(b){return a}} tb("sc.smart_journey_survey.initialize",function(a,b){a=qua(a);mq("sj-recommendations-survey-pathname")===a&&(ut(new tt,{triggerId:b,productData:{customData:{triggerPoint:"Survey at SJ1 recommendation destination"}}}),nq("sj-recommendations-survey-pathname"))});function KD(a){$p.call(this);this.ariaLabel=this.text="";this.checked=this.disabled=this.ariaHidden=!1;this.tabIndex=0;this.Af(a)} t(KD,$p);l=KD.prototype;l.Af=function(a){var b=a.checked===void 0?!1:a.checked;var c=a.text===void 0?"":a.text;var e=a.ariaLabel===void 0?"":a.ariaLabel;var f=a.disabled===void 0?!1:a.disabled;var h=a.tabIndex===void 0?0:a.tabIndex;var k=a.ariaHidden===void 0?!1:a.ariaHidden;var n=a.content;a=a.xe;this.checked=b;this.text=c;this.ariaLabel=e;this.disabled=f;this.tabIndex=h;this.content=n;this.xe=a;this.ariaHidden=k}; l.getText=function(){return this.text}; l.getContent=function(){return this.content}; l.Zd=function(){return this.ariaLabel}; l.isChecked=function(){return this.checked}; function LD(a,b){if(a.isChecked()!==b){a.checked=b;var c;(c=a.xe)==null||c.call(a,b);a.Fa(0)}} ;function MD(a){a=a===void 0?{}:a;E.call(this,"sc.shared.MaterialCheckbox");this.id=Vp();this.model=a instanceof KD?a:new KD(a);this.overlay=new fq({Wp:!0});this.o=null;this.watch(this.model)} t(MD,E);MD.prototype.content=function(a){var b=this;a&&this.model.Af(a);this.element("label","class",{root:!0,disabled:this.model.disabled},"aria-hidden",this.model.ariaHidden,function(){b.element("div","class","touch-target",function(){b.element("div","class","checkbox",function(){b.o=b.element("input","id",b.id,"class","native-control","type","checkbox","aria-label",b.model.Zd(),"tabindex",b.model.tabIndex,"disabled",b.model.disabled,"onchange",function(){b.onChange()}); b.o.checked=b.model.isChecked()===!0;b.o.indeterminate=b.model.isChecked()===null;b.element("div","class","box",function(){b.element("svg","class","checkmark","aria-hidden","true","viewBox","0 0 24 24",function(){b.element("path","class","checkmark-path","d","M1.73,12.91 8.1,19.28 22.79,4.59")}); b.element("div","class","mixedmark")}); b.overlay.render()})}); var c=b.model.getText(),e=b.model.getContent();c?Ep(c):e&&e()})}; MD.prototype.onChange=function(){this.o&&LD(this.model,this.o.checked)}; MD.prototype.isChecked=function(){return this.model.isChecked()};function ND(a){var b=a.forumId;var c=a.forumName;var e=a.Ej===void 0?0:a.Ej;var f=a.Sa===void 0?new tC:a.Sa;a=a.Da===void 0?null:a.Da;E.call(this,"sc.tailwind.thread_list.subscription_dialog.SubscriptionDialog");var h=this;this.ua=new It;this.cancelButton=new iq({text:"Cancel",style:3,trigger:function(){h.vj();h.close()}}); this.va=new iq({text:"Update preferences",style:4,trigger:function(){rua(h);h.close()}}); this.Ba=new Map;this.ma=new Map;this.Sa=f;this.forumId=b;this.forumName=c;this.Da=a;this.o=e===2;this.oa=new Lt({content:function(){h.render()}}); this.ya=[{subscription:2,text:"New announcements from the "+this.forumName+" team"}];this.ma=sua(this);this.Ba.set(2,3)} t(ND,E);l=ND.prototype;l.content=function(){var a=this;this.element("div","class","root",function(){a.ua.render({title:"Manage your "+a.forumName+" community subscriptions",content:function(){a.element("div","class","sub-heading","Get notifications for the following:");for(var b=x(a.ma.values()),c=b.next(),e={};!c.done;e={MJ:void 0},c=b.next())e.MJ=c.value,a.element("div","class","radio-label",function(f){return function(){f.MJ.render()}}(e))}, Zh:function(){tua(a)}})})}; l.open=function(){this.oa.open()}; l.close=function(){this.oa.close()}; l.Ta=function(){this.oa.Ta()}; function sua(a){for(var b=new Map,c=x(a.ya),e=c.next();!e.done;e=c.next())e=e.value,b.set(e.subscription,new MD({text:e.text,checked:a.o}));return b} function tua(a){a.element("div","class","buttons",function(){a.cancelButton.render();a.va.render()})} function rua(a){var b,c,e,f;Ya(function(h){if(h.o==1){b=a.ma.get(2);if(!b||b.isChecked()===a.o)return h.return();c=b.isChecked()?3:1;Pa(h,2);return h.yield(a.Sa.subscribeToForum(a.forumId,c),4)}if(h.o!=2)return a.o=(e=b.isChecked())!=null?e:!1,Kt().open({message:"Notification preferences updated successfully"}),(f=a.Da)==null||f.QL(b.isChecked()?2:0),Qa(h,0);Ra(h);Kt().open({message:"Error: Notification preferences not updated"});Oa(h)})} l.vj=function(){var a=this.ma.get(2);a&&a.isChecked()!==this.o&&LD(a.model,this.o)};function OD(a){this.Aa=wf(a)} t(OD,Sh);OD.prototype.Ca=kk([0,Uj,y]);function PD(a){this.Aa=wf(a)} t(PD,Sh);l=PD.prototype;l.getId=function(){return Fg(this,1)}; l.setId=function(a){return gh(this,1,a)}; l.getName=function(){return Fg(this,2)}; l.Qf=function(){return Fg(this,2)}; l.setName=function(a){return gh(this,2,a)}; l.tf=oa(7);l.getLanguage=function(){return Fg(this,3)}; l.setLanguage=function(a){return gh(this,3,a)}; l.getContent=function(){return Fg(this,4)}; l.setContent=function(a){return gh(this,4,a)}; l.clearContent=function(){return Cf(this,4)};var uua=[0,y,-3];PD.prototype.Ca=kk(uua);function QD(a){this.Aa=wf(a)} t(QD,Sh);QD.prototype.Ca=kk([0,Xj,uua]);function RD(a){var b=a.jc===void 0?null:a.jc;var c=a.Sx;var e=a.Tx===void 0?AB().experimentIds.includes(46):a.Tx;var f=a.Ux===void 0?AB().experimentIds.includes(47):a.Ux;a=a.wx===void 0?!0:a.wx;E.call(this,"sc.tailwind.thread.hero.HeroAttachment");this.jc=null;this.ua=this.va.bind(this);this.Tx=e;this.Ux=f;this.wx=a;this.Sx=c;this.Ux&&b?(this.jc=b,b=qq("play")===this.jc.getId(),this.o=new FB({Hb:this.jc,playerVars:Object.assign({},EB,{hl:zB!==void 0&&BB()?CB():this.jc.getLanguage(),autoplay:b?1:0, cc_load_policy:this.wx?1:0})}),this.watch(this.jc),SD(this)&&window.addEventListener("resize",this.ua)):this.Tx&&this.Sx&&(this.oa=Fg(this.Sx,1))} t(RD,E);RD.prototype.onDetach=function(){this.jc&&Up(this,this.jc);SD(this)&&window.removeEventListener("resize",this.ua)}; RD.prototype.content=function(){var a=this;this.o?(this.ya=this.element("div","class","root",function(){a.ma=a.element("div","class",{"video-player-container":!0,"youtube-shorts-player":SD(a)},function(){a.o.render();a.o.load()})}),SD(this)&&this.va()):this.oa&&this.element("img","class","hero-image","src",this.oa,"alt","")}; function SD(a){var b;return((b=a.jc)==null?void 0:b.url.indexOf("/shorts/")===-1?0:1)===1} RD.prototype.va=function(){if(this.ya&&this.ma){var a=this.ya.getBoundingClientRect().width;a=Math.min(800,Math.round(a/9*16));this.ma.style.height=a+"px";this.ma.style.width=a/16*9+"px"}};var vua=[0,y,-1];function TD(a){this.Aa=wf(a)} t(TD,Sh);TD.prototype.getTitle=function(){return Mg(this,1)}; TD.prototype.setTitle=function(a){return gh(this,1,a)}; TD.prototype.Vb=function(){return Mg(this,2)}; TD.prototype.Mc=function(a){return gh(this,2,a)};var wua=[0,y,-1,Xj,vua];TD.prototype.Ca=kk(wua);function UD(a){this.Aa=wf(a)} t(UD,Sh);UD.prototype.Ca=kk([0,y,ck,y]);function vg(a){this.Aa=wf(a)} t(vg,Sh);var VD=[0,y,-1,Rj,y,Rj];vg.prototype.Ca=kk(VD);function WD(a){this.Aa=wf(a)} t(WD,Sh);WD.prototype.removeNode=function(a){return ug(this,a)}; var xua=mk(WD);WD.prototype.Ca=kk([0,Xj,VD]);function XD(a){this.Aa=wf(a)} t(XD,Sh);XD.prototype.getQuery=function(){return Fg(this,1)}; XD.prototype.setQuery=function(a){return gh(this,1,a)};XD.prototype.Ca=kk([0,y,ck,y]);function YD(a){this.Aa=wf(a)} t(YD,Sh);YD.prototype.removeNode=function(a){return ug(this,a)}; var yua=mk(YD);YD.prototype.Ca=kk([0,Xj,VD]);function ZD(a){var b=a.items;var c=a.messages;var e=a.Lk===void 0?void 0:a.Lk;var f=a.lc===void 0?1:a.lc;var h=a.mc===void 0?4:a.mc;var k=a.onClose;var n=a.maxWidth===void 0?"18.75rem":a.maxWidth;a=a.Oj===void 0?!1:a.Oj;E.call(this,"hcfe.SearchSelect.Menu");var p=this;this.ua=this.ma=!1;this.Lk=e;this.items=b;this.messages=c;this.tv=-Infinity;this.rv=Infinity;this.maxWidth=n;this.Oj=a;this.popup=new ys({content:function(){zua(p)}, Ii:4,lc:f,mc:h,Tp:!0,onClose:k})} t(ZD,E);l=ZD.prototype;l.content=function(){this.popup.render()}; function zua(a){a.element("div","class",{root:!0,"root-loading":a.ma},function(){a.messages.QJ&&a.element("div","class","menu-label",a.messages.QJ);a.ua&&a.element("div","class","search-container",function(){a.element("div","class","input-container",function(){a.oa=a.element("input","class","search-field","placeholder",a.messages.tF,"oninput",function(){var b;(b=a.Lk)==null||b.call(a)},"disabled",a.ma); a.oa.style.width="calc("+a.maxWidth+" - 3.25rem)"}); a.element("div","class","icon","onclick",function(){var b;(b=a.oa)==null||b.focus()},function(){a.va!=null||(a.va=new eq({icon:"gm/search"})); a.va.render()})}); a.element("div","class","scroll-container","style",{minHeight:a.tv>-Infinity?a.tv+"px":null,maxHeight:a.rv0)switch(a.items[0].state){case 4:Aua(a);break;case 3:Bua(a);break;case 5:Cua(a);break;default:a.Km(a.items,0)}})})} function Bua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner search-error",function(){a.o!=null||(a.o=$D());a.o.render();a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.oF);a.element("div",a.messages.pF)})})})} function Cua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner",function(){a.element("div","class","search-no-results-icon",function(){a.o!=null||(a.o=$D());a.o.render()}); a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.qF);a.element("div",a.messages.rF)})})})} function Aua(a){a.element("div","class","search-message-container",function(){a.element("div","class","search-inner",function(){a.element("div","class","search-no-results-icon",function(){a.o!=null||(a.o=$D());a.o.render()}); a.element("div","data-error-message","true","tabindex","0",function(){a.element("div","class","search-message-heading",a.messages.UD);a.element("div",a.messages.sF)})})})} function $D(){return new eq({icon:"gm/error_outline"})} l.lh=function(a){this.ma=a;this.Ja()}; l.Km=function(a,b){var c=this;a=x(a);for(var e=a.next(),f={};!e.done;f={Hf:void 0},e=a.next()){f.Hf=e.value;var h=(e=Dua(f.Hf))?"true":f.Hf.Gh?"false":null,k=void 0;this.element("button","type","button","role","option","class",{item:!0,highlight:!0,alternatingRowColor:this.Oj,unclickable:f.Hf.hG},"disabled",f.Hf.disabled,"data-index",(k=f.Hf.index)!=null?k:"","aria-expanded",h,"onclick",function(n){return function(){n.Hf.hG||n.Hf.trigger()}}(f),"onkeydown",function(n){return function(p){n.Hf.hG|| p.key!=="Space"&&p.key!=="Enter"||n.Hf.trigger()}}(f),function(n){return function(){Eua(c,n.Hf.icon); c.element("span","class","item-label",function(){typeof n.Hf.value==="string"?Pp(n.Hf.value):typeof n.Hf.value==="function"&&n.Hf.value()})}}(f)); e&&this.Km(f.Hf.items,++b)}}; function Eua(a,b){b&&a.element("div","class","icon",new eq({icon:b,size:24}))} function Fua(a){var b,c;return(c=(b=a.oa)==null?void 0:b.value)!=null?c:null} l.open=function(a){var b=a.anchor;var c=a.Re;var e=a.Ge;var f=a.Nb;var h=a.tv;a=a.rv;h===void 0&&(h=-Infinity);a===void 0&&(a=Infinity);h>a&&a!==Infinity&&(a=h);this.tv=h;this.rv=a;this.Ja();this.popup.open({anchor:b,Re:c,Ge:e,Nb:f})}; l.close=function(){this.popup.close()}; function Dua(a){return!!a.Km&&Array.isArray(a.items)&&a.items.length>0} ;function Gua(a,b,c){var e,f;return Ya(function(h){e=new UD;gh(e,1,a);gh(e,3,b);c&&ih(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){jo({endpoint:"cidgettree",params:Hua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=xua(p.responseText),k(pg(r,vg,1,Of()).map(function(u){return Iua(u,!0)}))}catch(u){n(u)}}, Jd:function(){n()}})}))})} function Jua(a,b,c){var e,f;return Ya(function(h){e=new XD;e.setQuery(a);gh(e,3,b);c&&ih(e,2,c);f=e.serialize();return h.return(new Promise(function(k,n){jo({endpoint:"cidsearch",params:Hua(),httpMethod:"POST",requestBody:f,onLoadCallback:function(p){var r=null;try{r=yua(p.responseText),k(pg(r,vg,1,Of()).map(function(u){return Iua(u,!1)}))}catch(u){n(u)}}, Jd:function(){n()}})}))})} function Iua(a,b){return{Od:Fg(a,1)||"",HP:Fg(a,4)||"",accountName:Fg(a,2)||"",isMcc:b?!!Cg(a,3):!1,state:0,isEligible:!!Cg(a,5)}} function Hua(){return{v:1,origin_page_type:A().pt}} ;function aE(a){var b=a.items;var c=a.wv;var e=a.Iy;var f=a.Bz;var h=a.Lk;var k=a.selectedIndex===void 0?-1:a.selectedIndex;var n=a.ariaRequired===void 0?!1:a.ariaRequired;var p=a.maxWidth===void 0?"18.75rem":a.maxWidth;a=a.Oj===void 0?!1:a.Oj;E.call(this,"hcfe.SearchSelect.Select");var r=this;this.ma=this.focused=this.active=!1;this.oa=new eq({icon:"gm/arrow_drop_down",size:24,wb:!0});this.selection=k>=0&&k1?k*2:k;var n,p;h=(n=this.getElement())==null?void 0:(p=n.firstElementChild)==null?void 0:p.getBoundingClientRect().height;c.call(b,{anchor:e,Nb:a,tv:f,rv:h===null||h===void 0?Infinity:Math.min(window.innerHeight-h-175,250)})}}; l.close=function(){this.menu.close()};var bE=/[^0-9]/g,Nua=Vs()?200:264,Oua={placeholder:"Google Ads account"},Pua={tF:"Search for accounts",UD:"No accounts found",oF:"Something went wrong",pF:"Can\u2019t find accounts. Try searching again.",qF:"Type at least 3 characters to get results",rF:"Search for account name or number",sF:"Try searching for a different name or number"},Qua={tF:"Search for accounts",UD:"No accounts found",oF:"Something went wrong",pF:"Can\u2019t find accounts. Try searching again.",qF:"Type at least 3 characters to get results", rF:"Search for account name or number",sF:"Try searching for a different name or number",QJ:"EXPAND THE MANAGER ACCOUNT TO VIEW ANY ELIGIBLE SUB-ACCOUNTS"}; function cE(a){var b=a===void 0?{}:a;a=b.ZP===void 0?void 0:b.ZP;var c=b.search===void 0?void 0:b.search;var e=b.defaultValue===void 0?void 0:b.defaultValue;var f=b.ariaRequired===void 0?!1:b.ariaRequired;var h=b.gI===void 0?"Google Ads Customer ID":b.gI;var k=b.frdId===void 0?void 0:b.frdId;var n=b.pageId===void 0?"":b.pageId;b=b.xJ===void 0?!1:b.xJ;E.call(this,"sc.shared.CidSelector");var p=this;this.Hc=f;this.Jq=h;this.Nd=k;var r;this.Ba=b&&((r=A().show_eligibility_chip_in_cid_selector)!=null? r:!1);var u,w;this.ma=((w=(u=A())==null?void 0:u.enable_wide_cid_selector)!=null?w:!1)||this.Ba;this.ue=n;if(e){if(this.Xa=e,a||c)throw Error("Cannot set defaultValue when fetchTree or search is set");}else this.Oc=a||Gua,this.Jj=c||Jua;this.oa=new Map;this.La=new Map;Rua(this);this.ua=null;this.Pa=this.Ra=0;this.ya=null;this.Ia=new Set;this.Je=new eq({icon:"gm/arrow_drop_down"});this.Ij=new eq({icon:"gm/check"});this.dl=Sq(function(){Sua(p)},1E3); this.o=new aE({items:[],wv:Oua,maxWidth:this.ma?"var(--wide-cid-selector-width)":void 0,Iy:this.Ba?Qua:Pua,Bz:new eq({icon:"gm/account_circle"}),Lk:this.dl,ariaRequired:this.Hc,Oj:this.ma&&Vs()});this.Rb=null;this.ob=!1;this.rb=this.Db=this.Ma=this.Ha=null;this.Ea=!0;this.Qa=new Promise(function(z,la){p.Db=z;p.rb=la}); this.va="";this.Xa&&(Tua(this),this.va=this.Xa.replace(bE,""));this.bl=Sq(function(){p.Ha&&p.Ha()},300)} t(cE,E);cE.prototype.content=function(){var a=this;if(!this.ob)if(this.Ma&&(this.Ma.remove(),this.Ma=null),this.ua!==null){this.element("div","class",{root:!0,wide:this.ma},this.ua);this.ua.setText(this.va);this.Ea&&dE(this);var b;(b=this.ua.getElement())==null||b.setAttribute("data-help-center-field-element-id","fallback-textfield")}else this.Rb?this.element("div","class",{root:!0,wide:this.ma},"onkeydown",function(c){c.key==="Enter"&&c.preventDefault()},function(){a.o.render(); a.o.Gj(a.Rb);a.element("div","class","legal-label","Only you can see this info")}):(eE(this),this.Ma=this.element("div","class","loading-spinner",function(){(new Ht({size:"mspin-small"})).render()}))}; function dE(a){if(a.Db){a.Pa!==1||a.Ra!==0||a.Xa||a.oa.get("")[0].Od===void 0||(a.va=a.oa.get("")[0].Od.replace(bE,""),a.ya=a.oa.get("")[0]);var b={pL:a.va,cidCount:a.Pa,Gla:a.Ra};a.Ea&&(a.Ea=!1,a.Db(b))}} function eE(a){return Ya(function(b){if(b.o==1){if(!a.Oc)return dE(a),b.return();a.ob=!0;return b.yield(fE(a),2)}a.Rb=b.ma;a.ob=!1;dE(a);a.Ja();Oa(b)})} function fE(a,b){b=b===void 0?!1:b;var c,e;return Ya(function(f){if(f.o==1)return c=Uua(),e={Od:""},a.oa.has("")?f.Na(2):f.yield(Vua(a,""),2);Wua(a,e,c,0,b,0);return f.return(c.items)})} function Wua(a,b,c,e,f,h){var k=f?a.La:a.oa;if(!k.has(b.Od))return e;b=x(k.get(b.Od));for(var n=b.next(),p={};!n.done;p={Ef:void 0,EB:void 0},n=b.next()){p.Ef=n.value;p.EB=e++;p.Ef.isMcc?(a.Ra++,Lua(a.o)):a.Pa++;n=p.Ef.Od!=="";var r=p.Ef.accountName;if(r===void 0||r.trim()==="")r="Google Ads account";r={value:function(u){return function(){return Xua(a,u.Ef,h,u.EB)}}(p), dg:function(u){return function(){return Yua(a,u.Ef)}}(p), index:p.EB,trigger:Zua(a,p.Ef),items:[],selectable:n,Km:a.Ia.has(p.Ef.Od),Gh:p.Ef.isMcc,state:p.Ef.state,ariaLabel:r+" "+p.Ef.Od,disabled:a.Ba&&!p.Ef.isMcc&&!p.Ef.isEligible,hG:a.Ba&&p.Ef.isMcc};c.items.push(r);k.has(p.Ef.Od)&&n&&(e=Wua(a,p.Ef,r,e,f,h+1))}return e} function Xua(a,b,c,e){var f=b.state===0,h=a.ma?Nua:104,k=a.ma?58:5,n=f?h-c*k+"px":"100%",p=b===a.ya;return a.element("div","class",{container:!0,"container-menu":!0,wide:a.ma},"aria-selected",p?"true":"false",function(){var r=a.element("div","class","icon-container column check",function(){p&&a.Ij.render()}); p&&r.setAttribute("aria-label","Account selected");r.setAttribute("role","img");var u=a.Ba&&!b.isMcc&&!b.isEligible;a.element("div","class","account-info",function(){a.element("div","class",{center:!0,column:!0,"full-width-column":!f,wide:a.ma},function(){$ua(a,0,c,b.accountName);if(f){var z=b.accountName;z.trim()===""&&(z="Google Ads account");var la=a.element("div","class",{account:!0,text:!0,wide:a.ma,"show-eligibility-chip":a.Ba,disabled:u},z);a.ma||(la.style.maxWidth=n);(new Bs({text:z,jn:4, trigger:la})).render()}else a.element("div","class",{account:!0,text:!0,wide:a.ma},function(){ava(a)}).style.width=a.ma?"19rem":n}); f&&(a.element("div","class",{value:!0,text:!0,disabled:u},b.Od),a.ma&&a.Ba&&a.element("div","class","eligible-chip-container",function(){a.element("div","class","eligible-chip",function(){b.isEligible&&(new Gt({disabled:!0,size:"mspin-small",selected:!0,style:1,text:"Eligible",Bs:"^scSharedCidselectoreligible-text"})).render()})}))}); r=a.Ia.has(b.Od);var w=a.element("div","class",{"icon-container":!0,column:!0,active:r,"icon-present":b.isMcc,"expand-icon":!0},"role","button","aria-expanded",r?"true":"false","onclick",function(z){bva(a,z,b,e)},"onkeydown",function(z){bva(a,z,b,e)},function(){b.isMcc&&a.element("div",a.Je)}); b.isMcc&&(w.tabIndex=0,w.setAttribute("aria-label",r?"Collapse account":"Expand account"))})} function ava(a){var b=new eq({icon:"gm/error_outline",size:20});a.element("div","class","expansion-error-container",function(){b.render();a.element("div","class","expansion-error-text","Can\u2019t find accounts. Please try again.")})} function bva(a,b,c,e){"key"in b&&b.key!==" "&&b.key!=="Enter"||(b.preventDefault(),b.stopPropagation(),c.isMcc&&cva(a,c,e))} function $ua(a,b,c,e){b!=c&&(a.element("div","class","account-track"),$ua(a,++b,c,e))} function cva(a,b,c){var e,f,h;Ya(function(k){if(k.o==1){(e=a.Ia.has(b.Od))?a.Ia.delete(b.Od):a.Ia.add(b.Od);f=a.oa.has(b.Od);!e&&f&&(h=a.oa.get(b.Od),h.length===1&&h[0].state!==0&&(a.oa.delete(b.Od),f=!1));if(e||f)return k.Na(2);a.o.lh(!0);a.Ja();a.o.open({Nb:!0});return k.yield(Vua(a,b.Od),3)}k.o!=2&&a.o.lh(!1);dva(a,c);Oa(k)})} function dva(a,b){var c,e,f;Ya(function(h){if(h.o==1)return c=a.o,e=c.Gj,h.yield(fE(a),2);e.call(c,h.ma);a.o.Ja();a.o.open({Nb:!0});(f=a.getElement().querySelector('button[data-index="'+b+'"]'))&&f.focus();Oa(h)})} function Yua(a,b){return a.element("div","class",{container:!0,"container-selected":!0,wide:a.ma},function(){a.element("div","class",{account:!0,text:!0,wide:a.ma},b.accountName);a.element("div","class","value text","style",{"padding-right":"8px"},b.Od)})} function Sua(a){var b,c,e,f,h,k,n;Ya(function(p){switch(p.o){case 1:b=Fua(a.o.menu);b=b===null?"":b.trim();if(b!==""){p.Na(2);break}Rua(a);c=a.o;e=c.Gj;return p.yield(fE(a,!1),3);case 3:return e.call(c,p.ma),a.o.Ja(),a.o.open({Nb:!0}),p.return();case 2:f=[];if(b.length<3){f=[{state:5}];a.La.set("",f);p.Na(4);break}a.o.lh(!0);a.o.open({Nb:!0});Pa(p,5);return p.yield(a.Jj(b.trim(),a.ue,a.Nd),7);case 7:f=p.ma;f.length===0&&(f=[{state:4}]);a.o.lh(!1);Qa(p,4);break;case 5:h=Ra(p),f=[{state:3}],a.o.lh(!1), a.o.open({Nb:!0}),eva(h);case 4:return a.La.set("",f),k=a.o,n=k.Gj,p.yield(fE(a,!0),8);case 8:n.call(k,p.ma),a.o.Ja(),a.o.open({Nb:!0}),Oa(p)}})} function Zua(a,b){return function(){a.ya=b;a.o.close();a.Ha&&a.Ha()}} cE.prototype.getValues=function(){for(var a=[],b=x(this.oa.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=x(this.oa.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.Od)&&!a.includes(e)&&a.push(e)}return a}; function Vua(a,b){var c,e;return Ya(function(f){if(f.o==1)return Pa(f,2),f.yield(a.Oc(b,a.ue,a.Nd),4);if(f.o!=2){c=f.ma;if(!c||c.length==0)return fva(a,b,Error("No results")),f.return();a.oa.set(b,c);return Qa(f,0)}e=Ra(f);fva(a,b,e);Oa(f)})} function fva(a,b,c){a.oa.set(b,[{state:2}]);a.rb&&a.Ea&&(a.Ea=!1,a.rb(c),Tua(a));eva(c)} function Tua(a){a.ua=new Nt({placeholder:a.Jq,zc:!0,Pc:function(){a.va=a.ua.getText().replace(bE,"");a.bl()}, ariaRequired:a.Hc})} function eva(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});Ip().dispatchEvent(a)} function Rua(a){a.La.clear();a.La.set("",[Uua()])} function Uua(){return{value:"",trigger:function(){}, items:[],state:0}} ;function gE(a){var b=a.items;var c=a.label===void 0?void 0:a.label;var e=a.placeholder===void 0?"":a.placeholder;var f=a.Ve===void 0?!0:a.Ve;var h=a.filled===void 0?!1:a.filled;var k=a.disabled===void 0?!1:a.disabled;var n=a.maxHeight===void 0?void 0:a.maxHeight;var p=a.minWidth===void 0?void 0:a.minWidth;var r=a.selectedIndex===void 0?-1:a.selectedIndex;var u=a.autoClose===void 0?!0:a.autoClose;var w=a.zc===void 0?!1:a.zc;var z=a.ariaRequired===void 0?!1:a.ariaRequired;var la=a.Yc===void 0?["self"]: a.Yc;var ma=a.Qc===void 0?"rem":a.Qc;var sa=a.jE===void 0?function(){}:a.jE; var Aa=a.Yh===void 0?!1:a.Yh;var Ca=a.Lt===void 0?"":a.Lt;var Ga=a.dr===void 0?void 0:a.dr;a=a.Is===void 0?void 0:a.Is;E.call(this,"sc.shared.MaterialSelect");var Na=this;this.Ea=function(){return void gva(Na)}; this.Ha=function(){return void gva(Na)}; this.active=!1;this.ma="";this.ua=!0;this.Ba=function(Ta){Ta.code==="Escape"&&(Ta.stopPropagation(),Na.close())}; this.items=b;this.autoClose=u;this.label=c;this.labelId=Vp();this.Dn=Vp();this.minWidth=p;this.filled=h;this.disabled=k;this.zc=w;this.Qc=ma;this.Ia=new eq({icon:"gm/arrow_drop_down",size:24,wb:!0,Qc:this.Qc});hva(this,r);this.maxHeight=n;this.dr=Ga;this.va=new Dt({label:e,dk:f,er:48,disabled:k,filled:h,Bj:function(){return Na.Bj()}, zc:w});this.ariaRequired=z;this.Yc=la;this.jE=sa;this.Yh=Aa&&!k;this.Lt=Ca;this.Is=a;this.Yh&&(this.o=new Nt({Df:!1,Bu:!1,onFocus:function(){var Ta;(Ta=Na.o)==null||Ta.setPlaceholder(Na.Lt);Na.open({Nb:!1})}, Pc:function(){var Ta;Na.ma=((Ta=Na.o)==null?void 0:Ta.getText())||"";Na.open({Nb:!1})}, Zy:function(){Na.open({Nb:!0})}})); this.menu=iva(this,b)} t(gE,E);l=gE.prototype; l.content=function(){var a=this;this.label&&this.element("div","class","label","id",this.labelId,this.label);this.root=this.element("div","class",{container:!0,"container-with-filtering":this.Yh},"style",{"min-width":this.minWidth?this.minWidth:null},function(){a.oa=a.element("div","class",{root:!0,dense:a.zc,disabled:a.disabled,active:a.active},"id",a.Dn,"tabindex",0,"aria-haspopup","listbox","aria-labelledby",jva(a),"role","button","aria-expanded",a.menu.Ab().toString(),"onclick",function(){return void a.Jb()}, "onkeydown",function(c){a.disabled||c.code!=="Enter"&&c.code!=="Space"||(c.preventDefault(),a.open({Nb:!a.Yh}))},"aria-required",a.ariaRequired,"data-filter-enabled",a.o?"true":void 0,function(){a.o&&(a.o.setText(a.ma),a.element("div","class",{"filter-input":!0, selection:!0},a.o));a.va.render();a.o||a.element("div","class",{"filled-content":a.filled,"filled-selection":a.filled&&a.selection,selection:!0},a.selection);a.element("div","class",{"filled-content":a.filled,"filled-selection":a.filled&&a.selection,arrow:!0},a.Ia)}); a.oa.addEventListener("focusin",a.Ea);a.oa.addEventListener("focusout",a.Ha)}); if(this.ua)this.menu.render(),this.ya=void 0;else{var b;((b=this.o)==null?0:b.focused)&&this.Is&&(this.ya=this.element("label","class","warning-label",this.Is))}}; l.onDetach=function(){var a;(a=this.oa)==null||a.removeEventListener("focusin",this.Ea);var b;(b=this.oa)==null||b.removeEventListener("focusout",this.Ha)}; function kva(a,b){a.menu=iva(a,b);a.Ja()} l.open=function(a){var b=this;a=(a===void 0?{}:a).Nb;kva(this,this.ma?this.items.filter(function(f){return typeof f.value==="string"?f.value.toLowerCase().includes(b.ma.toLowerCase()):typeof f.dg==="string"?f.dg.toLowerCase().includes(b.ma.toLowerCase()):!1}):this.items); this.active=!0;this.o&&!a?this.o.focus():hE(this);if(this.root){var c=this.root.getBoundingClientRect().width;this.menu.setWidth(c)}this.ua&&this.menu.open({anchor:this,Nb:a});var e;(e=this.getElement())==null||e.addEventListener("keydown",this.Ba);this.Ja()}; l.close=function(){this.menu.close();var a;(a=this.getElement())==null||a.removeEventListener("keydown",this.Ba)}; function iE(a){switch(typeof a.selection){case "function":var b;return(b=a.selection().textContent)!=null?b:"";case "string":return a.selection;default:return""}} function hE(a){var b;(b=a.oa)==null||b.focus()} function gva(a){setTimeout(function(){var b=Wp(),c,e;((c=a.oa)==null?0:c.contains(b))||((e=a.menu.getElement())==null?0:e.contains(b))?a.va.focus():(a.va.blur(),a.o&&(a.close(),a.ma=iE(a),a.o.setText(a.ma),a.o.setPlaceholder(""),a.ya&&a.ya.remove()))},0)} function jva(a){return a.Yc.map(function(b){return b==="self"?a.label?a.labelId+" "+a.Dn:a.Dn:b}).join(" ")} l.Bj=function(){return!!this.selection}; l.Jb=function(){this.disabled||this.open({Nb:!1})}; function iva(a,b){a.ua=!a.Yh||!a.dr||b.length<=a.dr;if(!a.ua)return new Ds({items:[]});b=lva(a,b);return new Ds({items:b,xv:a.selection,Ii:4,lc:1,mc:4,onClose:function(){hE(a);a.active=!1;a.Ja()}, maxHeight:a.Yh?"40vh":a.maxHeight,Sy:a.filled,Xs:!1})} function lva(a,b){return b.map(function(c){var e=Object.assign({},c,{trigger:function(){a.selection=c.dg?c.dg:c.value;typeof a.selection==="string"&&a.jE(a.selection);c.trigger&&c.trigger();a.Yh&&(a.ma=iE(a),a.close());a.autoClose&&a.close()}}); e.items&&Array.isArray(e.items)&&(e.items=lva(a,e.items));return e})} function hva(a,b){a.selection=b>=0&&b");$p.prototype.onChange.call(this,function(){jE(e,a)})}else{var f="Notifying "+(c!=null?c:""); $p.prototype.onChange.call(this,a,function(){jE(f,b)})}}; l.Fa=function(a){var b=this,c;jE(this.ot+" sent "+((c=this.Ia[a])!=null?c:"UNKNOWN"),function(){return void $p.prototype.Fa.call(b,a)})};var mva=new Map([[5,"CHECKBOX"],[3,"CID_SELECTOR"],[4,"GMB_LISTING_SELECTOR"],[1,"HIDDEN"],[7,"SELECT_TABLE"],[2,"SELECT"],[8,"INPUT_TEXT"],[6,"SELECT_WITH_FILTERING"]]);function nva(a,b){var c=a.Qt(),e=b.Qt();if(c&&e)return ova(c,e);c=a.Vt();e=b.Vt();if(c&&e)return c.Ls()!==e.Ls()?!1:!c.Ox()&&!c.fJ()||!e.Ox()&&!e.fJ()?!0:c.EI()!==e.EI()||c.Ax()!==e.Ax()?!1:!0;a=a.Wt();b=b.Wt();return a&&b?a.o()!==b.o()?!1:!0:!1} function ova(a,b){a=a.o();if(!a)return!1;var c=b.o();return c?a.some(function(e){return c.some(function(f){return e.Ms()!==f.Ms()?!1:!e.bw()&&!e.hJ()||!f.bw()&&!f.hJ()?!0:e.XG()!==f.XG()||e.Ex()!==f.Ex()?!1:!0})}):!1} ;var pva=Ha(["https://www.google.com/recaptcha/api.js?trustedtypes=true&render=explicit&onload=",""]);function lE(a,b,c){this.o=c;this.clientId=0;this.load(a,b===void 0?function(){}:b)} lE.prototype.load=function(a,b){var c=this;window.sc_renderRecaptcha=function(){window.grecaptcha&&a&&(c.clientId=window.grecaptcha.render(a,{sitekey:"6LcN-4saAAAAAGOz10SCh-KHThAjGiUum6B9HVft",badge:"inline",size:"invisible"}),b())}; var e=document.createElement("script");yn(e,Qn(pva,"sc_renderRecaptcha"));document.head.appendChild(e)}; lE.prototype.getResponse=function(){var a=this,b,c;return Ya(function(e){switch(e.o){case 1:if(!window.grecaptcha)return e.return("");b=window.grecaptcha;Pa(e,2);return e.yield(new Promise(function(f){b.ready(f)}),4); case 4:return e.yield(b.execute(a.clientId,{action:a.o||"submit"}),5);case 5:return c=e.ma,e.return(c||"");case 2:return Ra(e),e.return("")}})};var mE={};var qva={iW:0,vG:1,0:"FIELDS_CREATED",1:"FIELD_VALUES"};function nE(a){kE.call(this,a===void 0?"HelpcenterFields":a,qva);this.complete=!1;this.Sd=""} t(nE,kE);nE.prototype.qc=function(){return this.complete}; nE.prototype.Jc=function(a,b){function c(u){return a?!!u.getId():u.qc()} function e(u){return u.gJ()?u.mQ():u.Fd()} var f=rva(this,b);if(f==null||!f.length)return[];var h;b=(h=f.filter(function(u){return u.placements.some(function(w){return w.NQ()})}).flatMap(e).filter(c))!=null?h:[]; var k;b=b.concat((k=f.filter(function(u){return u.placements.some(function(w){return w.WQ()})}).flatMap(e).filter(c))!=null?k:[]); var n;b=b.concat((n=f==null?void 0:f.filter(function(u){return u.placements.some(function(w){return w.XQ()})}).flatMap(e).filter(c))!=null?n:[]); h=new Map;b=x(b);for(k=b.next();!k.done;k=b.next())if(k=k.value,f=void 0,n=(f=k.getId())!=null?f:0,h.has(n)){var p=void 0,r=void 0;f=(r=(p=h.get(n))==null?void 0:p.getPriority())!=null?r:0;p=void 0;r=(p=k.getPriority())!=null?p:0;f>r&&h.set(n,k)}else f=n=void 0,h.set((f=(n=k)==null?void 0:n.getId())!=null?f:0,k);return Array.from(h.values())}; function rva(a,b){var c;return(c=a.o)==null?void 0:c.filter(function(e){if(!e.isValid())return!1;var f=e.placements;return f.length?b!=null&&b.length?b.some(function(h){return f.some(function(k){return nva(h,k)})}):!0:!1})} nE.prototype.Xt=oa(57);nE.prototype.getInjectedFrdValuesEventId=function(){return this.Sd};var sva=new Map([["CT_ANSWER","gm/drive_document"],["CT_FORUM_CONTENT","gm/question_answer"],["CT_SUPPORT_FORUM_THREAD","gm/question_answer"],["CT_YOUTUBE","gm/video_youtube"],["CT_COMMUNITY_VIDEO","gm/play_circle_outline"],["CT_VIDEO","gm/play_circle_outline"],[void 0,"gm/language"]]);function oE(a){var b;return(b=sva.get(a.type))!=null?b:"gm/drive_document"} function pE(a,b){var c=oE(a);return a.type==="CT_WORKFLOW"?new Ws({icon:0}):new eq({icon:c,size:b})} function tva(a){switch(a){case "ROLE_USER":return 0;case "ROLE_PRODUCT_EXPERT_LEVEL_1":return 1;case "ROLE_PRODUCT_EXPERT_LEVEL_2":return 2;case "ROLE_PRODUCT_EXPERT_LEVEL_3":return 3;case "ROLE_PRODUCT_EXPERT_LEVEL_4":return 4;case "ROLE_PRODUCT_EXPERT_LEVEL_5":return 5;case "ROLE_COMMUNITY_MANAGER":return 10;case "ROLE_COMMUNITY_SPECIALIST":return 20;case "ROLE_GOOGLE_EMPLOYEE":return 100;case "ROLE_ALUMNUS":return 30;default:return 0}} function qE(a){return(new jm).setUrl(a.url)} ;function uva(a,b,c){a=x(a.querySelectorAll("a"));for(var e=a.next();!e.done;e=a.next())if(e=e.value,e.hasAttribute("target")||b){var f=void 0,h=(f=e.getAttribute("aria-label"))!=null?f:"";h.includes(c)||e.setAttribute("aria-label",h+(" ("+c+")"));e.getAttribute("target")||e.setAttribute("target","_blank")}} ;function rE(a,b,c,e,f,h,k){E.call(this,"SmartJourney.Onebox");this.Oa=a;this.oneboxResult=b;this.openInNewWindow=c;this.ma=e;this.oa=f;this.va=h;this.Jb=k;this.ua=new eq({icon:"gm/open_in_new"});this.ya=new eq({icon:"gm/open_in_new",size:18});if(YC(this.oneboxResult.type)){a=new mm;a=gh(a,5,b.id);a=nm(a.setTitle(b.title).setUrl(b.url),b.snippet);a:switch(b.type){case "CT_COMMUNITY_VIDEO":c=102;break a;case "CT_VIDEO":c=103;break a;default:c=1}a=ih(a,4,c);a=pm(om(a,b.tracking_id),b.request_id);b.tailwind_data&& (c=b.tailwind_data,e=new im,c=ih(e,9,tva(c.user_role)),qg(a,im,26,c));b.youtube_data&&(c=b.youtube_data,b=new lm,b=fh(b,1,c.views),b=gh(b,2,c.thumbnail),b=eh(b,3,c.duration).setTimestamp(c.timestamp),b=gh(b,5,c.youtube_id),b=bh(b,6,c.is_verified),b=gh(b,7,c.channel_title),c.thumbnails&&(e=c.thumbnails,c=new km,e.default_thumbnail&&(f=qE(e.default_thumbnail),qg(c,jm,1,f)),e.medium_thumbnail&&(f=qE(e.medium_thumbnail),qg(c,jm,2,f)),e.high_thumbnail&&(f=qE(e.high_thumbnail),qg(c,jm,3,f)),e.standard_thumbnail&& (f=qE(e.standard_thumbnail),qg(c,jm,4,f)),e.maxres_thumbnail&&(e=qE(e.maxres_thumbnail),qg(c,jm,5,e)),qg(b,km,8,c)),qg(a,lm,28,b));this.o=new yC(a)}} t(rE,E);rE.prototype.content=function(){var a=this;this.element("div","class",{result:!0,separator:this.va},function(){var b=a.oneboxResult,c;(c=Ks)==null||c.Fj([{type:a.ma}]);b.type!=="CT_SNIPPET"&&vva(a);wva(a);if(!a.o&&(xva(a),b.type!=="CT_SNIPPET"))switch(a.oneboxResult.type){case "CT_WORKFLOW":mE.useHairlineButtonInWorkflowOnebox?yva(a,a.Oa.get("Onebox.GET_STARTED")):zva(a,a.Oa.get("Onebox.GET_STARTED"));break;default:zva(a,a.Oa.get("Onebox.READ_MORE"))}})}; function vva(a){a.element("div","class","content-header",function(){var b=oE(a.oneboxResult),c=pE(a.oneboxResult,16);a.element("span","class",{"content-icon":!0,"help-article":b==="gm/drive_document",language:b==="gm/language","question-answer":b==="gm/question_answer",youtube:b==="gm/video_youtube",video:b==="gm/play_circle_outline"},"aria-hidden","true",c);if(a.o)b=DC(a.o,null);else switch(b=a.Oa.get("Onebox.HELP_ARTICLE"),a.oneboxResult.type){case "CT_WORKFLOW":b=a.Oa.get("Onebox.TROUBLESHOOTER")}a.element("span", "class","content-label",b)})} function wva(a){var b=a.oneboxResult.title;a.openInNewWindow&&(b+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");YC(a.oneboxResult.type)&&(b+=" ("+ZC(a.oneboxResult.type)+")");var c,e;a.element("a","class","title","href",(e=(c=a.o)==null?void 0:zC(c))!=null?e:a.oneboxResult.url,"target","_blank","data-stats-ve",a.ma,"data-stats-action",8,"aria-label",b,"onclick",a.Jb,function(){a.o?((new XC({model:a.o,Vf:!0,zy:!0})).render(),$C(a.o.getUrl())):a.element("div","class","title-wrapper","aria-hidden", "true",function(){var f;a.element("span",Ur((f=a.oneboxResult.title)!=null?f:""));a.openInNewWindow&&a.element("span","class","title-icon",a.ya)})})} function xva(a){var b=a.element("div","class","snippet",function(){var c;Pp(Ur((c=a.oneboxResult.snippet)!=null?c:""))}); uva(b,a.openInNewWindow,a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW"))} function zva(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("a","class","action-link","href",a.oneboxResult.url,"target",a.openInNewWindow?"_blank":"","data-stats-ve",a.oa,"data-stats-action",8,"aria-label",c,"onclick",a.Jb,function(){a.element("span",b);a.openInNewWindow&&a.ua.render()})} function yva(a,b){var c=b;a.openInNewWindow&&(c+=" ("+a.Oa.get("Onebox.OPENS_IN_A_NEW_WINDOW")+")");a.element("div","class","workflow-action-link","data-stats-ve",a.oa,"data-stats-action",8,"onclick",a.Jb,new iq({ariaLabel:c,icon:"gm/arrow_forward",xc:!0,style:3,text:b,trigger:function(){ar(a.oneboxResult.url,{Id:a.openInNewWindow})}}))} ;function sE(a,b){var c;return Ya(function(e){if(e.o==1)return e.yield(b.post({endpoint:"classifications",json:!0,queryParams:{v:"1"},request:Ava(a)}),2);c=e.ma;return e.return(Bva(c,a.method))})} function Ava(a){switch(a.method){case "get_categories":return{resource:{get_categories:{description:a.issueDescription,frd_value:a.Pd.map(function(b){return pB(gB(b))}), client:a.client}}};case "get_assistive_suggestion":return{resource:{get_assistive_suggestion:{past_question_answers:a.pastQuestionAnswers,predicted_symptoms:a.predictedSymptoms,category_id:a.symptom}}};case "get_query_quality":return{resource:{get_query_quality:{query:a.query}}};default:throw Error("Unsupported classifications method");}} function Bva(a,b){if(b==="get_assistive_suggestion"){b={};if("get_assistive_resolutions"in a){var c;b.resolution=(c=a.get_assistive_resolutions.assistive_resolutions)==null?void 0:c[0]}if("get_questions"in a){var e;b.question=(e=a.get_questions.responses)==null?void 0:e[0]}return b}if("get_categories"in a){var f;return{categories:(f=a.get_categories.category)!=null?f:[],predictionId:a.get_categories.prediction_id,highConfidenceTopK:a.get_categories.high_confidence_top_k}}if("get_assistive_resolutions"in a){var h;return{Pla:(h=a.get_assistive_resolutions.assistive_resolutions)!=null?h:[]}}if("get_questions"in a){var k;return{questions:(k=a.get_questions.responses)!=null?k:[]}}if("get_query_quality"in a)return{predictionId:a.get_query_quality.prediction_id,isJunk:a.get_query_quality.is_junk};throw Error("Unsupported classifications response");} ;function Cva(a,b){var c;return Ya(function(e){c={query:a.query,max_results:JSON.stringify(a.maxResults),origin_page_type:JSON.stringify(a.originPageType),search_session_id:a.searchSessionId,symptom:a.symptom,user_context:a.userContext,v:"1"};a.skipOnebox!==void 0&&(c.skip_onebox=String(a.skipOnebox));a.skipRelatedQuestions!==void 0&&(c.skip_related_questions=String(a.skipRelatedQuestions));a.maxCharsPerTitle!==void 0&&(c.max_chars_per_title=JSON.stringify(a.maxCharsPerTitle));a.supportJourneyId!== void 0&&(c.support_journey_id=String(a.supportJourneyId));return e.return(b.get({endpoint:"search",json:!0,queryParams:c}))})} ;function tE(a,b){$p.call(this);this.pageLocale=a;var c={};this.strings=(c[a]=b,c);this.locale=a} t(tE,$p);tE.prototype.get=function(a){var b,c;return(c=(b=this.strings[this.pageLocale])==null?void 0:b[a])!=null?c:""}; tE.prototype.set=function(a,b){var c;this.strings[a]=Object.assign({},(c=this.strings[a])!=null?c:{},b);this.Fa()};function uE(){var a=A();a={mx:a.ehn,PO:a.bcUrl,query:a.query,internalHelpCenter:a.hc,Gt:a.ehc,language:a.lang,authuser:String(a.au),pH:a.auth_token,wc:a.dark,experimentIds:a.tw_smei,JU:a.upload_hostname,wR:a.li,sR:a.rs===3||a.rs===8||a.rs===2||a.rs===79,vJ:(new URLSearchParams(location.search)).get("format")==="embed"};zB?console.error("Global settings should only be initialized once."):zB=Object.assign({},a)} ;function vE(a,b,c,e){e=e===void 0?{}:e;if(BB())a=e.messageId,e=e.relative===void 0?!0:e.relative,c="/s/community/forum/"+b+"/thread/"+c,a&&(c+="/message/"+a),c=wE(c,!1),c=e?xE(c):c.toString();else{var f=e;b=f.zJ===void 0?!1:f.zJ;e=f.language===void 0?CB():f.language;var h=f.messageId;var k=f.relative===void 0?!0:f.relative;switch(f.purpose===void 0?1:f.purpose){case 11:f="community-video";break;case 12:f="community-guide";break;default:f="thread"}c=wE("/"+a+"/"+f+"/"+c);c.searchParams.set("hl",e); b&&c.searchParams.set("notify","new");h&&c.searchParams.set("msgid",""+h);c=k?xE(c):c.toString()}return c} function wE(a,b){b=b===void 0?!0:b;a=new URL(a,AB().mx);var c=AB().authuser;c&&b&&a.searchParams.set("authuser",c);return a} function xE(a){return a.href.replace(a.origin,"")} ;function yE(a){this.Aa=wf(a)} t(yE,Sh);function zE(a){return mg(a,ov,1)} function AE(a){var b=new yE;return qg(b,ov,1,a)} function BE(a,b){return ch(a,2,b)} function CE(a,b){qg(a,zy,18,b)} function DE(a,b){return ch(a,21,b)} function EE(a){return mg(a,aw,19)} ;yE.prototype.Ca=kk([0,xv,Sj,10,Sj,1,Sj,-1,1,Dpa,Rla,Sj,-1]);function FE(a,b){b=b===void 0?{}:b;cv.call(this,a,zE(a),b);this.ma="embedOptions";this.qa="guidanceChatUiMessageChannel"} t(FE,cv);FE.prototype.BC=function(){return"embed/chat"}; FE.prototype.sC=function(){return Hg(this.Te,13)?{debug:"1"}:{}};var Dva=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");var Eva=[0,Mj,-1];function GE(a){this.Aa=wf(a)} t(GE,Sh);GE.prototype.Pl=oa(14);GE.prototype.Me=function(){return Ig(this,14)};var Fva=[0,y,-2,ck,y,-3,ck,y,-3,Mj];GE.prototype.Ca=kk(Fva);var Gva=[0,ck,Mj];function HE(a){this.Aa=wf(a)} t(HE,Sh);l=HE.prototype;l.getQuery=function(){return Mg(this,5)}; l.setQuery=function(a){return gh(this,5,a)}; l.getUrl=function(){return Mg(this,6)}; l.setUrl=function(a){return gh(this,6,a)}; l.Dh=function(){return Ig(this,13)}; l.Vd=function(a){return eh(this,13,a)};var Hva=[0,ck,-1,Dj,Mj,y,-2,ck,-1,Gva,Mj,y,Mj,y,-1];HE.prototype.Ca=kk(Hva);function IE(a){this.Aa=wf(a)} t(IE,Sh);var JE=[3,4];IE.prototype.Ca=kk([0,JE,Fva,Eva,Yj,Hva,Yj,Ty]);function Iva(){} function Jva(a,b){if(!b.bc||b.interactionType!==null&&b.interactionType!==void 0)if(!b.interactionType||b.bc!==null&&b.bc!==void 0)a=null;else{var c=(new Ly).setTimestamp(fl());b.predictionId&&My(c,b.predictionId);b.reportingId&&Ny(c,b.reportingId);b.interactionType&&Oy(c,b.interactionType);b.pu&&Py(c,b.pu);var e=new IE;c=rg(e,4,JE,c);a.fC(c,b);a=c}else c=new HE,b.bc&&ih(c,1,b.bc),b.Oh&&ih(c,2,b.Oh),b.mq&&fh(c,3,b.mq),b.Hw&&eh(c,4,b.Hw),b.query&&c.setQuery(b.query),b.url&&c.setUrl(b.url),b.Fp&&(e= b.Fp.join("|"),gh(c,7,e)),b.contactMode&&ih(c,9,b.contactMode),b.viewId&&c.Vd(b.viewId),b.Gq&&gh(c,14,b.Gq),e=new IE,c=rg(e,3,JE,c),a.fC(c,b),a=c;return a} ;function KE(a){var b=a===void 0?{}:a;a=b.on===void 0?!1:b.on;var c=b.disabled===void 0?!1:b.disabled;var e=b.toggle;b=b.qw===void 0?"":b.qw;E.call(this,"sc.shared.MaterialSwitch");this.on=a;this.disabled=c;this.toggle=e;this.qw=b;this.overlay=new fq({Wp:!0})} t(KE,E);KE.prototype.content=function(){var a=this;this.element("label","class",{root:!0,on:this.on,disabled:this.disabled},"aria-labelledby",this.qw,function(){a.element("div","class","track");a.element("div","class","thumb-underlay",function(){a.element("div","class","thumb");a.o=a.element("input","class","native-control","type","checkbox","disabled",a.disabled,"onchange",function(){return void a.onChange()}); a.o.checked=a.on;a.overlay.render()})})}; KE.prototype.onChange=function(){this.on=this.o.checked;this.Ja();var a;(a=this.toggle)==null||a.call(this)};var LE=2*Math.PI*18;function ME(a){a=a.size;E.call(this,"sc.shared.MaterialProgressCircle");this.progress=0;this.size=a} t(ME,E);function Kva(a,b){Number.isNaN(b)||(a.progress=b<0?0:b>1?1:b,a.Ja())} ME.prototype.content=function(){var a=this;this.element("svg","class","root","viewBox","0 0 48 48","width",this.size,"height",this.size,function(){a.element("circle","cx",24,"cy",24,"r",18,"style",{"stroke-width":"4px"},"stroke-dasharray",LE,"stroke-dashoffset",LE-LE*a.progress)})};function Lva(a,b){var c=Math.log(a)/Math.log(1024)|0;a=Number((a/Math.pow(1024,c)).toFixed(1));try{return(new Intl.NumberFormat(b,{style:"unit",unit:"byte kilobyte megabyte gigabyte terabyte petabyte".split(" ")[c]||"petabyte"})).format(a)}catch(e){return a+" "+(c===0?"":"KMGTPEZY".charAt(c-1))+"B"}} ;function NE(a){var b=a.file;var c=a.qh;var e=a.locale;var f=a.hE;var h=a.formId;a=a.fileUpload;E.call(this,"sc.forms.upload.attachment");this.ua=new eq({icon:"gm/close",size:20});this.oa=new ME({size:24});this.va=new eq({icon:"gm/error_outline",size:16});this.o=this.inProgress=!1;this.root=this.ma=null;this.file=b;this.qh=c;this.locale=e;this.hE=f;this.formId=h;this.fileUpload=a===void 0?new Pv(b):a} t(NE,E);NE.prototype.upload=function(){var a=this;if(this.ma)return this.ma;this.inProgress=!0;this.ma=new Promise(function(b,c){a.file.size>a.qh?(a.inProgress=!1,a.o=!1,a.Ja(),c()):(a.formId&&a.fileUpload.Jf("formId",a.formId),a.fileUpload.Am(function(){Mva(a);b()}).onError(function(){a.inProgress=!1; a.o=!1;a.Ja();c()}).aK(function(e){Kva(a.oa,e/a.file.size)}).start())}); this.Ja();return this.ma}; NE.prototype.getFile=function(){return this.file}; NE.prototype.content=function(){var a=this;this.root=this.element("div","tabindex","0","class",{root:!0,"root--with-error":!this.inProgress&&!this.o},function(){a.element("div","class","name","aria-live","polite",function(){Ep(a.file.name);!a.inProgress&&a.o&&a.element("span","class","attached","(file attached)");a.inProgress||a.o||Nva(a)}); !a.inProgress&&a.o?a.element("div","class","size",Lva(a.file.size,a.locale)):a.inProgress&&a.element("div","class","progress",function(){a.oa.render()}); a.element("div","class","close",function(){a.element("button","type","button","class","remove-button","aria-label","Remove attachment "+a.file.name,"onclick",function(){a.hE(a)},function(){a.ua.render()})})})}; function Nva(a){a.element("div","class","error",function(){a.element("span","class","error__icon",function(){a.va.render()}); a.element("span","class","error__text",a.file.size>a.qh?(new Fq("File must be smaller than {localizedFileSize}")).format({localizedFileSize:Lva(a.qh,a.locale)}):"Failed to attach. Try again or try another file.")})} NE.prototype.focus=function(){var a;(a=this.root)==null||a.focus()}; function Mva(a){Kva(a.oa,1);a.inProgress=!1;a.o=!0;setTimeout(function(){a.Ja()},500)} ;function OE(a){var b=a.qh;var c=a.allowMultipleFiles;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.iB===void 0?NE:a.iB;var k=a.oE;var n=a.mE;var p=a.nE;a=a.XD;E.call(this,"sc.forms.upload.attachments");this.attachments=new Set;this.qh=b;this.allowMultipleFiles=c;this.formId=e;this.locale=f;this.iB=h;this.oE=k;this.mE=n;this.nE=p;this.XD=a} t(OE,E);OE.prototype.getSize=function(){return this.attachments.size}; OE.prototype.addAttachments=function(a){if(a.length!==0){if(this.allowMultipleFiles){a=x(a);for(var b=a.next();!b.done;b=a.next())Ova(this,b.value)}else{b=x(this.attachments);for(var c=b.next();!c.done;c=b.next())Pva(this,c.value);Ova(this,a[0])}this.Ja()}}; function Qva(a,b){if(a.attachments.size){a=[].concat(Fa(a.attachments));var c=a.findIndex(function(e){return e.getFile()===b}); c<1||a[c-1].focus()}} function Rva(a){a=x(a.attachments);for(var b=a.next();!b.done;b=a.next())if(b.value.inProgress)return!1;return!0} function PE(a){return Rva(a)?[].concat(Fa(a.attachments)).filter(function(b){return!b.inProgress&&b.o}).map(function(b){return b.inProgress?null:{filename:b.file.name, Ff:b.fileUpload.o,documentId:b.fileUpload.Co()}}):[]} OE.prototype.content=function(){var a=this;this.element("div","aria-live","polite",function(){a.attachments.size||a.element("div","class","no-attachments-label",a.allowMultipleFiles?"No files chosen":"No file chosen");a.o&&(a.element("div","class","last-removed-attachment","File "+a.o.name+" removed"),a.o=void 0);for(var b=x(a.attachments),c=b.next();!c.done;c=b.next())c.value.render()})}; function Ova(a,b){var c=new a.iB({file:b,qh:a.qh,locale:a.locale,formId:a.formId,hE:function(e){Pva(a,e)}}); c.upload().then(function(){var e;(e=a.oE)==null||e.call(a,b)}).catch(function(){var e; (e=a.mE)==null||e.call(a,b)}); a.attachments.add(c)} function Pva(a,b){var c;(c=a.XD)==null||c.call(a,b.getFile());a.attachments.delete(b);a.o=b.getFile();a.Ja();var e;(e=a.nE)==null||e.call(a,b.getFile())} ;function QE(a){var b=a.id;var c=a.qh;var e=a.formId;var f=a.locale===void 0?"en":a.locale;var h=a.allowMultipleFiles===void 0?!0:a.allowMultipleFiles;a=a.HO===void 0?OE:a.HO;E.call(this,"sc.forms.Upload");var k=this;this.oa=new Set;this.ua=!1;this.id=b;this.allowMultipleFiles=h;this.attachments=new a({locale:f,qh:c,formId:e,allowMultipleFiles:h,oE:function(n){RE(k,n)}, mE:function(n){k.allowMultipleFiles||SE(k,!1);RE(k,n)}, nE:function(n){var p;if((p=k.o)==null?0:p.value.endsWith(n.name))k.o.value="";k.allowMultipleFiles||SE(k,!1);RE(k,n);k.attachments.getSize()||k.ma.focus()}, XD:function(n){Qva(k.attachments,n)}}); this.ma=new iq({icon:"gm/add",text:this.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.allowMultipleFiles?"Choose files":"Choose file",style:3,trigger:function(){var n;(n=k.o)==null||n.click()}})} t(QE,E);QE.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();a.element("label","class","upload-label","for",a.id,"style",{pointerEvents:a.ua?"none":"auto"},function(){a.ma.render()}); Sva(a)})}; function Sva(a){var b=["type","file","id",a.id,"name",a.id,"class","native-input","onchange",function(){var c=a.o;if(c&&c.files&&c.files.length>0){c=a.o;c=c!=null&&c.files?Array.from(c.files):[];a.attachments.addAttachments(c);for(var e=0;e

11367245130156551694
true
Search Help Center
true
true
true
true
true
5150109
false